]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fixed bug in port-share that could cause port share process to crash
authorJames Yonan <james@openvpn.net>
Sun, 3 Apr 2011 21:48:15 +0000 (23:48 +0200)
committerDavid Sommerseth <davids@redhat.com>
Thu, 14 Apr 2011 15:00:51 +0000 (17:00 +0200)
commit9ed122efe870288ea75ee62a4eae2373a655145b
treed8ae2c2ef07e06396c97511d90c68a9ec317acbf
parentcdb3a5c0864e0fe8d0b814de1f024fd624dd3b1c
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
ps.c