hi guys,
maybe found another bug.
i have a client that connects to a server in tun mode. the server calls on client connect a script via --client-connect option.
i case the --client-connect option fails the client crashes. i guess thas a bug and not a feature.
imho the client should retry to connect and maybe should get connected without any problems also the server should only log the failing script. nothing else.
the server runs OpenVPN 2.3.6 i386-pc-linux-gnu built on Dec 16 2014
Server wroteDec 17 13:43:31 VPN-Gateway-Wasserverband daemon.notice openvpn[3397]: /xx.xx.xx.xx:54686 [wi-tech] Peer Connection Initiated with [AF_INET]/xx.xx.xx.xx:54686
Dec 17 13:43:31 VPN-Gateway-xx daemon.notice openvpn[3397]: xxx/xx.xx.xx.xx:54686 OPTIONS IMPORT: reading client specific options from: /jffs/etc/openvpn/ccd/xx
Dec 17 13:43:31 VPN-Gateway-xx daemon.warn openvpn[3397]: xx/xx.xx.xx.xx:54686 WARNING: Failed running command (--client-connect): external program exited with error status: 2
Dec 17 13:43:33 VPN-Gateway-xx daemon.notice openvpn[3397]: xx/xx.xx.xx.xx:54686 PUSH: Received control message: 'PUSH_REQUEST'
Dec 17 13:43:33 VPN-Gateway-xx daemon.notice openvpn[3397]: xx/xx.xx.xx.xx:54686 Delayed exit in 5 seconds
Dec 17 13:43:33 VPN-Gateway-xx daemon.notice openvpn[3397]: xx/xx.xx.xx.xx:54686 SENT CONTROL [wi-tech]: 'AUTH_FAILED' (status=1)
Dec 17 13:43:38 VPN-Gateway-xx daemon.notice openvpn[3397]: xx/xx.xx.xx.xx:54686 SIGTERM[soft,delayed-exit] received, client-instance exiting
Client wroteDec 17 13:44:37 Home daemon.notice openvpn[20562]: OpenVPN 2.3.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Dec 15 2014
Dec 17 13:44:37 Home daemon.notice openvpn[20562]: library versions: OpenSSL 1.0.1j 15 Oct 2014, LZO 2.08
Dec 17 13:44:37 Home daemon.notice openvpn[20562]: MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
Dec 17 13:44:37 Home daemon.warn openvpn[20562]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dec 17 13:44:37 Home daemon.warn openvpn[20562]: WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
Dec 17 13:44:37 Home daemon.warn openvpn[20562]: WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1450)
Dec 17 13:44:37 Home daemon.notice openvpn[20562]: Socket Buffers: R=[212992->131072] S=[212992->131072]
Dec 17 13:44:37 Home daemon.notice openvpn[20563]: UDPv4 link local: [undef]
Dec 17 13:44:37 Home daemon.notice openvpn[20563]: UDPv4 link remote: [AF_INET]80.xx.xx.xx:1194
Dec 17 13:44:37 Home daemon.notice openvpn[20563]: TLS: Initial packet from [AF_INET]80.xx.xx.xx:1194, sid=e74e74fe 39386e8f
Dec 17 13:44:39 Home daemon.notice openvpn[20563]: VERIFY OK: depth=1, C=DE, ST=xx, L=xxx, O=xxx, emailAddress=info@xxx
Dec 17 13:44:39 Home daemon.notice openvpn[20563]: VERIFY OK: nsCertType=SERVER
Dec 17 13:44:39 Home daemon.notice openvpn[20563]: NOTE: --mute triggered...
Dec 17 13:44:41 Home daemon.notice openvpn[20563]: 6 variation(s) on previous 3 message(s) suppressed by --mute
Dec 17 13:44:41 Home daemon.notice openvpn[20563]: [vpn-router] Peer Connection Initiated with [AF_INET]80.xx.xx.xx:1194
Dec 17 13:44:43 Home daemon.notice openvpn[20563]: SENT CONTROL [vpn-router]: 'PUSH_REQUEST' (status=1)
Dec 17 13:44:43 Home daemon.notice openvpn[20563]: AUTH: Received control message: AUTH_FAILED
Dec 17 13:44:43 Home daemon.notice openvpn[20563]: SIGTERM[soft,auth-failure] received, process exiting
any hints?