Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 10:04:19 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        wlad@nexter.ru (Wlad Lepakhin)
Cc:        ipfw@FreeBSD.ORG
Subject:   Re: traffic analizing
Message-ID:  <200101181804.f0II4J766035@iguana.aciri.org>
In-Reply-To: <001501c08175$d8dea300$0b4da8c0@Wlad.one.nexter.ru> from Wlad Lepakhin at "Jan 18, 2001  8:41: 7 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101181804.f0II4J766035>