Koozali.org: home of the SME Server

/var/log/squid/access.log don't write the client IP

Fernando.

/var/log/squid/access.log don't write the client IP
« on: February 26, 2004, 01:43:59 PM »
Before, I have 5.5 and in the squid log I'd see the IP of the client in the LAN. But now I only see 127.0.0.1.

¿It is possible to see the client IP?

mbachmann

/var/log/squid/access.log don't write the client IP
« Reply #1 on: February 26, 2004, 05:13:35 PM »
Are you sure you are viewing the squid access.log?

issue from console tail -f /var/log/squid/access.log. Or try the sarg-contrib. It let you see all the ips.

Fernando

Yes I'm sure that is /var/log/squid/access.log
« Reply #2 on: February 26, 2004, 06:28:17 PM »
And only view 127.0.0.1

Anonymous

Re: Yes I'm sure that is /var/log/squid/access.log
« Reply #3 on: February 26, 2004, 06:29:25 PM »
Yes I'm sure that is /var/log/squid/access.log
And only view 127.0.0.1[/quote]

mbachmann

/var/log/squid/access.log don't write the client IP
« Reply #4 on: February 27, 2004, 11:08:58 AM »
Silly questions first: are your clients configured to use squid on it's default port 3128?

Anonymous

/var/log/squid/access.log don't write the client IP
« Reply #5 on: February 28, 2004, 04:39:55 PM »
They configured with transparent proxy, without proxy. Another thing is that I install in the 5,6 the DansGuardian, and the proxy is configured with Transparent proxy at 8080 not at 3128.

mbachmann

/var/log/squid/access.log don't write the client IP
« Reply #6 on: March 01, 2004, 10:56:19 AM »
So it is transproxy's fault? Squid "alone" does write the client ip as far i've seen. There must be an configuration file for transproxy somewhere. Maybe you have to edit it. There must also be a documentation for transproxy. Maybe you have to read it (try rpm -d nameoftherpm.rpm, this lists the docfiles). I do not know, whose rpm transproxy is, but you have a good chance, that he present in the forum from time to time.