Quote:
Originally Posted by sarajevo
When I visit http://whatismyipaddress.com/ I get this
Proxy Server IP address: xxx.yyy.zzz.aaa
Proxy Server Details: 1.1 alisa:3128 (squid/2.6.STABLE12)
What O should change in squid.conf to prevent squid to send Proxy Server Details ?
|
it's basically a matter of filtering the
Via HTTP header...
you can do that with something like this in your
squid.conf file:
Code:
header_access Via deny all
keep in mind this will probably cause you trouble on some sites and stuff... in that case, you could either: a) tell squid which websites you want the headers to be allowed on or b) replace the Via header with a fake one... (you could also combine both options, etc...)
example for option a):
Code:
acl lq dstdomain .linuxquestions.org
acl debian dstdomain .debian.org
header_access Via allow lq debian
header_access Via deny all
example for option b):
Code:
header_access Via deny all
header_replace Via 1.1 example.net:8080 (squid/2.5.STABLE9)
the second example would make your squid look like it is much older than what it is, and listening on a different port, etc... of course this does NOT add any security or anything like that... but since you are concerened about this info being sent upstream perhaps you wanna make it look different...
just my

...