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
2
votes
0 answers

Squid and OpenVPN slow on OpenVZ?

I have two vps, one on OVH with KVM, the second on another hosting with OpenVZ. On OVH the speed is ok with squid and openvpn, i reach 100mbit (max speed of my connection), but i have a problem with the second vps. My internet speed is limited to…
Kiryu
  • 21
  • 4
2
votes
1 answer

Getting squid proxy to authenticate with AD or LDAP

So, I've been running a project lately, which is to mount a Squid proxy on Raspbian (on Raspberry pi via webmin). This project is divided into two parts; The first, which I have already completed, is to configure a Squid that works transparently…
THR4SH3RP0L0
  • 121
  • 1
  • 1
  • 3
2
votes
1 answer

Squid 503 service unavailable. Might related to domain name resolution

We had several linux servers and only one could connect the internet. So I built squid proxy on the server and other servers could use the proxy via environment variables like http_proxy="", ftp_proxy="" and so on. But suddenly I found the proxy…
yangjc
  • 21
  • 1
  • 2
2
votes
1 answer

sudo: unable to resolve host server1.yourdomain.com: Resource temporarily unavailable

OS: Ubuntu 18.0.4 i install Squid with this command: sudo apt-get install squid after install i small change on squid.conf , only change this http_access deny all to http_access allow all after save change i run this command sudo service squid…
user3770797
  • 33
  • 1
  • 7
2
votes
4 answers

Squid traffic tunneled through VPN

So what I'm trying to do is have a Squid Proxy run on 1 machine along side a VPN connection. What I want to happen is all traffic running though the Squad Proxy would run though the VPN for its outbound. ie Desktop -> (Squid Proxy -> VPN) The goal…
NerdyNick
2
votes
0 answers

Squid returns 400 to GET / HTTP/1.1 and Host Header

I need to demonstrate and test a Squid setup, which should blacklist by default, and allow requests only to whitelisted URLs from known networks. This is currently running in my staging environment, and is working as expected, but I want to test…
bbcmicro
  • 21
  • 1
  • 3
2
votes
1 answer

Forward Proxy convert http to https

We have access to a remote web API that requires a client cert to access (it's a PKI). I want to allow access to this API for specific servers / IPs in our network without them having to import the client cert into the keystore and also enable them…
dashambles
  • 121
  • 1
  • 1
  • 3
2
votes
1 answer

Using different DNS with Squid based on client IP

I have a network with a policy where some clients have to use openDNS for page filtering and some are allowed any DNS (e.g. Google DNS). I am using Squid in transparent mode for all connections to the internet. Squid allows defining dns_nameservers…
Tominiko
  • 23
  • 2
2
votes
1 answer

Cannot bind socket error for squid proxy

I set up a squid proxy inside a docker-machine using the datadog/squid image, when I access the cache.log file inside the container I see the following at the end of the logs: 2017/11/06 21:45:10| HTCP Disabled. 2017/11/06 21:45:10| commBind: Cannot…
appdap1
  • 23
  • 1
  • 5
2
votes
1 answer

Publish different sites using a single IP and pfSense - Squid

I'm fairly new to pfSense, so bear with me please. To summarize, I have: A network with split DNS enabled. A single IIS web server with a single IP, different sites running using different host header binding over port 80, all sites working fine…
Noor Khaldi
  • 3,869
  • 3
  • 19
  • 28
2
votes
3 answers

Squid closing the connection on long HTTP GET requests

When running a database query on a specific external site we use, Squid seems to cut off the connection after a consistent period of time (just over a minute). The query is submitted through a standard web form is that uses GET to query their…
Rhys
2
votes
3 answers

IP Tables intercept exception

I've got a set of iptable rules that look like this: -A PREROUTING --jump intercept-nat -A intercept-nat --jump DNAT -s 10.10.1.0/24 ! -d 10.10.1.1/32 -p tcp -m tcp --dport 80 --to-destination 10.10.1.1:3126 -m comment --comment "intercept-nat" -A…
2
votes
1 answer

Squid proxy authentication - most painless way

Ok, the title says it all, really. The end goal is to implement proxy-authentication for end users. Users' systems are mostly (95%) windows-based, the proxy is a Debian Lenny running squid 2.7. I've investigated possible ways to implement it, first…
shylent
  • 812
  • 11
  • 22
2
votes
1 answer

Slow Failover in Squid Cluster

I created a cluster with Corosync/Pacemaker. In the cluster i've configured two resources, a virtual IP and Squid. There are 2 nodes in the cluster working on Debian 8. crm_status displays, both nodes are Online and everything works fine. For…
2
votes
1 answer

IPv4 to IPv6 proxy/passthrough

I recently had an app rejected from the ios store for crashing during their (now) mandatory IPv6 test (didn't even know they did that). My server (on AWS) wasn't setup for IPv6, but I've fixed that with proper DNS and routing. It passes the tests…
user3249281
  • 195
  • 1
  • 11