From owner-freebsd-hackers Mon Aug 25 22:11:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA08265 for hackers-outgoing; Mon, 25 Aug 1997 22:11:01 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA08260 for ; Mon, 25 Aug 1997 22:10:59 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id WAA22473; Mon, 25 Aug 1997 22:10:12 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd022465; Tue Aug 26 05:10:06 1997 Date: Mon, 25 Aug 1997 22:09:57 -0700 (PDT) From: Julian Elischer To: Adrian Chadd 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 patches accepted.. I'm sure Brian will appreciate it.. :) On Tue, 26 Aug 1997, Adrian Chadd wrote: > 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" > > >