Skip to contentSkip to conversation

client-connect script not always called ?

Openvpn-devel Alex Ongena 2 participants 5 messages May 2, 2005 – May 3, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I have a running openvpn 2.0 environment, in routed / server mode (tun) and have noticed that:

- when the client is stopped (proper shutdown)
- and started again (with eventualy new config) _before_ ping-restart or inactivity are expired on the server.

the 'client-connect' script is _not_ called on the server side.

Is this the intension ?

If so, why ?

It's a proper shutdown on client side, so the client can inform the server. The server should call IMHO 'client-disconnect' and afterwards a 'client-connect', regardless if some timeouts are expired or not.

Thanks
alex

--
aXs GUARD has completed security and anti-virus checks on this e-mail
(http://www.axsguard.com)
---------------------------------------------------

#1 lore raw
Quoted 4 lines · Alex Ongena

It's a proper shutdown on client side, so the client can inform the server. The server should call IMHO 'client-disconnect' and afterwards a 'client-connect', regardless if some timeouts are expired or not.

Do you have the "explicit-exit-notify" operative in use (ideally, pushed to the clients from the server, such that it won't be necessary to modify the client configs after it's replaced with something more permanent)? Otherwise, the server finds out that the clients are down only when their timeout expires.

#2 lore raw

no, I'am not aware of such an option, nor do I find this option/parameter in the manual page.

I'am using OpenVPN 2.0.0 and have never used the version before.

alex

Quoted 5 lines · Charles Duffy
Quoted 4 lines

It's a proper shutdown on client side, so the client can inform the server. The server should call IMHO 'client-disconnect' and afterwards a 'client-connect', regardless if some timeouts are expired or not.

Quoted 10 lines

Do you have the "explicit-exit-notify" operative in use (ideally, pushed
to the clients from the server, such that it won't be necessary to modify
the client configs after it's replaced with something more permanent)? Otherwise, the server finds out that the clients are down only when their
timeout expires.

--
aXs GUARD has completed security and anti-virus checks on this e-mail
(http://www.axsguard.com)
---------------------------------------------------

#3 lore raw
Quoted 4 lines · Alex Ongena

no, I'am not aware of such an option, nor do I find this option/parameter in the manual page.

Because it's not there, because its behaviour is going to change in the future. Search for it in the mailing list archives.