aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces_global.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-04-29 11:56:05 -0700
committerrobiscool <robrob2626@yahoo.com>2010-04-29 11:56:44 -0700
commit893ca7808324f0b3fc25f9d0261d713828455e92 (patch)
tree277a2c91917b8dbcecd0c445b4c42d7c1bbd2875 /config/snort/snort_interfaces_global.php
parentd7b891f2d9351dbb961b94ff758ad6a1bc000b4b (diff)
downloadpfsense-packages-893ca7808324f0b3fc25f9d0261d713828455e92.tar.gz
pfsense-packages-893ca7808324f0b3fc25f9d0261d713828455e92.tar.bz2
pfsense-packages-893ca7808324f0b3fc25f9d0261d713828455e92.zip
snort, update download rules for ne version of snort, new version
Diffstat (limited to 'config/snort/snort_interfaces_global.php')
-rw-r--r--config/snort/snort_interfaces_global.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/snort/snort_interfaces_global.php b/config/snort/snort_interfaces_global.php
index 29257bc7..24922564 100644
--- a/config/snort/snort_interfaces_global.php
+++ b/config/snort/snort_interfaces_global.php
@@ -46,6 +46,8 @@ $pconfig['whitelistvpns'] = $config['installedpackages']['snortglobal']['whiteli
$pconfig['clickablalerteurls'] = $config['installedpackages']['snortglobal']['clickablalerteurls'];
$pconfig['associatealertip'] = $config['installedpackages']['snortglobal']['associatealertip'];
$pconfig['snortalertlogtype'] = $config['installedpackages']['snortglobal']['snortalertlogtype'];
+$pconfig['forcekeepsettings'] = $config['installedpackages']['snortglobal']['forcekeepsettings'];
+
if ($_POST) {
@@ -74,6 +76,7 @@ if ($_POST) {
$config['installedpackages']['snortglobal']['clickablalerteurls'] = $_POST['clickablalerteurls'] ? on : off;
$config['installedpackages']['snortglobal']['associatealertip'] = $_POST['associatealertip'] ? on : off;
$config['installedpackages']['snortglobal']['snortalertlogtype'] = $_POST['snortalertlogtype'];
+ $config['installedpackages']['snortglobal']['forcekeepsettings'] = $_POST['forcekeepsettings'] ? on : off;
write_config();
sleep(2);
@@ -352,6 +355,12 @@ include("head.inc");
<span class="vexpl">Please choose the type of Alert logging you will like see in your alert file.<br>
Hint: Best pratice is to chose full logging.</span>&nbsp;<span class="red"><strong>WARNING:</strong></span>&nbsp;<strong>On change, alert file will be cleared.</strong></td>
</tr>
+ <tr>
+ <td width="22%" valign="top" class="vncell">Keep snort settings after deinstall</td>
+ <td width="78%" class="vtable">
+ <input name="forcekeepsettings" id="forcekeepsettings" type="checkbox" value="yes" <?php if ($config['installedpackages']['snortglobal']['forcekeepsettings']=="on") echo "checked"; ?> onClick="enable_change(false)"><br>
+ Settings will not be removed during deinstall.</td>
+ </tr>
<tr>
<td width="22%" valign="top"><input name="Reset" type="submit" class="formbtn" value="Reset" onclick="return confirm('Do you really want to delete all global and interface settings?')"><span class="red"><strong>&nbsp;WARNING:</strong><br>
This will reset all global and interface settings.</span>