Opened 5 years ago

Closed 5 years ago

#1176 closed Bug / Defect (notabug)

Client doesn't tell server when disconnecting

Reported by: MontrealSoft Owned by: yuriy
Priority: minor Milestone: release 2.5
Component: OpenVPN Connect Version: OpenVPN 2.1.4 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

Hi, I setup scripts to get notified on connection/disconnection of my clients.
When using the windows openvpn client, the disconnection script won't launch upon disconnecting.
It will launch only after a timeout of about 220 seconds following the disconnect request, OR if I reconnect the same client.

BUT.
If I use the iPhone client, the disconnect scripts is launched right after disconnection. So it has to be something with the windows client.

Change History (3)

comment:1 Changed 5 years ago by Selva Nair

I suppose you are using UDP. If so, add --explicit-exit-notify to the client config. Otherwise a udp server will have to wait until the ping-timeout interval to know that the client is gone. The iphone client may be setting this option by default.

comment:2 Changed 5 years ago by MontrealSoft

Thanks for the info selvanair !
I stand corrected, this is not a bug.

comment:3 Changed 5 years ago by Selva Nair

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.