Mailing List Archive

about traffic
Hello all,
I have a local ethernet with 1 linux gateway/server
and 50 clients.
I want to know how much bandwith from ISP to me, use
any of my clients per second.
I want to know how much KB/sec all clients download
from my isp.
I want to know that information in order to set limit
of using the bandwith from my clients.
I tried to found this kind of info in ntop but i
didn't exactly find.
The Data RCVD ->All protocols is what i want but i
want to have Kb/sec and not total traffic.
The DataRCVD -> Throughput tell the traffic per second
but not for all protocols and this isn't what i want.
Because, i use Samba in this server for file sharing
and for Access database sharing and the DataRCVD ->
Throughput show me also this traffic.
I tried to tell ntop to use only ppp0 interface but it
didn't show me my clients but only the host wich my
server connected.
Is it possible to have this kind informatio and how?

Thanks in advance,
Paul


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Re: about traffic [ In reply to ]
HI again,
I played a lot with tcpdump and i find that the rule:
tcpdump \(src net 192.168.0.0/24 and dst net !
192.168.0.0/24 \) or \(dst net 192.168.0.0/24 and src
net! 192.168.0.0/24\)
do what i want, i think:)
I tried to aplly this rule in ntop start script but
without any luck.
my ntop start script is:
daemon ntop ip -m 192.168.0.0/255.255.255.0 -d -r 1
-w 3000 -P /var/ntop/ -F TEST='(src net
192.168.0.0/24 and dst net ! 192.168.0.0/24) or (dst
net 192.168.0.0/24 and src net ! 192.168.0.0/24)'

the ntop starts but dies after a second!
Why?

Paul

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Re: about traffic [ In reply to ]
Hi again,
I did apply the tcpdump rule.
I add the following in a file which i named rule:
(src net 192.168.0.0/24 and dst net ! 192.168.0.0/24)
or (dst net 192.168.0.0/24 and src net !
192.168.0.0/24)

and the ntop script is now
daemon ntop ip -m 192.168.0.0/255.255.255.0 -d -r 1
-w 3000 -P /var/ntop/ -F /home/pavlos/rule
but i get netbios-ip traffic again.
How can i remove this kind of traffic from ntop?
I want the ntop shows me only the traffic from my
local net to internet and the opposite.
Is it possible?

Paul


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/