Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Richard Buehler on February 19, 2002, 05:47:36 PM

Title: VPN Logging
Post by: Richard Buehler on February 19, 2002, 05:47:36 PM
Is there any way to log who logs onto the e-smith server using PPTP and when they log off. This would be for security auditing.
Title: Re: VPN Logging
Post by: bart on February 20, 2002, 12:45:25 AM
Sure, write some scripts, or extend the templates for those scripts (/etc/ppp/ip-up.local would do fine) that log info to some /var/log/whatever

There's already an /etc/e-smith/events/ip-up.pptpd directory on my
4.1.2+ SME-server. You could place templates or script there too, never tried however.

Bart
Title: Re: VPN Logging
Post by: bart on February 20, 2002, 12:49:01 AM
oeps, no need to write scripts yourself.
Have a look at /var/log/pppstats ....

Bart