From owner-freebsd-net@FreeBSD.ORG Tue Jun 24 08:13:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B11437B401 for ; Tue, 24 Jun 2003 08:13:05 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 016DE43F75 for ; Tue, 24 Jun 2003 08:13:04 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 12134 invoked by uid 65534); 24 Jun 2003 15:13:02 -0000 Received: from unknown (EHLO [64.39.186.145]) (64.39.186.145) by mail.gmx.net (mp004) with SMTP; 24 Jun 2003 17:13:02 +0200 From: Adam To: net@freebsd.org Content-Type: text/plain Message-Id: <1056467581.42828.26.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 24 Jun 2003 11:13:01 -0400 Content-Transfer-Encoding: 7bit Subject: Bandwidth monitoring X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 15:13:05 -0000 My ISP is placing strict restrictions on how much I can transfer each month, with high penalties for exceeding their limits. However, they don't provide any way for their customer's to check to see how much they've transferred, so we end up transferring far less than what we are allowed, just to make sure we avoid paying the fines for going over the limit. So, what I need to do is find a way to monitor my total bandwidth through my external NIC. My gateway is running FreeBSD 4.8 with ipf+ipnat. I *don't* need anything fancy. All I need is to be able to check at any time how much I've transferred since the first of the month. What's the easiest way to set up something like this? I know there are fancy solutions with graphs with usage stats and such, but that's not what I'm after. Thanks for your advice, -- Adam