NEWS revision 196031
1184902SrwatsonOpenBSM Version History 2184902Srwatson 3196031SrwatsonOpenBSM 1.1p2 4196031Srwatson 5196031Srwatson- Fix audit_event definitions of AUE_OPENAT_RWT and AUE_OPENAT_RWTC. 6196031Srwatson- Fix build on Linux. 7196031Srwatson- Fix printing of class masks in the audump tool. 8196031Srwatson 9195740SrwatsonOpenBSM 1.1p1 10195740Srwatson 11195740Srwatson- Fixes to AUT_SOCKUNIX token parsing. 12195740Srwatson- IPv6 support for au_to_me(3). 13195740Srwatson- Improved robustness in the parsing of audit_control, especially long 14195740Srwatson flags/naflags strings and whitespace in all fields. 15195740Srwatson- Add missing conversion of a number of FreeBSD/Mac OS X errnos to/from BSM 16195740Srwatson error number space. 17195740Srwatson 18191273SrwatsonOpenBSM 1.1 19191273Srwatson 20191273Srwatson- Change auditon(2) parameters and data structures to be 32/64-bit architecture 21191273Srwatson independent. Add more information to man page about auditon(2) parameters. 22191273Srwatson- Add wrapper functions for auditon(2) to use legacy commands when the new 23191273Srwatson commands are not supported. 24191273Srwatson- Add default for 'expire-after' in audit_control to expire trail files when 25191273Srwatson the audit directory is more than 10 megabytes ('10M'). 26191273Srwatson- Interface to convert between local and BSM fcntl(2) command values has been 27191273Srwatson added: au_bsm_to_fcntl_cmd(3) and au_fcntl_cmd_to_bsm(3), along with 28191273Srwatson definitions of constants in audit_fcntl.h. 29191273Srwatson- A bug, introduced in OpenBSM 1.1 alpha 4, in which AUT_RETURN32 tokens 30191273Srwatson generated by audit_submit(3) were improperly encoded has been fixed. 31191273Srwatson- Fix example in audit_submit(3) man page. Also, make it clear that we want 32191273Srwatson the audit ID as the argument. 33191273Srwatson- A new audit event class 'aa', for post-login authentication and 34191273Srwatson authorization events, has been added. 35191273Srwatson 36189279SrwatsonOpenBSM 1.1 beta 1 37189279Srwatson 38189279Srwatson- The filesz parameter in audit_control(5) now accepts suffixes: 'B' for 39189279Srwatson Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes. 40189279Srwatson For legacy support no suffix defaults to bytes. 41189279Srwatson- Audit trail log expiration support added. It is configured in 42189279Srwatson audit_control(5) with the expire-after parameter. If there is no 43189279Srwatson expire-after parameter in audit_control(5), the default, then the audit 44189279Srwatson trail files are not expired and removed. See audit_control(5) for 45189279Srwatson more information. 46189279Srwatson- Change defaults in audit_control: warn at 5% rather than 20% free for audit 47189279Srwatson partitions, rotate automatically at 2mb, and set the default policy to 48189279Srwatson cnt,argv rather than cnt so that execve(2) arguments are captured if 49189279Srwatson AUE_EXECVE events are audited. These may provide more usable defaults for 50189279Srwatson many users. 51189279Srwatson- Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert 52189279Srwatson au_to_socket_ex(3) arguments to BSM format. 53189279Srwatson- Fix error encoding AUT_IPC_PERM tokens. 54189279Srwatson 55187214SrwatsonOpenBSM 1.1 alpha 5 56187214Srwatson 57187214Srwatson- Stub libauditd(3) man page added. 58187214Srwatson- All BSM error number constants with BSM_ERRNO_. 59187214Srwatson- Interfaces to convert between local and BSM socket types and protocol 60187214Srwatson families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3), 61187214Srwatson au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions 62187214Srwatson of constants in audit_domain.h and audit_socket_type.h. This improves 63187214Srwatson interoperability by converting local constant spaces, which vary by OS, to 64187214Srwatson and from Solaris constants (where available) or OpenBSM constants for 65187214Srwatson protocol domains not present in Solaris (a fair number). These routines 66187214Srwatson should be used when generating and interpreting extended socket tokens. 67187214Srwatson- Fix build warnings with full gcc warnings enabled on most supported 68187214Srwatson platforms. 69187214Srwatson- Don't compile error strings into bsm_errno.c when building it in the kernel 70187214Srwatson environment. 71187214Srwatson- When started by launchd, use the label com.apple.auditd rather than 72187214Srwatson org.trustedbsd.auditd. 73187214Srwatson 74186647SrwatsonOpenBSM 1.1 alpha 4 75186647Srwatson 76186647Srwatson- With the addition of BSM error number mapping, we also need to map the 77186647Srwatson local error number passed to audit_submit(3) to a BSM error number, rather 78186647Srwatson than have the caller perform that conversion. 79186647Srwatson- Reallocate user audit events to avoid collisions with Solaris; adopt a more 80186647Srwatson formal allocation scheme, and add some events allocated in Solaris that 81186647Srwatson will be of immediate use on other platforms. 82186647Srwatson- Add an event for Calife. 83186647Srwatson- Add au_strerror(3), which allows generating strings for BSM errors 84186647Srwatson directly, rather than requiring applications to map to the local error 85186647Srwatson space, which might not be able to entirely represent the BSM error number 86186647Srwatson space. 87186647Srwatson- Major auditd rewrite for launchd(8) support. Add libauditd library that is 88186647Srwatson shared between launchd and auditd. 89186647Srwatson- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for (re)starting 90186647Srwatson auditing under launchd(8) on Mac OS X. 91186647Srwatson- Add 'current' symlink to active audit trail. 92186647Srwatson- Add crash recovery of previous audit trail file when detected on audit 93186647Srwatson startup that it has not been properly terminated. 94186647Srwatson- Add the event AUE_audit_recovery to indicated when an audit trail file has 95186647Srwatson been recovered from not being properly terminated. This event is stored 96186647Srwatson in the new audit trail file and includes the path of recovered audit trail 97186647Srwatson file. 98186647Srwatson- Mac OS X and FreeBSD dependent code in auditd.c is separated into 99186647Srwatson auditd_darwin.c and auditd_fbsd.c files. 100186647Srwatson- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system calls. 101186647Srwatson- For Mac OS X, we use ASL(3) instead of syslog(3) for logging. 102186647Srwatson- Add support for NOTICE level logging. 103186647Srwatson 104186647SrwatsonOpenBSM 1.1 alpha 3 105186647Srwatson 106186647Srwatson- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map 107186647Srwatson between BSM error numbers (largely the Solaris definitions) and local 108186647Srwatson errno(2) values for 32-bit and 64-bit return tokens. This is required as 109186647Srwatson operating systems don't agree on some of the values of more recent error 110186647Srwatson numbers. 111186647Srwatson- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the total 112186647Srwatson size for the token. This bug resulted in "unknown" tokens being printed 113186647Srwatson after the exec args/env tokens. 114186647Srwatson- Support for AUT_SOCKET_EX extended socket tokens, which describe a socket 115186647Srwatson using a pair of IPv4/IPv6 and port tuples. 116186647Srwatson- OpenBSM BSM file header version bumped for 1.1 release. 117186647Srwatson- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed. 118186647Srwatson 119184902SrwatsonOpenBSM 1.1 alpha 2 120184902Srwatson 121184902Srwatson- Include files in OpenBSM are now broken out into two parts: library builds 122184902Srwatson required solely for user space, and system includes, which may also be 123184902Srwatson required for use in the kernels of systems integrating OpenBSM. Submitted 124184902Srwatson by Stacey Son. 125184902Srwatson- Configure option --with-native-includes allows forcing the use of native 126184902Srwatson include for system includes, rather than the versions bundled with OpenBSM. 127184902Srwatson This is intended specifically for platforms that ship OpenBSM, have adapted 128184902Srwatson versions of the system includes in a kernel source tree, and will use the 129184902Srwatson OpenBSM build infrastructure with an unmodified OpenBSM distribution, 130184902Srwatson allowing the customized system includes to be used with the OpenBSM build. 131184902Srwatson Submitted by Stacey Son. 132184902Srwatson- Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s 133184902Srwatson or asprintf(). Added compat/strlcpy.h for Linux. 134184902Srwatson- Remove compatibility defines for old Darwin token constant names; now only 135184902Srwatson BSM token names are provided and used. 136184902Srwatson- Add support for extended header tokens, which contain space for information 137184902Srwatson on the host generating the record. 138184902Srwatson- Add support for setting extended host information in the kernel, which is 139184902Srwatson used for setting host information in extended header tokens. The 140184902Srwatson audit_control file now supports a "host" parameter which can be used by 141184902Srwatson auditd to set the information; if not present, the kernel parameters won't 142184902Srwatson be set and auditd uses unextended headers for records that it generates. 143184902Srwatson 144184902SrwatsonOpenBSM 1.1 alpha 1 145184902Srwatson 146184902Srwatson- Add option to auditreduce(1) which allows users to invert sense of 147184902Srwatson matching, such that BSM records that do not match, are selected. 148184902Srwatson- Fix bug in audit_write() where we commit an incomplete record in the 149184902Srwatson event there is an error writing the subject token. This was submitted 150184902Srwatson by Diego Giagio. 151184902Srwatson- Build support for Mac OS X 10.5.1 submitted by Eric Hall. 152184902Srwatson- Fix a bug which resulted in host XML attributes not being printed 153184902Srwatson while processing extended header tokens. This patch was submitted by 154184902Srwatson Martin Voros. 155184902Srwatson- Constification of function arguments so that const strings can be passed 156184902Srwatson as arguments to tokens. This patch was submitted by Xin LI. 157184902Srwatson- Modify the -m option so users can select more then one audit event. 158184902Srwatson- For Mac OS X, added Mach IPC support for audit trigger messages. 159184902Srwatson- Fixed a bug in getacna() which resulted in a locking problem on Mac OS X. 160184902Srwatson- Added LOG_PERROR flag to openlog when -d option is used with auditd. 161184902Srwatson- AUE events added for Mac OS X Leopard system calls. 162184902Srwatson 163184902SrwatsonOpenBSM 1.0 164184902Srwatson 165184902Srwatson- Fix bug in auditreduce(1) which resulted in a memory fault/crash when 166184902Srwatson the user specified an event name with -m. 167184902Srwatson- Remove AU_.* hard-coded audit class constants, as audit classes are now 168184902Srwatson entirely dynamically configured using /etc/security/audit_class. 169184902Srwatson 170184902SrwatsonOpenBSM 1.0 alpha 15 171184902Srwatson 172184902Srwatson- Fix bug when processing in_addr_ex tokens. 173184902Srwatson- Restore the behavior of printing the string/text specified while 174184902Srwatson auditing arg32 tokens. 175184902Srwatson- Synchronized audit event list to Solaris, picking up the *at(2) system call 176184902Srwatson definitions, now required for FreeBSD and Linux. Added additional events 177184902Srwatson for *at(2) system calls not present in Solaris. 178184902Srwatson- Bugs in auditreduce(1) fixed allowing partial date strings to be used in 179184902Srwatson filtering events. 180184902Srwatson 181184902SrwatsonOpenBSM 1.0 alpha 14 182184902Srwatson 183184902Srwatson- Fix endian issues when processing IPv6 addresses for extended subject 184184902Srwatson and process tokens. 185184902Srwatson- gcc41 warnings clean. 186184902Srwatson- Teach audit_submit(3) about getaudit_addr(2). 187184902Srwatson- Add support for zonename tokens. 188184902Srwatson 189184902SrwatsonOpenBSM 1.0 alpha 13 190184902Srwatson 191184902Srwatson- compat/clock_gettime.h now provides a compatibility implementation of 192184902Srwatson clock_gettime(), which fixes building on Mac OS X. 193184902Srwatson- Countless man page improvements, markup fixes, content fixs, etc. 194184902Srwatson- XML printing support via "praudit -x". 195184902Srwatson- audit.log.5 expanded to include additional BSM token types. 196184902Srwatson- Added encoding and decoding routines for process64_ex, process32_ex, 197184902Srwatson subject32_ex, header64, and attr64 tokens. 198184902Srwatson- Additional audit event identifiers for listen, mlockall/munlockall, 199184902Srwatson getpath, POSIX message queues, and mandatory access control. 200184902Srwatson 201184902SrwatsonOpenBSM 1.0 alpha 12 202184902Srwatson 203184902Srwatson- Correct bug in auditreduce which prevented the -c option from working 204184902Srwatson correctly when the user specifies to process successful or failed events. 205184902Srwatson The problem stemmed from not having access to the return token at the time 206184902Srwatson the initial preselection occurred, but now a second preselection process 207184902Srwatson occurs while processing the return token. 208184902Srwatson- getacfilesz(3) API added to read new audit_control(5) filesz setting, 209184902Srwatson which auditd(8) now sets the kernel audit trail rotation size to. 210184902Srwatson- auditreduce(1) now uses stdin if no file names are specified on the command 211184902Srwatson line; this was the documented behavior previously, but it was not 212184902Srwatson implemented. Be more specific in auditreduce(1)'s examples section about 213184902Srwatson what might be done with the output of auditreduce. 214184902Srwatson- Add audit_warn(5) closefile event so that administrators can hook 215184902Srwatson termination of an audit trail file. For example, this might be used to 216184902Srwatson compress the trail file after it is closed. 217184902Srwatson- auditreduce(1) now uses regular expressions for pathname matching. Users can 218184902Srwatson now supply one or more (comma delimited) regular expressions for searching 219184902Srwatson the pathnames. If one of the regular expressions is prefixed with a tilde 220184902Srwatson (~), and a path matches, it will be excluded from the search results. 221184902Srwatson 222184902SrwatsonOpenBSM 1.0 alpha 11 223184902Srwatson 224184902Srwatson- Reclassify certain read/write operations as having no class rather than the 225184902Srwatson fr/fw class; our default classes audit intent (open) not operations (read, 226184902Srwatson write). 227184902Srwatson- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads 228184902Srwatson and writes of sysctls as separate events. Add additional kernel 229184902Srwatson environment and jail events for FreeBSD. 230184902Srwatson- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER 231184902Srwatson (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued 232184902Srwatson by the kernel audit implementation) so that they can be distinguished. 233184902Srwatson- Disable rate limiting of rotate requests; as the kernel doesn't retransmit 234184902Srwatson a dropped request, the log file will otherwise grow indefinitely if the 235184902Srwatson trigger is dropped. 236184902Srwatson- Improve auditd debugging output. 237184902Srwatson- Fix a number of threading related bugs in audit_control file reading 238184902Srwatson routines. 239184902Srwatson- Add APIs au_poltostr() and au_strtopol() to convert between text 240184902Srwatson representations of audit_control policy flags and the flags passed to 241184902Srwatson auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY). 242184902Srwatson- Add API getacpol() to return the 'policy:' entry from audit_control, an 243184902Srwatson extension to the Solaris file format to allow specification of policy 244184902Srwatson persistent flags. 245184902Srwatson- Update audump to print the audit_control policy field. 246184902Srwatson- Update auditd to read the audit_control policy field and set the kernel 247184902Srwatson policy to match it when configuring/reconfiguring. Remove the -s and -h 248184902Srwatson arguments as these policies are now set via the configuration file. If a 249184902Srwatson policy line is not found in the configuration file, continue with the 250184902Srwatson current default of setting AUDIT_CNT. 251184902Srwatson- Fix bugs in the parsing of large execve(2) arguments and environmental 252184902Srwatson variable tokens; increase maximum parsed argument and variable count. 253184902Srwatson- configure now detects strlcat(), used by policy-related functions. 254184902Srwatson- Reference token and record sample files added to test tree. 255184902Srwatson 256184902SrwatsonOpenBSM 1.0 alpha 10 257184902Srwatson 258184902Srwatson- auditd now generates complete audit records for its events, as required for 259184902Srwatson application-submitted audit records in the FreeBSD kernel audit 260184902Srwatson implementation. 261184902Srwatson 262184902SrwatsonOpenBSM 1.0 alpha 9 263184902Srwatson 264184902Srwatson- Rename many OpenBSM-specific constants and API elements containing the 265184902Srwatson strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true 266184902Srwatson for almost all existing constants and APIs. 267184902Srwatson- Instead of passing a per-instance cookie directly into all audit filter 268184902Srwatson APIs, pass in the audit filter daemon state pointer, which is then used by 269184902Srwatson the module using an audit_filter_{get,set}cookie() API. This will allow 270184902Srwatson future service APIs provided by the filter daemon to maintain their own 271184902Srwatson state -- for example, per-module preselection state. 272184902Srwatson 273184902SrwatsonOpenBSM 1.0 alpha 8 274184902Srwatson 275184902Srwatson- Correct typo in definition of AUR_INT. 276184902Srwatson- Adopt OpenSolaris constant values for AUDIT_* configuration flags. 277184902Srwatson- Arguments to au_to_exec_args() and au_to_exec_env() no longer const. 278184902Srwatson- Add kernel versions of au_to_exec_args() and au_to_exec_env(). 279184902Srwatson- Fix exec argument type that is printed for env strings from 'arg' to 'env'. 280184902Srwatson- New OpenBSM token version number assigned, constants added for other 281184902Srwatson commonly seen version numbers. 282184902Srwatson- OpenBSM-specific events assigned numbers in the 43xxx range to avoid future 283184902Srwatson collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they 284184902Srwatson are now deprecated numberings. 285184902Srwatson- autoconf now detects clock_gettime(), which is not available on Darwin. 286184902Srwatson- praudit output fixes relating to arg32 and arg64 tokens. 287184902Srwatson- Maximum record size updated to 64k-1 to match Solaris record size limit. 288184902Srwatson- Various style and comment cleanups in include files. 289184902Srwatson 290184902SrwatsonOpenBSM 1.0 alpha 7 291184902Srwatson 292184902Srwatson- Adopted Solaris-compatible format for subject32_ex and subject64_ex 293184902Srwatson tokens, which previously did not correctly implement variable length 294184902Srwatson address storage. 295184902Srwatson- Prefer inttypes.h to stdint.h; enhance queue.h detection to test for 296184902Srwatson TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not 297184902Srwatson older ones. OpenBSM now builds on some FreeBSD 4.x versions. 298184902Srwatson- New event types for extended attributes, ACLs, and scheduling. 299184902Srwatson 300184902SrwatsonOpenBSM 1.0 alpha 6 301184902Srwatson 302184902Srwatson- Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close(); 303184902Srwatson previously we used hard-coded 0 and 1 values. 304184902Srwatson- Add man page for au_open(), au_write(), au_close(), and 305184902Srwatson au_close_buffer(). 306184902Srwatson- Support a more complete range of data types for the arbitrary data token: 307184902Srwatson add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias 308184902Srwatson to AUR_INT), add AUR_INT64. 309184902Srwatson- Add au_close_token(), which allows writing a single token_t to a memory 310184902Srwatson buffer. Not likely to be used much by applications, but useful for 311184902Srwatson writing test tools. 312184902Srwatson- Modify au_to_file() so that it accepts a timeval in user space, not just 313184902Srwatson kernel -- this is not a Solaris BSM API so can be modified without 314184902Srwatson causing compatibility issues. 315184902Srwatson- Define a new API, au_to_header32_tm(), which adds a struct timeval 316184902Srwatson argument to the ordinary au_to_header32(), which is now implemented by 317184902Srwatson wrapping au_to_header32_tm() and calling gettimeofday(). #ifndef KERNEL 318184902Srwatson the APIs that invoke gettimeofday(), rather than having a variable 319184902Srwatson definition. Don't try to retrieve time zone information using 320184902Srwatson gettimeofday(), as it's not needed, and introduces possible failure 321184902Srwatson modes. 322184902Srwatson- Don't perform byte order transformations on the addr/machine fields of 323184902Srwatson the terminal ID that appears in the process32/subject32 tokens. These 324184902Srwatson are assumed to be IP addresses, and as such, to be in network byte 325184902Srwatson order. 326184902Srwatson- Universally, APIs now assume that IP addresses and ports are provided 327184902Srwatson in network byte order. APIs now generally provide these types in 328184902Srwatson network byte order when decoding. 329184902Srwatson- Beginnings of an OpenBSM test framework can now be found in openbsm/test. 330184902Srwatson This code is not built or installed by default. 331184902Srwatson- auditd now assigns more appropriate syslog levels to its debugging and 332184902Srwatson error information. 333184902Srwatson- Support for audit filters introduced: audit filters are dynamically 334184902Srwatson loaded shared objects that run in the context of a new daemon, 335184902Srwatson auditfilterd. The daemon reads from an audit pipe and feeds both BSM and 336184902Srwatson parsed versions of records to shared objects using a module API. This 337184902Srwatson will provide a framework for the writing of intrusion detection services. 338184902Srwatson- New utility API, audit_submit(), added to capture common elements of audit 339184902Srwatson record submission for many applications. 340184902Srwatson 341184902SrwatsonOpenBSM 1.0 alpha 5 342184902Srwatson 343184902Srwatson- Update install notes to indicate /etc files are to be installed manually. 344184902Srwatson- On systems without LOG_SECURITY, use LOG_AUTH. 345184902Srwatson- Convert to autoconf/automake in order to move to a more portable (not 346184902Srwatson BSD-specific) build infrastructure, and more easy conditional building of 347184902Srwatson components. Currently, the primary feature loss is that automake does 348184902Srwatson not have native support for manual symlinks. This will be addressed in a 349184902Srwatson future OpenBSM release. 350184902Srwatson- Add compat/queue.h, to be used on systems dated BSD queue macro libraries 351184902Srwatson (as found on Linux). 352184902Srwatson- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the 353184902Srwatson existing conventions for a CHANGELOG. 354184902Srwatson- Some private data structures moved from audit.h to audit_internal.h to 355184902Srwatson prevent inappropriate use by applications and name space pollution. 356184902Srwatson- Improved detection and use of endian macros using autoconf. 357184902Srwatson- Avoid non-portable use of struct in6_addr, which is largely opaque. 358184902Srwatson- Avoid leaking BSD kernel socket related token code to user space in 359184902Srwatson bsm_token.c. 360184902Srwatson- Teach System V IPC calls to look for Linux naming variations for certain 361184902Srwatson struct ipc_perm fields. 362184902Srwatson- Test for audit system calls, and if not present, don't build 363184902Srwatson bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on 364184902Srwatson those system calls. 365184902Srwatson- au_close() is not implemented on systems that don't have audit system 366184902Srwatson calls, but au_close_buffer() is. 367184902Srwatson- Work around missing BSDisms in bsm_wrapper.c. 368184902Srwatson- Fix nested includes so including libbsm.h in an application on Linux 369184902Srwatson picks up the necessary definitions. 370184902Srwatson 371184902SrwatsonOpenBSM 1.0 alpha 4 372184902Srwatson 373184902Srwatson- Remove "audit" user example from audit_user, as it's not present on most 374184902Srwatson systems. 375184902Srwatson- Add cannot_audit() function non-Darwin systems that wraps auditon(); 376184902Srwatson required by OpenSSH BSM support. Convert Darwin cannot_audit() into a 377184902Srwatson function rather than a macro. 378184902Srwatson- Library build fixed on Darwin following include file tweaks. The native 379184902Srwatson Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so 380184902Srwatson for now we force bsm_wrappers.c to not perform a nested include of 381184902Srwatson sys/audit.h. 382184902Srwatson 383184902SrwatsonOpenBSM 1.0 alpha 3 384184902Srwatson 385184902Srwatson- Man page formatting, cross reference, mlinks, and accuracy improvements. 386184902Srwatson- auditd and tools now compile and run on FreeBSD/arm. 387184902Srwatson- auditd will now fchown() the trail file to the audit review group, if 388184902Srwatson defined at compile-time. 389184902Srwatson- Added AUE_SYSARCH for FreeBSD. 390184902Srwatson- Definition of AUE_SETFSGID fixed for Linux. 391184902Srwatson 392184902SrwatsonOpenBSM 1.0 alpha 2 393184902Srwatson 394184902Srwatson- Man page formatting improvements. 395184902Srwatson- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b 396184902Srwatson events. 397184902Srwatson- Remove 'tfm' class, unused in OpenBSM. 398184902Srwatson 399184902SrwatsonOpenBSM 1.0 alpha 1 400184902Srwatson 401184902Srwatson- Import of Darwin74 BSM drop 402184902Srwatson- Use 'syslog' for audit log warnings, rather than echoing to a file in 403184902Srwatson audit_warn. 404184902Srwatson- Compile using BSD make infrastructure. 405184902Srwatson- Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM. 406184902Srwatson- Narrow set of symbols and defines that are exposed in user space: don't 407184902Srwatson compile in code relying on kernel-only types such as 'struct socket'. 408184902Srwatson- Add README, including basic build documentation. 409184902Srwatson- Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__. 410184902Srwatson- Staticize libbsm global variables to avoid leakage into applications. 411184902Srwatson- Add free_au_user_ent() so that au_user_ent's don't have to be leaked. 412184902Srwatson- Clean up bogus nul-termination checks in libbsm. 413184902Srwatson- Add libbsm API man pages: au_class.3 au_control.3 au_event.3 414184902Srwatson au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3. 415184902Srwatson- Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2 416184902Srwatson getauid.2 setaudit.2 setauid.2 417184902Srwatson- Modify various libbsm interfaces to more consistently return 'errno' values 418184902Srwatson on failure. 419184902Srwatson- Break out au_close() into constituent parts, allowing records to be written 420184902Srwatson to memory as well as files. 421184902Srwatson- Prefix various defines with 'BSM_' to reduce name space pollution. 422184902Srwatson- Added audit_internal.h, which can be used by a kernel audit implementation 423184902Srwatson wanting to rely on libbsm components. 424184902Srwatson- Build with warnings, and eliminate warnings. 425184902Srwatson- Make libbsm endian-independent, storing and reading BSM are big endian 426184902Srwatson (network byte order) rather than native byte order. More consistently 427184902Srwatson print IP addresses using the IP address print routine. These changes 428184902Srwatson make use of sys/endian.h from *BSD; since this isn't present on Darwin, 429184902Srwatson add it to OpenBSM as compat/endian.h, which is used only on Darwin. 430184902Srwatson- Import of Darwin80 BSM drop, including 64-bit file IDs, better 431184902Srwatson documentation of private APIs, and bug fixes. 432184902Srwatson- White space cleanup. 433184902Srwatson- Add audit.log.5, a first cut at a man page documenting the BSM file format. 434184902Srwatson- Teach au_read_rec() to recognize stand-alone file tokens, which are present 435184902Srwatson at the beginning and end of Solaris audit trails. Technically, these 436184902Srwatson appear to violate the high level BSM spec, which suggests that all tokens 437184902Srwatson are present in records, but need to be supported. 438184902Srwatson- Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible 439184902Srwatson to run praudit(1) on basic Solaris BSM streams. 440184902Srwatson- Switched to Solaris spelling of token names; Darwin spellings are now 441184902Srwatson deprecated and will be removed in a future version of OpenBSM. 442184902Srwatson- Adopt Solaris model for representing IPv4 and IPv6 addresses. 443184902Srwatson- Prefer C99 types. 444184902Srwatson- Attempt to universally adopt the BSD style(9) coding style for 445184902Srwatson consistency. 446184902Srwatson- auditreduce(1) now has a usage message. 447184902Srwatson- Update support for auditctl(2) system call to support FreeBSD. 448184902Srwatson- Add support for /dev/audit as the trigger source on FreeBSD. 449184902Srwatson- Add additional event types for Darwin, FreeBSD, and Solaris. Annotate 450184902Srwatson conflicts (there are a few, unfortunately). Correct spellings, comment, 451184902Srwatson sort, etc. These include {get,set}res[ug]id(), sendfile(), lchflags(), 452184902Srwatson eaccess(), kqueue(), kevent(), poll(), lchmod(). 453184902Srwatson- Relicensed under a BSD license, many thanks to Apple, Inc! 454184902Srwatson- Many bug fixes, cleanups, thread safety in the class, control, event, 455184902Srwatson and user system audit databases. Annotate some persisting atomicity 456184902Srwatson bugs associated with the API and implementation. 457184902Srwatson- Add audump test tool. 458184902Srwatson- Adopt OpenSolaris BSM API memory semantics: caller allocates memory, 459184902Srwatson or static memory is returned for non-_r() versions of API calls. 460184902Srwatson _free() calls dropped as a result, and source code compatibility with 461184902Srwatson OpenSolaris improved significantly. 462184902Srwatson- Annotate BSM events with origin OS and compatibility information. 463184902Srwatson- auditd(8), audit(8) added to the OpenBSM distribution. auditd extended 464184902Srwatson to support reloading of kernel event table. 465184902Srwatson- Allow comments in /etc/security configuration files. 466184902Srwatson 467196031Srwatson$P4: //depot/projects/trustedbsd/openbsm/NEWS#43 $ 468