Koozali.org: home of the SME Server

VPN Logging

Richard Buehler

VPN Logging
« 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.

bart

Re: VPN Logging
« Reply #1 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

bart

Re: VPN Logging
« Reply #2 on: February 20, 2002, 12:49:01 AM »
oeps, no need to write scripts yourself.
Have a look at /var/log/pppstats ....

Bart