]> git.ipfire.org Git - thirdparty/strongswan.git/commit
socket-default: Require CAP_NET_BIND_SERVICE for ports < 1024
authorTobias Brunner <tobias@strongswan.org>
Tue, 25 Jun 2013 06:23:35 +0000 (08:23 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 25 Jun 2013 15:16:32 +0000 (17:16 +0200)
commit1dd61bf13d688dfa71b25d3eb7872dc784f1e57c
treeb60338396ebac09f3e8740f4b23b6e4f7ebcb7b0
parent41b8546ac0a8c95496d1812f35eefa696cf8212c
socket-default: Require CAP_NET_BIND_SERVICE for ports < 1024

Since we don't know which ports are used with socket-dynamic we can't
demand the capability there, but it might still be required.
src/libcharon/plugins/socket_default/socket_default_socket.c
src/libstrongswan/utils/capabilities.h