[pptp-server] Live IP logging. Redesigned..

George Vieira GeorgeV at citadelcomputer.com.au
Mon May 6 18:35:33 CDT 2002

You are talking about the VPN IP address not the Internet IP that the user
connects on.

George Vieira
Systems Manager
Citadel Computer Systems P/L

-----Original Message-----
From: Neale Banks [mailto:neale at lowendale.com.au]
Sent: Tuesday, 07 May 2002 10:16 AM
To: George Vieira
Cc: PPTP List (E-mail)
Subject: Re: [pptp-server] Live IP logging. Redesigned..

On Tue, 7 May 2002, George Vieira wrote:

> I haven't been on the list for a long time and currently still not on the
> list but I've made changes to the PPPD ip-up.local script which logs the
> live IP to a log file and thought you guys may like it as it doesn't use
> GREP which is messy and slower. With little more effort, I could write it
> log the authenticated username against the Live IP as well..

Either I've missed something here, or the existence of "Local IP number"
as param $4 to ip-up allows us to reduce this to something like:


DATE=`date +\"%d/%m/%y\"`


echo "$PPPIP"

echo "[$DATE] $PPPIP " >>/var/log/pppd.log

Or is having the "Local IP number" a Debianism (surely not?)?


More information about the pptp-server mailing list