Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


CAP_NET_ADMIN & nginx
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

CAP_NET_ADMIN & nginx

SplitIceSplitIce Member, Host Rep

Heyo,

I am stuck trying to get my nginx service which is launched via Systemd to give CAP_NET_ADMIN to its workers (required for IP_TRANSPARENT).

I have tried /etc/security/capability.conf & setcap. Systemd has the permission whitelisted:

CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
CAP_SYS_RESOURCE CAP_SETGID CAP_SETUID
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
CAP_SYS_RESOURCE CAP_SETGID CAP_SETUID

Thoughts? Ideas? Those workers just don't want to play game.

Comments

Sign In or Register to comment.