From owner-freebsd-ipfw Thu Jan 18 10: 7:50 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 1906937B400 for ; Thu, 18 Jan 2001 10:07:33 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f0II4J766035; Thu, 18 Jan 2001 10:04:19 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200101181804.f0II4J766035@iguana.aciri.org> Subject: Re: traffic analizing In-Reply-To: <001501c08175$d8dea300$0b4da8c0@Wlad.one.nexter.ru> from Wlad Lepakhin at "Jan 18, 2001 8:41: 7 pm" To: wlad@nexter.ru (Wlad Lepakhin) Date: Thu, 18 Jan 2001 10:04:19 -0800 (PST) Cc: ipfw@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG can't you do something like ipfw add pipe 1 ip from any to any ipfw pipe 1 config mask dst-ip 0xffffffff and then ipfw pipe 1 show will show you traffic per destination. cheers luigi > I need to establish traffic analyzer for users, connected to firewall/router. > The first and very simple idea is to use COUNT statement with ipfw, but it does not suit me due to > DHCP using on my network. > I am already wrote simple script to add "ipfw add ### count all from any to ###.###.###.###" > "on the fly" when /var/db/dhcp.leases changes but I hope -- there is more comfortable way to perform > "per user" traffic counter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message