freebsd-skq/contrib/openbsm
Robert Watson 4bd0c025f3 Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change
history notes since the last import:

OpenBSM 1.0 alpha 12

- Correct bug in auditreduce which prevented the -c option from working
  correctly when the user specifies to process successful or failed events.
  The problem stemmed from not having access to the return token at the time
  the initial preselection occurred, but now a second preselection process
  occurs while processing the return token.
- getacfilesz(3) API added to read new audit_control(5) filesz setting,
  which auditd(8) now sets the kernel audit trail rotation size to.
- auditreduce(1) now uses stdin if no file names are specified on the command
  line; this was the documented behavior previously, but it was not
  implemented.  Be more specific in auditreduce(1)'s examples section about
  what might be done with the output of auditreduce.
- Add audit_warn(5) closefile event so that administrators can hook
  termination of an audit trail file.  For example, this might be used to
  compress the trail file after it is closed.
- auditreduce(1) now uses regular expressions for pathname matching. Users can
  now supply one or more (comma delimited) regular expressions for searching
  the pathnames. If one of the regular expressions is prefixed with a tilde
  (~), and a path matches, it will be excluded from the search results.

MFC after:	3 days
Obtained from:	TrustedBSD Project
2006-09-25 11:40:29 +00:00
..
bin Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
bsm Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
compat Vendor import of OpenBSM 1.0 alpha 11, with the following change history 2006-09-21 07:07:33 +00:00
config Vendor import of OpenBSM 1.0 alpha 11, with the following change history 2006-09-21 07:07:33 +00:00
etc Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
libbsm Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
man Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
modules Vendor import of OpenBSM 1.0 alpha 9, with the following change history 2006-08-26 08:04:15 +00:00
test Vendor import of OpenBSM 1.0 alpha 11, with the following change history 2006-09-21 07:07:33 +00:00
tools Vendor import of OpenBSM 1.0 alpha 11, with the following change history 2006-09-21 07:07:33 +00:00
aclocal.m4 Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 5: 2006-03-04 16:45:52 +00:00
autogen.sh Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 5: 2006-03-04 16:45:52 +00:00
CHANGELOG CVS import OpenBSM 1.0 alpha 4: 2006-02-11 00:39:23 +00:00
configure Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
configure.ac Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
HISTORY Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
LICENSE Initial vendor import of the TrustedBSD OpenBSM distribution, version 2006-01-31 19:40:12 +00:00
Makefile Initial vendor import of the TrustedBSD OpenBSM distribution, version 2006-01-31 19:40:12 +00:00
Makefile.am Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 6: 2006-06-05 10:52:12 +00:00
Makefile.in Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 6: 2006-06-05 10:52:12 +00:00
README Vendor import of OpenBSM 1.0 alpha 9, with the following change history 2006-08-26 08:04:15 +00:00
TODO Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00
VERSION Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change 2006-09-25 11:40:29 +00:00

OpenBSM 1.0

  Introduction

OpenBSM provides an open source implementation of Sun's BSM Audit API. 
Originally created under contract to Apple Computer by McAfee Research, 
this implementation is now maintained by volunteers and the generous 
contribution of several organizations.  Coupled with a kernel audit 
implementation, OpenBSM can be used to maintain system audit streams, and 
is a foundation for an Audit-enabled system.

  Contents

OpenBSM consists of several directories:

    bin/           Audit-related command line tools
    bsm/           System include files for BSM
    etc/           Sample /etc/security configuration files
    libbsm/        Implementation of BSM library interfaces and man pages
    man/           System call and configuration file man pages

OpenBSM currently builds on FreeBSD and Darwin.  With Makefile adjustment
and minor tweaks, it should build without problems on a broad range of
POSIX-like systems.

  Building

OpenBSM is currently built using autoconf and automake, which should allow
for building on a range of operating systems, including FreeBSD, Mac OS X,
and Linux.  Depending on the availability of audit facilities in the
underlying operating system, some components that depend on kernel audit
support are built conditionally.  Typically, build will be performed using

    ./configure
    make

To install, use:

    make install

You may wish to specify that the OpenBSM components not be installed in the
base system, rather in a specific directory.  This may be done using the
--prefix argument to configure.  If installing to a specific directory,
remember to update your library path so that running tools from that
directory the correct libbsm is used:

    ./configure --prefix=/home/rwatson/openbsm
    make
    make install
    LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH

You will need to manually propagate openbsm/etc/* into /etc on your system;
this is not done automatically so as to avoid disrupting the current
configuration.  Currently, the locations of these files is not
configurable.

  Credits

The following organizations and individuals have contributed substantially 
to the development of OpenBSM:

    Apple Computer, Inc.
    McAfee Research, McAfee, Inc.
    SPARTA, Inc.
    Robert Watson
    Wayne Salamon
    Suresh Krishnaswamy
    Kevin Van Vechten
    Tom Rhodes
    Wojciech Koszek
    Chunyang Yuan
    Poul-Henning Kamp
    Christian Brueffer
    Olivier Houchard
    Christian Peron
    Martin Fong
    Pawel Worach
    Martin Englund

In addition, Coverity, Inc.'s Prevent(tm) static analysis tool and Gimpel
Software's FlexeLint tool were used to identify a number of bugs in the
OpenBSM implementation.

  Contributions

The TrustedBSD Project would appreciate the contribution of bug fixes, 
enhancements, etc, under identically or substantially similar licenses to 
those present on the remainder of the OpenBSM source code.

  Location

Information on OpenBSM may be found on the OpenBSM home page:

    http://www.OpenBSM.org/

Information on TrustedBSD may be found on the TrustedBSD home page:

    http://www.TrustedBSD.org/

$P4: //depot/projects/trustedbsd/openbsm/README#19 $