Skip to contentSkip to conversation

browser header

DISCUSSION it clown 2 participants 2 messages Feb 17, 2005

lore
Share & tools
lore

it clown

author
#0 lore raw

Hi All,

I am running iptables with squid. I did a Browser header test and the test shows the following:

Via: 1.1 pc.domain.net:3128 (squid/2.5.STABLE5), 1.0 netcache2-ctn (NetCache NetApp/5.3.1R2)

Why is it showing my pc's host name? How do i prevent it from happening?

Do i need to do something in iptables or squid?

If what would someone please help, thanks?

Regards
______________________________________________________________
http://www.webmail.co.za the South African FREE email service

#1 lore raw
Quoted 7 lines · it clown

Hi All,

I am running iptables with squid. I did a Browser header test and the test shows the following:

Via: 1.1 pc.domain.net:3128 (squid/2.5.STABLE5), 1.0 netcache2-ctn (NetCache NetApp/5.3.1R2)

you're running iptables and squid on a Network Appliance NetCache? or is there a NetCache between you and the web server that isn't under your control?

Quoted 1 line

Why is it showing my pc's host name?

because it's supposed to.

Quoted 4 lines

How do i prevent it
from happening?

Do i need to do something in iptables or squid?

well--which one handles all your HTTP connections?

never mind...add these to squid.conf:

header_access Via deny all
header_access X-Forwarded-For deny all

this assumes that the proxy server that's selling you out is actually under your control, and not somewhere upstream from you.

-j

--
"If something is to hard to do, then it's not worth doing."
--The Simpsons