Labeled NFS

From SELinux Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:00, 7 July 2008 (edit)
DaveQuigley (Talk | contribs)
(Added links to files for second option of getting the code.)
← Previous diff
Revision as of 18:01, 7 July 2008 (edit) (undo)
DaveQuigley (Talk | contribs)
(Made it so the file names are the links.)
Next diff →
Line 32: Line 32:
The second option is to patch and build a kernel with a snapshot of the Labeled-NFS code. Once this code is updated to address the LKML comments and merged into the lnfs git tree these patches will become obsolete. The second option is to patch and build a kernel with a snapshot of the Labeled-NFS code. Once this code is updated to address the LKML comments and merged into the lnfs git tree these patches will become obsolete.
-* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-build.txt] nfs-build.txt: Instructions for building a Linux 2.6 kernel with Labeled-NFS support and patching nfs-utils to support new mount options.+* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-build.txt nfs-build.txt:] Instructions for building a Linux 2.6 kernel with Labeled-NFS support and patching nfs-utils to support new mount options.
-* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-setup.txt] nfs-setup.txt: Instructions for setting up NFSv4 mounts and exports with label support.+* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-setup.txt nfs-setup.txt:] Instructions for setting up NFSv4 mounts and exports with label support.
-* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-label.patch] nfs-label.patch: Patch with kernel modifications to add Labeled-NFS support.+* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-label.patch nfs-label.patch:] Patch with kernel modifications to add Labeled-NFS support.
-* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-utils.patch] nfs-utils.patch: Patch to add mount support to nfs-tuils for Labeled-NFS support.+* [http://www.selinuxproject.org/~dpquigl/files/lnfs/nfs-utils.patch nfs-utils.patch:] Patch to add mount support to nfs-tuils for Labeled-NFS support.

Revision as of 18:01, 7 July 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.

News

None as of yet.

Getting the code

There are two ways to get the code for the prototype Labeled-NFS implementation. As active development ensues we will be updating a series of public git trees with patches for the work. These trees can be found at http://git.selinuxproject.org/git/. At the moment the latest code is not yet in the tree since we are addressing comments from LKML.

The three trees that pertain to the Labeled-NFS work are:

  • users/dpquigl/lnfs.git
  • users/dpquigl/libnfsdoimap.git
  • users/dpquigl/nfs-utils.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> 

The second option is to patch and build a kernel with a snapshot of the Labeled-NFS code. Once this code is updated to address the LKML comments and merged into the lnfs git tree these patches will become obsolete.

  • nfs-build.txt: Instructions for building a Linux 2.6 kernel with Labeled-NFS support and patching nfs-utils to support new mount options.
  • nfs-setup.txt: Instructions for setting up NFSv4 mounts and exports with label support.
  • nfs-label.patch: Patch with kernel modifications to add Labeled-NFS support.
  • nfs-utils.patch: Patch to add mount support to nfs-tuils for Labeled-NFS support.


Resources

  • GCN coverage Government Computer News on the project as Dave Q presents at IETF 71.
  • MAC resources Posting to the NFSv4 IETF mailing list with pointers to information on Mandatory Access Control (MAC).



[[Image:Media:Example.jpg]]

Personal tools