What you are seeing is the traffic FROM your users to outside (remote)
sites... and the replies. Perfectly as expected...
Say you browse a page at www.yahoo.com (and let's ignore DNS for
simplicity).
Your web browser (on 192.168.x.y) opens a TCP connection from port
(something) to www.yahoo.com:80
ntop sees a packet FROM 192.168.x.y:zzzzz TO a.b.c.d:80 and records both
hosts.
Yahoo sends back a reply from www.yahoo.com:80 to 192.168.x.y:zzzzz
ntop sees a packet FROM www.yahoo.com:80 TO 192.168.x.y:zzzz and records
information about both.
The only way to strip off the remote traffic would be to use filters to
eliminate non-local traffic.
-B "net src 192.168.x.0/24 and net dst 192.168.x.0/24"
(I probably munged the syntax, but you see what I'm getting at - the AND -
so that only packets 'tween your network hosts are recorded)
Why you would want to do this - since it would underreport 98% of your
traffic based on the sample packet traces you sent - I have no clue. But
that's how...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Hendrik Friedel
Sent: Tuesday, August 20, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] Filtering
> on the ppp0 interface is the traffic from the internetwork to
> your site and vice versa. That traffic is addressed to you
> at the 64. or 24. or whatever address.
ACK
> Internal network traffic has the 192.168.1.x/24 address.
> Your gateway/router handles some of that doing the NAT. But
> traffic between nodes on that address just flows PAST the
> ntop host, not through it.
I was not aware of this. Ok
> If you want to monitor that traffic, then you need -i eth0,
> not -i ppp0
Ok, so I use the eth0 device.
But then I don't see a way to *only* display the hosts in MY network.
If I use 'host 192.168.1.31' as filter, I get in 'NetworkTraffic: Data
Received'
192.168.1.31 (this is what I want)
[website1] (this is what I don't want)
[website2] (..)
[website3] (..)
[Router] (..)
I really can't think of a way not to display these. Could you give me a
hint?
Hendrik
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop