Date: Fri, 10 Mar 2006 21:23:08 +0000 From: "Jez Hancock" <jez.hancock@gmail.com> To: "Ensel Sharon" <user@dhp.com> Cc: freebsd-questions@freebsd.org Subject: Re: per-user ftp traffic accounting ... possible ? Message-ID: <7b3c7f0b0603101323j4c561220t2c6f22b82209abbc@mail.gmail.com> In-Reply-To: <Pine.LNX.4.21.0603061547570.8684-100000@shell.dhp.com> References: <Pine.LNX.4.21.0603061547570.8684-100000@shell.dhp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/6/06, Ensel Sharon <user@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b3c7f0b0603101323j4c561220t2c6f22b82209abbc>