> It is nice that a message about this appears in the log, but now I am
> wondering if these data are put in two undocumented environment variables
> available to ip-down.
>
> If not, is it a small patch or a big job to add this?  Is the information
> available when ip-down starts?
>
> I'd like to mail this info regarding his session to the user whose link
> went down.  It'd be easier to do it in ip-down than try to grep the log
> file for it.

Mike, I've asked this question aswell and got no response... But I do have a
solution...

I have a set of Perl scripts that go in place of the auth-up and auth-down
scripts...

They setup IPchains packet/byte logging for the interface and enters the up time,
date, interface, tty and speed into a Mysql database..

When the link goes down the firewall logs are grabbed, the firewalls loggers taken
down and the down-time and byte data is also put into the Mysql database..

I originally grep'd through the logs looking for the byte data but it got to hard
when two interfaces went down at the same time or something similar happened..

All you need to have is a Table in the MySQL for each user.. Then you can make all
sorts of pretty graphs and analysis on them using PHP3...

I'm currently writting a dial server system, I shall lauch it publicly when I am
done...Someone might find it usefull.. :o)


Alan.

>From Orbit Productions
www.FromOrbit.com


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to