Re: [Openvpn-users] Openvpn logout time?

2014-09-03 Thread Gert Doering
Hi, On Wed, Sep 03, 2014 at 10:28:24AM +1200, Jason Haar wrote: > shuts down, it notifies the server that it is doing so. If you come > along with a Big Hammer (as I'm prone to do) and "kill -9" your openvpn > process, then it dies outright and never gets to send the "I'm shutting > down now!" mes

Re: [Openvpn-users] Openvpn logout time?

2014-09-02 Thread Jason Haar
On 03/09/14 10:56, Mathias Jeschke wrote: > If you use the "hammer", the machine is not able to send a TCP FIN, I don't think that's the case. "Hammering" a user process does not influence how the TCP stack operates (kernel space vs user space) - it would generate a TCP reset. Of course, unplugg

Re: [Openvpn-users] Openvpn logout time?

2014-09-02 Thread Mathias Jeschke
Hi, On 03/09/14 00:28, Jason Haar wrote: [...] > TCP - being below openvpn - doesn't suffer > from this issue of course, the server always sees the TCP FIN/RSET > packet and "knows" the client is no more. AFAIK, this works only if TCP keepalive enabled, which depends on the OS or keepalive on

Re: [Openvpn-users] Openvpn logout time?

2014-09-02 Thread Jason Haar
On 03/09/14 10:05, David Sommerseth wrote: > Just to explain --explicit-exit-notify slightly more. This is a > client-side option, which will notify the server when the client > disconnects. Otherwise the server will keep the connection state open > until the connection times out (defined by --pi

Re: [Openvpn-users] Openvpn logout time?

2014-09-02 Thread David Sommerseth
essage - From: "Simon Vargas" > To: 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 op

Re: [Openvpn-users] Openvpn logout time?

2014-09-02 Thread debbie10t
If you are using UDP see --explicit-exit-notify in the Manual. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage - Original Message - From: "Simon Vargas" To: Sent: Tuesday, September 02, 2014 11:59 AM Subject: [Openvpn-users] Openvpn logout time? > Hello >

[Openvpn-users] Openvpn logout time?

2014-09-02 Thread Simon Vargas
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 se