[pptp-server] Security issue
Robert Dege
rcd at amherst.com
Wed Jan 2 09:34:07 CST 2002
Here's how I determine the Outside IP:
In the file /etc/ppp/ip-up:
# Get session pid
PID=`cat /var/run/$1.pid`
PPID=`ps --noheaders -p $PID -o \%P`
# Get Real World IP
OUTSIDE=`ps --noheaders -p $PPID -o cmd | cut -d\ -f2`
-Rob
> Hi !
> How can I determine the IP a connection is comming from. I want to use
> it in auth-up to let the user in or not.
> Any hints ?
>
> Alex.
>
>
> WebPoint Internet Services
> Alexander Waller
>
> Ihr Partner für Ihren Web-Auftritt !
>
> A-6840 Götzis
> Tel 0043 5523 / 582-44
> Fax 0043 5523 / 582-55
>
> Mobil 0043 676 4121128
>
> http://www.webpoint.at/
>
>
>
> ____________________________________________________________________________
> Scanned and protected by Florian Isolate 1.0.10 FLO on host city.webpoint.at
>
> _______________________________________________
> pptp-server maillist - pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --
>
--
-Rob
More information about the pptp-server
mailing list