diff options
-rw-r--r-- | config/snort/snort.inc | 2 | ||||
-rw-r--r-- | pkg_config.8.xml | 4 | ||||
-rw-r--r-- | pkg_config.8.xml.amd64 | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index fed42b72..48e826d4 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -957,7 +957,7 @@ function create_rules_iface($id, $if_real, $snort_uuid) $folder_chk = (count(glob("{$if_rule_dir}/rules/*")) === 0) ? 'empty' : 'full'; if ($folder_chk == "empty") { - if (!is_dir("/usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/rules")) + if (!is_dir("{$if_rule_dir}/rules")) exec("/bin/mkdir -p {$if_rule_dir}/rules"); exec("/bin/cp /usr/local/etc/snort/rules/* {$if_rule_dir}/rules"); if (file_exists("/usr/local/etc/snort/custom_rules/local_{$snort_uuid}_{$if_real}.rules")) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 5c09c7ed..3ff85eba 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -393,6 +393,10 @@ <depends_on_package_base_url>http://files.pfsense.org/packages/8/All/</depends_on_package_base_url> <depends_on_package>mysql-client-5.1.53.tbz</depends_on_package> <depends_on_package>barnyard2-1.9_2.tbz</depends_on_package> + <depends_on_package>libnet11-1.1.2.1_3,1.tbz</depends_on_package> + <depends_on_package>libdnet-1.11_3.tbz</depends_on_package> + <depends_on_package>libpcap-1.1.1_1.tbz</depends_on_package> + <depends_on_package>daq-0.6.2.tbz</depends_on_package> <depends_on_package>snort-2.9.2.3.tbz</depends_on_package> <depends_on_package>perl-threaded-5.12.4_4.tbz</depends_on_package> <build_port_path>/usr/ports/devel/pcre</build_port_path> diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index e66589b9..7f8995de 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -475,6 +475,10 @@ <depends_on_package_pbi>snort-2.9.1-amd64.pbi</depends_on_package_pbi> <depends_on_package>mysql-client-5.1.53.tbz</depends_on_package> <depends_on_package>barnyard2-1.9_2.tbz</depends_on_package> + <depends_on_package>libnet11-1.1.2.1_3,1.tbz</depends_on_package> + <depends_on_package>libdnet-1.11_3.tbz</depends_on_package> + <depends_on_package>libpcap-1.1.1_1.tbz</depends_on_package> + <depends_on_package>daq-0.6.2.tbz</depends_on_package> <depends_on_package>snort-2.9.2.3.tbz</depends_on_package> <depends_on_package>perl-threaded-5.12.4_4.tbz</depends_on_package> <build_port_path>/usr/ports/devel/pcre</build_port_path> |