diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-16 11:46:51 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-16 11:46:51 -0500 |
commit | 381f6dc8a6d0d5870943767265e67bf262852480 (patch) | |
tree | ac1c942ff2aed0817184f4d15e6bd5b27d07601d /config/suricata/suricata_generate_yaml.php | |
parent | 9ac883efde57b29d50d0226b79cd1e35acbf33e1 (diff) | |
download | pfsense-packages-381f6dc8a6d0d5870943767265e67bf262852480.tar.gz pfsense-packages-381f6dc8a6d0d5870943767265e67bf262852480.tar.bz2 pfsense-packages-381f6dc8a6d0d5870943767265e67bf262852480.zip |
Remove duplicated phrase from LibHTP policy string.
Diffstat (limited to 'config/suricata/suricata_generate_yaml.php')
-rw-r--r-- | config/suricata/suricata_generate_yaml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php index 1ace4044..328702b9 100644 --- a/config/suricata/suricata_generate_yaml.php +++ b/config/suricata/suricata_generate_yaml.php @@ -579,7 +579,7 @@ $http_hosts_default_policy = ""; if (!is_array($suricatacfg['libhtp_policy']['item'])) $suricatacfg['libhtp_policy']['item'] = array(); if (count($suricatacfg['libhtp_policy']['item']) < 1) { - $http_hosts_default_policy = "default-config:\n personality: IDS\n request-body-limit: 4096\n response-body-limit: 4096\n"; + $http_hosts_default_policy = " personality: IDS\n request-body-limit: 4096\n response-body-limit: 4096\n"; $http_hosts_default_policy .= " double-decode-path: no\n double-decode-query: no\n uri-include-all: no\n"; } else { |