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

HTTPS request using Curl through squid proxy

I'm trying to make an HTTPS request using Curl through a squid proxy. I know that the squid proxy works, since I have set it up for my browser and it works fine. I have tried using just about every answer from here and scoured several other…
RyanQuey
  • 705
  • 1
  • 9
  • 29
10
votes
3 answers

Squid refuses all websites when creating proxy server

so I'm trying to create a proxy server for my crawler to use, and I'm unsure about why I'm getting denied from even myself. When I go to any website in a browser, on the computer that I've installed Squid and everything on, it's giving me the…
Matt
  • 139
  • 1
  • 1
  • 10
8
votes
3 answers

How to set proxy settings (http_proxy variables) for kubernetes (v1.11.2) cluster?

I have setup a Kubernetes cluster which somehow cannot have internet connectivity because of organizaion policies. Now there are some services which I need to communicate via internet. To resolve this I have setup a forward proxy (Squid) which is…
Meta-Coder
  • 331
  • 1
  • 3
  • 12
8
votes
3 answers

REST API caching, should I use a Reverse proxy or memcache(d)?

I have a REST API where I would like to cache the JSON response of the index (GET /foo) and the read actions (GET /foo/1) to significantly increase the performance. When there is a POST or a PUT on a resource the cache entries for the index and read…
Ward Bekker
  • 6,316
  • 9
  • 38
  • 61
8
votes
2 answers

Reverse proxy from nginx to squid

Similar to this, I am trying to host a squid proxy behind nginx: example.com - the main site relay.example.com - the squid server. So far, when I try to use the squid proxy, it will complain about accessing an illegal page, for example, if I try to…
aptgetmoo
  • 103
  • 1
  • 1
  • 8
7
votes
1 answer

Squid - Listen on multiple ports and forward to different proxy

I would like to setup a proxy that listens for multiple ports and each port forwards the requests to different proxies, for example: LISTEN FORWARD TO 1.2.3.4:3128 -> 5.6.7.8:3128 1.2.3.4:3129 -> 5.6.7.9:3128 1.2.3.4:3130 ->…
mwiggs
  • 157
  • 1
  • 8
7
votes
1 answer

Can squid forward DNS queries to a DNS server?

This might something be completely impossible to achieve, but before I give it a shot thought I might get some advice from a fellow geek. Would squid proxy DNS queries as well? I would like to forward DNS queries to go through squid and use squid's…
pravin
  • 71
  • 1
  • 1
  • 2
7
votes
1 answer

What would client receive through Squid when request timeout after it had received a header "200 OK"

As I know, squid would send a 504 gateway timeout when request timeout. But what if the client has already received a response header 200 ok. I mean when the response data is sent back in chunked encoding. For example: header "200 ok" body part "a"…
Alexis
  • 1,080
  • 3
  • 21
  • 44
6
votes
3 answers

Ideal place to store Binary data that can be rendered by calling a url

I am looking for an ideal (performance effective and maintainable) place to store binary data. In my case these are images. I have to do some image processing,scale the images and store in a suitable place which can be accesses via a RESTful…
dineshr
  • 329
  • 2
  • 6
6
votes
2 answers

Spring 3 Security and Relative Redirect URLs

We have a Spring 3 app with Spring Security behind a Squid proxy. The issue is that Spring only knows about the internal squid url so after a successful login at example.com/login instead of redirecting to example.com/home it redirects to…
Josh Johnson
  • 10,729
  • 12
  • 60
  • 83
6
votes
1 answer

Command to restart Squid proxy server?

What command restarts the Squid proxy server on Linux distros? I have tried squid restart, is that the correct command?
vincy
  • 7,219
  • 3
  • 16
  • 5
6
votes
1 answer

Setup HTTPs Forward Proxy with HAProxy

In HAProxy, I've used option http-proxy to make it work like forward proxy. This seems to be working fine, but for HTTPS traffic that's not possible. So, is there any option in the HAProxy configuration that allows to proxy the HTTPS traffic just…
binaryuser
  • 727
  • 1
  • 5
  • 13
6
votes
0 answers

Client Certificate Authentication with SQUID Forwarding Proxy

I have SQUID as https froward proxy in my network. One of my application sends a SAOP request out of the network. The SOAP webservice needs client certificate for auth. I have configured the keystore and truststore for my application. Application is…
learner
  • 906
  • 2
  • 10
  • 39
6
votes
0 answers

Squid3 Proxy Server ssl-bump blocking Web Socket connections

I have just set up Squid Server 3.5.26 on Ubuntu 16.04.2 LTS configured with SSL-bump. Http and Https is working fine but any web service that requires Web Sockets fails, for example, a speed test. I have added the following lines to my squid…
maxhap
  • 221
  • 3
  • 15
1
2
3
56 57