16. Loadable Module: Log Monitoring (IDM_log_monitoring.pm)

16.1. What and How

This module monitors configured syslog-related files (usually, /var/log/*; also /var/adm/*, for Solaris) for deleted entries. These might indicate the presence of an intruder.

A supporting script or utility is required, by some means, to keep an up-to-date copy of configured logs in a private, local directory. (TO-DO: make use of remote logs on a dedicated log-server instead.) This copy is compared to the original (e.g., in /var/log). Differences are logged.

16.2. Miscellaneous Points of Note

16.3. Supporting Script

A supporting script, <sids_root>/src/Scripts/taillogfile, is provided which uses the CPAN module File::Tail to effectively "tail -f" configured syslog[-ng] destinations (e.g., /var/log/messages and /var/log/iptables).

This script must be configured and started before the main Cheeswire application.

16.4. Configuration

usees Modules_Config.pm to determine which syslog[-ng] destinations to tail, though some "manual" configuration is still required (TO-DO: fix this).



...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_cheesewire/_reml_grp/index.reml
On: 4/9/2006 at 17:35:44
Options: reml2 -i noindex -l long -o html -p multiple