If you are using UDP see --explicit-exit-notify in the Manual. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
----- Original Message ----- From: "Simon Vargas" <simo...@gmx.com> To: <openvpn-users@lists.sourceforge.net> Sent: Tuesday, September 02, 2014 11:59 AM Subject: [Openvpn-users] Openvpn logout time? > Hello > > I working on a simple script which gathers all the users login/logout time > and ip from openvpn log files and possibly the failed login attempts with > bad certificates/passwords as well. > > I can find the client's ips and login times by searching for "VERIFY OK: > depth=1" keyword but it seems that logout's are not logged by openvpn. > Is there a way to log it or all I can do is look for timeout's like: > "Inactivity timeout (--ping-restart), restarting" in the log files which > are most likely occured because the client timed out and had to reconnect, > not because he stopped openvpn or shut down his laptop. Isn't there a way > of telling that which client disconnected and when exactly? > > If anybody knows a good log analyzer for openvpn out there what I could > use, that would be also great! > > Thanks > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-users > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users