[pptp-server] active user

Torge Szczepanek pptp-server at szczepanek.de
Fri Feb 8 06:27:00 CST 2002


I modified my /etc/ppp/ip-up script, to write Logins and Logouts to
/var/log/vpn.login and I create files in /etc/ppp/onlinedb to see, which
users are online.

Something like this:
echo `date` LOGIN $PEERNAME dev $1 IP $5 >> /var/log/vpn.login


touch /etc/ppp/onlinedb/$PEERNAME

In /etc/ppp/ip-down

rm -f /etc/ppp/onlinedb/$PEERNAME

echo `date` LOGOUT $PEERNAME >> /var/log/vpn.login

Torge Szczepanek
----- Original Message -----
From: Murali K. Vemuri
To: Benny.Geys at ordina-denkart.com
Cc: pptp-server at lists.schulte.org
Sent: Friday, February 08, 2002 10:41 AM
Subject: Re: [pptp-server] active user

for me the problem is like this:
my chap-secrets file looks like this:
murali     *    murali    *
vemuri    *    vemuri    *

More information about the pptp-server mailing list