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

820 questions
89
votes
1 answer

How to set up a squid Proxy with basic username and password authentication?

I currently I use ip in acl, and I want to use username and password to do this.
www
  • 3,773
  • 6
  • 28
  • 27
43
votes
11 answers

Tux, Varnish or Squid?

We need a web content accelerator for static images to sit in front of our Apache web front end servers Our previous hosting partner used Tux with great success and I like the fact it's part of Red Hat Linux which we're using, but its last update…
Polsonby
  • 22,484
  • 19
  • 56
  • 73
28
votes
1 answer

How to get started with web caching, CDNs, and proxy servers?

I'm newbie programmer building a startup that I (naturally) hope will create a large amount of traffic. I am hosting my django project on dotcloud, which is on Amazon EC2. I have some streaming media (Http though, not rmtp) so the dotcloud guys…
Matt Parrilla
  • 2,901
  • 4
  • 30
  • 50
24
votes
1 answer

How do I allow access to all requests through squid proxy server?

I want to enable access to all requests on Squid3 server ie. request from anywhere to anywhere through the proxy server should be allowed. I've already tried adding this to the end of config file /etc/squid3/squid.conf: acl all src…
FacePalm
  • 7,518
  • 3
  • 37
  • 44
21
votes
3 answers

How to block website using SQUID server

I am using squid server in my Debian server, I want to block some websites in my system and I followed all the procedures for this but there is no result.
rahul
  • 313
  • 1
  • 3
  • 9
18
votes
1 answer

POST Absolute URI is sent to server by XmlHttpRequest when using Squid3 proxy

I've faced strange problem now with sending http request from Chrome extension i am developing (normal JavaScript). This's a POST request with XmlHttpRequest (from background.js) with url like: http://host.com/postform/upload I also send this…
Croll
  • 3,213
  • 6
  • 24
  • 54
18
votes
1 answer

How to configure HTTPS support in squid3

I have vps, and i would like to configure my squid support HTTPS proxy. I have configured http proxy and is work, but not support https. question How to configure HTTPS proxy in squid3? This is my squid.conf configuration details. acl manager…
palsutok
  • 191
  • 1
  • 1
  • 4
14
votes
3 answers

How to use HttpClientBuilder with Http proxy?

I am trying to set proxy for a request I am making using HttpClientBuilder as follows: CredentialsProvider credsProvider = new BasicCredentialsProvider(); UsernamePasswordCredentials usernamePasswordCredentials = new…
jobin
  • 2,152
  • 6
  • 27
  • 50
12
votes
2 answers

Java 6 NTLM proxy authentication and HTTPS - has anyone got it to work?

I have a Java application (not an applet) that needs to access a web service. Proxies for the web service have been generated with JAX-WS, and seem to work fine. In one scenario it needs to talk through a web proxy server (actually Squid 3.0), which…
DavidK
  • 3,724
  • 1
  • 17
  • 25
11
votes
2 answers

Can I force LWP::UserAgent to accept an expired SSL certificate?

I would like to know whether it is possible to force LWP::UserAgent to accept an expired SSL certificate for a single, well-known server. The issue is slightly complicated by the Squid proxy in between. I went as far as to set up a debugging…
fB.
  • 338
  • 2
  • 10
11
votes
4 answers

squid proxy - howto allow tcp connect - getting TCP_DENIAL/400 with ERR_INVALID_DOMAIN

I'm having a device which needs to connect to an internet service on tcp:80 but the network has no direct internet access. So I'm using a squid proxy to solve this. The device allows me to enter proxyserver, port, username and password. I figured…
Christian
  • 139
  • 1
  • 1
  • 6
10
votes
1 answer

How to setup a Squid Reverse Proxy?

I have a website (windows IIS) that is very busy and I wanted to setup an SQUID Reverse proxy to offload some of the traffic. I wanted to know what are the best practices, and how to setup it up on a Windows or Unix server.
Ash
  • 21,088
  • 34
  • 100
  • 145
10
votes
1 answer

Using Varnish for cache along with IIS

Can we use a Varnish cache server to serve ASP.NET pages? My intention is to host another cache server to improve the performance by caching most accessed and shared data. To rent another IIS server, it will cost again. Instead can I use any another…
ram
  • 101
  • 1
  • 4
10
votes
3 answers

Rotating Proxies for web scraping

I've got a python web crawler and I want to distribute the download requests among many different proxy servers, probably running squid (though I'm open to alternatives). For example, it could work in a round-robin fashion, where request1 goes to…
Jacob
  • 4,104
  • 1
  • 22
  • 25
10
votes
3 answers

Enable cache for SSL connection in Squid

How we can enable squid to cache web content (let says from firefox) for SSL connection, i mean for https URLs?
Wasim A.
  • 8,661
  • 19
  • 86
  • 113
1
2 3
54 55