Assuming you mean ALL the traffic to a host, not just the traffic that goes
through the gateway to and from it, the only solution I know of is to run a
packet sniffer. tcpdump is the best known of them, though there are others.
Personally, I wouldn't do this on a gateway host -- the info that a sniffer
accumulates is valuable for break-in efforts, and I'd want it only on a VERY
secure host (such as whatever you use for system management).
Debian includes tcpdump . I don't know about other distributions.
At 10:25 AM 8/12/99 +0300, Bogdan Taru wrote:
> I'm interested in a piece of software which can tell me the traffic (MB)
>on the different IPs behind the gateway ( == the linux machine. I don't
>have a router...) in a definite period of time. If you know a software
>which does that, please let me know...
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA 94303-3603 [EMAIL PROTECTED]
----------------------------------------------------------------