We recently setup a LibreSwan VPN and for the most part it is working great. One thing we are having some trouble with is trying to see who is currently logged in. I found a solution for seeing the number of active solutions at https://lists.openswan.org/pipermail/users/2011-January/020042.html but not for actually seeing who is logged into the sessions (removing the grep gives a lot of detail including connected IP's but not the actual usernames).
My current thought is to grep /var/log/messages for connections and report any that don't have an accompanying disconnect message. PPPD is nice enough to tag everything with the PID which makes it somewhat straightforward, but I was hoping there is a better way.