Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 21:45:31 -0400 (EDT)
From:      Nathan Stratton <nathan@netrail.net>
To:        Gary Palmer <gary@palmer.demon.co.uk>
Cc:        questions@freebsd.org, current@freebsd.org
Subject:   Re: IP accounting 
Message-ID:  <Pine.LNX.3.91.950921214059.2536B-100000@netrail.net>
In-Reply-To: <3111.811726691@palmer.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Sep 1995, Gary Palmer wrote:

> In message <Pine.LNX.3.91.950921174046.27361B-100000@netrail.net>, 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
---------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.950921214059.2536B-100000>