Difference between revisions of "Labeled NFS"
DaveQuigley (Talk | contribs) |
DaveQuigley (Talk | contribs) (→Building & Installing the Code) |
||
Line 46: | Line 46: | ||
=== Labeled-NFS Kernel === | === Labeled-NFS Kernel === | ||
− | + | This section explains how to clone the Labeled-NFS Linux kernel repository and build and install the kernel. If you already know how to build a Linux kernel then you can skip to the section which explains how to enable the Labeled-NFS functionality. | |
+ | |||
+ | === NFS Utils === | ||
== Specification Documents == | == Specification Documents == |
Revision as of 20:16, 26 November 2008
Contents
Introduction
Labeled NFS is an effort headed by Dave Quigley of the NSA to implement Mandatory Access Control within NFSv4
Since the Labeled-NFS effort is starting to mature, a centralize location is needed to store information and code for the project. This page will contain news, source code, documentation, and specification documents pertaining to the Labeled-NFS effort.
At the moment development is progressing on a prototype for the Linux 2.6 series of kernels. As the specification matures and we see other people choose to prototype implementations in other operating and MAC systems we will post that information here.
Project News
None as of yet.
Getting the code
The Labeled-NFS implementation prototype is published as a series of public git trees that can be found at http://git.selinuxproject.org/git/. The three trees that pertain to the Labeled-NFS work are:
- users/dpquigl/lnfs.git
- users/dpquigl/nfs-utils.git
- users/dpquigl/libnfsdoimap.git
To clone these trees use the command below substituting any of {lnfs.git, libnfsdoimap.git, nfs-utils.git} for <tree>.
git-clone git://git.selinuxproject.org/~dpquigl/<tree>
Building & Installing the Code
This documentation is for building a Labeled-NFS kernel and the modified user-space NFS utilities. The development team uses Fedora as the primary development platform so the instructions below reference Fedora specific utilities and names. If you are running a distro other than Fedora substitute in the appropriate package manager calls and package names for your system.
Installing Development Packages
The nfs-utils git tree requires the development version of several packages to be installed.
# yum install tcp_wrappers-devel libevent-devel nfs-utils-lib-devel \ libgssglue-devel e2fsprogs-devel krb5-devel openldap-devel
Since all the Labeled-NFS code is published via git the next step is to install git if you do not already have it installed.
# yum install git
Labeled-NFS Kernel
This section explains how to clone the Labeled-NFS Linux kernel repository and build and install the kernel. If you already know how to build a Linux kernel then you can skip to the section which explains how to enable the Labeled-NFS functionality.
NFS Utils
Specification Documents
- SENFS Requirements Document: Original requirements document for an SELinux specific version of Labeled NFS by James Morris.
- MAC Labeling Requirements and Problem Statement Page: Main IETF document page for requirements and problem statement for MAC labeling support for NFSv4.
- draft-quigley-nfsv4-sec-label-requirements-00.txt: Internet Draft submitted to the IEFT on 1 May 2008.
- draft-quigley-nfsv4-sec-label-requirements-01.txt: Internet Draft submitted to the IEFT on 24 June 2008.
Mailing Lists
- Labeled NFS Mailing List: Primary list for discussion about the Linux prototype of Labeled-NFS. This is a low volume list.
- IETF NFSv4 Working Group Mailing List: Primary list for discussion for discussion of the NFSv4 standard. This is a moderately high volume list and currently the discussion is centered around preparing NFSv4.1 for final approval.
Presentations
- IETF-71 NFSv4WG Slides Presentation by Dave Quigley given to the NFSv4 Working Group.
- MAC resources Posting to the NFSv4 IETF mailing list with pointers to information on Mandatory Access Control (MAC).
News Articles
- GCN coverage Government Computer News on the project as Dave Q presents at IETF 71.
- "NSA Pushes ‘Labeled’ Access Control for NFS" Dark Reading coverage.