aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-09-22 08:23:55 -0700
committerrobiscool <robrob2626@yahoo.com>2009-09-22 08:23:55 -0700
commite7e5f2c7a7b11999da5bd6679bbbc1891e9cd235 (patch)
tree7ca6f950ccfd7bc2c9906af2b0ad78d3dcf5c5a4
parent9b1efbf1162580e3d3fc944c8f5e0791b08b9e63 (diff)
downloadpfsense-packages-e7e5f2c7a7b11999da5bd6679bbbc1891e9cd235.tar.gz
pfsense-packages-e7e5f2c7a7b11999da5bd6679bbbc1891e9cd235.tar.bz2
pfsense-packages-e7e5f2c7a7b11999da5bd6679bbbc1891e9cd235.zip
snort-dev, update the cron times some more
-rw-r--r--config/snort-dev/snort.inc32
1 files changed, 16 insertions, 16 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 456c991a..38a91616 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -698,7 +698,7 @@ function snort_rm_blocked_install_cron($should_install) {
$snort_rm_blocked_expire = "21600";
}
if ($snort_rm_blocked_info_ck == "12h_b") {
- $snort_rm_blocked_min = "*";
+ $snort_rm_blocked_min = "2";
$snort_rm_blocked_hr = "*/1";
$snort_rm_blocked_mday = "*";
$snort_rm_blocked_month = "*";
@@ -706,7 +706,7 @@ function snort_rm_blocked_install_cron($should_install) {
$snort_rm_blocked_expire = "43200";
}
if ($snort_rm_blocked_info_ck == "1d_b") {
- $snort_rm_blocked_min = "*";
+ $snort_rm_blocked_min = "2";
$snort_rm_blocked_hr = "*/2";
$snort_rm_blocked_mday = "*";
$snort_rm_blocked_month = "*";
@@ -714,7 +714,7 @@ function snort_rm_blocked_install_cron($should_install) {
$snort_rm_blocked_expire = "86400";
}
if ($snort_rm_blocked_info_ck == "4d_b") {
- $snort_rm_blocked_min = "*";
+ $snort_rm_blocked_min = "2";
$snort_rm_blocked_hr = "*/8";
$snort_rm_blocked_mday = "*";
$snort_rm_blocked_month = "*";
@@ -722,7 +722,7 @@ function snort_rm_blocked_install_cron($should_install) {
$snort_rm_blocked_expire = "345600";
}
if ($snort_rm_blocked_info_ck == "7d_b") {
- $snort_rm_blocked_min = "*";
+ $snort_rm_blocked_min = "2";
$snort_rm_blocked_hr = "*/14";
$snort_rm_blocked_mday = "*";
$snort_rm_blocked_month = "*";
@@ -730,8 +730,8 @@ function snort_rm_blocked_install_cron($should_install) {
$snort_rm_blocked_expire = "604800";
}
if ($snort_rm_blocked_info_ck == "28d_b") {
- $snort_rm_blocked_min = "*";
- $snort_rm_blocked_hr = "*";
+ $snort_rm_blocked_min = "2";
+ $snort_rm_blocked_hr = "0";
$snort_rm_blocked_mday = "*/2";
$snort_rm_blocked_month = "*";
$snort_rm_blocked_wday = "*";
@@ -797,43 +797,43 @@ function snort_rules_up_install_cron($should_install) {
}
$snort_rules_up_info_ck = $config['installedpackages']['snort']['config'][0]['autorulesupdate7'];
if ($snort_rules_up_info_ck == "6h_up") {
- $snort_rules_up_min = "*";
+ $snort_rules_up_min = "3";
$snort_rules_up_hr = "*/6";
$snort_rules_up_mday = "*";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";
}
if ($snort_rules_up_info_ck == "12h_up") {
- $snort_rules_up_min = "*";
+ $snort_rules_up_min = "3";
$snort_rules_up_hr = "*/12";
$snort_rules_up_mday = "*";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";
}
if ($snort_rules_up_info_ck == "1d_up") {
- $snort_rules_up_min = "*";
- $snort_rules_up_hr = "*";
+ $snort_rules_up_min = "3";
+ $snort_rules_up_hr = "0";
$snort_rules_up_mday = "*/1";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";
}
if ($snort_rules_up_info_ck == "4d_up") {
- $snort_rules_up_min = "*";
- $snort_rules_up_hr = "*";
+ $snort_rules_up_min = "3";
+ $snort_rules_up_hr = "0";
$snort_rules_up_mday = "*/4";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";
}
if ($snort_rules_up_info_ck == "7d_up") {
- $snort_rules_up_min = "*";
- $snort_rules_up_hr = "*";
+ $snort_rules_up_min = "3";
+ $snort_rules_up_hr = "0";
$snort_rules_up_mday = "*/7";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";
}
if ($snort_rules_up_info_ck == "28d_up") {
- $snort_rules_up_min = "*";
- $snort_rules_up_hr = "*";
+ $snort_rules_up_min = "3";
+ $snort_rules_up_hr = "0";
$snort_rules_up_mday = "*/28";
$snort_rules_up_month = "*";
$snort_rules_up_wday = "*";