Search squid archive

Re: GET format question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Sullivan wrote:

I have a default install of squid working fine when I set a browser to use the squid proxy. What I am wondering, is can I configure squid to also (or only) accept GET requests in the normal browser format? By this I mean have squid accept a GET / instead of GET http://domain.com/?
A transparent proxy will not work because the destination IP address will be the squid proxy's IP and not the actual site IP because of some DNS issues (dns will point to the proxy for all requests), and I would think a transparent proxy will need the destination IP in the packet (or can squid perform a dns lookup on the HOST parameter while in transparent mode?).

I've read about the  httpd_accel_uses_host_header parameter, but don't know if changing that will allow me to do what I'm after - have squid act like a proxy but accept a GET in standard browser format.

Any pointers/suggestions appreciated.

Thanks
To the best of my knowledge, this is exactly how the interception mode of Squid works (http://www.squid-cache.org/Doc/FAQ/FAQ-17.html). In your case, instead of intercepting traffic bound for the Internet on port 80, you are pointing all requests at the Squid proxy. This is going to cause problems with SSL traffic and any web requests made to ports that Squid is not listening on (not to mention any non HTTP related requests), but that's just cost of business with using an intercepting proxy.

Chris

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux