]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Bind to local socket before dropping privileges
authorJames Yonan <james@openvpn.net>
Thu, 3 Mar 2016 08:19:06 +0000 (01:19 -0700)
committerDavid Sommerseth <davids@openvpn.net>
Thu, 25 Aug 2016 19:02:32 +0000 (21:02 +0200)
commitb3e975824ea9ebae8dbea5b451c8d02525c83ffe
treeebffbdfbdf42d3b5a6a0ac75cbf88f286251e0bd
parentbde1b90da0db2d68d13d274102986f0ca7096c00
Bind to local socket before dropping privileges

Bind the local TCP/UDP socket before UID/GID downgrade,
otherwise we cannot bind to ports < 1024.

Signed-off-by: James Yonan <james@openvpn.net>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: 1456993146-63968-10-git-send-email-james@openvpn.net
URL: http://www.mail-archive.com/search?l=mid&q=1456993146-63968-10-git-send-email-james@openvpn.net
Signed-off-by: David Sommerseth <davids@openvpn.net>
src/openvpn/init.c