[squid-users] client ip's

2008-04-01 Thread Jorge Bastos
Hi, My squid always report "localhost" on the client's IP. What can I do to correct this? Only started to happen with the last 3.0 stable2. --- 1207040749.939436 localhost TCP_MISS/200 1528 GET http://library.gnome.org/skin/tab_right.png - DIRECT/209.132.176.176 image/png

RE: [squid-users] client ip's

2008-04-01 Thread Jorge Bastos
No, just squid himself. > -Original Message- > From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 1 de Abril de 2008 10:22 > To: Jorge Bastos > Cc: squid-users@squid-cache.org > Subject: Re: [squid-users] client ip's > > > tis 2008

Re: [squid-users] client ip's

2008-04-01 Thread Henrik Nordstrom
tis 2008-04-01 klockan 10:07 +0100 skrev Jorge Bastos: > Hi, > > My squid always report "localhost" on the client's IP. > What can I do to correct this? Only started to happen with the last 3.0 > stable2. are you using dansguardian or another filtering proxy infront of your Squid? Regards Henri

RE: [squid-users] client ip's

2008-04-01 Thread Henrik Nordstrom
tis 2008-04-01 klockan 12:29 +0100 skrev Jorge Bastos: > No, just squid himself. As a plain proxy, or playing with NAT? Regards Henrik

RE: [squid-users] client ip's

2008-04-02 Thread Jorge Bastos
ira, 2 de Abril de 2008 0:12 > To: Jorge Bastos > Cc: squid-users@squid-cache.org > Subject: RE: [squid-users] client ip's > > tis 2008-04-01 klockan 12:29 +0100 skrev Jorge Bastos: > > No, just squid himself. > > As a plain proxy, or playing with NAT? > > Regards > Henrik

RE: [squid-users] client ip's

2008-04-02 Thread Henrik Nordstrom
table 1 or 2 that > this started to happen. > > > > > > -Original Message- > > From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] > > Sent: quarta-feira, 2 de Abril de 2008 0:12 > > To: Jorge Bastos > > Cc: squid-users@squid-cache.org > > S

RE: [squid-users] client ip's

2008-04-02 Thread Jorge Bastos
POSTROUTING -o eth1 -j MASQUERADE COMMIT # Completed on Wed Apr 2 17:12:26 2008 -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 2 de Abril de 2008 11:42 To: Jorge Bastos Cc: squid-users@squid-cache.org Subject: RE: [squid-users] client ip's WHat do

Re: [squid-users] client ip's

2008-04-02 Thread Amos Jeffries
e.org Subject: RE: [squid-users] client ip's WHat do your iptables NAT rules look like? iptables-save -t nat ons 2008-04-02 klockan 09:18 +0100 skrev Jorge Bastos: Transparent proxy Squid running on: 8080 And I forward 80 => 8080 (squid) => web My iptables rules are intact, I bel

Re: [squid-users] client ip's

2008-04-03 Thread Henrik Nordstrom
tor 2008-04-03 klockan 18:08 +1300 skrev Amos Jeffries: > If squid is running on this same box I would recommend the REDIRECT > target instead of DNAT. It's less work for the kernel. Actually REDIRECT is more work than DNAT as it has to look up the primary IP of the incoming interface and dynami

RE: [squid-users] client ip's

2008-04-03 Thread Jorge Bastos
users@squid-cache.org > Subject: Re: [squid-users] client ip's > > Jorge Bastos wrote: > > The rule I use to redirect traffic from 80 to 8080 is: > > I must remember, this was working before 3.0 stable1 or stable2 (not > using > > stable2), I just saw this was happ

RE: [squid-users] client ip's

2008-04-05 Thread Jorge Bastos
gt; Cc: 'Henrik Nordstrom'; squid-users@squid-cache.org > Subject: RE: [squid-users] client ip's > > Hum, the last one's on debian. > They were 3.0 PRE-X, but don't remember the number. > > > > > > -Original Message- > > From: A

RE: [squid-users] client ip's

2008-04-05 Thread Henrik Nordstrom
lör 2008-04-05 klockan 14:24 +0100 skrev Jorge Bastos: > I updated to last STABLE-4 on debian, but this still happens this way. > What can I do more? Good question. One thing you can try is to downgrade to Squid-2.6. If that shows the same symptoms the problem is not within Squid but most likely

RE: [squid-users] client ip's

2008-04-05 Thread Jorge Bastos
ffries'; squid-users@squid-cache.org > Subject: RE: [squid-users] client ip's > > lr 2008-04-05 klockan 14:24 +0100 skrev Jorge Bastos: > > > I updated to last STABLE-4 on debian, but this still happens this > way. > > What can I do more? > > Good question. &

RE: [squid-users] client ip's

2008-04-10 Thread Jorge Bastos
: 'Amos Jeffries'; squid-users@squid-cache.org > Subject: RE: [squid-users] client ip's > > This already worked with some of the 3.0 versions. > Gonna try to play with my iptables rules and let you guys know. > > > > > > -Original Message-

RE: [squid-users] client ip's

2008-04-10 Thread julian julian
168.0.254 to > localhost. > > > > > > > -Original Message- > > From: Jorge Bastos [mailto:[EMAIL PROTECTED] > > Sent: sábado, 5 de Abril de 2008 21:23 > > To: 'Henrik Nordstrom' > > Cc: 'Amos Jeffries'; squid-users@

RE: [squid-users] client ip's

2008-04-10 Thread Jorge Bastos
squid > Subject: RE: [squid-users] client ip's > > Jorge: have you set the network properly? Are you > using 192.168.x.x net. The network parameter must be > wrote in > ../ifcfg-eth0 and ../ifcfg-eth1 file (because I > suspect that you have two nics). The route command >

RE: [squid-users] client ip's

2008-04-10 Thread Henrik Nordstrom
tor 2008-04-10 klockan 09:22 +0100 skrev Jorge Bastos: > Hum I got some news on this, > > I don't know why my system started to give me this information: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse Iface > 192.168.1.0 *

RE: [squid-users] client ip's

2008-04-10 Thread julian julian
e route print, > are defined in > /etc/network/interfaces. > > > > > > -Original Message- > > From: julian julian [mailto:[EMAIL PROTECTED] > > Sent: quinta-feira, 10 de Abril de 2008 15:47 > > To: Jorge Bastos > > Cc: squid > > Subje