aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-14 23:09:39 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-14 23:09:39 -0400
commit810bc388007f82d36ec7de57fbfff105dba28804 (patch)
tree37866219507ad5cc2fe1358b704f702ac2df3abb
parent8fff5a1363f6a893c389e670cfd3f16694bb7373 (diff)
downloadpfsense-packages-810bc388007f82d36ec7de57fbfff105dba28804.tar.gz
pfsense-packages-810bc388007f82d36ec7de57fbfff105dba28804.tar.bz2
pfsense-packages-810bc388007f82d36ec7de57fbfff105dba28804.zip
Put all new LOG MGMT migration settings together in one block.
-rw-r--r--config/snort/snort_migrate_config.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/snort/snort_migrate_config.php b/config/snort/snort_migrate_config.php
index 66314d7f..e8ba7028 100644
--- a/config/snort/snort_migrate_config.php
+++ b/config/snort/snort_migrate_config.php
@@ -75,8 +75,6 @@ if (empty($config['installedpackages']['snortglobal']['snort_config_ver']) &&
/**********************************************************/
if (empty($config['installedpackages']['snortglobal']['auto_manage_sids'])) {
$config['installedpackages']['snortglobal']['auto_manage_sids'] = "off";
- $config['installedpackages']['snortglobal']['sid_changes_log_limit_size'] = "250";
- $config['installedpackages']['snortglobal']['sid_changes_log_retention'] = "336";
$updated_cfg = true;
}
@@ -87,10 +85,12 @@ if (empty($config['installedpackages']['snortglobal']['snort_config_ver']) &&
$config['installedpackages']['snortglobal']['enable_log_mgmt'] = "on";
$config['installedpackages']['snortglobal']['alert_log_limit_size'] = "500";
$config['installedpackages']['snortglobal']['alert_log_retention'] = "336";
- $config['installedpackages']['snortglobal']['stats_log_limit_size'] = "500";
- $config['installedpackages']['snortglobal']['stats_log_retention'] = "168";
$config['installedpackages']['snortglobal']['event_pkts_log_limit_size'] = "0";
$config['installedpackages']['snortglobal']['event_pkts_log_retention'] = "336";
+ $config['installedpackages']['snortglobal']['sid_changes_log_limit_size'] = "250";
+ $config['installedpackages']['snortglobal']['sid_changes_log_retention'] = "336";
+ $config['installedpackages']['snortglobal']['stats_log_limit_size'] = "500";
+ $config['installedpackages']['snortglobal']['stats_log_retention'] = "168";
$updated_cfg = true;
}