Skip to contentSkip to conversation

proper "logout" support for the server?

Openvpn-devel Jason Haar 2 participants 3 messages Sep 24, 2010

lore
Share & tools
lore

Jason Haar

author
#0 lore raw

Hi there

Minor feature request. When a user ends their openvpn client session, shouldn't it be possible to send one last command to the server - a "logout" command? That way the server can clean up the session much faster than waiting for a keepalive timeout cycle...

(the problem I see is that we make extensive use of "--up"/etc scripts and a user can sometimes do several "up->down->up" in a row - which leads to "flapping" checks. If the server was told the client was leaving, this would reduce these issues).

Signature · 6 lines
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
#1 lore raw
Quoted 7 lines · Jason Haar

Hi there

Minor feature request. When a user ends their openvpn client session, shouldn't it be possible to send one last command to the server - a "logout" command? That way the server can clean up the session much faster than waiting for a keepalive timeout cycle...

Quoted 6 lines

(the problem I see is that we make extensive use of "--up"/etc scripts and a user can sometimes do several "up->down->up" in a row - which leads to "flapping" checks. If the server was told the client was leaving, this would reduce these issues).

it's already available:
--explicit-exit-notify
this is needed only for UDP based connections, as the server will know when a TCP connection has ended.

HTH,

JJK

author
#2 lore raw
Quoted 5 lines · Jan Just Keijser

it's already available:
--explicit-exit-notify
this is needed only for UDP based connections, as the server will know when a TCP connection has ended.

Ha! So it is. Given the amount of time I've read the manpage, I'm surprised I've missed it :-}

Signature · 6 lines
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1