how to find Squid traffic,....?

Hi all,

RedHat linux 9.0 system is configured as gateway machine for my network. Is there any way to find out the data traffic inboud/outbound for a particular IP address..? I want to know how much our users are downloading every day..?

From every IP address how data has been transfered is my objective..

How to do detect this..?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sure you have many squid analyzers

and the squid graph is very complete

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
its so easy friend just do the following with iptables, in root login (suppose your internal subnet is
 iptables -A FORWARD -d -j sample

 iptables -A OUTPUT -d -j sample


iptables -A FORWARD

iptables -A OUTPUT


iptables -A sample -d
iptables -A sample -d
iptables -A sample -d
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 - * *  

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.