Skip to content

Updated patchset w/James' comments

[email protected] netdev selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7NetLabel: documentationCREDITS Documentation/00-INDEX Documentation/netlabel/00-INDEX +5 more+986 -02 replies
2/7NetLabel: core network changesinclude/linux/ip.h include/net/cipso_ipv4.h include/net/inet_sock.h +4 more+904 -214 replies
3/7NetLabel: CIPSOv4 engineinclude/linux/sysctl.h net/ipv4/Makefile net/ipv4/cipso_ipv4.c +1 more+1690 -01 reply
4/7NetLabel: core NetLabel subsystemnet/Makefile net/netlabel/Kconfig net/netlabel/Makefile +9 more+2443 -00 replies
5/7NetLabel: CIPSOv4 and Unlabeled packet integrationnet/netlabel/netlabel_cipso_v4.c net/netlabel/netlabel_unlabeled.c+807 -00 replies
6/7NetLabel: SELinux supportinclude/linux/security.h net/socket.c security/dummy.c +8 more+1070 -300 replies
7/7NetLabel: tie NetLabel into the Kconfig systemnet/Kconfig+2 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Updated patchset w/James' comments

Some changes in the patchset based on James Morris' comments over the weekend, in addition I rebased the patchset against 2.6.18-rc2. For those who want/need some background and missed my posting last week I have pasted the announcement below.

Once again, please consider this patchset for inclusion into the 2.6.19 kernel.

Thanks.

--
I am posting this patchset for consideration and inclusion into the 2.6.19 kernel, it is against 2.6.18-rc1 [now rebased against 2.6.18-rc2].

This patchset introduces NetLabel, a implementation of explicit packet labeling (i.e. CIPSO), to the Linux kernel. NetLabel has been designed to have as minimal an impact on the base networking stack as possible; this includes both code changes as well as performance. I, as well as many others who have posted to various lists on earlier NetLabel patches, believe that an interoperable form of labeled networking is important for Linux's success in the Trusted OS arena currently being dominated by commercial UNIX systems. DaveM, I know you have previously posted that you feel CIPSO does not belong in the Linux kernel on principle, however, I'm hoping the arguments posted in response have softened your position ...

Earlier versions of this patchset have been posted to the netdev, SELinux, LSM and RH-LSPP mailing lists over the past couple of months. It now contains several rounds of comments and has been tested on a variety of architectures by people on the RH-LSPP mailing list over the course of the last several weeks.

If accepted into the mainline kernel, both HP and myself pledge to maintain this code.

- Notes on Performance

This past week there was a thread on the RH-LSPP list where the performance of the NetLabel patch was measured and discussed using the 2.6.17 kernel. A copy of the discussion can be found here:

* http://www.redhat.com/archives/redhat-lspp/2006-July/msg00063.html

With the conclusion being that performance should not be an issue.

Unfortunately the vanilla 2.6.18-rc1 kernel has problems on the two machines I use for performance testing so I am not currently able to update the NetLabel performance numbers for 2.6.18-rc1.

- Notes on Interoperability Testing

The NetLabel CIPSO implementation has been tested against Trusted Solaris and HP-UX CMW without problems.

- Instructions for Testing

For those of you wishing to test this patchset you will need the latest release of the netlabel_tools tarball found here:

* http://free.linux.hp.com/~pmoore/projects/linux_cipso

You also may want to make use of the "toy policy module" for SELinux which has been posted to the RH-LSPP mailing list, the archived message can be found here:

* http://www.redhat.com/archives/redhat-lspp/2006-June/msg00243.html

Thanks.

--
paul moore
linux security @ hp