From owner-freebsd-isp@FreeBSD.ORG Thu May 15 08:20:59 2003 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 9EED237B401 for ; Thu, 15 May 2003 08:20:59 -0700 (PDT) Received: from blue.gerhardt-it.com (gw.gerhardt-it.com [204.83.38.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E93843FB1 for ; Thu, 15 May 2003 08:20:56 -0700 (PDT) (envelope-from scott@g-it.ca) Received: from [24.71.178.119] (h24-71-178-119.ss.shawcable.net [24.71.178.119]) by blue.gerhardt-it.com (Postfix) with ESMTP id 1E718FDC9; Thu, 15 May 2003 09:20:54 -0600 (CST) User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Thu, 15 May 2003 09:20:50 -0600 From: Scott Gerhardt To: Alexander Leidinger , "PsYxAkIaS (FreeBSD)" Message-ID: In-Reply-To: <20030515170049.45d9904d.Alexander@Leidinger.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: Network Statistics X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 15:20:59 -0000 Check IPFM (IP Flow Meter) in the ports, it seems to work well for me. You can configure it to write to a log file every n minutes and rotate the log file daily. I just wrote a simple perl script to parse the logs and email the results periodically. Here is some sample output: # IPFMv0.11.4 2003/05/14 16:40:00 -- dump every 0d00:05:00 listening on xl0 # Host n (bytes) Out (bytes) Total (bytes) 192.168.100.103 139520 19144 158664 192.168.100.200 6517 69379 75896 192.168.100.101 152 152 304 192.168.100.113 41 40 81 -- Scott Gerhardt, P.Geo. Gerhardt Information Technologies [G-IT]