[squid-users] Your IP Address: INVALID IPV4 ADDRESS Located near: INVALID IPV4 ADDRESS, INVALID IPV4 ADDRESS (INVALID IPV4 ADDRESS

2011-06-25 Thread benjamin fernandis
Hi,

 When i try to get http://www.dnsstuff.com/.

i got above output on that site page.

And when i enable forwarded_for option in squid.conf i can get my
customer ip ( local / private ip) at that site.But instead of that i
want my squid server public ip.

Kindly guide me for that.

I want to derive more punch to understand http header request and
reply via squid and want to debug http header in good manner.So please
guide me for that , is there any plugin / add on or any open source
utility , from which i can see what header options are passing to
remote server when i try to surf sites.because in some sites which
shows ip and other information related it , from those sites i got my
squid version and squid information.


Currently I m runnig squid on my lan ip.

Squid version: 3.1.8

OS : centos 5.5

Regards,
Benajmin


Re: [squid-users] Your IP Address: INVALID IPV4 ADDRESS Located near: INVALID IPV4 ADDRESS, INVALID IPV4 ADDRESS (INVALID IPV4 ADDRESS

2011-06-25 Thread Amos Jeffries

On 25/06/11 19:10, benjamin fernandis wrote:

Hi,

  When i try to get http://www.dnsstuff.com/.

i got above output on that site page.

And when i enable forwarded_for option in squid.conf i can get my
customer ip ( local / private ip) at that site.But instead of that i
want my squid server public ip.

Kindly guide me for that.

I want to derive more punch to understand http header request and
reply via squid and want to debug http header in good manner.So please
guide me for that , is there any plugin / add on or any open source
utility , from which i can see what header options are passing to
remote server when i try to surf sites.because in some sites which
shows ip and other information related it , from those sites i got my
squid version and squid information.


Currently I m runnig squid on my lan ip.

Squid version: 3.1.8

OS : centos 5.5

Regards,
Benajmin


DNSStuff address detection is broken. It assumes IPv4 addresses in the 
X-Forwarded-For header. This has always been a false assumption.


Squid-3.1 is IPv6 enabled software. So if the client connects to it over 
IPv6 network the address listed will not be an IPv4.


The squid cache.log when logging with debug section 11,9 contains a lot 
of info about the HTTP protocol coming and going through squid. 
Including the headers.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.12
  Beta testers wanted for 3.2.0.9 and 3.1.12.3


Re: [squid-users] Problem with Refreh tiles

2011-06-25 Thread Amos Jeffries

On 24/06/11 20:19, francescobocca...@libero.it wrote:

Hi to all,
i have a question for you. I use a squid to server tiles in fast way. I
explain to you how i configure my system:
I have a tile server that create a OSM tiles in real time and another server
where i installed squid.
When i ask a tiles, the request pass throw squid that ask a tile if it aren't
cached. Sometimes it happend that some tiles aren't serverd or it are old.
So my question is:
How configure squid to be aligned to main tile server?


The tile server needs to add Cache-Control: header parameters.

This is a great tutorial that explains the most important ones and how 
they work:

 http://www.mnot.net/cache_docs/



What is the parameter that can be setted?



As indicated above, the server controls cacheability. Squid will only 
send stale content if it is allowed to.


Some Squid versions contain directive max_stale to limit how long a 
stale object can be sent before the client sees an error page instead.


The refresh_pattern directive can do some complex calculations on 
object age and staleness. But this is not aligned with the server.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.12
  Beta testers wanted for 3.2.0.9 and 3.1.12.3


[squid-users] Re: Your IP Address: INVALID IPV4 ADDRESS Located near: INVALID IPV4 ADDRESS, INVALID IPV4 ADDRESS (INVALID IPV4 ADDRESS

2011-06-25 Thread Linda Walsh

Amos Jeffries wrote:
DNSStuff address detection is broken. It assumes IPv4 addresses in the 
X-Forwarded-For header. This has always been a false assumption.


Squid-3.1 is IPv6 enabled software. So if the client connects to it over 
IPv6 network the address listed will not be an IPv4.


The squid cache.log when logging with debug section 11,9 contains a lot 
of info about the HTTP protocol coming and going through squid. 
Including the headers.


Amos


It may be broken in detecting ipv6, but it's broken
in detecting ipv4 as well

It's calling some geolocation script that displays that
text -- I think they just have a buggy detection script...

Might say something about their Ip monitoring software...