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
3
votes
1 answer

How To Route All HTTP Traffic from eth1 to the Squid Proxy? The Iptable rules?

I have just setup a squid proxy server. The server have two interfaces. eth0 connects to the router and eth1 is connected to a switch where all the other machines connect. The server also have a DHCP server. I have setup Squid3 on the machine and…
THpubs
  • 1,695
  • 7
  • 26
  • 43
3
votes
1 answer

Squid gives always tcp_miss reverse proxy

I added installed latest squid3 in front of apache as reverse proxy. The problem is that it gives always tcp_miss, in fact I have not yet found a single TCP_HIT message in the log file, and most of the content is static. Relevant config values for…
JaakL
  • 331
  • 2
  • 6
3
votes
1 answer

How to configure Squish for Squid caching proxy?

Since this question is related to a server, also for Ubuntu, so I am a little bit confused about where to ask this question. I am currently using Squid 3.1, properly configured and working on a Ubuntu box. But I also have to install Squish for…
Shashank
  • 141
  • 1
  • 8
3
votes
1 answer

Can squid cache objects from HTTPS sites?

We have squid 3 installed at our Linux gateway server. We have enabled caching. Can it cache objects from https sites ?
nitins
  • 2,579
  • 15
  • 44
  • 68
3
votes
1 answer

How to limit the download speed after first N mb in Squid?

In my network, when someone is downloading big files, the internet speed is going down for everyone else. So what I want to do is, when someone starts downloading a file, he will download first 5 megabytes with normal speed, then the speed will go…
ysakiyev
  • 263
  • 1
  • 5
  • 12
3
votes
1 answer

squid and ftp connections

i have a squid proxy server for both, http and ftp connections, i'm trying to use filezilla to open a ftp, but it always fail with an error saying: Status: Connection with proxy established, performing handshake... Response: Proxy reply: HTTP/1.0…
Castro Roy
  • 285
  • 1
  • 8
  • 17
3
votes
2 answers

Working configuration for transparent FTP caching proxy with Squid3 and IPTABLES

Does anyone have Squid3 working to successfully cache FTP requests coming in transparently? Should the proxy still listen on 3128, and I redirect incoming reuests on 21 to 3128?
ensnare
  • 2,212
  • 7
  • 24
  • 40
3
votes
1 answer

Squid transparent proxy for outgoing traffic only

I have a Rails server that's a bit API heavy and so I want to run a Squid caching transparent proxy, between all port 80 activity, and the real world. However I don't need incoming traffic to go through that Squid proxy. Eg Rails -> Squid ->…
RubberDucky
  • 135
  • 5
3
votes
2 answers

measure amount of content downloaded from internet - SQUID

I have set up a squid proxy and now want to monitor the amount of data transfer that is taking place. It would be nice to get numbers per domain and also about how much of the content is coming from cache. Is there any way to do this?
3
votes
1 answer

Exclude some IPs from a subnet in squid

I have squid configuration to allow access to the proxy from a particular network localnet. I'm blocking access to media to all users except some IPs within the subnet. Here is the relevant part from the /etc/squid/squid.conf : acl admins src…
amyassin
  • 337
  • 2
  • 7
  • 22
3
votes
3 answers

How best to decouple a web service from its publicly-available domain names?

I'm trying to design a system that allows for multiple public endpoints that funnel into a single web service. The web service must be able to determine which endpoint was the intended destination of the request. Here's a little sample…
ladenedge
  • 146
  • 1
  • 10
3
votes
1 answer

Squid ignoring hosts file (using SquidMan on Mac)

I installed SquidMan 3.1 on my Mac, and it works fine. But I really need it to redirect some of the traffic using my hosts file, and it seems to be ignoring it no matter where I put it. So far I've tried: Adding a hosts_file /etc/hosts directive on…
luchomolina
  • 129
  • 5
3
votes
0 answers

Squid Proxy - https working but http sites not working

I've got a Squid proxy configuration file I have been working on for a few days. And I'm stuck on this one last issue. I finally got https URLs to work via the proxy but http URLs do not work. What am I doing wrong? What am I missing? acl manager…
Tyndall
  • 591
  • 1
  • 7
  • 18
3
votes
1 answer

Change squid3 access.log

Where lies the config file to change the output of the access.log file? I want to remove the website the user was browsing and format the time so it's human readable.
cherrun
  • 749
  • 2
  • 11
  • 17
3
votes
3 answers

Redirect OpenVPN gateway traffic to Privoxy

I would like to redirect the traffic that goes through my OpenVPN gateway to Privoxy, like so: OpenVPN client->Internet->OpenVPN gateway->Privoxy->Internet->Webserver (and vice versa) So far I managed to get the OpenVPN gateway working fine.…
Max Rother
  • 31
  • 1
  • 3