Commit Graph

473 Commits

Author SHA1 Message Date
Steve Grubb
81b218677a - In auditd if num_logs is zero, don't rotate on SIGUSR1 (#208834)
- Fix some defines in libaudit.h
- Some auditd config strings were not initialized in aureport (#211443)
- Updated man pages
- Add Netlabel event types to libaudit
- Update aureports to current audit event types
- Update autrace a little
- Deprecated all the old audit_rule functions from public API
- Drop auparse library for the moment
2006-10-24 18:16:19 +00:00
Steve Grubb
dd1a104375 another attempt to fix ia64 2006-09-29 21:30:51 +00:00
Steve Grubb
2ae90f4803 adjustment for ia64 2006-09-29 21:22:26 +00:00
Steve Grubb
c02ad9a6db - Add dist tag and bump version (#208532)
- Make internal auditd buffers bigger for context info
- Correct address resolving of hostname in logging functions
- Do not allow multiple msgtypes in same audit rule in auditctl (#207666)
- Only =, != operators for arch & inode fields in auditctl (#206427)
- Updated audit message type table
- Remove watches from aureport since FS_WATCH is deprecated
- Add audit_log_avc back temporarily (#208152)
2006-09-29 20:48:53 +00:00
Steve Grubb
82a277c60b - Fix logging messages to use addr if passed.
- Apply patches from Tony Jones correcting no kernel support messages
- Updated syscall tables for 2.6.18 kernel
- Remove deprecated functions: audit_log, audit_log_avc,
    audit_log_if_enabled
- Disallow syscall auditing on exclude list
- Improve time handling in ausearch and aureport (#191394)
- Attempt to reconstruct full path from relative for searching
2006-09-19 00:04:08 +00:00
Steve Grubb
329251008e - Rename audit event socket 2006-08-30 20:58:41 +00:00
Steve Grubb
8b804cd322 - Another minor update to auditctl -p option 2006-08-28 23:03:50 +00:00
Steve Grubb
3dec9bc74e - Apply updates to dispatcher
- Fix a couple bugs regarding MLS labels
- Resurrect -p option
- Tighten rules with exclude filter
- Fix parsing issue which lead to segfault in some cases
- Fix option parsing to ignore malformed lines
2006-08-26 19:57:03 +00:00
Jesse Keating
50c84f0839 rebuilt with latest binutils 2006-08-18 20:10:47 +00:00
Daniel J Walsh
e4fd4c2eea - Remove debug lines from dispatcher 2006-08-08 17:26:37 +00:00
Daniel J Walsh
46837eb3a7 - Change audisp to use a named pipe 2006-08-06 00:03:41 +00:00
Steve Grubb
979da90c90 - Fix dispatcher to handle sigchld
- Fix library location for 64 bit
- Add Prereq
2006-07-27 21:34:08 +00:00
Daniel J Walsh
965e81bc28 Update to fix 64 bit platform 2006-07-27 20:56:59 +00:00
Daniel J Walsh
cb2a3832b6 - Eliminate avc package from audisp 2006-07-21 13:27:22 +00:00
Daniel J Walsh
61d4080ded - More fixes for setroubleshoot to handle failing plugin 2006-07-19 13:12:02 +00:00
Daniel J Walsh
25f2ae95dc - Fixes for setroubleshoot 2006-07-14 18:49:02 +00:00
Steve Grubb
cb9ea2d589 - Switch out dispatcher
- Fix bug upgrading rule types
2006-07-13 20:38:11 +00:00
Jesse Keating
bcf52d7fa0 bumped for rebuild 2006-07-12 05:23:20 +00:00
Steve Grubb
ca97ebc206 - Add support for the new filter key
- Update syscall tables for 2.6.17
- Add audit failure query function
- Switch out gethostbyname call with getaddrinfo
- Add audit by obj capability for 2.6.18 kernel
- Ausearch & aureport now fail if no args to -te
- New auditd.conf option to choose blocking/non-blocking dispatcher comm
- Ausearch improved search by label
2006-06-30 20:30:02 +00:00
Steve Grubb
170d0eae07 release number was wrong 2006-05-25 16:24:12 +00:00
Steve Grubb
d6587396da - Apply patch to ensure watches only associate with exit filter
- Apply patch to correctly show new operators when new listing format is
    used
- Apply patch to pull kernel's audit.h into python bindings
- Collect signal sender's context
2006-05-25 16:22:33 +00:00
David Woodhouse
db346efb41 fix kernel-headers requirement, again 2006-05-16 15:02:36 +00:00
Steve Grubb
835c1962e5 minor adjustment to directory permission 2006-05-12 21:09:26 +00:00
Steve Grubb
ca188de775 - Updates for new glibc-kernheaders
- Change auditctl to collect list of rules then delete them on -D
- Update capp.rules and lspp.rules to comment out rules for the possible
    list
- Add new message types
- Support sigusr1 sender identity of newer kernels
- Add support for ppid in auditctl and ausearch
- fix auditctl to trim the '/' from watches
- Move audit daemon config files to /etc/audit for better SE Linux
    protection
2006-05-12 21:04:25 +00:00
David Woodhouse
e147a719cd Fix typo. Harder. 2006-04-28 17:09:58 +00:00
David Woodhouse
c06e8d738a Fir type in patch name 2006-04-28 17:06:18 +00:00
David Woodhouse
994c362576 Update for kernel headers changes 2006-04-28 15:39:53 +00:00
David Woodhouse
1fe1de1d67 Require kernel-headers, not glibc-kernheaders 2006-04-26 16:17:04 +00:00
Steve Grubb
948327f352 - New message type for trusted apps
- Add new keywords today, yesterday, now for ausearch and aureport
- Make audit_log_user_avc_message really send to syslog on error
- Updated syscall tables in auditctl
- Deprecated the 'possible' action for syscall rules in auditctl
- Update watch code to use file syscalls instead of 'all' in auditctl
2006-04-16 20:33:48 +00:00
Steve Grubb
69c5a160ca - Add support for new file system auditing kernel subsystem 2006-04-07 21:06:18 +00:00
Steve Grubb
42d612f4c7 - New message types
- Support new rule format found in 2.6.17 and later kernels
- Add support for audit by role, clearance, type, sensitivity
2006-04-07 01:33:11 +00:00
Steve Grubb
364ae9db02 remove 1.1.4 from source file 2006-03-06 22:18:51 +00:00
Steve Grubb
7f66efebc1 - Changed audit_log_semanage_message to take new params
- In aureport, add class between syscall and permission in avc report
- Fix bug where fsync is called in debug mode
- Add optional support for tty in SYSCALL records for ausearch/aureport
- Reinstate legacy rule operator support
- Add man pages
- Auditd ignore most signals
2006-03-06 22:18:21 +00:00
Jesse Keating
e8cdd41fd9 bump for bug in double-long on ppc(64) 2006-02-11 01:59:34 +00:00
Steve Grubb
e37b110a23 - Change audit_log_semanage_message to check strlen as well as NULL. 2006-02-10 22:42:34 +00:00
Steve Grubb
b26a2c9eef - Change audit_log_semanage_message to check strlen as well as NULL. 2006-02-10 18:39:57 +00:00
Steve Grubb
6a7f689980 - Change audit_log_semanage_message to take new params. 2006-02-09 22:21:09 +00:00
Steve Grubb
cab4872cd7 - Change audit_log_semanage_message to take new params. 2006-02-09 21:18:22 +00:00
Steve Grubb
4a74d3aca2 - Fix bug in autrace where it didn't run on kernels without file watch
support
- Add syslog message to auditd saying what program was started for
    dispatcher
- Remove audit_send_user from public api
- Fix bug in USER_LOGIN messages where ausearch does not translate
    msg='uid=500: into acct name (#178102).
- Change comm with dispatcher to socketpair from pipe
- Change auditd to use custom daemonize to avoid race in init scripts
- Update error message when deleting a rule that doesn't exist (#176239)
- Call shutdown_dispatcher when auditd stops
- Add new logging function audit_log_semanage_message
2006-02-08 23:08:01 +00:00
Jesse Keating
162646c439 bump for new gcc/glibc 2006-02-07 11:02:55 +00:00
Steve Grubb
22affea5bd - Add timestamp to daemon_config messages (#174865)
- Add error checking of year for aureport & ausearh
- Treat af_unix sockets as files for searching and reporting
- Update capp & lspp rules to combine syscalls for higher performance
- Adjusted the chkconfig line for auditd to start a little earlier
- Added skeleton program to docs for people to write their own dispatcher
    with
- Apply patch from Ulrich Drepper that optimizes resource utilization
- Change ausearch and aureport to unlocked IO
2006-01-05 23:37:48 +00:00
Jesse Keating
176c798132 gcc update bump 2005-12-09 22:39:41 +00:00
Steve Grubb
8d49e2745a - Add more message types 2005-12-05 23:10:00 +00:00
Steve Grubb
9fb9401f3d - Add support for alpha processors
- Update the audisp code
- Add locale code in ausearch and aureport
- Add new rule operator patch
- Add exclude filter patch
- Cleanup make files
- Add python bindings
2005-11-30 22:08:32 +00:00
Steve Grubb
ef69199f9b - Add initial version of audisp. Just a placeholder at this point
- Remove -t from auditctl
2005-11-09 22:48:47 +00:00
Steve Grubb
c170a2650f - Add 2 more summary reports
- Add 2 more message types
2005-11-07 22:58:52 +00:00
Steve Grubb
79bf594d73 - Fix memory leaks in aureport & ausearch
- Fix auditd reconfig to change mail accts, too
- Fix stray pointer in sorting of aureport
- Added new message type
- Add results to all DAEMON messages
2005-11-06 21:07:46 +00:00
Steve Grubb
6989ec57ad - Add --failed/success flags to aureport to select specific events for
reports
- Add --summary to get totals of reported objects
- Add ability to force log rotation by sending sigusr1 to auditd
- Add -i flag to auditctl to ignore errors when reading rules from a file
- Reformat aureports so date & time are always given
- Add cron script for log rotation to docs
2005-11-04 19:37:26 +00:00
Steve Grubb
5a1a4f0cf5 - Updated message types that auditd recognizes
- Added a couple more message types
- Added new standard logging format function
- Update default config
- Make ausearch -m take a list of message types
2005-11-02 22:55:27 +00:00
Steve Grubb
3a535d7d2a - Update man pages
- Add email alert for admin_space_left in auditd
- Aureport cleanups
- Add anomaly & response to anomaly reports to aureport
- Summary report runs by default in aureport
- Updated syscall number tables
2005-10-24 19:01:56 +00:00