Search squid archive

Re: Squid as Network Monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 10, 2012, at 6:37 AM, Babelo Gmvsdm wrote:

> 
> Hi,
> I have built a machine with a Squid, with lightsquid, and i would like to use it just like a network monitor.
> So I plugged the ETH1 of  the PC on a cisco switch on a port that received each traffic send to the internet.
> the squid is started. (transparent mode)the ip forward is set to 1I have put this iptables rule: iptables -t nat - A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
> but the access.log does not populate, whereas on Ntop, on the same machine, I see a lot of traffic (http)
> Something weird is the command iptables -L -t nat -v , shows no match for the rule created.
> First I think that ntop could intercept the traffic, but stopping it did not helped?
> Thanks for your future help.
> Herc. 		 	   		  


check permissions on the log files and verify the correct log file directory.

ls -la  /usr/local/squid/var/logs/

issue a squid -k rotate
-j


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux