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

Neale Banks neale at lowendale.com.au
Mon May 6 19:15:50 CDT 2002

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 to
> 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