diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-11-03 22:28:32 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-15 12:12:03 -0500 |
commit | 244e771692b45902406b82e31851c4c32aef3f61 (patch) | |
tree | daba2a42477833bc39ffcee76c664e018cbd34a8 /config | |
parent | ed9e7d0faa068169cf2b3ef8d5c64b2d5333e33c (diff) | |
download | pfsense-packages-244e771692b45902406b82e31851c4c32aef3f61.tar.gz pfsense-packages-244e771692b45902406b82e31851c4c32aef3f61.tar.bz2 pfsense-packages-244e771692b45902406b82e31851c4c32aef3f61.zip |
Update URL for GPLv2 Community Rules download.
Diffstat (limited to 'config')
-rw-r--r-- | config/suricata/suricata_check_for_rule_updates.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_check_for_rule_updates.php b/config/suricata/suricata_check_for_rule_updates.php index 9cb83d8c..74c9ae61 100644 --- a/config/suricata/suricata_check_for_rule_updates.php +++ b/config/suricata/suricata_check_for_rule_updates.php @@ -59,7 +59,7 @@ if (!defined("ETPRO_DNLD_FILENAME")) if (!defined("GPLV2_DNLD_FILENAME")) define("GPLV2_DNLD_FILENAME", "community-rules.tar.gz"); if (!defined("GPLV2_DNLD_URL")) - define("GPLV2_DNLD_URL", "https://s3.amazonaws.com/snort-org/www/rules/community/"); + define("GPLV2_DNLD_URL", "https://www.snort.org/downloads/community/"); if (!defined("SURICATA_RULES_UPD_LOGFILE")) define("SURICATA_RULES_UPD_LOGFILE", SURICATALOGDIR . "/suricata_rules_update.log"); if (!defined("VRT_FILE_PREFIX")) @@ -460,7 +460,7 @@ if ($snortdownload == 'on') { /* Check for and download any new Snort GPLv2 Community Rules sigs */ if ($snortcommunityrules == 'on') { - if (suricata_check_rule_md5("{$snort_community_rules_url}{$snort_community_rules_filename_md5}", "{$tmpfname}/{$snort_community_rules_filename_md5}", "Snort GPLv2 Community Rules")) { + if (suricata_check_rule_md5("{$snort_community_rules_url}{$snort_community_rules_filename}/md5", "{$tmpfname}/{$snort_community_rules_filename_md5}", "Snort GPLv2 Community Rules")) { /* download Snort GPLv2 Community Rules file */ $file_md5 = trim(file_get_contents("{$tmpfname}/{$snort_community_rules_filename_md5}")); if (!suricata_fetch_new_rules("{$snort_community_rules_url}{$snort_community_rules_filename}", "{$tmpfname}/{$snort_community_rules_filename}", $file_md5, "Snort GPLv2 Community Rules")) |