From owner-freebsd-questions@FreeBSD.ORG Sat Jun 14 02:13:49 2003 Return-Path: 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 4525A37B401 for ; Sat, 14 Jun 2003 02:13:49 -0700 (PDT) Received: from relay1.ntu-kpi.kiev.ua (oberon.ntu-kpi.kiev.ua [195.245.194.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B95C243F85 for ; Sat, 14 Jun 2003 02:13:46 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 9A3621A0FC; Sat, 14 Jun 2003 12:13:41 +0300 (EEST) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with ESMTP id h5E9IWw50771; Sat, 14 Jun 2003 12:18:37 +0300 (EEST) Received: by pm514-9.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1000) id 66F7B218; Sat, 14 Jun 2003 12:13:09 +0300 (EEST) From: Andrey Simonenko To: "Ian Barnes" In-Reply-To: X-Newsgroups: lucky.freebsd.questions User-Agent: tin/1.5.18-20030602 ("Darts") (UNIX) (FreeBSD/4.8-STABLE (i386)) Message-Id: <20030614091309.66F7B218@pm514-9.comsys.ntu-kpi.kiev.ua> Date: Sat, 14 Jun 2003 12:13:09 +0300 (EEST) cc: freebsd-questions@freebsd.org Subject: Re: Trafic Counter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 09:13:49 -0000 On Fri, 13 Jun 2003 12:24:35 +0000 (UTC) in lucky.freebsd.questions, Ian Barnes wrote: > Hi, > > I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one > ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT > > What i would like to know, is how could i count the trafic through that > ethernet card, and that one only. And can i possibly set a limit as to the > amount of trafic they are allowed to use. Like say 200meg a month or > something? > Port sysuils/ipa solves both tasks. But if you use IP Filter on FreeBSD, then read information about IP Filter on FreeBSD on IPA home page http://ipa-system.sourceforge.net/