[TriLUG] how to list users connected to PopTop VPN?

Chris Knowles chrisk at trilug.org
Sun Feb 22 20:58:58 EST 2004


Well, the connections are just ppp interfaces, so I just list the lock
files for the ppp interfaces, grep the logs for those pids, and print
the associated name and start time...

Attached is the whoson.pl script I wrote to do this.  Warning, PoPToP
may have changed some things since I wrote this, so it may need a little
tweaking...

CJK



On Sun, 2004-02-22 at 20:40, Phillip Rhodes wrote:
> Hey gang, I was just wondering if anybody knows
> a way to get a list of the currently connected
> users, on a VPN server running PopTop?
> 
> I was unable to find anything about this using
> Google, so I'm hoping one of the Tri-LUG resident
> experts will be able to help me out.. :-)
> 
> TTYL,
> 
> Phillip
> 
> -- 
> When the 1st Amendment no longer protects your voice.
> And when the 4th Amendment no longer protects your privacy or your stuff.
> Thank God we have the 2nd Amendment to tell our elected representatives 
> that enough is enough.
> It's time to put "... from my cold, dead hands" back where it belongs.
> 
> FREE AMERICA
> Vote Libertarian
> www.lp.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040222/52beb061/attachment.pgp>


More information about the TriLUG mailing list