The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
2answers
1k views

Is there any command-line, generic HTTP proxy (like Squid)?

I can easily use Netcat (or, Socat) to capture traffic between my browser and a specific host:port. But for Linux, does there exist any command-line counterpart of a Squid-like HTTP proxy that I can ...
4
votes
2answers
6k views

How to make netcat use an existing HTTP proxy

I can access a web page just fine by directly hitting my web server as follows: $ echo "GET /sample" | nc web-server 80 This is contents of /sample... $ Now, I would like netcat to go via a Squid ...
4
votes
1answer
139 views

How can we make Squid do a reverse nslookup?

We all know that access.log file logs the access Info of Squid: 1286536351.746 41762 192.168.1.17 TCP_MISS/200 5340945 GET http://v15.lscache3.c.youtube.com/videoplayback? - DIRECT/122.160.120.150 ...
4
votes
1answer
535 views

automatic proxy selecting depending on target

Situation: ISP with proxy server local TOR service I would like to automatically let all .onion-domain traffic go to the local TOR-service and all other traffic to the ISP proxy (am using TOR only ...
4
votes
1answer
431 views

tproxy per user

I'm in the process of adding some parental control to my box (http filtering), but I'm something of a nOOb when it comes to network configuration :-( The box is used by the whole family (one account ...
3
votes
1answer
863 views

What's the difference between SSH and Squid when using them as proxies?

I've been using Squid on one of my server as a transparent proxy for a very long time (years). Basically from the client I was creating an SSH tunnel between my client and the ssh + Squid server ...
3
votes
1answer
96 views

Squid doesn't block non-ascii domans

I have the following lines in /etc/squid/squid.conf: acl bad_url url_regex "/etc/squid/block.acl" http_access deny bad_url All of the urls in block.acl must be blocked by the proxy server. It works ...
3
votes
1answer
543 views

squid - ssl bump

I have squid configured to bump SSL connections; however, when I configure my browser to use squid as a proxy, it doesn't actually do any SSL bumping. When I check the certificate, I can see it is ...
3
votes
4answers
1k views

How to capture images transferred via HTTP?

I have multiple browsers and I want save all images with size more than 30KB and save to specified address. What is best way? listen to tcpdump and read the content, and then save to a file, or use ...
3
votes
1answer
3k views

Where to supply authentication details to the Network Proxy (Central Proxy) on Fedora?

My system is running Fedora 16 and I live in a campus where we use LAN to connect to the Internet. And for this, we use an http proxy with authentication (username & password). I tried putting the ...
3
votes
2answers
536 views

Policy routing with load balanced ppp connections

This my setup using Debian 6.0. 6. It's role is a proxy server and a load balancer using eight 3G modems. Whenever a ppp connection dials it takes over the default gateway which is ok but it also ...
2
votes
1answer
281 views

how install freebsd in minimum size?

I want to install a FreeBSD just to use squid cache server on it. i want to know how can i make this installation to its minimum size? i installed the boot-only ISO file on virtual box, but it took ...
2
votes
3answers
10k views

Transparent proxy with squid 3.1 on RHEL 6

We have nearly 50 systems with windows XP and have Linux (RHEL6) for server. Also have squid 3.1 , Samba and Apache for local use. Under proxy, VPN and outlook express does not connected. I heard ...
2
votes
1answer
63 views

unexpected squid behaviour (cache for openSUSE updates)

With no previous experience I have just set up a squid proxy. Its only purpose is to prevent that all the Linux systems (openSUSE) download their updates from the Internet. A proxy can easily be ...
2
votes
1answer
120 views

is squid 2.x configuration still roughly the same as for squid 3.x?

I have the o'reilly squid book which covers squid 2.x - will this book still be useful for me to configure squid 3.x, or has too much changed between the versions? Is there any documentation ...
2
votes
2answers
525 views

Transparent local proxy to many proxies

In Firefox is add-on FoxyProxy, which makes possible use many proxy with filtering URLs. I need it for any browser, but in many of them it is only possible to set one proxy server. I need a ...
2
votes
1answer
1k views

How to auto-restart squid on ubuntu!

I have a Ubuntu Home edition set-up as DHCP and Squid proxy, but whenever I reboot my system, I have to restart squid in order for others to start browsing! Is there anyway I can make squid to restart ...
2
votes
1answer
3k views

How to setup iptables rules to allow skype

Here are my iptables rules to allow Squid to connect to a web server: # Accept internally-requested input iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT #http,https traffic only ...
2
votes
1answer
242 views

What are the key differences between “SSH tunnels” and “Squid reverse IPs” in regards to web page scraping and private browsing?

What are the key differences between "SSH tunnels" and "Squid reverse IPs" in regards to web page scraping and private browsing? Interested to know if there are any differences between using "SSH ...
2
votes
1answer
2k views

Sarg report error

I have a proxy server that runs Ubuntu Server 11.10, Squid 2.7.STABLE9. I installed sarg (version 2.3.1 Sep-18-2010) to generate reports using the ordinary apt-get install, and added a cron job to ...
2
votes
0answers
325 views

Why does my squid cache never get any hits?

I have set up a squid cache on a portable 3G/wifi router I've built. The proxy works, but I only ever see TCP_MISS, with a very rare TCP_MEM_HIT I've never tried this before, and this is the ...
1
vote
1answer
2k views

Squid: how can I block plus.google.com, allowing access to google.com

1.I have the following block.acl file in squid: .* It disallows access to everything by default. 2.white.acl allows access to google: google\..* I wanted to disallow access to plus.google.com ...
1
vote
2answers
718 views

squid access.log delete entries older than 6 months

Squid generates a log of the accessed sites by the users. I want to delete the entries in the /var/squid/logs/access.log, which are older than 6 months. I would execute the script each week. I have ...
1
vote
1answer
240 views

Squid transparency except for SSL/HTTPS

How would you set up squid so that everything else is transparent (e.g FTP, HTTP, etc.) except for SSL/HTTPS which needs to be set manually? Will I need to change my firewall rules?
1
vote
1answer
44 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
1answer
115 views

Can't block google logo in squid

I wanted to block google logo via Squid proxy: So I added this line to block.acl: google\..+/logos/.+ in squid.conf I have this: acl bad_domain dstdom_regex "/etc/squid/block.acl" acl ...
1
vote
1answer
858 views

Sharing bandwidth between IPs

There are 200 users in my network, and these users are in two AD groups and cannot set specific IP ranges for each group. I want to set, for each group, the amount of bandwidth that can be shared ...
1
vote
2answers
668 views

squid (reverse proxy) configuration

I would like to configure squid in such way, so that only specific (public) ip (reverse proxy), could connect to the server, but I don't know how... can someone tell me how to do this?
1
vote
1answer
63 views

CentOS Traffic Filter

I am trying to use Squid to filter the traffic flowing through the network. I am also trying to make this system transparent. My network setup is like so: Router -> CentOS Machine -> The rest ...
1
vote
3answers
93 views

Setting up traffic router (proxy ?) for production

I am running a production server and my web application is running at port 8099. so if front end wants to access any backend endpoint, they make a call to this url: ...
1
vote
1answer
2k views

What is the correct way of setting up a Squid Proxy in front of wireless router

We are a small office of 20 users. Our current network is like below. We have a static IP on the Wireless Router's WAN port. Local network <-> Wireless Router <-> Cable Internet I want ...
1
vote
1answer
378 views

Squid block site except for some pages

I have Squid proxy server installed on my machine. I created a file /etc/squid/block.acl, where all the bad domains are written. And added the following statement to squid.conf: acl bad_url url_regex ...
1
vote
2answers
735 views

How to setup squid simplest way for safe proxy?

I have installed squid on my remote linux box and added my desktop's IP as acl lagrangian64 src XX.XX.XX.XX/32 in squid config. Also I have added lagrangian64 to the following line: http_access ...
1
vote
2answers
328 views

Restricting access to yahoo.com in elinks using squid

I need to restrict access to yahoo.com and all its subdomains in elinks. I must use squid but I don't know how to configure it. Can anybody help me because I am new to Linux.
1
vote
1answer
3k views

Multiple ACLs in Squid Proxy

Here is my Squid configuration file. I would like to give specific users access to specific web content, But through this configuration file, if I give permission for a specific user to access the ...
1
vote
0answers
16 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
1
vote
0answers
18 views

More Information Regarding Upload Restriction in Squid Server

I've used request_body_max_size 1024 KB command in my squid.conf file and it is working in restricting my upload of files larger than 1 MB when I try to upload through upload sites. But I want to ...
1
vote
0answers
2k views

Error: iptables: No chain/target/match by that name

I am trying to configure proxy server on RHEL Server 6.5 using Squid and iptables. Below is the command I executed and the error message it displayed: vzlptest01 root [root] > iptables -A INPUT -i ...
1
vote
1answer
671 views

trying to setup cntlm on ubuntu for NTLM authentication

I am trying to setup cntlm on ubuntu13 for NTLM authentication. I used apt-get install to setup ctlm. My cntlm.conf file in the etc directory is copied below - the username/domain and password are ...
1
vote
0answers
592 views

How to configure Squid for Microsoft Outlook?

I have configured a Squid proxy server on RedHat Enterprise Linux 5.4. All my Windows clients have been configured to use the proxy at 192.168.5.100, port 3128 when accessing the Internet. However, ...
1
vote
0answers
153 views

Squid cache problem

If I put in my test_site acl (deny access policy) a site (i.e, www.aaabbbccc.com) which nobody ever accessed and do a squid -k reconfigure, Squid then appears to correctly log the site. I then ...
1
vote
1answer
508 views

SARG with no records found

I want to use sarg tool in linux centOS to report users using website. But when installed, and when Iuse command sarg -x -z, the output is: SARG: Init SARG: Loading configuration from ...
1
vote
1answer
187 views

Host not found trying to restrict access to yahoo.com in elinks using squid

I added this in squid.conf acl blocked_sites dstdomains .yahoo.com http_access deny blocked_sites and this in elinks.conf set protocol.http.proxy.host = "proxy.localhost:3128" set ...
0
votes
1answer
46 views

how can I get the date and time from access.log first field (squid)?

this is a line from access.log file which log the access Info of Squid: 1286536351.746 41762 192.168.0.227 TCP_MISS/200 5340945 GET http://v15.lscache3.c.youtube.com/videoplayback? - ...
0
votes
1answer
2k views

How to redirect to my squid proxy using iptables since DNAT target: only valid in nat table

I want to redirect the traffic in my lan network through squid proxy but I am having some problems with iptables rules. When I use the following rule: # iptables -I FORWARD -s ...
0
votes
1answer
146 views

Squid not forwarding my packets proxied from iptables on router

I am trying to make openwrt's iptables from my router to direct to my squid proxy on my machine (since there is no enough space in router's flash memory) but even if I have my squid config ok ( ...
0
votes
1answer
246 views

Squid configuration for web application

I am working on a project where my software is trying to connect a server running in public domain on some unusual port. ( I have set this server in public domain myself ). My corporate firewall does ...
0
votes
1answer
109 views

bypass firewall with Openvpn + Squid

I have 2 VPS servers, one in China and another in the US. The server (openvpn client) in China is connected to the US one via openvpn. I also have squid running in the China server. I want to ...
0
votes
0answers
149 views

Issues configuring sarg. which of sarg.conf or sarg-report.conf got executed at the end of the day

But it doesn't run at all on every hours. It runs rather on every 6 AM in the morning for me to notice that sarg seems have installed the following in /etc/cron.d/{daily,weekly,monthly} folders. I ...
0
votes
1answer
222 views

Routing internet on NAT server thru Squid proxy

I've configured a Squid proxy and a NAT instance and both are functioning fine. Now I want to configure a proxy server on the NAT instance so that the internet on NAT is routed through the Squid ...