Re: [squid-users] Wrong country recognition on websites after Squid configured as transparent proxy

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Thu, 20 Oct 2011 11:15:59 +0200

On 16.09.11 11:33, Piotr Pawlowski wrote:
>Thanks for the URL. Below you can find headers

>Name Value
>host localhost:8177

I really wonder why does the script on server behing a proxy.
But that's problem of the page, not yours

duplicates deleted.

>- with Squid enabled:
>
>cache-control max-age=259200
>via 1.1 goyello.com.pl (squid/3.1.8)
>x-forwarded-for unknown, 213.192.65.106

>- with Squid disabled:
>
>cookie JSESSIONID=28529E110235E301E413AE0CE9E78C54;
>__utma=135980773.1297309970.1316165254.1316165254.1316165254.1;
>__utmb=135980773; __utmc=135980773;
>__utmz=135980773.1316165254.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
>x-forwarded-for 213.192.65.106

I guess that either the server incorrectly guesses ".com.pl" is a
american (.com) domain, or resolves a "x-forwarded-for: unknown" as
request from USA.

what happens if you turn forwarded_for to "on" or "delete"?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
Received on Thu Oct 20 2011 - 09:16:09 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 20 2011 - 12:00:03 MDT