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