From owner-freebsd-questions Thu Apr 3 03:24:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA16048 for questions-outgoing; Thu, 3 Apr 1997 03:24:12 -0800 (PST) Received: from deathstar.ml.org (adrian@deathstar.ml.org [203.62.152.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA16036 for ; Thu, 3 Apr 1997 03:24:06 -0800 (PST) Received: from localhost (adrian@localhost) by deathstar.ml.org (8.8.5/8.8.3) with SMTP id TAA05210 for ; Thu, 3 Apr 1997 19:23:44 +0800 Date: Thu, 3 Apr 1997 19:23:43 +0800 (WST) From: Adrian Chadd To: freebsd-questions@freebsd.org Subject: Question with packet accounting. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. I have a gateway machine with 3 ether cards, one ether for the internet server network, one for the office network and one for the routers. I've compiled ip firewalling, and enabled ip forwarding/gatewaying via sysctl. I have setup a default "pass all" rule, then have the following : ipfw add xx pass tcp from any portnum to any And then I do an ipfw -a list to grab the packet accounting info. Now, the info returned is only for packets passing THROUGH the box, (ie between interfaces), not internal-network (ie between two machines on the same network)? Also, does it only log the packet passing THOUGH the box, and not going in one interface and out the other? Please CC the reply to me as I'm currently stuck at work and my normal list email feed goes to my box which isn't online atm. Thankyou, Adrian Chadd