its so easy friend just do the following with iptables, in root login (suppose your internal subnet is 192.168.1.0)
iptables -A FORWARD -d 192.168.1.0/24 -j sample
iptables -A OUTPUT -d 192.168.1.0/24 -j sample
NOW NEXT
iptables -A FORWARD
iptables -A OUTPUT
THEN ADD ALL THE LAN IPS FOLLOWING WAY
iptables -A sample -d 192.168.1.10
iptables -A sample -d 192.168.1.11
iptables -A sample -d 192.168.1.12
.....
.........
so on
if u r using dhcp server for ip allotment
then u can check the lease file for the ip assingment
then u can see with following comman
iptables -L -v -n
its showing like this
Chain INPUT (policy ACCEPT 699k packets, 364M bytes)
7365 6258k - * * 0.0.0.0/0 192.168.1.10
like this way
so try with that
and dont forget to save
iptables-save -c > backup-bandwidth.txt
and for restore
iptables-restore -c < backup-bandwidth.txt
Main Topics
Browse All Topics





by: pablouruguayPosted on 2006-04-21 at 05:47:58ID: 16506863
sure you have many squid analyzers
/Scripts/
cts/squid- graph/
http://www.squid-cache.org
and the squid graph is very complete
http://freshmeat.net/proje