Commit Graph

88 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
f3a943762f - NEW audit dispatcher program & plugin framework 2007-02-21 02:43:37 +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
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
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
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
Steve Grubb
cb9ea2d589 - Switch out dispatcher
- Fix bug upgrading rule types
2006-07-13 20:38:11 +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
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
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
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
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
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
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
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
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
Steve Grubb
f553a5af1e - Update reports
- Add new message types
- Bug fixes
2005-10-19 20:12:04 +00:00
Steve Grubb
afb1389978 - in aureport, add column labels to reports
- added watch report to aureport
- added interpreting mode to aureport
- added user space avc standard message to libaudit
- aureport & ausearch now use builtin log locations when bad config file
- add email alert to low disk space warning actions in auditd
2005-10-10 21:56:42 +00:00
Steve Grubb
50ab79e79f - ausearch can now search on SE Linux contexts
- added aureport program to analyse logs
- aureport added report option for each log's start and end time
- increased random number selected for initial seq number in auditd
- add new user space defines to libaudit.h
- add add standard logging functions to libaudit
2005-10-04 22:04:36 +00:00
Steve Grubb
38342f3405 - Make rate & backlog 32 bit unsigned int in auditctl
- In auditctl, if -F arch is given with -t option, don't require list
- Update auditd man page
- Add size check to audit_send
- Update message for audit_open failure when kernel doesn't support audit
2005-09-23 15:15:49 +00:00
Steve Grubb
ec62b1c24d - adjust file perms of newly created log file in auditd
- fix 2 memory leaks and an out of bounds access in auditd
- fix case where auditd was closing netlink descriptor too early
- fix watch rules not to take field arguments in auditctl
- fix bug where inode, devmajor, devminor, exit, and success fields in
    auditctl rules were not getting the correct value stored
2005-08-22 21:40:25 +00:00
Steve Grubb
31e817f7dd - Make sure error packets get eaten.
- Fix a few error messages in auditctl
- Fix handling of unsupported watches when reading rules from file in
    auditctl
2005-08-08 22:17:06 +00:00
Steve Grubb
0c36f408f1 - Add check for fields that cannot be used with syscall entry in auditctl
- Make auditctl not tolerate duplicate rule and watches
2005-08-03 17:40:29 +00:00
Steve Grubb
29fca9932c - Update sample CAPP config
- Remove warning for trimming file path in auditctl
- Make auditctl tolerate duplicate rule and watches
- auditd has new option so it doesn't overwrite log files
- Fixed bug in autrace that was reporting bad descriptor
2005-08-02 22:20:04 +00:00
Steve Grubb
217f8fcd4b - Fix ausearch to handle no audit log better
- Fix auditctl blank line handling
- Trim trailing '/' from file system watches in auditctl
- Catch cases where parameter was passed without option being given to
    auditctl
- Add CAPP sample configuration
2005-07-29 18:11:51 +00:00
Steve Grubb
cc23a33c90 - ausearch remove debug code 2005-07-14 20:25:26 +00:00