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