From fcb6eaa9dee8ae528e430e177ea104c6e9582a58 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Mon, 8 Mar 2021 20:04:45 +0100 Subject: [PATCH] Use HTTPS everywhere (mechanical edit using util from https-everywhere) (#4534) --- README.md | 2 +- src/etc/inc/IPv6.inc | 4 ++-- .../OPNsense/IDS/Api/SettingsController.php | 2 +- src/opnsense/scripts/ipsec/vici/compat.py | 2 +- src/opnsense/scripts/system/ssl_ciphers.py | 2 +- .../service/templates/OPNsense/IDS/reference.config | 10 +++++----- src/www/diag_packet_capture.php | 2 +- src/www/interfaces.php | 4 ++-- src/www/services_dhcp.php | 2 +- src/www/services_dhcpv6.php | 2 +- src/www/services_opendns.php | 2 +- src/www/status_ntpd.php | 2 +- src/www/system_hasync.php | 2 +- src/www/widgets/widgets/ntp_status.widget.php | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 668bbad9d..973431b82 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ License OPNsense is and will always be available under the 2-Clause BSD license: -http://opensource.org/licenses/BSD-2-Clause +https://opensource.org/licenses/BSD-2-Clause Every contribution made to the project must be licensed under the same conditions in order to keep OPNsense truly free and accessible diff --git a/src/etc/inc/IPv6.inc b/src/etc/inc/IPv6.inc index e7b3a2838..79e2c1b25 100644 --- a/src/etc/inc/IPv6.inc +++ b/src/etc/inc/IPv6.inc @@ -18,7 +18,7 @@ * @copyright 2003-2005 The PHP Group * @license BSD License http://www.opensource.org/licenses/bsd-license.php * @version CVS: $Id$ - * @link http://pear.php.net/package/Net_IPv6 + * @link https://pear.php.net/package/Net_IPv6 */ // {{{ constants @@ -116,7 +116,7 @@ define("NET_IPV6_UNKNOWN_TYPE", 1001); * @copyright 2003-2010 The PHP Group * @license BSD License http://www.opensource.org/licenses/bsd-license.php * @version Release: 1.1.0RC5 - * @link http://pear.php.net/package/Net_IPv6 + * @link https://pear.php.net/package/Net_IPv6 */ class Net_IPv6 { diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php b/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php index 9064d8cb3..29880e312 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php @@ -178,7 +178,7 @@ class SettingsController extends ApiMutableModelControllerBase substr($ref, 8), $item_html); $item_html = str_replace("%ref%", "bugtraq " . substr($ref, 8), $item_html); } elseif (substr($ref, 0, 4) == "cve,") { - $item_html = str_replace("%url%", "http://cve.mitre.org/cgi-bin/cvename.cgi?name=" . + $item_html = str_replace("%url%", "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" . substr($ref, 4), $item_html); $item_html = str_replace("%ref%", substr($ref, 4), $item_html); } elseif (substr($ref, 0, 7) == "nessus,") { diff --git a/src/opnsense/scripts/ipsec/vici/compat.py b/src/opnsense/scripts/ipsec/vici/compat.py index b5f46992e..01af987d8 100755 --- a/src/opnsense/scripts/ipsec/vici/compat.py +++ b/src/opnsense/scripts/ipsec/vici/compat.py @@ -1,7 +1,7 @@ # Help functions for compatibility between python version 2 and 3 -# From http://legacy.python.org/dev/peps/pep-0469 +# From https://legacy.python.org/dev/peps/pep-0469 try: dict.iteritems except AttributeError: diff --git a/src/opnsense/scripts/system/ssl_ciphers.py b/src/opnsense/scripts/system/ssl_ciphers.py index 611a20335..b33505eb6 100755 --- a/src/opnsense/scripts/system/ssl_ciphers.py +++ b/src/opnsense/scripts/system/ssl_ciphers.py @@ -39,7 +39,7 @@ if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--format', help='format',choices=['full', 'key_value'], default='full') inputargs = parser.parse_args() - # source http://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv + # source https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv rfc5246_file = '%s/rfc5246_cipher_suites.csv' % os.path.dirname(os.path.realpath(__file__)) rfc5246 = dict() if os.path.isfile(rfc5246_file): diff --git a/src/opnsense/service/templates/OPNsense/IDS/reference.config b/src/opnsense/service/templates/OPNsense/IDS/reference.config index ff4f53ddb..41f361ee4 100644 --- a/src/opnsense/service/templates/OPNsense/IDS/reference.config +++ b/src/opnsense/service/templates/OPNsense/IDS/reference.config @@ -2,9 +2,9 @@ config reference: bugtraq http://www.securityfocus.com/bid/ config reference: bid http://www.securityfocus.com/bid/ -config reference: cve http://cve.mitre.org/cgi-bin/cvename.cgi?name= -#config reference: cve http://cvedetails.com/cve/ -config reference: secunia http://www.secunia.com/advisories/ +config reference: cve https://cve.mitre.org/cgi-bin/cvename.cgi?name= +#config reference: cve https://cvedetails.com/cve/ +config reference: secunia https://secunia.com/advisories/ #whitehats is unfortunately gone config reference: arachNIDS http://www.whitehats.com/info/IDS @@ -21,6 +21,6 @@ config reference: md5 http://www.threatexpert.com/report.aspx?md5= config reference: exploitdb http://www.exploit-db.com/exploits/ config reference: openpacket https://www.openpacket.org/capture/grab/ config reference: securitytracker http://securitytracker.com/id? -config reference: secunia http://secunia.com/advisories/ +config reference: secunia https://secunia.com/advisories/ config reference: xforce http://xforce.iss.net/xforce/xfdb/ -config reference: msft http://technet.microsoft.com/security/bulletin/ +config reference: msft https://technet.microsoft.com/security/bulletin/ diff --git a/src/www/diag_packet_capture.php b/src/www/diag_packet_capture.php index 63006f90c..09642f819 100644 --- a/src/www/diag_packet_capture.php +++ b/src/www/diag_packet_capture.php @@ -367,7 +367,7 @@ include("fbegin.inc"); /> diff --git a/src/www/interfaces.php b/src/www/interfaces.php index fba930e80..10bd99c80 100644 --- a/src/www/interfaces.php +++ b/src/www/interfaces.php @@ -2138,7 +2138,7 @@ include("head.inc"); @@ -2146,7 +2146,7 @@ include("head.inc");
diff --git a/src/www/services_dhcp.php b/src/www/services_dhcp.php index 621a62df9..88c0a79a6 100644 --- a/src/www/services_dhcp.php +++ b/src/www/services_dhcp.php @@ -1143,7 +1143,7 @@ include("head.inc"); diff --git a/src/www/services_dhcpv6.php b/src/www/services_dhcpv6.php index 84222a493..4798f82f4 100644 --- a/src/www/services_dhcpv6.php +++ b/src/www/services_dhcpv6.php @@ -750,7 +750,7 @@ if (isset($config['interfaces'][$if]['dhcpd6track6allowoverride'])) { diff --git a/src/www/services_opendns.php b/src/www/services_opendns.php index 9f0b4c01c..3c4fc6a6a 100644 --- a/src/www/services_opendns.php +++ b/src/www/services_opendns.php @@ -147,7 +147,7 @@ include 'head.inc'; 'Enabling the OpenDNS service will overwrite DNS servers configured ' . 'via the General Setup page as well as ignore any DNS servers learned ' . 'by DHCP/PPP on WAN and use the DNS servers from %s instead.'), - 'OpenDNS.com' + 'OpenDNS.com' ) ?> diff --git a/src/www/status_ntpd.php b/src/www/status_ntpd.php index 458876e45..2a18dfee3 100644 --- a/src/www/status_ntpd.php +++ b/src/www/status_ntpd.php @@ -280,7 +280,7 @@ include("head.inc"); - Google Maps Link + Google Maps Link diff --git a/src/www/system_hasync.php b/src/www/system_hasync.php index 71684e799..924459f26 100644 --- a/src/www/system_hasync.php +++ b/src/www/system_hasync.php @@ -141,7 +141,7 @@ include("head.inc"); ','','','
','
') ?> + 'This setting should be enabled on all members of a failover group.'), '
','','','
','
') ?>
diff --git a/src/www/widgets/widgets/ntp_status.widget.php b/src/www/widgets/widgets/ntp_status.widget.php index f85d0811a..64e38d566 100644 --- a/src/www/widgets/widgets/ntp_status.widget.php +++ b/src/www/widgets/widgets/ntp_status.widget.php @@ -150,7 +150,7 @@ endif; ?> - +