From owner-freebsd-hackers Mon Aug 25 21:55:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA07278 for hackers-outgoing; Mon, 25 Aug 1997 21:55:08 -0700 (PDT) Received: from wisdom.psinet.net.au (adrian@wisdom.psinet.net.au [203.62.152.34]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA07266 for ; Mon, 25 Aug 1997 21:55:01 -0700 (PDT) Received: (from adrian@localhost) by wisdom.psinet.net.au (8.8.5/8.7) id MAA15885; Tue, 26 Aug 1997 12:57:29 +0800 Date: Tue, 26 Aug 1997 12:57:28 +0800 (WST) From: Adrian Chadd To: Julian Elischer cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Grabbing throughput stats within pppd. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 25 Aug 1997, Julian Elischer wrote: > how about netstat -ib? > if that doesn't give you bytes, then we'll gladly accept patches > :) > of course there is the usual ipfw stuff.. Erm, I think people aren't understanding me here. :-) I was after a way INSIDE pppd. :-) (its to implement RADIUS accounting). Since I'm not really interested in accounting for non-IP stuff, I was wondering if there was a way to account JUST IP packets coming down the ppp link, inside pppd. Otherwise I'll just be evil, and read the interface byte counts. -- Adrian Chadd | "Unix doesn't stop you from doing | stupid things because that would | stop you from doing clever things"