This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 405401cba4cdc65b411474c9f7c628c490aed9db (commit) from 19a1dfbc7148b67f718afdd14e3c75dcf6ff17f2 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 405401cba4cdc65b411474c9f7c628c490aed9db Author: Arne Fitzenreiter arne_f@ipfire.org Date: Wed Jun 16 18:19:43 2010 +0200
Fix snort errormessage if no rules are present to check.
-----------------------------------------------------------------------
Summary of changes: src/initscripts/init.d/snort | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
Difference in files: diff --git a/src/initscripts/init.d/snort b/src/initscripts/init.d/snort index 2e2f4f2..5446094 100644 --- a/src/initscripts/init.d/snort +++ b/src/initscripts/init.d/snort @@ -63,12 +63,14 @@ fi case "$1" in start) # Disable incompatible rules - for file in $(ls /etc/snort/rules/*.rules); do + boot_mesg "Check/Fix Intrusion Detection rules..." + for file in $(ls /etc/snort/rules/*.rules 2>/dev/null); do sed -i 's|^alert.*![$DNS_SERVERS|#&|g' $file sed -i 's|^alert.*!$SSH_PORTS|#&|g' $file sed -i 's|^alert.*!$HOME_NET|#&|g' $file sed -i 's|^alert.*!$SQL_SERVERS|#&|g' $file done + echo_ok
for DEVICE in $DEVICES; do boot_mesg "Starting Intrusion Detection System on $DEVICE..."
hooks/post-receive -- IPFire 2.x development tree