aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-16 04:34:05 +0000
committerErmal <eri@pfsense.org>2012-07-16 04:34:05 +0000
commit67774497e3947b6a38fe9952ce7ea15ed3dbd1b3 (patch)
tree8bd667b8e6329ef1fcfc3970edda1db33cc86d8b
parentd659782c4802641b09de08df12ab88746e453f38 (diff)
downloadpfsense-packages-67774497e3947b6a38fe9952ce7ea15ed3dbd1b3.tar.gz
pfsense-packages-67774497e3947b6a38fe9952ce7ea15ed3dbd1b3.tar.bz2
pfsense-packages-67774497e3947b6a38fe9952ce7ea15ed3dbd1b3.zip
Fix sensistive data checks
-rw-r--r--config/snort/snort.inc2
-rw-r--r--config/snort/snort_preprocessors.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index e7ba998b..26542341 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1277,7 +1277,7 @@ EOD;
$snort_misc_include_rules .= "include {$snortcfgdir}/classification.config\n";
if (is_dir("{$snortdir}/preproc_rules")) {
if ($snortcfg['sensitive_data'] && file_exists("{$snortdir}/preproc_rules/sensitive-data.rules"))
- $snort_misc_include_rules .= "include \$PREPROC_RULE_PATH/sensitive-data.rules/\n";
+ $snort_misc_include_rules .= "include \$PREPROC_RULE_PATH/sensitive-data.rules\n";
if (file_exists("{$snortdir}/preproc_rules/decoder.rules") &&
file_exists("{$snortdir}/preproc_rules/preprocessor.rules")) {
diff --git a/config/snort/snort_preprocessors.php b/config/snort/snort_preprocessors.php
index 6a5cca6e..e38418e5 100644
--- a/config/snort/snort_preprocessors.php
+++ b/config/snort/snort_preprocessors.php
@@ -304,7 +304,7 @@ include_once("head.inc");
<td width="22%" valign="top" class="vncell">Enable <br> Sensitive Data</td>
<td width="78%" class="vtable">
<input name="sensitive_data" type="checkbox" value="on"
- <?php if ($pconfig['dns_preprocessor']=="on") echo "checked"; ?>
+ <?php if ($pconfig['sensitive_data']=="on") echo "checked"; ?>
onClick="enable_change(false)"><br>
Sensisitive data searches for CC or SS# in data
</td>