per-user ftp traffic accounting ... possible ?
Jez Hancock
jez.hancock at gmail.com
Sat Mar 11 02:09:22 UTC 2006
On 3/6/06, Ensel Sharon <user at dhp.com> wrote:
>
>
> I am using the standard, stock FreeBSD ftpd, running out of inetd.
>
> Is there any way to keep track of how much ftp traffic is generated by
> each individual user ?
>
>
You could use ipfw to count the traffic to/from each user - something like
this will count traffic for the user foo:
ipfw add count all from any to any uid foo
See my sig for a hack that implements this.
--
Jez Hancock
- System Administrator / PHP Developer
http://ipfwstats.sf.net/ - ipfw peruser traffic logging
More information about the freebsd-questions
mailing list