Re: [squid-users] Fwd: failure notice

From: Nuno Fernandes <npf-mlists_at_eurotux.com>
Date: Fri, 07 Jun 2013 11:45:31 +0100

Em Sexta, Junho de 7 de 2013 10:26 WEST, Ict Security <ict.security.job_at_gmail.com> escreveu:

> Hello,
>
> i notice, in Squid 3.1.1 and previous version, some problem when
> accessing some websites.
>
> It happens both on transparent and explicited proxy mode.
>
> As example, this site cannot be opened behing Squid 3.1.1:
> http://www.prefettura.it
>
> It is a government italian site.
> As this, there are some others site, that manifest problems in squid...
>
> Thank you,
> Francesco Collini

Do you have "forwarded_for off" in your configuration? If so remove it. That site requires valid forward_for:

wget --header='X-Forwarded-For: 192.168.1.1' -S -O /dev/null www.prefettura.it # WORKS
wget -S -O /dev/null www.prefettura.it # WORKS
wget --header='X-Forwarded-For: unknown' -S -O /dev/null www.prefettura.it # NOT WORKING

Maybe they are checking that value.... Better yet is to use header acl to remove that header to that specific site...

Best regards,
Nuno Fernandes
Received on Fri Jun 07 2013 - 10:45:00 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 07 2013 - 12:00:06 MDT