From owner-freebsd-current Thu Sep 21 18:46:04 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA08515 for current-outgoing; Thu, 21 Sep 1995 18:46:04 -0700 Received: from netrail.net (nathan@netrail.net [204.117.64.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA08496 ; Thu, 21 Sep 1995 18:45:57 -0700 Received: (from nathan@localhost) by netrail.net (8.6.12/8.6.12) id VAA02900; Thu, 21 Sep 1995 21:45:31 -0400 Date: Thu, 21 Sep 1995 21:45:31 -0400 (EDT) From: Nathan Stratton To: Gary Palmer cc: questions@freebsd.org, current@freebsd.org Subject: Re: IP accounting In-Reply-To: <3111.811726691@palmer.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Fri, 22 Sep 1995, Gary Palmer wrote: > In message , Nathan Strat > ton writes: > >My only problem is IP accounting I need to know many packets and kbs is > >going out of all my interfaces. Is there any software that will do this? > > netstat -i will tell you packet volumes per interface. If you look at > `man ipfw', and /sys/i386/conf/LINT for details of how to enable it, > you can get more detailed reports. > Ok I added IP accounting and firewalling and now it will not compile. -I../.. -I../../sys -I../../../include -DLOCAL -DI586_CPU -DI486_CPU -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DMSDOSFS -DNFS -DFFS -DET_CISCO_HDLC -DIPACCT -DIPFIREWALL_VERBOSE -DIPFIREWALL -DGATEWAY -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../netinet/ip_fwdef.c cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DLOCAL -DI586_CPU -DI486_CPU -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DMSDOSFS -DNFS -DFFS -DET_CISCO_HDLC -DIPACCT -DIPFIREWALL_VERBOSE -DIPFIREWALL -DGATEWAY -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../netinet/ip_fw.c In file included from ../../netinet/ip_fw.c:41: ../../../include/arpa/inet.h:50: warning: redundant redeclaration of `inet_ntoa' in same scope ../../netinet/in.h:257: warning: previous declaration of `inet_ntoa' cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DLOCAL -DI586_CPU -DI486_CPU -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DMSDOSFS -DNFS -DFFS -DET_CISCO_HDLC -DIPACCT -DIPFIREWALL_VERBOSE -DIPFIREWALL -DGATEWAY -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../netinet/tcp_input.c Killed *** Error code 137 Stop. nr-dc-1# Nathan Stratton CEO, NetRail, Inc. Your Gateway to the World! --------------------------------------------------------------------------- Phone (703)524-4800 NetRail, Inc. Fax (703)534-5033 2007 N. 15 St. Suite B-5 Email sales@netrail.net Arlington, Va. 22201 WWW http://www.netrail.net/ Access: (703) 524-4802 guest ---------------------------------------------------------------------------