Re: linux gatewway traffic bandwidth monitoring by source, destination, protocol and port



Yes, try pmacct http://freshmeat.net/projects/pmacct/

It uses either postgres or mysql to keep records and you can agregate by
hosts, networks, source ip, dest ip, etc.

A little difficult to set up and the docs are not very good, but if you
succeed, it's worth it.

Ntop does NOT keep history. If you reboot, you loose the history.




On Sun, 25 Dec 2005 11:55:01 +1100, Jesus M. Salvo Jr. wrote:

>
> I have a linux gateway that has 2 ADSL modems, does IP and VPN masquerading,
> so that all traffic on the local network goes through this gateway.
>
> I want to find out:
> *) Which machine in the local LAN is consuming the ADSL bandwidth
> *) Which external IP does most of the internal machines consume ADSL
> bandwidth for
> *) Which protocol and port consumes the most ADSL bandwidth
>
>
> So far, I have tried iptraf ... but it does not have historical records ala
> RRD / MRTG.
>
> Any recommendation ?

.