From owner-freebsd-isp Wed Jul 10 5:11:14 2002 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 6BEAF37B400 for ; Wed, 10 Jul 2002 05:11:11 -0700 (PDT) Received: from mail.ecotech.com.lr (mail.liberiaonline.com.lr [64.110.100.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 2DDD843E5E for ; Wed, 10 Jul 2002 05:11:06 -0700 (PDT) (envelope-from max@ecotech.com.lr) Received: (qmail 2536 invoked by uid 85); 10 Jul 2002 12:02:04 -0000 Received: from unknown (HELO wireless) (216.252.230.151) by mail.liberiaonline.com.lr with SMTP; 10 Jul 2002 12:02:03 -0000 Message-ID: <001d01c22800$fc3073a0$04ef10ac@wireless> From: "Max" To: Subject: IPFW Date: Wed, 10 Jul 2002 12:00:20 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C22809.5D4B2E20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C22809.5D4B2E20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, How do I get IPFW (bandwidth limiting function) to work with logging for = later analysis, like determining bandwidth usage per ip? For example, I put an entire ip block in a 256K queue and I want to = check what each member of that block used... Hope the idea is = communicated... ${fwcmd} add queue 1 ip from [MY IP BLOCK] to any ${fwcmd} pipe 10 config bw 256kbit/s ${fwcmd} queue 1 config pipe 1 weight 30 mask src-ip 0x000000ff =20 Max ------=_NextPart_000_001A_01C22809.5D4B2E20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
How do I get IPFW (bandwidth limiting = function) to=20 work with logging for later analysis, like determining bandwidth usage = per=20 ip?
 
For example, I put an entire ip block = in a 256K=20 queue and I want to check what each member of that block used... Hope = the idea=20 is communicated...
 
 ${fwcmd} add queue 1 ip = from [MY IP=20 BLOCK] to any
 ${fwcmd} pipe 10 config bw=20 256kbit/s
 ${fwcmd} queue 1 config pipe 1 weight 30 mask src-ip=20 0x000000ff  
 
 
Max
------=_NextPart_000_001A_01C22809.5D4B2E20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message