|Subject:||Rough plans for OpenBSM 1.1|
|From:||Robert Watson (rwat...@FreeBSD.org)|
|Date:||Dec 3, 2008 6:42:51 am|
For those with various works-in-progress for OpenBSM 1.1, and those involved in testing, my rough plans are as follows:
5 December 2008 - OpenBSM 1.1 alpha 3 11 December 2008 - OpenBSM 1.1 alpha 4 16 December 2008 - OpenBSM 1.1 release
The one major feature I know of that isn't yet merged into the OpenBSM tree is Stacey Son's work to break out the core functionality of auditd(8) into a libauditd(3) that could be linked into auditd(8), but also into other daemons that might want to manage auditing on a system, such as Apple's launchd or some of the extended init(8) daemons that exist on some systems.
If anyone else has non-trivial works in progress, please give me a ping so we can talk about scheduling the merging of those changes. Because we want to make sure 1.1 works well on all the supported platforms (especially forthcoming FreeBSD 7.2 and Mac OS X Snow Leopard) sooner is better than later so that we can have a single test release believed to work everywhere before the final release.
Attached below are the changes to OpenBSM since 1.0 to date (notes for alpha 3 not yet finalized); there are also a host of minor man page fixes, bug fixes, man page additions, etc.
Robert N M Watson Computer Laboratory University of Cambridge
OpenBSM Version History
OpenBSM 1.1 alpha 3
- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map between BSM error numbers (largely the Solaris definitions) and local errno(2) values for 32-bit and 64-bit return tokens. This is required as operating systems don't agree on some of the values of more recent error numbers. - Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the total size for the token. This bug resulted in "unknown" tokens being printed after the exec args/env tokens. - Support for AUT_SOCKET_EX extended socket tokens, which describe a socket using a pair of IPv4/IPv6 and port tuples.
OpenBSM 1.1 alpha 2
- Include files in OpenBSM are now broken out into two parts: library builds required solely for user space, and system includes, which may also be required for use in the kernels of systems integrating OpenBSM. Submitted by Stacey Son. - Configure option --with-native-includes allows forcing the use of native include for system includes, rather than the versions bundled with OpenBSM. This is intended specifically for platforms that ship OpenBSM, have adapted versions of the system includes in a kernel source tree, and will use the OpenBSM build infrastructure with an unmodified OpenBSM distribution, allowing the customized system includes to be used with the OpenBSM build. Submitted by Stacey Son. - Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s or asprintf(). Added compat/strlcpy.h for Linux. - Remove compatibility defines for old Darwin token constant names; now only BSM token names are provided and used. - Add support for extended header tokens, which contain space for information on the host generating the record. - Add support for setting extended host information in the kernel, which is used for setting host information in extended header tokens. The audit_control file now supports a "host" parameter which can be used by auditd to set the information; if not present, the kernel parameters won't be set and auditd uses unextended headers for records that it generates.
OpenBSM 1.1 alpha 1
- Add option to auditreduce(1) which allows users to invert sense of matching, such that BSM records that do not match, are selected. - Fix bug in audit_write() where we commit an incomplete record in the event there is an error writing the subject token. This was submitted by Diego Giagio. - Build support for Mac OS X 10.5.1 submitted by Eric Hall. - Fix a bug which resulted in host XML attributes not being printed while processing extended header tokens. This patch was submitted by Martin Voros. - Constification of function arguments so that const strings can be passed as arguments to tokens. This patch was submitted by Xin LI. - Modify the -m option so users can select more then one audit event. - For Mac OS X, added Mach IPC support for audit trigger messages. - Fixed a bug in getacna() which resulted in a locking problem on Mac OS X. - Added LOG_PERROR flag to openlog when -d option is used with auditd. - AUE events added for Mac OS X Leopard system calls.
_______________________________________________ trus...@FreeBSD.org mailing list http://lists.freebsd.org/mailman/listinfo/trustedbsd-audit To unsubscribe, send any mail to "trus...@FreeBSD.org"