From f7452a391914883dd7412a64ad2b6166f102937d Mon Sep 17 00:00:00 2001 From: Jim Pingle Date: Sun, 8 Mar 2009 16:49:04 -0400 Subject: Fix snort package, rc.d script was being written incorrectly when multiple interfaces were selected. --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index c1c1a400..8b9d77f7 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -140,7 +140,7 @@ function sync_package_snort() /* Note the sleep delay. Seems to help getting mult interfaces to start -gtm */ foreach($snortInterfaces as $snortIf) { - $start .= ";sleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &"; + $start .= "\nsleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &"; } /* if block offenders is checked, start snort2c */ -- cgit v1.2.3 From 78512e0364d6e8d2f797ee2dc32c2867b2f427de Mon Sep 17 00:00:00 2001 From: rob iscool Date: Sun, 1 Mar 2009 04:02:38 -0800 Subject: Updates to Snort.inc and Snort.xml 03-01-09 Signed-off-by: Bill Marquette Comments: Removed openvpn-client related changes from merge request --- config/snort/snort.inc | 4 ++-- config/snort/snort.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 8b9d77f7..20a03f93 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -140,12 +140,12 @@ function sync_package_snort() /* Note the sleep delay. Seems to help getting mult interfaces to start -gtm */ foreach($snortInterfaces as $snortIf) { - $start .= "\nsleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &"; + $start .= ";sleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast -q"; } /* if block offenders is checked, start snort2c */ if($_POST['blockoffenders']) - $start .= ";sleep 8;snort2c -w /var/db/whitelist -a /var/log/snort/alert"; + $start .= "\nsleep 8;snort2c -w /var/db/whitelist -a /var/log/snort/alert"; $sample_before = "\nBEFORE_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n"; $sample_after = "\nAFTER_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n"; diff --git a/config/snort/snort.xml b/config/snort/snort.xml index 6ba362c0..22b8e874 100644 --- a/config/snort/snort.xml +++ b/config/snort/snort.xml @@ -46,7 +46,7 @@ Describe your package requirements here Currently there are no FAQ items provided. Snort - 2.8.2.2 + 2.8.3.2 Services: Snort /usr/local/pkg/snort.inc -- cgit v1.2.3 From 26b0698cf6841b8b8704a52bce04d0070ba90642 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 2 Apr 2009 14:05:32 -0400 Subject: Add EPSV to Snort proprocessor's list of valid FTP commands --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 20a03f93..5d6a2942 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -469,7 +469,7 @@ preprocessor ftp_telnet_protocol: \ ftp_cmds { LIST NLST SITE SYST STAT HELP NOOP } \ ftp_cmds { AUTH ADAT PROT PBSZ CONF ENC } \ ftp_cmds { FEAT OPTS CEL CMD MACB } \ - ftp_cmds { MDTM REST SIZE MLST MLSD } \ + ftp_cmds { MDTM REST SIZE MLST MLSD EPSV } \ ftp_cmds { XPWD XCWD XCUP XMKD XRMD TEST CLNT } \ alt_max_param_len 0 { CDUP QUIT REIN PASV STOU ABOR PWD SYST NOOP } \ alt_max_param_len 100 { MDTM CEL XCWD SITE USER PASS REST DELE RMD SYST TEST STAT MACB EPSV CLNT LPRT } \ -- cgit v1.2.3