From owner-freebsd-net@FreeBSD.ORG Sun Jun 18 13:20:17 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0E5AD16A492 for ; Sun, 18 Jun 2006 13:20:17 +0000 (UTC) (envelope-from nightstalker.micronta@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8156443D45 for ; Sun, 18 Jun 2006 13:20:16 +0000 (GMT) (envelope-from nightstalker.micronta@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so684387wxd for ; Sun, 18 Jun 2006 06:20:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:date:mime-version:content-type:x-mailer:thread-index:x-mimeole:from:message-id; b=FcUK1PhYspRoHa3bOuPQ57/Wo1+ugjB8SW4yonoudEVT+r8qaIpqU9VOvEh3+5yo32qfUGeVJtrfsIfFtUPvY5Rq6ACCjy9ibaIUUs/IbUboG9X8lSH/MNvU8D/NjpjLJf3KTUnATtH81mHFw8DeW8IJcuwtvfUq+M5ONCGwfY0= Received: by 10.70.24.3 with SMTP id 3mr6891943wxx; Sun, 18 Jun 2006 06:20:15 -0700 (PDT) Received: from nsmws ( [24.129.19.2]) by mx.gmail.com with ESMTP id h16sm4420389wxd.2006.06.18.06.20.15; Sun, 18 Jun 2006 06:20:15 -0700 (PDT) To: Date: Sun, 18 Jun 2006 09:20:14 -0400 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcaS2e71kh6vP+0dSWKEYa8uXQ41GA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 From: "Roger T. Harvey" Message-ID: <4495530f.265f68ff.360d.48fa@mx.gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Simple LAN IP accounting X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 13:20:17 -0000 Ok, I've done research, and found this example to track bytes per ip on LAN: $IPFW pipe 1 config mask src-ip 0xffffffff buckets 512 $IPFW pipe 2 config mask dst-ip 0xffffffff buckets 512 $IPFW add 32001 pipe 1 src-ip 192.168.110.0/24 bridged $IPFW add 32002 pipe 2 dst-ip 192.168.110.0/24 bridged Now that's all well and good, and I saw the output as well. However, im not running bridged. or does that make a difference in this instance? Also, is there any scripts, etc to format the pipe info into a nice readable format (pref html) Doesn't need graphs, etc. Just Daily and Monthly totals would be nice. (I am running MySQL so it can store the data) Concidered to this list, you can call me a newbie for sure. as I only know how to Do a handful of things and that's about it. which is why im asking here. TIA to everyone