linux-kernel-test/net/netlabel
Paul Moore 8cc44579d1 NetLabel: Introduce static network labels for unlabeled connections
Most trusted OSs, with the exception of Linux, have the ability to specify
static security labels for unlabeled networks.  This patch adds this ability to
the NetLabel packet labeling framework.

If the NetLabel subsystem is called to determine the security attributes of an
incoming packet it first checks to see if any recognized NetLabel packet
labeling protocols are in-use on the packet.  If none can be found then the
unlabled connection table is queried and based on the packets incoming
interface and address it is matched with a security label as configured by the
administrator using the netlabel_tools package.  The matching security label is
returned to the caller just as if the packet was explicitly labeled using a
labeling protocol.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
2008-01-30 08:17:28 +11:00
..
Kconfig [NETLABEL]: Fix build failure. 2006-11-05 16:44:06 -08:00
Makefile [NetLabel]: core NetLabel subsystem 2006-09-22 14:53:34 -07:00
netlabel_cipso_v4.c NetLabel: Remove unneeded RCU read locks 2008-01-30 08:17:16 +11:00
netlabel_cipso_v4.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_domainhash.c NetLabel: Consolidate the LSM domain mapping/hashing locks 2008-01-30 08:17:18 +11:00
netlabel_domainhash.h [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_kapi.c NetLabel: Introduce static network labels for unlabeled connections 2008-01-30 08:17:28 +11:00
netlabel_mgmt.c NetLabel: Remove unneeded RCU read locks 2008-01-30 08:17:16 +11:00
netlabel_mgmt.h NetLabel: Remove unneeded RCU read locks 2008-01-30 08:17:16 +11:00
netlabel_unlabeled.c NetLabel: Introduce static network labels for unlabeled connections 2008-01-30 08:17:28 +11:00
netlabel_unlabeled.h NetLabel: Introduce static network labels for unlabeled connections 2008-01-30 08:17:28 +11:00
netlabel_user.c Net/Security: fix memory leaks from security_secid_to_secctx() 2007-08-02 11:52:26 -04:00
netlabel_user.h [GENL]: Add genlmsg_put_reply() to simplify building reply headers 2006-12-02 21:22:42 -08:00