Questions tagged [squid]

Squid is a FOSS package licensed under the GNU GPL and is primarily used as a web proxy server and cache.

Squid is a FOSS package licensed under the GNU GPL primarily used as a web proxy server and cache.

In addition to its primary usages for web proyying and caching, it supports FTP and has limited support for several other protocols, including TLS, SSL, HTTPS and Gopher.

It has a wide variety of uses, from speeding up a web server by caching repeated requests (reverse proxy); to caching web, DNS and other computer network lookups for a group of people sharing network resources (regular proxy); to improving security by filtering traffic (layer 7 firewall).

Squid's homepage is here, and its Wikipedia entry is here.

1400 questions
5
votes
3 answers

Squid running out of file descriptors on Ubuntu

I am running Squid 2.7 on Ubuntu 10.04 64bits. I had the problem of Squid running out of file descriptors, with the following error showing in /var/log/squid/cache.log: WARNING! Your cache is running out of filedescriptors I checked…
UrkoM
  • 383
  • 4
  • 17
5
votes
2 answers

Squid proxy server ignoring hosts file :(

Using: Squid Cache version 2.7.STABLE3 for i686-pc-winnt ... Whatever I put into the hosts file, it seems to be ignoring it. here's my configuration :- ... hosts_file c:\windows\system32\drivers\etc\hosts ... And yep - i'm restarting squid each…
Pure.Krome
  • 6,508
  • 18
  • 73
  • 87
5
votes
4 answers

Best way to bypass Squid for certain sites?

We have a Squid transparent proxy running, it's great, awesome dare I say. The problem is when some very random sites seem to hate squid. Cox.com is one in particular. Right now we just set an IPtables rule to forward requests to that IP, and not…
Jason Taylor
  • 575
  • 1
  • 4
  • 13
5
votes
3 answers

Squid, authentication, Outlook Anywhere, Windows 7 and HTTP 1.1 = NIGHTMARE

I'm running a Squid proxy (latest version, 3.1.4) on Linux CentOS 5.4 with Samba 3.5.4, in order to allow authenticated web access for domain users; everything works fine, and even Windows 7 clients are fully supported. Authentication is transparent…
Massimo
  • 70,200
  • 57
  • 200
  • 323
5
votes
2 answers

Modify HTML Content with Squid

We have set up our network as per this tutorial. Basically, we have a squid proxy that inverts images for pages that clients request. We're trying to modify the script so that we can edit the contents of the webpage before the webpage is sent to the…
user38400
  • 155
  • 2
  • 2
  • 4
5
votes
3 answers

Squid Proxy Antivirus - Recommendations / Performance

Due to our user's increasing expertise at downloading virus and the like, we are investigating adding Antivirus to our Squid proxy. A casual Google reveals several free and one paid: HAVP squid-vscan Viralator Safe Squid (commercial) None of the…
Jon Rhoades
  • 4,987
  • 3
  • 31
  • 48
5
votes
3 answers

Squid authentication encryption

I use Squid and the users must authenticate. The users are authenticating in cleartext. I found tutorials about stunnel (http://www.jeffyestrumskas.com/?page_id=3), but the clients also need this software. Is there no possibility that for user…
user28362
  • 556
  • 3
  • 7
  • 21
5
votes
2 answers

Squid: how to block websites for a particular IP address?

How to block websites for particular IPs by squid? Please give solution with example or configuration file.
Kumar
  • 823
  • 3
  • 20
  • 43
4
votes
1 answer

squid proxy - using ipv6 for outgoing traffic instead of ipv4

When I am connecting via squid proxy to internet, getting ipv6 address instead of ipv4. The proxy is configured for both ipv4 and ipv6. Why it is preferring ipv6 ?Could anyone please advise what to look for in the config ?
msid1
  • 43
  • 1
  • 3
4
votes
1 answer

AWS SSM Agent registration call cannot be proxied?

How do I proxy the amazon-ssm-agent -register call? I want to proxy all the amazon-ssm-agent traffic in a local VM instance through a squid proxy. When the SSM agent is running, it seems to proxy all traffic (as expected) through squid. However, the…
4
votes
1 answer

How to Cache SSL Data with Squid

What I want to do: My goal here is to cache data being transmitted over SSL with Squid - not just data transmitted over Http. Users should not be bothered with SSL certificate errors on every Https webpage they touch. Downloading data cached by…
Jaxian
  • 169
  • 3
  • 9
4
votes
3 answers

Transparent Proxy with Squid / iptables

I'm trying to force one PC to use a remote transparent squid proxy by re-routing all outgoing packets headed for port 80 to the squid proxy, although I'm having some difficulty with the exact iptables command line. The mini-HOWTO at…
Mikeage
  • 2,741
  • 6
  • 26
  • 37
4
votes
2 answers

maximum number of connections Squid

I have a Squid proxy server that controls all internet traffic for my network. I need a way to stop users from downloading big files (say >50MB) in my network. I banned some famous ports (e.g. torrent) but some downloads are possible by HTTP port.…
Isaac
  • 581
  • 2
  • 12
  • 25
4
votes
2 answers

How to properly setup squid3 as HTTPS proxy?

I am trying to setup squid3 as an HTTPS proxy using the tutorial given here. I have properly setup the proxy settings in my browser and when I try to hit HTTP web sites, I am able to connect successfully. However, I keep getting a "Connection timed…
jobin
  • 233
  • 1
  • 3
  • 9
4
votes
1 answer

Transparent HTTP/HTTPS domain filtering proxy

I want to set up a transparent HTTP/HTTPS proxy to filter outbound requests based on destination hostname (domain). The proxy itself should be non-intrusive and just forward traffic, not decrypt/modify it. In case of HTTPS it should use the TLS SNI…
Cybran
  • 422
  • 2
  • 6
  • 16