[pptp-server] How I can know who is connected over my VPN-server (IP-Adress)

Christopher Tresco ctresco at mit.edu
Tue Apr 3 08:15:35 CDT 2001


Until functionality like that is written in, you can write a script that
parses your syslog and pulls out the ip.




^_^_^_^_^_^_^_^_^_^_^_^

Christopher Tresco
Head Systems Administrator
MIT Dept of Economics
ctresco at mit.edu

-----Original Message-----
From: pptp-server-admin at lists.schulte.org
[mailto:pptp-server-admin at lists.schulte.org]On Behalf Of sash
Sent: Tuesday, April 03, 2001 12:22 AM
To: pptp-server at lists.schulte.org
Subject: RE: [pptp-server] How I can know who is connected over my
VPN-server (IP-Adress)


> The following logs even failed connections that tcp_wrappers
> rejects. This
> only works if tcp_wrappers is used.
>
> The patch also works with latter versions of pptpd.
>
> "User" is only logged if an ident server is running, so in
> the case of win9x
> the user is not logged however the ip and hostname is always logged.
>
> Godfrey
My situation:
I'm using pptpd( from inittab)
when user connects with my VPN-server, it runs pppd, pppd runs ip-up
script.
This script inserts record (ip-adress for client, User name from pppd
pppd environments) into my SQL-server. When client is down
(disconnected)- pppd runs ip-down script. Thhis script inserts
additional informational such as received and sended bytes, connection
time from pppd environments.
I need a log for my SQL-server from the address the client was connected
!I need an IP address of a clinet.
I can see this information in my syslog but I can't use it
How can I use this information ?
If pptpd set environment about client IP adress this will be good !

Thanks

Sash
>
>
>
_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!




More information about the pptp-server mailing list