]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fixed bug in port-share that could cause port share process to
authorJames Yonan <james@openvpn.net>
Sun, 3 Apr 2011 21:48:15 +0000 (21:48 +0000)
committerJames Yonan <james@openvpn.net>
Sun, 3 Apr 2011 21:48:15 +0000 (21:48 +0000)
commitfbfebb028cee6249fc096cd11632d2ba95f28e64
tree13efe7c34dac31c73260fef51da63c5098e1b498
parentad82a4a668eecb653cfdd1e42e1c932b8a5e67ad
Fixed bug in port-share that could cause port share process to
crash with output like this:

TCP connection established with 85.190.0.3:41781
85.190.0.3:41781 SIGTERM[soft,port-share-redirect] received, client-instance exiting
MANAGEMENT: TCP recv error: Socket operation on non-socket
MANAGEMENT: Client disconnected
MANAGEMENT: Triggering management exit
Exiting due to fatal error
EVENT: epoll_ctl EPOLL_CTL_MOD failed, sd=6: Bad file descriptor (errno=9)

Then an error like this for every incoming connection that should be
proxied:

76.120.71.74:55302 PORT SHARE: sendmsg failed -- unable to communicate with background process (6,8,-1,-1): Connection refused (errno=111)

Version 2.1.3s

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7127 e7ae566f-a301-0410-adde-c780ea21d3b5
ps.c
version.m4