From owner-freebsd-isp@FreeBSD.ORG Tue May 17 22:20:57 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 065CC16A4CE for ; Tue, 17 May 2005 22:20:57 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73D0E43D97 for ; Tue, 17 May 2005 22:20:56 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so2166064wri for ; Tue, 17 May 2005 15:20:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QbXYBOT9MW/fxHckIYuigYubYwkxg8DjYZTnvBDaZo43/lQZ26p9mYeTak7FGHTr5k7E4PezFbB3z/tRrx7b1Q96QNAClSPOcu2O+Rw498il8p1778PugIhZs2Qx86jRG+YBY3FrVuxHs3l4/ljFSe1XabIT9suJJ8f6Lin5iLY= Received: by 10.54.47.7 with SMTP id u7mr4603369wru; Tue, 17 May 2005 15:20:54 -0700 (PDT) Received: by 10.54.39.65 with HTTP; Tue, 17 May 2005 15:20:54 -0700 (PDT) Message-ID: <8eea04080505171520f2b19ae@mail.gmail.com> Date: Tue, 17 May 2005 15:20:54 -0700 From: Jon Simola To: KrzychK2 In-Reply-To: <43330830.20050517234412@o2.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43330830.20050517234412@o2.pl> cc: freebsd-isp@freebsd.org Subject: Re: Net statistics for single user X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jon@abccomm.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 22:20:57 -0000 On 5/17/05, KrzychK2 wrote: > I'm using FreeBSD 5.4 with pf/altq config (earlier ipfw/dummynet). > The problem is - how can generate statistics for signle IP?? The > output grapher is mrtg. When there was ipfw there was a simple > solution. Now I'm looking and looking.... Someone has any idea for > solution of this problem?? Now I use ipfm but this promisc mode agrrr. Use tables: table persist file "/etc/pf/throttled_ips" pass out quick on em0 from to any keep state queue throttle= _ext pass out quick log on vlan100 from any to keep state queue throttle_int bash-3.00# pfctl -vv -T show -t throttled_ips 208.x.x.y Cleared: Fri Apr 15 11:05:10 2005 In/Block: [ Packets: 0 Bytes: 0 = ] In/Pass: [ Packets: 4597083 Bytes: 3437770858 = ] Out/Block: [ Packets: 0 Bytes: 0 = ] Out/Pass: [ Packets: 4469268 Bytes: 2122475624 = ] 208.x.x.x Cleared: Fri Apr 15 11:05:10 2005 In/Block: [ Packets: 0 Bytes: 0 = ] In/Pass: [ Packets: 4475325 Bytes: 3199113496 = ] Out/Block: [ Packets: 0 Bytes: 0 = ] Out/Pass: [ Packets: 4889424 Bytes: 1520235573 = ] --=20 Jon Simola Systems Administrator ABC Communications