Re: ip-{up,down} scripts
- To: Debian Developerslist <debian-devel@lists.debian.org>
- Subject: Re: ip-{up,down} scripts
- From: John Hasler <john@dhh.gt.org>
- Date: 02 Jun 1999 16:39:25 -0500
- Message-id: <[🔎] 87k8tm5lki.fsf@hasler.dhh>
- In-reply-to: Edward Betts's message of "Wed, 2 Jun 1999 14:33:52 +0100"
- References: <19990529202953.A3028@omega.dhis.org> <877lpr5pah.fsf@haitech.martin.home> <19990529221357.A1681@master.debian.org> <87wvxqu6vq.fsf@haitech.martin.home> <87r9nyd1qy.fsf@hasler.dhh> <19990530195902.A7074@jab.home> <[🔎] 873e0agbjg.fsf@sheikh.hands.com> <19990602143352.A1939@portaloo.>
Edward Betts writes:
> I would like to see some clever logging facilities. I would like a log
> with a single line for each connection, recording the name of the
> connection, user who connected, the time of connection, the length of the
> call, and the reason for disconnecting (user killed pppd, root killed
> pppd, modem hangup), and the cost.
That might be doable by some clever parsing of the log.
> Maybe include the number of bytes transfered in each direction.
Pppd already logs that.
> I think to be done properly it needs pppd to be hacked about a bit, or
> can it be done in the ip-up/down scripts?
I don't think it needs any pppd hacking. A similar project is on my todo
list, but it doesn't look like I'll get to it soon. If you want to take it
on be my guest.
--
John Hasler This posting is in the public domain.
john@dhh.gt.org Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.
Reply to: