You could look at using netflow I wrote a netflow -> mysql logging program
Then lots of detailed stats can be pulled from some simple sql statements.
The netflow util to log to mysql is available on www.stev.org the are
several netflow deamons that come with Debian.
> -----Original Message-----
> From: Stanciu Nicolae [mailto:email@example.com]
> Sent: 05 May 2007 11:20
> To: debian-firewall
> Subject: BAndwidth
> Can u people tell me a way to measure bandwidth per ip ? I tried some
> things but ... nothing good came from it.
> To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
- From: Stanciu Nicolae <firstname.lastname@example.org>