diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-03-18 14:18:37 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-03-18 14:18:37 -0300 |
commit | a84a84bf31ed33c7e132b704186a56b77cc9148a (patch) | |
tree | 85c40074dd19ddb5a5167f5ab68406beaa57c87b /config/snort-old | |
parent | 0de5b6b80002794f5b65c0143eb65cf5e4a95f25 (diff) | |
download | pfsense-packages-a84a84bf31ed33c7e132b704186a56b77cc9148a.tar.gz pfsense-packages-a84a84bf31ed33c7e132b704186a56b77cc9148a.tar.bz2 pfsense-packages-a84a84bf31ed33c7e132b704186a56b77cc9148a.zip |
Fixup URLs:
- Replace http by https
- *.pfsense.com -> *.pfsense.org
- www.pfsense.org/packages/config -> packages.pfsense.org/packages/config
Diffstat (limited to 'config/snort-old')
-rw-r--r-- | config/snort-old/snort.xml | 36 | ||||
-rw-r--r-- | config/snort-old/snort_check_for_rule_updates.php | 4 | ||||
-rw-r--r-- | config/snort-old/snort_download_rules.php | 4 |
3 files changed, 22 insertions, 22 deletions
diff --git a/config/snort-old/snort.xml b/config/snort-old/snort.xml index 3bc40fce..06cd521e 100644 --- a/config/snort-old/snort.xml +++ b/config/snort-old/snort.xml @@ -8,7 +8,7 @@ /* ========================================================================== */ /* authng.xml - part of pfSense (http://www.pfsense.com) + part of pfSense (https://www.pfsense.org) Copyright (C) 2007 to whom it may belong All rights reserved. @@ -107,87 +107,87 @@ <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort.inc</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/bin/barnyard2</item> + <item>https://packages.pfsense.org/packages/config/snort-old/bin/barnyard2</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/bin/oinkmaster_contrib/create-sidmap.pl</item> + <item>https://packages.pfsense.org/packages/config/snort-old/bin/oinkmaster_contrib/create-sidmap.pl</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/bin/oinkmaster_contrib/oinkmaster.pl</item> + <item>https://packages.pfsense.org/packages/config/snort-old/bin/oinkmaster_contrib/oinkmaster.pl</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_download_rules.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_download_rules.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_rules.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_rules.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_rules_edit.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_rules_edit.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_rulesets.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_rulesets.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_whitelist.xml</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_whitelist.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_blocked.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_blocked.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_check_for_rule_updates.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_check_for_rule_updates.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_alerts.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_alerts.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/pf/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_dynamic_ip_reload.php</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_dynamic_ip_reload.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_advanced.xml</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_advanced.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_define_servers.xml</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_define_servers.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/snort_threshold.xml</item> + <item>https://packages.pfsense.org/packages/config/snort-old/snort_threshold.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/snort-old/pfsense_rules/local.rules</item> + <item>https://packages.pfsense.org/packages/config/snort-old/pfsense_rules/local.rules</item> </additional_files_needed> <fields> <field> diff --git a/config/snort-old/snort_check_for_rule_updates.php b/config/snort-old/snort_check_for_rule_updates.php index 8d308245..f6ebfd3a 100644 --- a/config/snort-old/snort_check_for_rule_updates.php +++ b/config/snort-old/snort_check_for_rule_updates.php @@ -143,7 +143,7 @@ if (file_exists("{$tmpfname}/{$pfsense_rules_filename_md5}")) { } else { echo "Downloading pfsense md5 file...\n"; ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 6.0)'); - $image = @file_get_contents("http://www.pfsense.com/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz.md5"); + $image = @file_get_contents("https://packages.pfsense.org/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz.md5"); // $image = @file_get_contents("http://www.mtest.local/pub-bin/oinkmaster.cgi/{$oinkid}/pfsense_rules.tar.gz.md5"); $f = fopen("{$tmpfname}/pfsense_rules.tar.gz.md5", 'w'); fwrite($f, $image); @@ -302,7 +302,7 @@ if (file_exists("{$tmpfname}/{$pfsense_rules_filename}")) { echo "There is a new set of Pfsense rules posted. Downloading...\n"; echo "May take 4 to 10 min...\n"; ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 6.0)'); - $image = @file_get_contents("http://www.pfsense.com/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz"); + $image = @file_get_contents("https://packages.pfsense.org/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz"); // $image = @file_get_contents("http://www.mtest.local/pub-bin/oinkmaster.cgi/{$oinkid}/pfsense_rules.tar.gz"); $f = fopen("{$tmpfname}/pfsense_rules.tar.gz", 'w'); fwrite($f, $image); diff --git a/config/snort-old/snort_download_rules.php b/config/snort-old/snort_download_rules.php index 9826ba2a..a559bad2 100644 --- a/config/snort-old/snort_download_rules.php +++ b/config/snort-old/snort_download_rules.php @@ -224,7 +224,7 @@ if (file_exists("{$tmpfname}/{$pfsense_rules_filename_md5}")) { } else { update_status(gettext("Downloading pfsense md5 file...")); ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 6.0)'); - $image = @file_get_contents("http://www.pfsense.com/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz.md5"); + $image = @file_get_contents("https://packages.pfsense.org/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz.md5"); // $image = @file_get_contents("http://www.mtest.local/pub-bin/oinkmaster.cgi/{$oinkid}/pfsense_rules.tar.gz.md5"); $f = fopen("{$tmpfname}/pfsense_rules.tar.gz.md5", 'w'); fwrite($f, $image); @@ -396,7 +396,7 @@ if (file_exists("{$tmpfname}/{$pfsense_rules_filename}")) { update_status(gettext("There is a new set of Pfsense rules posted. Downloading...")); update_output_window(gettext("May take 4 to 10 min...")); // download_file_with_progress_bar("http://www.mtest.local/pub-bin/oinkmaster.cgi/{$oinkid}/pfsense_rules.tar.gz", $tmpfname . "/{$pfsense_rules_filename}", "read_body_firmware"); - download_file_with_progress_bar("http://www.pfsense.com/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz", $tmpfname . "/{$pfsense_rules_filename}", "read_body_firmware"); + download_file_with_progress_bar("https://packages.pfsense.org/packages/config/snort/pfsense_rules/pfsense_rules.tar.gz", $tmpfname . "/{$pfsense_rules_filename}", "read_body_firmware"); update_all_status($static_output); update_status(gettext("Done downloading rules file.")); } |