From owner-freebsd-questions Wed Nov 29 19:19:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from joe.pythonvideo.com (joe.pythonvideo.com [209.226.29.94]) by hub.freebsd.org (Postfix) with ESMTP id E939F37B401 for ; Wed, 29 Nov 2000 19:19:25 -0800 (PST) Received: from localhost (joe@localhost) by joe.pythonvideo.com (8.11.0/8.11.0) with ESMTP id eAU3JLV00213; Wed, 29 Nov 2000 22:19:21 -0500 (EST) (envelope-from joe@advancewebhosting.com) X-Authentication-Warning: joe.pythonvideo.com: joe owned process doing -bs Date: Wed, 29 Nov 2000 22:19:20 -0500 (EST) From: Joe Oliveiro X-Sender: joe@joe.pythonvideo.com To: chip@chocobo.cx Cc: freebsd-questions@freebsd.org Subject: Re: Network monitoring In-Reply-To: <20001129181422.A60319@setzer.chocobo.cx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Will ipfw count ips not binded to the box? FreeBSD - The BEST upgrade you can do to NT! On Wed, 29 Nov 2000, Chip Marshall wrote: > On November 29, 2000, Joe Oliveiro sent me the following: > > I need to monitor the ip traffic of the network without each and every > > computer running a snmpd. For this i have ran FE from the router to a hub > > then the hub to the rest of the network. Now i'm looking for a program > > which will sniff the network and create stats of bandwidth usage per ip > > address. Is there such a program that already exists? > > One of the tricks I've used to do this sort of thing in the past is to > setup and ipfw rule for each ip address you want to monitor. By using > ipfw count rules, you can get a count of the number of packets and > number of bytes matching each rule, then you just need a script to > check this from time to time and record it. > > It's not a great solution, but it works. > > -- > Chip Marshall http://www.chocobo.cx/chip/ Finger for PGP > GCM/CS d+(-) s+:++ a18>? C++ UB++++$ P+++$ L- E--- W++ N+@ o K- w O M+ V-- > PS PE Y? PGP++ t+@ 5 X R>+ tv+() b++>+++ DI++++ D(-) G++ e>++ h!>++ r-- y- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message