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

sash sash at exoft.tomsk.ru
Mon Apr 2 23:21:53 CDT 2001


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



More information about the pptp-server mailing list