Sonia Hamilton <[EMAIL PROTECTED]> writes: > I've looking for a package that allows me to do per-user accounting (ie > bandwidth used for each user in /etc/passwd for different time > periods/protocals/etc). Any pointers to a package I could use? > > I'm currently using ipac-ng, but as far as I can see, this only does > accounting per protocol/ip.
Since you're talking about /etc/passwd, then I'm assuming you're talking about accounting locally generated traffic, not routed traffic. If it's local traffic you're interested in, then iptables can match it with --uid-owner userid. I don't know if ipac-ng supports that switch, though. man iptables for a brief description of the uid match, as well as other switches you might find useful. If it's routed traffic you're interested, there should be some other approaches available. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
