aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort/snort.inc')
-rw-r--r--packages/snort/snort.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 3d5581bc..602484f3 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -176,6 +176,8 @@ function generate_snort_conf() {
/* XXX: make multi wan friendly */
$snort_ext_int = $config['installedpackages']['snort']['config'][0]['iface_array'][0];
+ $snort_config_pass_thru = $config['installedpackages']['snort']['config'][0]['configpassthru'];
+
/* add auto update scripts to /etc/crontab */
$text_ww = "*/60\t* \t 1\t *\t *\t root\t /usr/bin/nice -n20 /usr/local/pkg/snort_check_for_rule_updates.php";
$filenamea = "/etc/crontab";
@@ -389,6 +391,9 @@ preprocessor flow-portscan: \
include classification.config
include reference.config
+# Snort user pass through configuration
+{$snort_config_pass_thru}
+
#Rulesets, all optional
{$selected_rules_sections}