[squid-users] Re: 2 second pause with forwarded_for off

From: Adam Aube <aaube01@dont-contact.us>
Date: Wed, 28 Jul 2004 22:25:56 -0400

Steven Rice wrote:

> I'm experincing a 2 seconds pause when forwarded_for is turned off as show
> in the ethereal output below.

> 0.323465 205.152.0.20 -> 66.135.202.135 HTTP GET
> /ws/ebayISAPI.dll?MyeBay
> HTTP/1.0
> 0.465554 66.135.202.135 -> 205.152.0.20 TCP http > 44968 [ACK] Seq=1
> Ack=2658
 
> 3.382487 66.135.202.135 -> 205.152.0.20 HTTP HTTP/1.1 200 OK
> 3.382577 205.152.0.20 -> 66.135.202.135 TCP 44968 > http [ACK] Seq=2658
> Ack=1397

Unless I am seriously misreading this data, it looks like the delay is
between eBay sending an ACK for the request and then sending the response.
This is odd behavior, but it probably isn't Squid's fault.

Can you duplicate this with other websites - not just eBay?

> I don't want internal address to be passed, so how do I disable
> forwarded_for without experincing this delay?

forwarded_for replaces the client IP with "unknown", whereas header_access
removes the header altogether. It might be worth trying header_access
instead.

Adam
Received on Wed Jul 28 2004 - 20:26:00 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:03 MDT