head	1.8;
access;
symbols
	RELENG_8_4:1.8.0.2
	RELENG_9_1_0_RELEASE:1.6.4.1.4.2
	RELENG_9_1:1.6.4.1.0.4
	RELENG_9_1_BP:1.6.4.1
	RELENG_8_3_0_RELEASE:1.6.2.1.8.1
	RELENG_8_3:1.6.2.1.0.8
	RELENG_8_3_BP:1.6.2.1
	RELENG_9_0_0_RELEASE:1.6.4.1.2.1
	RELENG_9_0:1.6.4.1.0.2
	RELENG_9_0_BP:1.6.4.1
	RELENG_9:1.6.0.4
	RELENG_9_BP:1.6
	RELENG_7_4_0_RELEASE:1.4.12.1
	RELENG_8_2_0_RELEASE:1.6.2.1.6.1
	RELENG_7_4:1.4.0.12
	RELENG_7_4_BP:1.4
	RELENG_8_2:1.6.2.1.0.6
	RELENG_8_2_BP:1.6.2.1
	RELENG_8_1_0_RELEASE:1.6.2.1.4.1
	RELENG_8_1:1.6.2.1.0.4
	RELENG_8_1_BP:1.6.2.1
	RELENG_7_3_0_RELEASE:1.4.10.1
	RELENG_7_3:1.4.0.10
	RELENG_7_3_BP:1.4
	RELENG_8_0_0_RELEASE:1.6.2.1.2.1
	RELENG_8_0:1.6.2.1.0.2
	RELENG_8_0_BP:1.6.2.1
	RELENG_8:1.6.0.2
	RELENG_8_BP:1.6
	RELENG_7_2_0_RELEASE:1.4.8.1
	RELENG_7_2:1.4.0.8
	RELENG_7_2_BP:1.4
	RELENG_7_1_0_RELEASE:1.4.6.1
	RELENG_6_4_0_RELEASE:1.2.2.4.4.1
	RELENG_7_1:1.4.0.6
	RELENG_7_1_BP:1.4
	RELENG_6_4:1.2.2.4.0.4
	RELENG_6_4_BP:1.2.2.4
	RELENG_7_0_0_RELEASE:1.4
	RELENG_6_3_0_RELEASE:1.2.2.4
	RELENG_7_0:1.4.0.4
	RELENG_7_0_BP:1.4
	RELENG_6_3:1.2.2.4.0.2
	RELENG_6_3_BP:1.2.2.4
	OPENBSM_1_0:1.1.1.4
	RELENG_7:1.4.0.2
	RELENG_7_BP:1.4
	OPENBSM_1_0_ALPHA_15:1.1.1.4
	OPENBSM_1_0_ALPHA_14:1.1.1.4
	RELENG_6_2_0_RELEASE:1.2.2.2
	RELENG_6_2:1.2.2.2.0.2
	RELENG_6_2_BP:1.2.2.2
	OPENBSM_1_0_ALPHA_12:1.1.1.4
	OPENBSM_1_0_ALPHA_11:1.1.1.3
	RELENG_6:1.2.0.2
	OPENBSM_1_0_ALPHA_10:1.1.1.2
	OPENBSM_1_0_ALPHA_9:1.1.1.2
	OPENBSM_1_0_ALPHA_7:1.1.1.2
	OPENBSM_1_0_ALPHA_6:1.1.1.2
	OPENBSM_1_0_ALPHA_5:1.1.1.2
	OPENBSM_1_0_ALPHA_4:1.1.1.2
	OPENBSM_1_0_ALPHA_3:1.1.1.2
	OPENBSM_1_0_ALPHA_2:1.1.1.2
	OPENBSM_1_0_ALPHA_1:1.1.1.1
	TrustedBSD:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2012.12.01.12.01.17;	author svnexp;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2012.11.17.01.48.55;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2009.04.19.16.17.13;	author rwatson;	state Exp;
branches
	1.6.2.1
	1.6.4.1;
next	1.5;

1.5
date	2009.03.02.13.29.18;	author rwatson;	state Exp;
branches;
next	1.4;

1.4
date	2006.09.25.11.53.06;	author rwatson;	state Exp;
branches
	1.4.2.1
	1.4.6.1
	1.4.8.1
	1.4.10.1
	1.4.12.1;
next	1.3;

1.3
date	2006.09.21.07.12.33;	author rwatson;	state Exp;
branches;
next	1.2;

1.2
date	2006.03.26.01.44.35;	author rwatson;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2006.01.31.19.40.11;	author rwatson;	state Exp;
branches
	1.1.1.1;
next	;

1.8.2.1
date	2012.12.01.12.01.17;	author svnexp;	state dead;
branches;
next	1.8.2.2;

1.8.2.2
date	2013.03.28.13.01.52;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.6.2.1.2.1
	1.6.2.1.4.1
	1.6.2.1.6.1
	1.6.2.1.8.1;
next	1.6.2.2;

1.6.2.2
date	2012.11.17.10.35.54;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.6.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.6.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.6.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.6.2.1.8.2;

1.6.2.1.8.2
date	2012.11.17.08.24.36;	author svnexp;	state Exp;
branches;
next	;

1.6.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.6.4.1.2.1
	1.6.4.1.4.1;
next	1.6.4.2;

1.6.4.2
date	2012.11.17.11.36.09;	author svnexp;	state Exp;
branches;
next	1.6.4.3;

1.6.4.3
date	2012.12.18.09.35.26;	author svnexp;	state Exp;
branches;
next	;

1.6.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.6.4.1.2.2;

1.6.4.1.2.2
date	2012.11.17.08.36.09;	author svnexp;	state Exp;
branches;
next	;

1.6.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.6.4.1.4.2;

1.6.4.1.4.2
date	2012.11.17.08.46.58;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2012.11.17.08.01.06;	author svnexp;	state Exp;
branches;
next	;

1.4.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.4.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.4.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.4.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.4.12.2;

1.4.12.2
date	2012.11.17.08.16.35;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	2006.09.02.10.46.00;	author rwatson;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2006.09.29.22.41.54;	author rwatson;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2007.11.15.19.27.09;	author rwatson;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	2007.11.17.22.14.29;	author rwatson;	state Exp;
branches
	1.2.2.4.4.1;
next	1.2.2.5;

1.2.2.5
date	2012.11.17.07.38.53;	author svnexp;	state Exp;
branches;
next	;

1.2.2.4.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.1.1.1
date	2006.01.31.19.40.11;	author rwatson;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2006.02.04.13.17.41;	author rwatson;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2006.09.21.07.07.31;	author rwatson;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2006.09.25.11.40.26;	author rwatson;	state Exp;
branches;
next	;


desc
@@


1.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243750
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#9 $
# $FreeBSD: head/contrib/openbsm/etc/audit_control 243750 2012-12-01 11:58:08Z rwatson $
#
dir:/var/audit
dist:off
flags:lo,aa
minfree:5
naflags:lo,aa
policy:cnt,argv
filesz:2M
expire-after:10M
@


1.8.2.1
log
@file audit_control was added on branch RELENG_8_4 on 2013-03-28 13:01:52 +0000
@
text
@d1 12
@


1.8.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 11
#
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#8 $
# $FreeBSD: releng/8.4/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
#
dir:/var/audit
flags:lo,aa
minfree:5
naflags:lo,aa
policy:cnt,argv
filesz:2M
expire-after:10M
@


1.7
log
@Switching exporter and resync
@
text
@d2 2
a3 2
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#8 $
# $FreeBSD: head/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
d6 1
@


1.6
log
@SVN rev 191273 on 2009-04-19 16:17:13Z by rwatson

Merge OpenBSM 1.1 from OpenBSM vendor branch to head.

OpenBSM history for imported revision below for reference.

MFC after:      2 weeks
Sponsored by:   Apple, Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1

- Change auditon(2) parameters and data structures to be 32/64-bit architecture
  independent.  Add more information to man page about auditon(2) parameters.
- Add wrapper functions for auditon(2) to use legacy commands when the new
  commands are not supported.
- Add default for 'expire-after' in audit_control to expire trail files when
  the audit directory is more than 10 megabytes ('10M').
- Interface to convert between local and BSM fcntl(2) command values has been
  added:  au_bsm_to_fcntl_cmd(3) and au_fcntl_cmd_to_bsm(3), along with
  definitions of constants in audit_fcntl.h.
- A bug, introduced in OpenBSM 1.1 alpha 4, in which AUT_RETURN32 tokens
  generated by audit_submit(3) were improperly encoded has been fixed.
- Fix example in audit_submit(3) man page.  Also, make it clear that we want
  the audit ID as the argument.
- A new audit event class 'aa', for post-login authentication and
  authorization events, has been added.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.6.4.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.6.4.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/9/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
@


1.6.4.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244390
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244390 | rwatson | 2012-12-18 09:32:44 +0000 (Tue, 18 Dec 2012) | 39 lines
## SVN ##
## SVN ## Merge OpenBSM 1.2-alpha3 from head to stable/9, upgrading from the previous
## SVN ## OpenBSM 1.1p2:
## SVN ##
## SVN ## OpenBSM 1.2 alpha 3
## SVN ##
## SVN ## - Various minor tweaks to the auditdistd build to make it fit the FreeBSD
## SVN ##   build environment better.
## SVN ## - AUE_WAIT6 merged from FreeBSD 9.
## SVN ##
## SVN ## OpenBSM 1.2 alpha 2
## SVN ##
## SVN ## - auditdistd, a distributed audit trail management daemon, has now been
## SVN ##   merged.  This allows trail files to be securely and reliably synced from
## SVN ##   audited hosts to an audit server, and employs TLS encryption.  Where
## SVN ##   available, it uses Capsicum to sandbox the service.  This work was
## SVN ##   contributed by Pawel Jakub Dawidek under sponsorship from the FreeBSD
## SVN ##   Foundation.
## SVN ##
## SVN ## OpenBSM 1.2 alpha 1
## SVN ##
## SVN ## - Add Capsicum-related error numbers for FreeBSD: ENOTCAPABLE, ECAPMODE.
## SVN ## - Add Capsicum, process descriptor audit events for FreeBSD.
## SVN ## - Allow 0% minspace.
## SVN ## - Fixes from the clang static analyser.
## SVN ## - Fix expiration of trail files when the host parameter is used.
## SVN ## - Various typo fixes.
## SVN ## - Support for Solaris privilege and privilege set tokens.
## SVN ## - Documentation for getachost(), improvements for getacfilesz().
## SVN ## - Fix a directory descriptor leak that happened when audit trail partitions
## SVN ##   filled.
## SVN ## - Support for more Linux distributions with a partial contemporary endian.h.
## SVN ## - Improved escaping of XML-encapsulated BSM.
## SVN ## - A variety of minor documentation, style, and functional.
## SVN ##
## SVN ## A separate commit will merge build changes to enable auditdistd, etc.
## SVN ##
## SVN ## Obtained from:	TrustedBSD Project
## SVN ## Sponsored by:	The FreeBSD Foundation (auditdistd)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 2
a3 2
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#9 $
# $FreeBSD: stable/9/contrib/openbsm/etc/audit_control 244390 2012-12-18 09:32:44Z rwatson $
a5 1
dist:off
@


1.6.4.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.6.4.1.4.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.1/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
@


1.6.4.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.6.4.1.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.0/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
@


1.6.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.6.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/8/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
@


1.6.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.6.2.1.8.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/8.3/contrib/openbsm/etc/audit_control 191273 2009-04-19 16:17:13Z rwatson $
@


1.6.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.6.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.6.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.5
log
@SVN rev 189279 on 2009-03-02 13:29:18Z by rwatson

Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge).

OpenBSM history for imported revision below for reference.

MFC after:      1 month
Sponsored by:   Apple, Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1 beta 1

- The filesz parameter in audit_control(5) now accepts suffixes: 'B' for
  Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes.
  For legacy support no suffix defaults to bytes.
- Audit trail log expiration support added.  It is configured in
  audit_control(5) with the expire-after parameter.  If there is no
  expire-after parameter in audit_control(5), the default, then the audit
  trail files are not expired and removed.  See audit_control(5) for
  more information.
- Change defaults in audit_control: warn at 5% rather than 20% free for audit
  partitions, rotate automatically at 2mb, and set the default policy to
  cnt,argv rather than cnt so that execve(2) arguments are captured if
  AUE_EXECVE events are audited.  These may provide more usable defaults for
  many users.
- Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert
  au_to_socket_ex(3) arguments to BSM format.
- Fix error encoding AUT_IPC_PERM tokens.
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#6 $
d6 1
a6 1
flags:lo
d8 1
a8 1
naflags:lo
d10 2
a11 1
filesz:2097152
@


1.4
log
@Resolve conflicts from OpenBSM 1.0 alpha 12 import.

Obtained from:	TrustedBSD Project
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#5 $
d7 1
a7 1
minfree:20
d9 2
a10 2
policy:cnt
filesz:0
@


1.4.2.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/7/contrib/openbsm/etc/audit_control 162626 2006-09-25 11:53:06Z rwatson $
@


1.4.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.4.12.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/contrib/openbsm/etc/audit_control 162626 2006-09-25 11:53:06Z rwatson $
@


1.4.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.4.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.4.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.3
log
@Resolve conflicts from OpenBSM 1.0 alpha 11 vendor import: we have locally
added $FreeBSD$ to /etc configuration files to assist mergemaster.
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#4 $
d10 1
@


1.2
log
@Take contrib/openbsm/etc configuration files off the vendor branch in
order to add $FreeBSD$ tags, which helps mergemaster better manage
updating them.

Requested by:	several
Obtained from:	TrustedBSD Project
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#3 $
d9 1
@


1.2.2.1
log
@MFC OpenBSM 1.0 alpha 10 from HEAD to RELENG_6; OpenBSM is the user space
portion of the TrustedBSD audit implementation, which has now been
settling in 7-CURRENT for several months, and is intended to provide a
Common Criteria/CAPP-compliant fine-grained security event log subsystem.
OpenBSM includes libraries, documentation, configuration files, and audit
audit trail printing and audit trail reduction tools.

This code drop is based on Apple's BSM implementation, implemented by
McAfee Research, and has been substantially enhanced by the TrustedBSD
Project.

Audit support will be considered "experimental" for 6.2-RELEASE.

Obtained from:	TrustedBSD Project
@
text
@d3 1
a3 1
# $FreeBSD: src/contrib/openbsm/etc/audit_control,v 1.2 2006/03/26 01:44:35 rwatson Exp $
@


1.2.2.2
log
@Merge OpenBSM 1.0 alpha 12 from HEAD to RELENG_6, which includes a broad
range of bug fixes made as a result of reports on 6.x, as well as some
minor enhancements:

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.

OpenBSM 1.0 alpha 11

- Reclassify certain read/write operations as having no class rather than the
  fr/fw class; our default classes audit intent (open) not operations (read,
  write).
- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads
  and writes of sysctls as separate events.  Add additional kernel
  environment and jail events for FreeBSD.
- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER
  (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued
  by the kernel audit implementation) so that they can be distinguished.
- Disable rate limiting of rotate requests; as the kernel doesn't retransmit
  a dropped request, the log file will otherwise grow indefinitely if the
  trigger is dropped.
- Improve auditd debugging output.
- Fix a number of threading related bugs in audit_control file reading
  routines.
- Add APIs au_poltostr() and au_strtopol() to convert between text
  representations of audit_control policy flags and the flags passed to
  auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY).
- Add API getacpol() to return the 'policy:' entry from audit_control, an
  extension to the Solaris file format to allow specification of policy
  persistent flags.
- Update audump to print the audit_control policy field.
- Update auditd to read the audit_control policy field and set the kernel
  policy to match it when configuring/reconfiguring.  Remove the -s and -h
  arguments as these policies are now set via the configuration file.  If a
  policy line is not found in the configuration file, continue with the
  current default of setting AUDIT_CNT.
- Fix bugs in the parsing of large execve(2) arguments and environmental
  variable tokens; increase maximum parsed argument and variable count.
- configure now detects strlcat(), used by policy-related functions.
- Reference token and record sample files added to test tree.

Approved by:	re (kensmith)
@
text
@d2 2
a3 2
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#5 $
# $FreeBSD: src/contrib/openbsm/etc/audit_control,v 1.2.2.1 2006/09/02 10:46:00 rwatson Exp $
a8 2
policy:cnt
filesz:0
@


1.2.2.3
log
@Merge OpenBSM 1.0 from HEAD to RELENG_6:

  OpenBSM 1.0

  - Fix bug in auditreduce(8) which resulted in a memory fault/crash when
    the user specified an event name with -m.
  - Remove AU_.* hard-coded audit class constants, as udit classes are now
    entirely dynamically configured using /etc/security/audit_class.

  OpenBSM 1.0 alpha 15

  - Fix bug when processing in_addr_ex tokens.
  - Restore the behavior of printing the string/text specified while
    auditing arg32 tokens.
  - Synchronized audit event list to Solaris, picking up the *at(2) system call
    definitions, now required for FreeBSD and Linux.  Added additional events
    for *at(2) system calls not present in Solaris.
  - Bugs in auditreduce(8) fixed allowing partial date strings to be used in
    filtering events.

  OpenBSM 1.0 alpha 14

  - Fix endian issues when processing IPv6 addresses for extended subject
    and process tokens.
  - gcc41 warnings clean.
  - Teach audit_submit(3) about getaudit_addr(2).
  - Add support for zonename tokens.

  OpenBSM 1.0 alpha 13

  - compat/clock_gettime.h now provides a compatibility implementation of
    clock_gettime(), which fixes building on Mac OS X.
  - Countless man page improvements, markup fixes, content fixs, etc.
  - XML printing support via "praudit -x".
  - audit.log.5 expanded to include additional BSM token types.
  - Added encoding and decoding routines for process64_ex, process32_ex,
    subject32_ex, header64, and attr64 tokens.
  - Additional audit event identifiers for listen, mlockall/munlockall,
    getpath, POSIX message queues, and mandatory access control.
@
text
@d3 1
@


1.2.2.4
log
@Re-add $FreeBSD$ lost during vendor merge of OpenBSM 1.0 to RELENG_6.
No $FreeBSD$ tags in the vendor code, but we need them in FreeBSD to
support mergemaster and related tools.

Spotted by:	Pawel Worach
@
text
@a2 1
# $FreeBSD$
@


1.2.2.5
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/contrib/openbsm/etc/audit_control 173707 2007-11-17 22:14:29Z rwatson $
@


1.2.2.4.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.1
log
@Initial revision
@
text
@d2 2
a3 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#2 $
d6 1
a6 1
flags:lo,ad,-all,^-fa,^-fc,^-cl
@


1.1.1.1
log
@Initial vendor import of the TrustedBSD OpenBSM distribution, version
1.0 alpha 1, an implementation of the documented Sun Basic Security
Module (BSM) Audit API and file format, as well as local extensions to
support the Mac OS X and FreeBSD operating systems.  Also included are
command line tools for audit trail reduction and conversion to text,
as well as documentation of the commands, file format, and APIs.  This
distribution is the foundation for the TrustedBSD Audit implementation,
and is a pre-release.

This is the first in a series of commits to introduce support for
Common Criteria CAPP security event audit support.

This software has been made possible through the generous
contributions of Apple Computer, Inc., SPARTA, Inc., as well as
members of the TrustedBSD Project, including Wayne Salamon <wsalamon>
and Tom Rhodes <trhodes>.  The original OpenBSM implementation was
created by McAfee Research under contract to Apple Computer, Inc., as
part of their CC CAPP security evaluation.

Many thanks to:	wsalamon, trhodes
Obtained from:	TrustedBSD Project
@
text
@@


1.1.1.2
log
@Import OpenBSM 1.0 alpha 2, a minor update on alpha 1:

- Man page formatting improvements.
- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b
  events.
- Remove 'tfm' class, unused in OpenBSM.

Obtained from:	TrustedBSD Project
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#3 $
d5 1
a5 1
flags:lo
@


1.1.1.3
log
@Vendor import of OpenBSM 1.0 alpha 11, with the following change history
notes since the last import:

OpenBSM 1.0 alpha 11

- Reclassify certain read/write operations as having no class rather than the
  fr/fw class; our default classes audit intent (open) not operations (read,
  write).
- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads
  and writes of sysctls as separate events.  Add additional kernel
  environment and jail events for FreeBSD.
- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER
  (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued
  by the kernel audit implementation) so that they can be distinguished.
- Disable rate limiting of rotate requests; as the kernel doesn't retransmit
  a dropped request, the log file will otherwise grow indefinitely if the
  trigger is dropped.
- Improve auditd debugging output.
- Fix a number of threading related bugs in audit_control file reading
  routines.
- Add APIs au_poltostr() and au_strtopol() to convert between text
  representations of audit_control policy flags and the flags passed to
  auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY).
- Add API getacpol() to return the 'policy:' entry from audit_control, an
  extension to the Solaris file format to allow specification of policy
  persistent flags.
- Update audump to print the audit_control policy field.
- Update auditd to read the audit_control policy field and set the kernel
  policy to match it when configuring/reconfiguring.  Remove the -s and -h
  arguments as these policies are now set via the configuration file.  If a
  policy line is not found in the configuration file, continue with the
  current default of setting AUDIT_CNT.
- Fix bugs in the parsing of large execve(2) arguments and environmental
  variable tokens; increase maximum parsed argument and variable count.
- configure now detects strlcat(), used by policy-related functions.
- Reference token and record sample files added to test tree.

Obtained from:	TrustedBSD Project
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#4 $
a7 1
policy:cnt
@


1.1.1.4
log
@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
@
text
@d2 1
a2 1
# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_control#5 $
a8 1
filesz:0
@


