3 - Fix bug in auditreduce(8) which resulted in a memory fault/crash when
4 the user specified an event name with -m.
5 - Remove AU_.* hard-coded audit class constants, as udit classes are now
6 entirely dynamically configured using /etc/security/audit_class.
10 - Fix bug when processing in_addr_ex tokens.
11 - Restore the behavior of printing the string/text specified while
12 auditing arg32 tokens.
13 - Synchronized audit event list to Solaris, picking up the *at(2) system call
14 definitions, now required for FreeBSD and Linux. Added additional events
15 for *at(2) system calls not present in Solaris.
16 - Bugs in auditreduce(8) fixed allowing partial date strings to be used in
21 - Fix endian issues when processing IPv6 addresses for extended subject
23 - gcc41 warnings clean.
24 - Teach audit_submit(3) about getaudit_addr(2).
25 - Add support for zonename tokens.
29 - compat/clock_gettime.h now provides a compatibility implementation of
30 clock_gettime(), which fixes building on Mac OS X.
31 - Countless man page improvements, markup fixes, content fixs, etc.
32 - XML printing support via "praudit -x".
33 - audit.log.5 expanded to include additional BSM token types.
34 - Added encoding and decoding routines for process64_ex, process32_ex,
35 subject32_ex, header64, and attr64 tokens.
36 - Additional audit event identifiers for listen, mlockall/munlockall,
37 getpath, POSIX message queues, and mandatory access control.
41 - Correct bug in auditreduce which prevented the -c option from working
42 correctly when the user specifies to process successful or failed events.
43 The problem stemmed from not having access to the return token at the time
44 the initial preselection occurred, but now a second preselection process
45 occurs while processing the return token.
46 - getacfilesz(3) API added to read new audit_control(5) filesz setting,
47 which auditd(8) now sets the kernel audit trail rotation size to.
48 - auditreduce(1) now uses stdin if no file names are specified on the command
49 line; this was the documented behavior previously, but it was not
50 implemented. Be more specific in auditreduce(1)'s examples section about
51 what might be done with the output of auditreduce.
52 - Add audit_warn(5) closefile event so that administrators can hook
53 termination of an audit trail file. For example, this might be used to
54 compress the trail file after it is closed.
55 - auditreduce(1) now uses regular expressions for pathname matching. Users can
56 now supply one or more (comma delimited) regular expressions for searching
57 the pathnames. If one of the regular expressions is prefixed with a tilde
58 (~), and a path matches, it will be excluded from the search results.
62 - Reclassify certain read/write operations as having no class rather than the
63 fr/fw class; our default classes audit intent (open) not operations (read,
65 - Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads
66 and writes of sysctls as separate events. Add additional kernel
67 environment and jail events for FreeBSD.
68 - Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER
69 (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued
70 by the kernel audit implementation) so that they can be distinguished.
71 - Disable rate limiting of rotate requests; as the kernel doesn't retransmit
72 a dropped request, the log file will otherwise grow indefinitely if the
74 - Improve auditd debugging output.
75 - Fix a number of threading related bugs in audit_control file reading
77 - Add APIs au_poltostr() and au_strtopol() to convert between text
78 representations of audit_control policy flags and the flags passed to
79 auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY).
80 - Add API getacpol() to return the 'policy:' entry from audit_control, an
81 extension to the Solaris file format to allow specification of policy
83 - Update audump to print the audit_control policy field.
84 - Update auditd to read the audit_control policy field and set the kernel
85 policy to match it when configuring/reconfiguring. Remove the -s and -h
86 arguments as these policies are now set via the configuration file. If a
87 policy line is not found in the configuration file, continue with the
88 current default of setting AUDIT_CNT.
89 - Fix bugs in the parsing of large execve(2) arguments and environmental
90 variable tokens; increase maximum parsed argument and variable count.
91 - configure now detects strlcat(), used by policy-related functions.
92 - Reference token and record sample files added to test tree.
96 - auditd now generates complete audit records for its events, as required for
97 application-submitted audit records in the the FreeBSD kernel audit
102 - Rename many OpenBSM-specific constants and API elements containing the
103 strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true
104 for almost all existing constants and APIs.
105 - Instead of passing a per-instance cookie directly into all audit filter
106 APIs, pass in the audit filter daemon state pointer, which is then used by
107 the module using an audit_filter_{get,set}cookie() API. This will allow
108 future service APIs provided by the filter daemon to maintain their own
109 state -- for example, per-module preselection state.
113 - Correct typo in definition of AUR_INT.
114 - Adopt OpenSolaris constant values for AUDIT_* configuration flags.
115 - Arguments to au_to_exec_args() and au_to_exec_env() no longer const.
116 - Add kernel versions of au_to_exec_args() and au_to_exec_env().
117 - Fix exec argument type that is printed for env strings from 'arg' to 'env'.
118 - New OpenBSM token version number assigned, constants added for other
119 commonly seen version numbers.
120 - OpenBSM-specific events assigned numbers in the 43xxx range to avoid future
121 collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they
122 are now deprecated numberings.
123 - autoconf now detects clock_gettime(), which is not available on Darwin.
124 - praudit output fixes relating to arg32 and arg64 tokens.
125 - Maximum record size updated to 64k-1 to match Solaris record size limit.
126 - Various style and comment cleanups in include files.
130 - Adopted Solaris-compatible format for subject32_ex and subject64_ex
131 tokens, which previously did not correctly implement variable length
133 - Prefer inttypes.h to stdint.h; enhance queue.h detection to test for
134 TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not
135 older ones. OpenBSM now builds on some FreeBSD 4.x version.
136 - New event types for extended attributes, ACLs, and scheduling.
140 - Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close();
141 previously we used hard-coded 0 and 1 values.
142 - Add man page for au_open(), au_write(), au_close(), and
144 - Support a more complete range of data types for the arbitrary data token:
145 add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias
146 to AUR_INT), add AUR_INT64.
147 - Add au_close_token(), which allows writing a single token_t to a memory
148 buffer. Not likely to be used much by applications, but useful for
150 - Modify au_to_file() so that it accepts a timeval in user space, not just
151 kernel -- this is not a Solaris BSM API so can be modified without
152 causing compatibility issues.
153 - Define a new API, au_to_header32_tm(), which adds a struct timeval
154 argument to the ordinary au_to_header32(), which is now implemented by
155 wrapping au_to_header32_tm() and calling gettimeofday(). #ifndef KERNEL
156 the APIs that invoke gettimeofday(), rather than having a variable
157 definition. Don't try to retrieve time zone information using
158 gettimeofday(), as it's not needed, and introduces possible failure
160 - Don't perform byte order transformations on the addr/machine fields of
161 the terminal ID that appears in the process32/subject32 tokens. These
162 are assumed to be IP addresses, and as such, to be in network byte
164 - Universally, APIs now assume that IP addresses and ports are provided
165 in network byte order. APIs now generally provide these types in
166 network byte order when decoding.
167 - Beginnings of an OpenBSM test framework can now be found in openbsm/test.
168 This code is not built or installed by default.
169 - auditd now assigns more appropriate syslog levels to its debugging and
171 - Support for audit filters introduced: audit filters are dynamically
172 loaded shared objects that run in the context of a new daemon,
173 auditfilterd. The daemon reads from an audit pipe and feeds both BSM and
174 parsed versions of records to shared objects using a module API. This
175 will provide a framework for the writing of intrusion detection services.
176 - New utility API, audit_submit(), added to capture common elements of audit
177 record submission for many applications.
181 - Update install notes to indicate /etc files are to be installed manually.
182 - On systems without LOG_SECURITY, use LOG_AUTH.
183 - Convert to autoconf/automake in order to move to a more portable (not
184 BSD-specific) build infrastructure, and more easy conditional building of
185 components. Currently, the primary feature loss is that automake does
186 not have native support for manual symlinks. This will be addressed in a
187 future OpenBSM release.
188 - Add compat/queue.h, to be used on systems dated BSD queue macro libraries
190 - Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the
191 existing conventions for a CHANGELOG.
192 - Some private data structures moved from audit.h to audit_internal.h to
193 prevent inappropriate use by applications and name space pollution.
194 - Improved detection and use of endian macros using autoconf.
195 - Avoid non-portable use of struct in6_addr, which is largely opaque.
196 - Avoid leaking BSD kernel socket related token code to user space in
198 - Teach System V IPC calls to look for Linux naming variations for certain
199 struct ipc_perm fields.
200 - Test for audit system calls, and if not present, don't build
201 bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on
203 - au_close() is not implemented on systems that don't have audit system
204 calls, but au_close_buffer() is.
205 - Work around missing BSDisms in bsm_wrapper.c.
206 - Fix nested includes so including libbsm.h in an application on Linux
207 picks up the necessary definitions.
211 - Remove "audit" user example from audit_user, as it's not present on most
213 - Add cannot_audit() function non-Darwin systems that wraps auditon();
214 required by OpenSSH BSM support. Convert Darwin cannot_audit() into a
215 function rather than a macro.
216 - Library build fixed on Darwin following include file tweaks. The native
217 Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so
218 for now we force bsm_wrappers.c to not perform a nested include of
223 - Man page formatting, cross reference, mlinks, and accuracy improvements.
224 - auditd and tools now compile and run on FreeBSD/arm.
225 - auditd will now fchown() the trail file to the audit review group, if
226 defined at compile-time.
227 - Added AUE_SYSARCH for FreeBSD.
228 - Definition of AUE_SETFSGID fixed for Linux.
232 - Man page formatting improvements.
233 - A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b
235 - Remove 'tfm' class, unused in OpenBSM.
239 - Import of Darwin74 BSM drop
240 - Use 'syslog' for audit log warnings, rather than echoing to a file in
242 - Compile using BSD make infrastructure.
243 - Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM.
244 - Narrow set of symbols and defines that are exposed in user space: don't
245 compile in code relying on kernel-only types such as 'struct socket'.
246 - Add README, including basic build documentation.
247 - Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__.
248 - Staticize libbsm global variables to avoid leakage into application.
249 - Add free_au_user_ent() so that au_user_ent's don't have to be leaked.
250 - Clean up bogus nul-termination checks in libbsm.
251 - Add libbsm API man pages: au_class.3 au_control.3 au_event.3
252 au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3.
253 - Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2
254 getauid.2 setaudit.2 setauid.2
255 - Modify various libbsm interfaces to more consistently return 'errno' values
257 - Break out au_close() into constituent parts, allowing records to be written
258 to memory as well as files.
259 - Prefix various defines with 'BSM_' to reduce name space pollution.
260 - Added audit_internal.h, which can be used by a kernel audit implementation
261 wanting to rely on libbsm components.
262 - Build with warnings, and eliminate warnings.
263 - Make libbsm endian-independent, storing and reading BSM are big endian
264 (network byte order) rather than native byte order. More consistently
265 print IP addresses using the IP address print routine. These changes
266 make use of sys/endian.h from *BSD; since this isn't present on Darwin,
267 add it to OpenBSM as compat/endian.h, which is used only on Darwin.
268 - Import of Darwin80 BSM drop, including 64-bit file IDs, better
269 documentation of private APIs, and bug fixes.
270 - White space cleanup.
271 - Add audit.log.5, a first cut at a man page documenting the BSM file format.
272 - Teach au_read_rec() to recognize stand-alone file tokens, which are present
273 at the beginning and end of Solaris audit trails. Technically, these
274 appear to violate the high level BSM spec, which suggests that all tokens
275 are present in records, but need to be supported.
276 - Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible
277 to run praudit(1) on basic Solaris BSM streams.
278 - Switched to Solaris spelling of token names; Darwin spellings are now
279 deprecated and will be removed in a future version of OpenBSM.
280 - Adopt Solaris model for representing IPv4 and IPv6 addresses.
282 - Attempt to universally adopt the BSD style(9) coding style for
284 - auditreduce(1) now has a usage message.
285 - Update support for auditctl(2) system call to support FreeBSD.
286 - Add support for /dev/audit as the trigger source on FreeBSD.
287 - Add additional event types for Darwin, FreeBSD, and Solaris. Annotate
288 conflicts (there are a few, unfortunately). Correct spellings, comment,
289 sort, etc. These include {get,set}res[ug]id(), sendfile(), lchflags(),
290 eaccess(), kqueue(), kevent(), poll(), lchmod().
291 - Relicensed under a BSD license, many thanks to Apple, Inc!
292 - Many bug fixes, cleanups, thread safety in the class, control, event,
293 and user system audit databases. Annotate some persisting atomicity
294 bugs associated with the API and implementation.
295 - Add audump test tool.
296 - Adopt OpenSolaris BSM API memory semantics: caller allocates memory,
297 or static memory is returned for non-_r() versions of API calls.
298 _free() calls dropped as a result, and source code compatibility with
299 OpenSolaris improved significantly.
300 - Annotate BSM events with origin OS and compatibility information.
301 - auditd(8), audit(8) added to the OpenBSM distribution. auditd extended
302 to support reloading of kernel event table.
303 - Allow comments in /etc/security configuration files.
305 $P4: //depot/projects/trustedbsd/openbsm/HISTORY#57 $