> -----Original Message-----
> From: Steven Wilton [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 19 March 2007 8:46 AM
> To: squid-dev@squid-cache.org
> Subject: request->my_addr change from 2.6.STABLE3 to 2.6.STABLE10
> 
> I've just discovered that due to the reworking of places that
> ClientNatLookup is called, request->my_addr now contains the 
> local IP of the
> proxy server rather than the IP address of the web server the 
> client thinks
> it's talking to for transparent requests.  I'm assuming that 
> this was done
> deliberately, but it has caused a regression for a patch that 
> I'm using.
> 
> Can anyone confirm whether request->my_addr should contain 
> the IP address
> that the customer has connected to, or the IP address that the OS has
> redirected the packet to for requests that have been semnt to 
> squid using
> NAT.  (ie client sends request to 66.102.7.104:80 proxy redirects to
> 192.168.0.1:3128.  Should request->my_addr contian the 
> 66.102.7.104 IP, or
> 192.168.0.1)?
> 

I just figured it out - the change was that clientNatLookup was only being
called if the host header was not given.  I've modifed my patch accordingly.

Steven

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.13/726 - Release Date: 18/03/2007
3:34 PM
 

Reply via email to