Commit 0bdd4cea authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Anna Schumaker

Replace HTTP links with HTTPS ones: NFS, SUNRPC, and LOCKD clients

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
          If both the HTTP and HTTPS versions
          return 200 OK and serve the same content:
            Replace HTTP with HTTPS.
Signed-off-by: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 1138ce1c
...@@ -417,7 +417,7 @@ void nsm_release(struct nsm_handle *nsm) ...@@ -417,7 +417,7 @@ void nsm_release(struct nsm_handle *nsm)
/* /*
* XDR functions for NSM. * XDR functions for NSM.
* *
* See http://www.opengroup.org/ for details on the Network * See https://www.opengroup.org/ for details on the Network
* Status Monitor wire protocol. * Status Monitor wire protocol.
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
NetApp provides this source code under the GPL v2 License. NetApp provides this source code under the GPL v2 License.
The GPL v2 license is available at The GPL v2 license is available at
http://opensource.org/licenses/gpl-license.php. https://opensource.org/licenses/gpl-license.php.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
......
...@@ -143,7 +143,7 @@ typedef __be32 rpc_fraghdr; ...@@ -143,7 +143,7 @@ typedef __be32 rpc_fraghdr;
/* /*
* Well-known netids. See: * Well-known netids. See:
* *
* http://www.iana.org/assignments/rpc-netids/rpc-netids.xhtml * https://www.iana.org/assignments/rpc-netids/rpc-netids.xhtml
*/ */
#define RPCBIND_NETID_UDP "udp" #define RPCBIND_NETID_UDP "udp"
#define RPCBIND_NETID_TCP "tcp" #define RPCBIND_NETID_TCP "tcp"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
NetApp provides this source code under the GPL v2 License. NetApp provides this source code under the GPL v2 License.
The GPL v2 license is available at The GPL v2 license is available at
http://opensource.org/licenses/gpl-license.php. https://opensource.org/licenses/gpl-license.php.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
NetApp provides this source code under the GPL v2 License. NetApp provides this source code under the GPL v2 License.
The GPL v2 license is available at The GPL v2 license is available at
http://opensource.org/licenses/gpl-license.php. https://opensource.org/licenses/gpl-license.php.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment