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

Multi-threaded alternative to tinyproxy?

Are there any free, light-weight, single-process (e.g. multi-threaded, asyncore) HTTP forward proxy software? Tinyproxy works great, but it uses multiple processes like (Apache's) prefork. HAProxy and nginx are reverse proxies don't seem to have…
netvope
  • 2,123
  • 5
  • 25
  • 35
4
votes
1 answer

squid and https URLs

I have installed squid as a non-transparent proxy/cache server with --enable-ssl configuration. It is a child of a parent proxy server proxy1.ut.ac.ir. Everything is OK for HTTP URLs, but any HTTPS URL is responded by a 404 Server not found (for…
Isaac
  • 581
  • 2
  • 12
  • 25
4
votes
2 answers

Squid throws error, The requested URL could not be retrieved

Sometimes I am getting the following error The requested URL could not be retrieved While trying to retrieve the URL: http://groups.google.com/ The following error was encountered: Unable to determine IP address from host name for…
Supratik
  • 2,154
  • 10
  • 51
  • 66
4
votes
1 answer

Squid reverse proxy with optional SSL

I'm trying to set up squid as a load-balancing reverse-proxy, and I'm having a bit of trouble with the SSL. One of the site's applications checks to see if a site is loaded over SSL, and behaves differently if that is the case, so I need SSL…
tylerl
  • 15,055
  • 7
  • 51
  • 72
4
votes
4 answers

Remove X-Forwarded-For header in Squid 3.0

Some months ago I was working with Squid 3.0 and managed to get rid of the X-Forwarded-For header completely. Now I am trying to do the same thing but I do not seem to hit the nail. I have tried forwarded_for off but that does not remove the header,…
mr-euro
  • 848
  • 3
  • 14
  • 31
4
votes
1 answer

How to enable only one ip to squid proxy server?

I'm trying to create a simple proxy server with my debian server, I installed squid3 and added that configuration: http_port 3128 forwarded_for off via off acl Safe_ports port 1-65535 http_access allow 111.222.333.444 http_access allow…
Entretoiz
  • 73
  • 2
  • 5
3
votes
1 answer

How can I make squid log full request and full responses

Is there a configuration parameter to do this? Tried a google search, but only solution I found required me to recompile the squid source. Thanks,
Schitti
3
votes
2 answers

active directory + squid planning for a large network with over than 7000 users

We have about 1600 active nodes and 6000 students in our network and we have a great Cisco backbone, we have 8 faculties (they have sites and wireless access points) and 10 centers like hospital. We need to organize our network with MS AD, in the…
Ansari
  • 227
  • 5
  • 12
3
votes
1 answer

squid proxy - use ipv6 only for outgoing traffic

I want to set up a squid proxy to use ipv6 only for outgoing traffic. I want the ip4 address to be totally invisible to the service I connecting to. I don't care about fallback and lack of ipv6 support, the service I connecting to, fully support…
Vadim Brook
  • 31
  • 1
  • 3
3
votes
1 answer

Why does squid (proxy server) listens on port 48512?

I just installed squid on my ubuntu machine (sudo apt-get install squid3) and after installing it I noticed that it listens on port 48512. $ netstat -tulpn | grep squid tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN …
Tono Nam
  • 322
  • 3
  • 17
3
votes
1 answer

Can squid http proxy dump all client/server headers?

Can squid dump the client and server HTTP headers? There are some complicated web flows from machines we don't control, but which passes through our proxy, that we'd like to debug.
3
votes
2 answers

IP Forwarding and traffic shaping

Is there any way to forward packets from network A to network B (just like a router) without changing source IP Address (and vice versa, from network B to network A) and also enforcing traffic shaping rules? The solution should be implemented in…
Isaac
  • 581
  • 2
  • 12
  • 25
3
votes
0 answers

Using Squid to Upgrade TLS Connections to TLS 1.2

Full disclosure here I am fairly new to Squid. I am trying to upgrade outbound TLS connections using Squid 3.5 on FreeBSD 11 to TLS 1.2. We have an older application that does not support TLS 1.2, but the end server its communicating with requires…
Robert Franzke
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

How wildcards works in Squid whitelisting configuration?

I'm a developer, not a sysadmin but I have the task to maintain a file which is basically a list of domains to whitelist. This file is used in the Squid caching proxy. The content of the file looks like this: .example.com .google.com .bing.com The…
AlexV
  • 179
  • 1
  • 2
  • 16
3
votes
0 answers

Squid form based authentication

I use Squid as a reverse proxy to publish web resources with limited access. I've configured it to check user credentials using standard web browser form (Basic authentication). Is it possible to show a web page with authentication form instead?
Tatyana
  • 41
  • 4