Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 1997 12:57:28 +0800 (WST)
From:      Adrian Chadd <adrian@psinet.net.au>
To:        Julian Elischer <julian@whistle.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Grabbing throughput stats within pppd.
Message-ID:  <Pine.LNX.3.91.970826125530.15827A-100000@wisdom.psinet.net.au>
In-Reply-To: <Pine.BSF.3.95.970825214502.8912A-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<adrian@psinet.net.au>		|   stupid things because that would 
				|    stop you from doing clever things"





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