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
5
votes
3 answers

Jax-RS unable to authenticate to proxy

My company has a proxy proxy=myProxy port=myProxyPort username=me password=myPassword I try to access the outside world by using simple java.net functions and it worked! System.setProperty("http.proxyHost",…
Oscar Castiblanco
  • 1,626
  • 14
  • 31
5
votes
1 answer

squid sslbump works with private connection warning

I use squid 3.5 with its sslbump feature for https traffic filtering. I generated my private key and cert files with openssl. However,the browser received the warning message when i open https websites that the certificate was issued by an unknown…
vaj oja
  • 1,151
  • 2
  • 16
  • 47
5
votes
1 answer

HTTPS proxy with support for chunked-encoded requests

I'm developing a simple HTTPS proxy (written in Python) which receives POST/GET requests/responses, applies some transformation and finally forwards the result to the recipient. I need to handle chunked-encoded requests/responses in a "streaming"…
pAkY88
  • 6,262
  • 11
  • 46
  • 58
5
votes
1 answer

Squid3 SSL-BUMP

I am having a squid 3.3 running in my Ubuntu server. In my squid ssl-bump configuration i am getting the following error as the result of squid3 -k reconfigure. Error: FATAL: Bungled squid.conf line 1137: http_port 3127 ssl-bump…
user1865445
  • 393
  • 2
  • 6
  • 13
5
votes
5 answers

Why is squid good for REST architectures?

In this article, it is argued that Use Memcache if you frequently fetch random entities from a database, and Squid if you use a REST architecture. Please explain why (with regard to Squid).
Jacques René Mesrine
  • 46,127
  • 27
  • 66
  • 104
5
votes
1 answer

Rewrite nginx host and proxypass to squid

I want to achieve the following: Request Host: http://example.com.proxy.myserver.com Should be rewritten to http://example.com and passed to a squid server via nginx proxypass. server { listen 80; server_name…
Sebastian
  • 1,253
  • 1
  • 10
  • 11
5
votes
3 answers

Remote Connection to MySQL database to bypass through Squid proxy server

I am using Squid as a proxy server for web cache in my local network. I have developed a utility in VB.NET that requires a remote connection to a MySQL database on a remote server over internet. I am able to connect to remote server if I disable the…
Rafi
  • 71
  • 1
  • 4
5
votes
1 answer

Can squid run behind nginx?

I'm trying to run a squid server behind nginx. I configured nginx like this: server { listen 8080; location / { proxy_pass http://localhost:3128; proxy_set_header Host $host; proxy_set_header X-Real-IP …
kkpattern
  • 948
  • 2
  • 7
  • 31
5
votes
4 answers

Why is stopping (or restarting) squid3 on GNU/Linux is so slow?

I'm using Ubuntu 11.04 and when calling "/etc/init.d/squid3 restart", it spends about half a minute to restart. What is it doing? The output looks like this: * Restarting Squid HTTP Proxy 3.x squid3 * Waiting... * ... * ... * ... * ... * ... * ... …
speedogoo
  • 2,828
  • 2
  • 17
  • 19
4
votes
2 answers

Unable to determine IP address from host name

We have an iMac running as an internal dev server with Apache, PHP & Mysql. It has a number of virtual host files and when accessing on the iMac, these work brilliantly. We're also running Squid proxy server http://web.me.com/adg/squidman/ so that…
Steven Grant
  • 1,236
  • 3
  • 15
  • 32
4
votes
1 answer

Node.js - HTTP get through Squid proxy authorization issue

I am trying to make a simple request using http.get. But I need to make this request through Squid proxy. Here's my code: var http = require('http'); var username = 'username'; var password = 'password'; var host = "proxy_host"; var auth = 'Basic…
aek
  • 825
  • 1
  • 9
  • 17
4
votes
3 answers

Which Amazon EC2 Instance to use?

I want to setup a proxy (using Squid) that will take ~ 5000 requests per day on an Amazon EC2 instance. Will there be a noticeable difference in speed between a micro vs small instance? The requests are for HTML, not for any media like images or…
Ben G
  • 26,091
  • 34
  • 103
  • 170
4
votes
2 answers

How to verify that Squid used as a reversed proxy is working?

We want to decrease the load in one of our web servers and we are running some tests with squid configured as a reverse proxy. The configuration is in the remarks below: http_port 80 accel defaultsite=original.server.com cache_peer…
Geo
  • 8,663
  • 13
  • 63
  • 93
4
votes
1 answer

How to setup Squid so it bypasses basic auth for clients on localnet?

I have this squid configuration file which is supposed to protect squid from unauthenticated access by using basic auth. Squid runs as a docker service and I would like to grant unauthenticated access for all other docker services. I observed that…
Jabb
  • 3,414
  • 8
  • 35
  • 58
4
votes
0 answers

Squid proxy server refuse connection for twitter

I have installed Squid proxy on my Ubuntu 16 vps. This is my squid.conf: auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords auth_param basic realm proxy acl authenticated proxy_auth REQUIRED http_access allow…
Shahin Shemshian
  • 356
  • 1
  • 11