I run openvpn server over udp and some clients have unstable links, just because they use mobile phone connections (btw, over udp it works better then over tcp).
And I need to run script on client connect and disconnect:
client-connect /etc/openvpn/client-42/connect.sh
client-disconnect /etc/openvpn/client-42/disconnect.sh
problem is that sometimes I see connectivity problem on server side like this
Mar 12 13:24:47 mandela openvpn[24706]: read UDPv4 [CMSG=8|ECONNREFUSED]: Connection refused (code=111)
but server doesn't drop connection, but client drops and connects again:
Mar 12 13:24:51 mandela openvpn[24706]: MULTI: new connection by client 'yakbodinskoe' will cause previous active sessions by this client to be dropped.
result is following:
looks like (I don't see it in logs, but I can add logging ability to script to be shure) server first connect client with new session and run client-connect script, but then server drops previously existed connection and run client-disconnect, so result is as client-connect script was not executed

I run old 2.1_rc7 (ubunti 8.04).
Is this problem solved in newer versions or what can I do to solve it?
Thank you!