From owner-freebsd-questions@FreeBSD.ORG Sat Mar 11 02:09:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ED6916A6EC for ; Sat, 11 Mar 2006 02:09:20 +0000 (GMT) (envelope-from jez.hancock@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7D574A685 for ; Fri, 10 Mar 2006 21:23:19 +0000 (GMT) (envelope-from jez.hancock@gmail.com) Received: by uproxy.gmail.com with SMTP id m2so399831uge for ; Fri, 10 Mar 2006 13:23:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ltE6l2VtJCdVYuXlFtuBk+3LEhD6ZLjU4kzog+a5InFMuTy9dYPPIYM79rXaUZCQOOYysaKfIBEX7hlzkjvvPkGln3FII+chHhXyJYMOEAhoXLKWzPbjnbtJZh74dlThl06lCdt2AeGQADW5XdkdmntmFeqMgdRwoOq03xRGrKE= Received: by 10.67.21.12 with SMTP id y12mr1745411ugi; Fri, 10 Mar 2006 13:23:08 -0800 (PST) Received: by 10.66.234.20 with HTTP; Fri, 10 Mar 2006 13:23:08 -0800 (PST) Message-ID: <7b3c7f0b0603101323j4c561220t2c6f22b82209abbc@mail.gmail.com> Date: Fri, 10 Mar 2006 21:23:08 +0000 From: "Jez Hancock" To: "Ensel Sharon" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: per-user ftp traffic accounting ... possible ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 02:09:22 -0000 On 3/6/06, Ensel Sharon 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