Commit Graph

235 Commits

Author SHA1 Message Date
Steve Grubb
fffe22aac3 - Bug fixes for GSSAPI code in remote logging (DJ Delorie)
- Add watched syscall support to audisp-prelude
- Enable tcp_wrappers support in auditd
2008-09-17 20:12:32 +00:00
Steve Grubb
baa6b19d1f Don't do make check just yet 2008-09-11 23:11:08 +00:00
Steve Grubb
0f4ff3fca4 - Add subject to audit daemon events (Chu Li)
- Add tcp_wrappers support for auditd
- Updated syscall tables for 2.6.27 kernel
- Audit connect/disconnect of remote clients
- Add GSS/Kerberos encryption to the remote protocol (DJ Delorie)
2008-09-11 22:51:16 +00:00
Steve Grubb
0e1966b810 fix zos selinux policy file 2008-08-31 16:54:48 +00:00
Steve Grubb
8955505fb2 couple spec file updates 2008-08-25 21:24:14 +00:00
Steve Grubb
dce82d1b97 - Update system-config-audit to 0.4.8
- Whole lot of bug fixes - see ChangeLog for details
- Reimplement auditd main loop using libev
- Add TCP listener to auditd to receive remote events
- Fix scheduler problem (#457061)
2008-08-25 20:05:09 +00:00
Steve Grubb
8b5ee23989 - Move ausearch-expression to main package (#453437) 2008-07-04 00:55:30 +00:00
Steve Grubb
a94ab1c00d - Fix interpreting of keys in syscall records
- Don't error on name=(null) PATH records in ausearch/report
- Add key report to aureport
- Update system-config-audit to 0.4.7 (Miloslav Trmac)
- Add support for the filetype field option in auditctl new to 2.6.26
    kernels
2008-05-19 18:02:47 +00:00
Steve Grubb
b4b03fa176 - Fix output of keys in ausearch interpretted mode
- Fix ausearch/report --start now to not be reset to midnight
- audispd now has a priority boost config option
- Look for laddr in avcs reported via prelude
- Detect page 0 mmaps and alert via prelude
2008-05-09 18:37:00 +00:00
Steve Grubb
f2add7b4d6 - Fix overflow in audit_log_user_command, better (#438840)
- ausearch was not matching path in avc records
- audisp-prelude attempt to reposition index after examining each type
- correct building of mls policy
- Fix auparse iterating in auparse_find_field and next_field
- Don't alert on USER_AVC's - they are not quite right
2008-04-18 20:18:30 +00:00
Steve Grubb
26677d9499 - Fix overflow in audit_log_user_command, better (#438840)
- ausearch was not matching path in avc records
- audisp-prelude attempt to reposition index after examining each type
- correct building of mls policy
- Fix auparse iterating in auparse_find_field and next_field
- Don't alert on USER_AVC's - they are not quite right
2008-04-18 19:47:43 +00:00
Steve Grubb
d0505052ce - Fix overflow in audit_log_user_command, better (#438840)
- ausearch was not matching path in avc records
- audisp-prelude attempt to reposition index after examining each type
- correct building of mls policy
2008-04-17 21:14:24 +00:00
Steve Grubb
0553dafd8a Add directory to locate rules 2008-04-08 17:28:30 +00:00
Steve Grubb
e32261e9dd Get rid of old patches 2008-04-08 17:14:57 +00:00
Steve Grubb
0a9ab60e01 - Fix buffer overflow in audit_log_user_command, again (#438840)
- Fix memory leak in EOE code in auditd (#440075)
- In auditctl, don't use new operators in legacy rule format
- Made a couple corrections in alpha & x86_64 syscall tables (Miloslav
    Trmac)
2008-04-08 17:11:19 +00:00
Steve Grubb
66fff58cc0 - Fix buffer overflow in audit_log_user_command, again (#438840)
- Fix memory leak in EOE code in auditd (#440075)
- In auditctl, don't use new operators in legacy rule format
- Made a couple corrections in alpha & x86_64 syscall tables (Miloslav
    Trmac)
2008-04-08 17:10:03 +00:00
Steve Grubb
13e2090eff - Fix memleak in auditd eoe code 2008-04-05 01:38:01 +00:00
Steve Grubb
5676baffd9 - Remove LSB headers from init scripts
- Fix buffer overflow in audit_log_user_command again
2008-04-01 16:33:34 +00:00
Steve Grubb
89ca632558 update sc-audit release 2008-03-30 19:18:35 +00:00
Steve Grubb
8efb1f0ace - Handle user space avcs in prelude plugin
- Fix watched account login detection for some failed login attempts
- Couple fixups in audit logging functions (Miloslav Trmac)
- Add support in auditctl for virtual keys
- auparse_find_field_next was not iterating correctly, fixed it
- Add idmef alerts for access or execution of watched file
- Fix buffer overflow in audit_log_user_command
- Add basic remote logging plugin - only sends & no flow control
- Update ausearch with interpret fixes from auparse
2008-03-30 19:17:17 +00:00
Steve Grubb
44f663a360 - Apply hidden attribute cleanup patch (Miloslav Trmac)
- Apply auparse expression interface patch (Miloslav Trmac)
- Fix potential memleak in audit event dispatcher
- Update system-config-audit to version 0.4.6 (Miloslav Trmac)
- audisp-prelude alerts now controlled by config file
- Updated syscall table for 2.6.25 kernel
- Apply patch correcting acct field being misencoded (Miloslav Trmac)
- Added watched account login detection for prelude plugin
2008-03-09 23:29:28 +00:00
Steve Grubb
379ed2602a updated spec file for merge review 2008-02-25 11:27:40 +00:00
Steve Grubb
a37b944f0b - Update for gcc 4.3
- Cleanup descriptors in audispd before running plugin
- Fix 'recent' keyword for aureport/search
- Fix SE Linux policy for zos_remote plugin
- Add event type for group password authentication attempts
- Couple of updates to the translation tables
- Add detection of failed group authentication to audisp-prelude
2008-02-14 19:51:04 +00:00
Steve Grubb
f4110fe9a8 bump release number 2008-01-31 22:27:40 +00:00
Steve Grubb
5ccda98dc4 - In ausearch/report, prefer -if to stdin
- In ausearch/report, add new command line option --input-logs (#428860)
- Updated audisp-prelude based on feedback from prelude-devel
- Added prelude alert for promiscuous socket being opened
- Added prelude alert for SE Linux policy enforcement changes
- Added prelude alerts for Forbidden Login Locations and Time
- Applied patch to auparse fixing error handling of searching by
    interpreted value (Miloslav Trmac)
2008-01-31 22:17:06 +00:00
Steve Grubb
7307aa51db - In ausearch/report, prefer -if to stdin
- In ausearch/report, add new command line option --input-logs (#428860)
- Updated audisp-prelude based on feedback from prelude-devel
- Added prelude alert for promiscuous socket being opened
- Added prelude alert for SE Linux policy enforcement changes
- Added prelude alerts for Forbidden Login Locations and Time
- Applied patch to auparse fixing error handling of searching by
    interpreted value (Miloslav Trmac)
2008-01-31 22:07:21 +00:00
Steve Grubb
9893d2d877 - Add prelude IDS plugin for IDMEF alerts
- Add --user option to aulastlog command
- Use desktop-file-install for system-config-audit
- Avoid touching auditd.conf most of the time (#408501)
2008-01-19 20:59:34 +00:00
Steve Grubb
597b4aeb16 - Updates for spec file review
- Adjust permission on selinux policy file
2008-01-11 20:42:03 +00:00
Steve Grubb
7b5bbccaae - Adjust permission on selinux policy file 2008-01-11 16:14:53 +00:00
Steve Grubb
61abc7b01e - Fix config parser to allow either 0640 or 0600 for audit logs (#427062)
- Check for audit log being writable by owner in auditd
- If auditd logging was suspended, it can be resumed with SIGUSR2 (#251639)
- Updated CAPP, LSPP, and NISPOM rules for new capabilities
- Added aulastlog utility
2008-01-07 20:11:15 +00:00
Steve Grubb
1d5ece1ce9 - Allow 0600 file perms for audit logs 2007-12-31 03:48:17 +00:00
Steve Grubb
1a7594d87f - Allow 0600 file perms for audit logs 2007-12-31 03:29:57 +00:00
Steve Grubb
e8486e1e33 - fchmod of log file was on wrong variable (#426934)
- Allow use of errno strings for exit codes in audit rules
2007-12-29 15:51:09 +00:00
Miloslav Trmac
53106a0572 - Don't fchmod() /dev/null to mode 0400 (#426934) 2007-12-29 00:32:06 +00:00
Steve Grubb
597027a35e - Add kernel release string to DEAMON_START events
- Fix keep_logs when num_logs option disabled (#325561)
- Fix auparse to handle node fields for syscall records
- Update system-config-audit to version 0.4.5 (Miloslav Trmac)
- Add keyword week-ago to aureport & ausearch start/end times
- Fix audit log permissions on rotate. If group is root 0400, otherwise
    0440
- Add RACF zos remote audispd plugin (Klaus Kiwi)
- Add event queue overflow action to audispd
2007-12-27 21:50:31 +00:00
Steve Grubb
fed3183375 - Fix race between threads accessing common data in auditd
- Fix double free in event dispatcher.
2007-10-17 18:21:53 +00:00
Steve Grubb
0a1d445d1c - Fix syscall name to number conversion in libaudit. 2007-10-05 15:42:18 +00:00
Steve Grubb
eadd98d61f - Don't retry if the rt queue is full. 2007-10-01 18:43:37 +00:00
Steve Grubb
559824bd5d - Add support for searching by posix regular expressions in auparse
- Route DEAMON events into rt interface
- If event pipe is full, try again after doing local logging
- Optionally add node/machine name to records in audit daemon
- Update ausearch/aureport to specify nodes to search on
- Fix segfault interpretting saddr fields in avcs
2007-09-25 15:56:34 +00:00
Steve Grubb
b62f29eb75 - Fix uninitialized variable in auparse (John Dennis) 2007-09-06 18:16:57 +00:00
Steve Grubb
862b73deea - External plugin support in place
- Fix reference counting in auparse python bindings (#263961)
- Moved default af_unix plugin socket to /var/run/audispd_events
2007-09-02 16:49:22 +00:00
Steve Grubb
114d2589bb - Add newline to audispd string formatted events 2007-08-29 17:18:22 +00:00
Steve Grubb
7e0621586c Minor update to spec file 2007-08-28 23:38:25 +00:00
Steve Grubb
d3e971a156 - spec file cleanups
- Update to s-c-audit 0.4.3
2007-08-28 18:34:17 +00:00
Steve Grubb
7c6e7fc655 - Update Licence tags
- Adding perm field should not set syscall added flag in auditctl
- Fix segfault when aureport -if option is used
- Fix auditctl to better check keys on rule lines
- Add support for audit by TTY and other new event types
- Auditd config option for group permission of audit logs
- Swig messed up a variable in ppc's python bindings causing crashes.
    (#251327)
- New audit event dispatcher
- Update syscall tables for 2.6.23 kernel
2007-08-27 20:29:41 +00:00
Steve Grubb
6fd670045b More release version adjustment 2007-07-25 20:39:21 +00:00
Steve Grubb
70c6124734 change sc-audit parameters 2007-07-25 20:25:48 +00:00
Steve Grubb
2837477064 - Fix potential buffer overflow in print clone flags of auparse
- Fix python traceback parsing watches without perm statement (Miloslav
    Trmac)
- Update auditctl to handle legacy kernels when putting a watch on a dir
- Fix acct interpretation in auparse
2007-07-25 20:09:50 +00:00
Miloslav Trmac
be93e36052 - Fix a double free when auditd receives SIGHUP
- Move the system-config-audit menu entry to the Administration menu
2007-07-16 23:30:49 +00:00
Steve Grubb
c56912826f - Add system-config-audit (Miloslav Trmac)
- Correct bug in audit_make_equivalent function (Al Viro)
2007-07-10 23:22:14 +00:00
Steve Grubb
551486a79f - Change buffer size to prevent truncation of DAEMON events with large
labels
- Fix memory leaks in auparse (John Dennis)
- Update syscall tables for 2.6.21 kernel
- Update capp & lspp rules
- New python bindings for libauparse (John Dennis)
2007-05-01 21:43:06 +00:00
Steve Grubb
31f6a34b35 - New event dispatcher (James Antill)
- Apply patches fixing man pages and Makefile.am (Philipp Hahn)
- Apply patch correcting python libs permissions (Philipp Hahn)
- Fix auditd segfault on reload
- Fix bug in auparse library for file pointers and descriptors
- Extract subject information out of daemon events for ausearch
2007-04-05 22:44:18 +00:00
Steve Grubb
8564164f19 - Remove requires kernel-headers for python-libs
- Apply patch to prevent segfaults on auditd reload
2007-03-29 12:19:50 +00:00
Steve Grubb
7044bd306e - Updated autrace to monitor *at syscalls
- Add support in libaudit for AUDIT_BIT_TEST(^) and AUDIT_MASK_TEST (&)
- Finish reworking auditd config parser
- In auparse, interpret open, fcntl, and clone flags
- In auparse, when interpreting execve record types, run args through
    unencode
- Add support for OBJ_PID message type
- Event dispatcher updates
2007-03-20 16:34:48 +00:00
Steve Grubb
9404d1e9db - rebuild 2007-03-02 23:40:38 +00:00
Steve Grubb
dbe1b8311b - NEW audit dispatcher program & plugin framework
- Correct hidden variables in libauparse
- Added NISPOM sample rules
- Verify accessibility of files passed in auparse_init
- Fix bug in parser library interpreting socketcalls
- Add support for stdio FILE pointer in auparse_init
- Adjust init script to allow anyone to status auditd (#230626)
2007-03-02 22:26:36 +00:00
Steve Grubb
56bff5dac8 Add new build requirement 2007-02-21 02:49:15 +00:00
Steve Grubb
f3a943762f - NEW audit dispatcher program & plugin framework 2007-02-21 02:43:37 +00:00
Steve Grubb
d57251a50c Take smp_flags away for troubleshooting 2007-02-21 00:20:25 +00:00
Steve Grubb
cfd7264394 - Add man pages
- Reduce text relocations in parser library
- Add -n option to auditd for no fork
- Add exec option to space_left, admin_space_left, disk_full, and
    disk_error - eg EXEC /usr/local/script
2007-02-21 00:11:20 +00:00
Steve Grubb
adb0e1befa - updated audit_rule_fieldpair_data to handle perm correctly (#226780)
- Finished search options for audit parsing library
- Fix ausearch -se to work correctly
- Fix auditd init script for /usr on netdev (#228528)
- Parse avc seperms better when there are more than one
2007-02-16 22:20:43 +00:00
Steve Grubb
7ea7611737 - New report about authentication attempts
- Updates for python 2.5
- update autrace to have resource usage mode
- update auditctl to support immutable config
- added audit_log_user_command function to libaudit api
- interpret capabilities
- added audit event parsing library
- updates for 2.6.20 kernel
2007-02-04 22:11:48 +00:00
Steve Grubb
1dbd164cdb make ausearch/report available to more users 2006-12-22 16:42:02 +00:00
Steve Grubb
22f12f8fb1 Update for python and buggy kernel headers 2006-12-22 01:14:20 +00:00
Steve Grubb
7af722908f revert a change in specfile 2006-12-22 00:33:14 +00:00
Steve Grubb
3c6db7500e update fixes for python 2006-12-22 00:15:07 +00:00
Steve Grubb
e85f917301 - rebuild again for python 2.5 2006-12-21 21:05:10 +00:00
Steve Grubb
9323477d67 - Fix a couple parsing problems (#217952)
- Add tgkill to S390* syscall tables (#218484)
- Fix error messages in ausearch/aureport
2006-12-10 22:51:00 +00:00
Jeremy Katz
cb7d8f4b57 - rebuild against python 2.5 2006-12-06 23:05:00 +00:00
Steve Grubb
0b8b4aaa9b - Fix timestamp for libaudit.conf (#218053) 2006-12-01 16:34:07 +00:00
Steve Grubb
cbb5dedfa7 - Fix minor parsing problem and add new msg types 2006-11-30 13:26:36 +00:00
Steve Grubb
b7fc0db233 - ausearch & aureport implement uid/gid caching
- In ausearch & aureport, extract addr when hostname is unknown
- In ausearch & aureport, test audit log presence O_RDONLY
- New ausearch/aureport time keywords: recent, this-week, this-month,
    this-year
- Added --add & --delete option to aureport
- Update res parsing in config change events
- Increase the size on audit daemon buffers
- Parse avc_path records in ausearch/aureport
- ausearch has new output mode, raw, for extracting events
- ausearch/aureport can now read stdin
- Rework AVC processing in ausearch/aureport
- Added long options to ausearch and aureport
2006-11-28 22:34:26 +00:00
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
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