]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/openbsm/HISTORY
Remove duplicated include files from HEAD that appear in both
[FreeBSD/FreeBSD.git] / contrib / openbsm / HISTORY
1 OpenBSM 1.0 alpha 9
2
3 - Rename many OpenBSM-specific constants and API elements containing the
4   strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true
5   for almost all existing constants and APIs.
6 - Instead of passing a per-instance cookie directly into all audit filter
7   APIs, pass in the audit filter daemon state pointer, which is then used by
8   the module using an audit_filter_{get,set}cookie() API.  This will allow
9   future service APIs provided by the filter daemon to maintain their own
10   state -- for example, per-module preselection state.
11
12 OpenBSM 1.0 alpha 8
13
14 - Correct typo in definition of AUR_INT.
15 - Adopt OpenSolaris constant values for AUDIT_* configuration flags.
16 - Arguments to au_to_exec_args() and au_to_exec_env() no longer const.
17 - Add kernel versions of au_to_exec_args() and au_to_exec_env().
18 - Fix exec argument type that is printed for env strings from 'arg' to 'env'.
19 - New OpenBSM token version number assigned, constants added for other
20   commonly seen version numbers.
21 - OpenBSM-specific events assigned numbers in the 43xxx range to avoid future
22   collisions with Solaris.  Darwin events renamed to AUE_DARWIN_foo, as they
23   are now deprecated numberings.
24 - autoconf now detects clock_gettime(), which is not available on Darwin.
25 - praudit output fixes relating to arg32 and arg64 tokens.
26 - Maximum record size updated to 64k-1 to match Solaris record size limit.
27 - Various style and comment cleanups in include files.
28
29 OpenBSM 1.0 alpha 7
30
31 - Adopted Solaris-compatible format for subject32_ex and subject64_ex
32   tokens, which previously did not correctly implement variable length
33   address storage.
34 - Prefer inttypes.h to stdint.h; enhance queue.h detection to test for
35   TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not
36   older ones.  OpenBSM now builds on some FreeBSD 4.x version.
37 - New event types for extended attributes, ACLs, and scheduling.
38
39 OpenBSM 1.0 alpha 6
40
41 - Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close();
42   previously we used hard-coded 0 and 1 values.
43 - Add man page for au_open(), au_write(), au_close(), and
44   au_close_buffer().
45 - Support a more complete range of data types for the arbitrary data token:
46   add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias
47   to AUR_INT), add AUR_INT64.
48 - Add au_close_token(), which allows writing a single token_t to a memory
49   buffer.  Not likely to be used much by applications, but useful for
50   writing test tools.
51 - Modify au_to_file() so that it accepts a timeval in user space, not just
52   kernel -- this is not a Solaris BSM API so can be modified without
53   causing compatibility issues.
54 - Define a new API, au_to_header32_tm(), which adds a struct timeval
55   argument to the ordinary au_to_header32(), which is now implemented by
56   wrapping au_to_header32_tm() and calling gettimeofday().  #ifndef KERNEL
57   the APIs that invoke gettimeofday(), rather than having a variable
58   definition.  Don't try to retrieve time zone information using
59   gettimeofday(), as it's not needed, and introduces possible failure
60   modes.
61 - Don't perform byte order transformations on the addr/machine fields of
62   the terminal ID that appears in the process32/subject32 tokens.  These
63   are assumed to be IP addresses, and as such, to be in network byte
64   order.
65 - Universally, APIs now assume that IP addresses and ports are provided
66   in network byte order.  APIs now generally provide these types in
67   network byte order when decoding.
68 - Beginnings of an OpenBSM test framework can now be found in openbsm/test.
69   This code is not built or installed by default.
70 - auditd now assigns more appropriate syslog levels to its debugging and
71   error information.
72 - Support for audit filters introduced: audit filters are dynamically
73   loaded shared objects that run in the context of a new daemon,
74   auditfilterd.  The daemon reads from an audit pipe and feeds both BSM and
75   parsed versions of records to shared objects using a module API.  This
76   will provide a framework for the writing of intrusion detection services.
77 - New utility API, audit_submit(), added to capture common elements of audit
78   record submission for many applications.
79
80 OpenBSM 1.0 alpha 5
81
82 - Update install notes to indicate /etc files are to be installed manually.
83 - On systems without LOG_SECURITY, use LOG_AUTH.
84 - Convert to autoconf/automake in order to move to a more portable (not
85   BSD-specific) build infrastructure, and more easy conditional building of
86   components.  Currently, the primary feature loss is that automake does
87   not have native support for manual symlinks.  This will be addressed in a
88   future OpenBSM release.
89 - Add compat/queue.h, to be used on systems dated BSD queue macro libraries
90   (as found on Linux).
91 - Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the
92   existing conventions for a CHANGELOG.
93 - Some private data structures moved from audit.h to audit_internal.h to
94   prevent inappropriate use by applications and name space pollution.
95 - Improved detection and use of endian macros using autoconf.
96 - Avoid non-portable use of struct in6_addr, which is largely opaque.
97 - Avoid leaking BSD kernel socket related token code to user space in
98   bsm_token.c.
99 - Teach System V IPC calls to look for Linux naming variations for certain
100   struct ipc_perm fields.
101 - Test for audit system calls, and if not present, don't build
102   bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on
103   those system calls.
104 - au_close() is not implemented on systems that don't have audit system
105   calls, but au_close_buffer() is.
106 - Work around missing BSDisms in bsm_wrapper.c.
107 - Fix nested includes so including libbsm.h in an application on Linux
108   picks up the necessary definitions.
109
110 OpenBSM 1.0 alpha 4
111
112 - Remove "audit" user example from audit_user, as it's not present on most
113   systems.
114 - Add cannot_audit() function non-Darwin systems that wraps auditon();
115   required by OpenSSH BSM support.  Convert Darwin cannot_audit() into a
116   function rather than a macro.
117 - Library build fixed on Darwin following include file tweaks.  The native
118   Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so
119   for now we force bsm_wrappers.c to not perform a nested include of
120   sys/audit.h.
121
122 OpenBSM 1.0 alpha 3
123
124 - Man page formatting, cross reference, mlinks, and accuracy improvements.
125 - auditd and tools now compile and run on FreeBSD/arm.
126 - auditd will now fchown() the trail file to the audit review group, if
127   defined at compile-time.
128 - Added AUE_SYSARCH for FreeBSD.
129 - Definition of AUE_SETFSGID fixed for Linux.
130
131 OpenBSM 1.0 alpha 2
132
133 - Man page formatting improvements.
134 - A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b
135   events.
136 - Remove 'tfm' class, unused in OpenBSM.
137
138 OpenBSM 1.0 alpha 1
139
140 - Import of Darwin74 BSM drop
141 - Use 'syslog' for audit log warnings, rather than echoing to a file in
142   audit_warn.
143 - Compile using BSD make infrastructure.
144 - Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM.
145 - Narrow set of symbols and defines that are exposed in user space: don't
146   compile in code relying on kernel-only types such as 'struct socket'.
147 - Add README, including basic build documentation.
148 - Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__.
149 - Staticize libbsm global variables to avoid leakage into application.
150 - Add free_au_user_ent() so that au_user_ent's don't have to be leaked.
151 - Clean up bogus nul-termination checks in libbsm.
152 - Add libbsm API man pages: au_class.3 au_control.3 au_event.3
153   au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3.
154 - Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2
155   getauid.2 setaudit.2 setauid.2
156 - Modify various libbsm interfaces to more consistently return 'errno' values
157   on failure.
158 - Break out au_close() into constituent parts, allowing records to be written
159   to memory as well as files.
160 - Prefix various defines with 'BSM_' to reduce name space pollution.
161 - Added audit_internal.h, which can be used by a kernel audit implementation
162   wanting to rely on libbsm components.
163 - Build with warnings, and eliminate warnings.
164 - Make libbsm endian-independent, storing and reading BSM are big endian
165   (network byte order) rather than native byte order.  More consistently
166   print IP addresses using the IP address print routine.  These changes
167   make use of sys/endian.h from *BSD; since this isn't present on Darwin,
168   add it to OpenBSM as compat/endian.h, which is used only on Darwin.
169 - Import of Darwin80 BSM drop, including 64-bit file IDs, better
170   documentation of private APIs, and bug fixes.
171 - White space cleanup.
172 - Add audit.log.5, a first cut at a man page documenting the BSM file format.
173 - Teach au_read_rec() to recognize stand-alone file tokens, which are present
174   at the beginning and end of Solaris audit trails.  Technically, these
175   appear to violate the high level BSM spec, which suggests that all tokens
176   are present in records, but need to be supported.
177 - Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible
178   to run praudit(1) on basic Solaris BSM streams.
179 - Switched to Solaris spelling of token names; Darwin spellings are now
180   deprecated and will be removed in a future version of OpenBSM.
181 - Adopt Solaris model for representing IPv4 and IPv6 addresses.
182 - Prefer C99 types.
183 - Attempt to universally adopt the BSD style(9) coding style for
184   consistency.
185 - auditreduce(1) now has a usage message.
186 - Update support for auditctl(2) system call to support FreeBSD.
187 - Add support for /dev/audit as the trigger source on FreeBSD.
188 - Add additional event types for Darwin, FreeBSD, and Solaris.  Annotate
189   conflicts (there are a few, unfortunately).  Correct spellings, comment,
190   sort, etc.  These include {get,set}res[ug]id(), sendfile(), lchflags(),
191   eaccess(), kqueue(), kevent(), poll(), lchmod().
192 - Relicensed under a BSD license, many thanks to Apple, Inc!
193 - Many bug fixes, cleanups, thread safety in the class, control, event,
194   and user system audit databases.  Annotate some persisting atomicity
195   bugs associated with the API and implementation.
196 - Add audump test tool.
197 - Adopt OpenSolaris BSM API memory semantics: caller allocates memory,
198   or static memory is returned for non-_r() versions of API calls.
199   _free() calls dropped as a result, and source code compatibility with
200   OpenSolaris improved significantly.
201 - Annotate BSM events with origin OS and compatibility information.
202 - auditd(8), audit(8) added to the OpenBSM distribution.  auditd extended
203   to support reloading of kernel event table.
204 - Allow comments in /etc/security configuration files.
205
206 $P4: //depot/projects/trustedbsd/openbsm/HISTORY#25 $