diff options
author | robiscool <robrob2626@yahoo.com> | 2009-11-24 00:03:21 -0800 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-11-24 00:03:21 -0800 |
commit | f1c0379a5678842736ae8c6bc6e142e5108d57f9 (patch) | |
tree | a3a472cba2f419fec13170511dfabcec3086a2c7 | |
parent | 904ca0c758b5e399c15c80267bbe4e0f27f5c891 (diff) | |
download | pfsense-packages-f1c0379a5678842736ae8c6bc6e142e5108d57f9.tar.gz pfsense-packages-f1c0379a5678842736ae8c6bc6e142e5108d57f9.tar.bz2 pfsense-packages-f1c0379a5678842736ae8c6bc6e142e5108d57f9.zip |
snort-dev, add misc files, add emty rule checks
-rw-r--r-- | config/snort-dev/snort_download_rules.php | 7 | ||||
-rw-r--r-- | config/snort-dev/style.css | 27 | ||||
-rwxr-xr-x | pkg_config.7.xml | 2 |
3 files changed, 33 insertions, 3 deletions
diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php index a5b2daae..688b89a7 100644 --- a/config/snort-dev/snort_download_rules.php +++ b/config/snort-dev/snort_download_rules.php @@ -729,6 +729,9 @@ exec("/usr/local/bin/perl /usr/local/bin/create-sidmap.pl /usr/local/etc/snort/r /* Start the proccess for every interface rule */ /* TODO: try to make the code smother */ + +if (!empty($config['installedpackages']['snortglobal']['rule'])) { + $rule_array = $config['installedpackages']['snortglobal']['rule']; $id = -1; foreach ($rule_array as $value) { @@ -743,9 +746,9 @@ $if_real = convert_friendly_interface_to_real_interface_name($result_lan); /* run oinkmaster for each interface rule */ oinkmaster_run(); - -} + } +} /* open oinkmaster_conf for writing" function */ function oinkmaster_conf() { diff --git a/config/snort-dev/style.css b/config/snort-dev/style.css new file mode 100644 index 00000000..bc1289a9 --- /dev/null +++ b/config/snort-dev/style.css @@ -0,0 +1,27 @@ +@charset "utf-8";
+.textstyle {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ font-style: normal;
+ background-color: #666;
+ color: #CCC;
+}
+.textstyle p2 a {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ font-style: normal;
+ color: #CCC;
+}
+
+.textstyle p {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 24px;
+ font-weight: bold;
+ color: #FFF;
+ text-decoration: underline;
+}
+.textstyle p2 {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ color: #CCC;
+}
diff --git a/pkg_config.7.xml b/pkg_config.7.xml index 65739649..e62bff7a 100755 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -324,7 +324,7 @@ <version>2.8.4.1_5 pkg v. 1.8</version> <required_version>1.2.2</required_version> <status>alpha</status> - <configurationfile>/snort/snort.xml</configurationfile> + <configurationfile>snort.xml</configurationfile> <after_install_info>WARNING: This is the Snort-dev branch and may be unstable.</after_install_info> </package> <package> |