Re: [squid-users] Squid logs only Subnet Address (and not real IP)

2006-11-03 Thread Henrik Nordstrom
fre 2006-11-03 klockan 16:55 +0300 skrev Marco Nicoloso:

> I chenged client_netmask from 255.255.255.255 to 255.255.255.0, but
> the result is the same.

A client_netmask of 255.255.255.0 will mask away the last portion of the
IP address, always logging XX.XX.XX.0

REgards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] Squid logs only Subnet Address (and not real IP)

2006-11-03 Thread Mark Elsen

Hi there,

I made an upgrade of my debian, updating some of the packets I used on
the past on my Debian Sarge.

I use stable packets of squid: v. 2.5.9-10sarge2 and sarg (as log
analyzer): 2.0.5

Before, I was using squid and sarg and everything was working fine.
Now, squid works very well, but doesn't log the IP addresses of the
clients of my company, but only the subnet address (192.168.7.0).
Cristopher Haas (thx!!), who is posting here, then told me to check
the client_netmask setting and actually, it was set so that no IP
would have been logged.

I chenged client_netmask from 255.255.255.255 to 255.255.255.0, but
the result is the same. I am sure that squid upon load reads the
correct config file, but still I don't know why it doesn't work.



 To verify the used config file, use cachemgr , where you can
retrieve the config file (again).

Double check netmask setting.

M.


[squid-users] Squid logs only Subnet Address (and not real IP)

2006-11-03 Thread Marco Nicoloso

Hi there,

I made an upgrade of my debian, updating some of the packets I used on
the past on my Debian Sarge.

I use stable packets of squid: v. 2.5.9-10sarge2 and sarg (as log
analyzer): 2.0.5

Before, I was using squid and sarg and everything was working fine.
Now, squid works very well, but doesn't log the IP addresses of the
clients of my company, but only the subnet address (192.168.7.0).
Cristopher Haas (thx!!), who is posting here, then told me to check
the client_netmask setting and actually, it was set so that no IP
would have been logged.

I chenged client_netmask from 255.255.255.255 to 255.255.255.0, but
the result is the same. I am sure that squid upon load reads the
correct config file, but still I don't know why it doesn't work.

Thanks in advance!

Marco Nicoloso