[squid-users] redirct.cc question
Hello, I am using Squid Version 3.0-PRE3-CVS Does anyone know what could cause 'r->client_addr' in redirect.cc to evaluate to the gateway address of the machine that Squid is running on even for people coming in from outside the machine? That is, when Squid calls the redirector (squidGuard), the client address is always the same (209.145.210.129), i.e., the gateway address of the Squid host box. I assume that client_addr comes from: r->client_addr = conn.getRaw() != NULL ? conn->log_addr : no_addr; in the redirectStart function in redirect.cc. Could the problem have to do with how I have NAT setup, or something to do with the nameserver? Thanks, Murrah Boswell
Re: [squid-users] redirct.cc question
On Fri, 19 Mar 2004, OTR Comm wrote: > Could the problem have to do with how I have NAT setup, or something to > do with the nameserver? NAT may be relevant. nameserver not. What does netstat -an say about the client connections? Regards Henrik
Re: [squid-users] redirct.cc question - Never Mind
Hello, Disregard this question, it was in my NAT configuration. Thanks, Murrah Boswell OTR Comm wrote: > > Hello, > > I am using Squid Version 3.0-PRE3-CVS > > Does anyone know what could cause 'r->client_addr' in redirect.cc to > evaluate to the gateway address of the machine that Squid is running on > even for people coming in from outside the machine? > > That is, when Squid calls the redirector (squidGuard), the client > address is always the same (209.145.210.129), i.e., the gateway address > of the Squid host box. > > I assume that client_addr comes from: > > r->client_addr = conn.getRaw() != NULL ? conn->log_addr : no_addr; > > in the redirectStart function in redirect.cc. > > Could the problem have to do with how I have NAT setup, or something to > do with the nameserver? > > Thanks, > > Murrah Boswell