Are iptables or ipset file capabilities aware?
Hi,
I'm trying to devise a scheme where I need to give an unpriviliged user the ability to add ip addresses to a blocklist used by iptables. Sudo is not an option in this case.
I have understood that I should be able to do this with the CAP_NET_ADMIN capability but so far during my testing with ipset 4.5 I have not been successful.
Could anyone please tell me if these utilities are in fact capabilities aware and if not, if there are any plans to implement it?
Cheers,
/Mikael
Quoted 3 lines · Mickey Nordstrom
I have understood that I should be able to do this with the
CAP_NET_ADMINcapability but so far during my testing with ipset 4.5 I have not been successful.
Just how is CAP_NET_ADMIN any better than sudo? (The application would have full network control in either case.)