Questions tagged [squid]

Squid is an open-source HTTP caching proxy server.

Squid is one of the best known open source HTTP proxy servers. Its features include caching of HTTP objects, URL rewriting (via helper apps), authentication, and SSL. It came out of an NSF-funded project in the early 1990s researching caching technologies.

Other similar software packages include NGINX, Apache's mod_proxy, Apache Traffic Server, and Varnish.

Squid's homepage: http://www.squid-cache.org

846 questions
4
votes
3 answers

Basic Authentication of Squid 4.5 - /usr/lib64/squid/basic_ncsa_auth file not found

I have centos 7.6 & installed squid 4.5 on it. sudo yum -y install squid I followed this link for Basic Authentication. Without authentication squid works fine. Here is squid.conf file after adding # Basic Authentication part : # #…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
4
votes
2 answers

503 Service Unavailable with squid

I am trying to setup squid on Google cloud engine but i am getting 503 Service Unavailable with every website. curl -x http://35.xx.xxx.xxx:62401 -I http://www.squid-cache.org/Support/ HTTP/1.1 503 Service Unavailable Server: squid Mime-Version:…
user2650277
  • 6,289
  • 17
  • 63
  • 132
4
votes
1 answer

varnish or squid reverse proxy behind corp proxy

How to configure varnish(or if someone can hint me to squid im fine) to cache requests from backend, but connect to backend through http_proxy So I try to: backend default { .host = "10.1.1.1"; .port = "8080"; } backend corp_proxy { .host…
mAm
  • 177
  • 1
  • 13
4
votes
0 answers

Squid Cannot allocate memory

I was trying to build squid container which work as proxy for list of users and use different configuration such as "login using custom python script" ssl bump to stop https urls and some ACL rules but i get that most of time squid is very slow and…
Dcoder
  • 558
  • 5
  • 11
4
votes
0 answers

How to dump the request and response headers between squid and upstream proxy?

I have squid web proxy setup on OpenWRT router. The proxy is configured to use upstream corporate proxy. I am wondering if there is a way to dump request/response headers for every outgoing request to cache peer.
PC Guy
  • 71
  • 6
4
votes
0 answers

ERR_DNS_FAIL when curl request sent through proxy

My proxy has been working fine when I use it to curl general sites like google/facebook etc. But when I try to curl an internal host which should be available I get the following message:

The following error was encountered…

appdap1
  • 521
  • 1
  • 6
  • 17
4
votes
1 answer

How can Squid be configured to cache all downloaded files?

I am trying to setup a Squid proxy instance so that it can be used for Chef cookbook development with Test Kitchen. When Test Kitchen spins up a virtual machine it installs chef-client by downloading it. I have configured it so that it downloads…
Russell Seymour
  • 1,333
  • 1
  • 16
  • 35
4
votes
1 answer

Squid Cache Behavior - Multiple Requests

I'm having to learn Squid on the fly for a project and have tried to Google this, but not sure how to ask the question so Google can find it. I have a customer that wants to distribute larger amounts of video to multiple clients, but they have a…
Dave_750
  • 1,225
  • 1
  • 13
  • 28
4
votes
0 answers

c# HttpWebRequest not sending default credentials to proxy server

I am using squid proxy server to authenticate the client before passing on the request to public network. I haven't set HttpWebRequest.Proxy object so I am assuming that the web request will take the default window credentials and pass on to the…
cbinder
  • 2,388
  • 2
  • 21
  • 36
4
votes
2 answers

Fetching git behind proxy in docker container

I've been stuck for several hours trying to fetch from git behind proxy running inside a docker container. Removing intermediate container 84c4f6722d09 Step 16 : RUN bundle install --without development test ---> Running in bbc7bfff1bae Fetching…
Philip K. Adetiloye
  • 3,102
  • 4
  • 37
  • 63
4
votes
2 answers

Squid only cache content for a specific domain and file type.

I want to setup Squid to cache specific files (.jpeg) from a specific domain. These files are updated daily. I'm running Ubuntu. I have a script on my laptop that makes use of these files and ideally I would like this script to make calls to the…
Mfswiggs
  • 307
  • 1
  • 6
  • 16
4
votes
3 answers

Allow access to localhost from localhost by Squid

I'm running Squid locally and I'd like to access by Ruby server running on localhost:3000 through Squid. If I try to acces localhost:3000 I get this message: The following error was encountered while trying to retrieve the…
martins
  • 9,669
  • 11
  • 57
  • 85
4
votes
0 answers

HTTP Post using Apache http client with expect-continue option to an authorized http proxy, and get 400 response

I am using apache http client v4.5 to do a HTTP POST to an authorized required http proxy server. Because of some other dependencies, I tend to use enabled Expect-Continue handshake in the http client config. Related code snips: …
ying
  • 66
  • 1
  • 4
4
votes
1 answer

squid ssl-bump 3.5.4: error - Error negotiating SSL connection on FD 10: Success (0)

I am trying to install squid 3.5.4 (on docker, running debian 8) and run it in ssl-bump mode. Compilation: ./configure --prefix=/opt/squid --srcdir=. --disable-maintainer-mode \ --disable-dependency-tracking --disable-silent-rules…
ashish behl
  • 319
  • 1
  • 3
  • 19
4
votes
2 answers

Accessing Import.io API through a proxy server

I am having issues using the import.io API. Despite my app being used and deployed in the UK it will return (for certain stores) incorrect currencies and price data due toe Import.IO's servers being deployed in the US. I spoke with the support team…
Daniel Benzie
  • 479
  • 1
  • 5
  • 27