Skip to content

Security: Add security tables for mandatory access control

James Morris netfilter-devel 1 version Applied

Status from this message: Applied, thanks. I'll add the dependency myself in case you agree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Security: Add iptables security table for mandatory access control rulesinclude/linux/netfilter_ipv4.h include/net/netns/ipv4.h net/ipv4/netfilter/Kconfig +4 more+208 -66 replies
2/2Security: Add ip6tables security tableinclude/linux/netfilter_ipv6.h include/net/netns/ipv6.h net/ipv6/netfilter/Kconfig +2 more+186 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Security: Add security tables for mandatory access control

The following patches add a new ip[6]tables "security" table, for use with mandatory access control (MAC) security schemes.

This follows on from an RFC post earlier in the year:
http://thread.gmane.org/gmane.linux.redhat.fedora.selinux/8490

In a nutshell, the need for this arises from the fact that MAC labeling rules utilizing iptables via SECMARK and CONNSECMARK are not subject to discretionary security policy (i.e. not even "root" or a user with CAP_NET_ADMIN may be able to modify these rules).

So, a separate table is proposed here to allow these administrative security domains to be separated, and specifically to assist with distro integration.

Patches for IPv4 and IPv6 follow.

Please review and consider for 2.6.27.

- James

Signature · 2 lines
James Morris
<[email protected]>