diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-06 19:38:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-06 22:23:03 +0200 |
commit | 7a6498ebcdc0fde4613a20ae405481d49166e8bb (patch) | |
tree | cd78d44323b974fd3229a832d97fe40f7b833eaa /net/ipv4/cipso_ipv4.c | |
parent | Merge branch 'qed-warnings-cleanup' (diff) | |
download | linux-7a6498ebcdc0fde4613a20ae405481d49166e8bb.tar.xz linux-7a6498ebcdc0fde4613a20ae405481d49166e8bb.zip |
Replace HTTP links with HTTPS ones: IPv*
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: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r-- | net/ipv4/cipso_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c index a23094b050f8..0f1b9065c0a6 100644 --- a/net/ipv4/cipso_ipv4.c +++ b/net/ipv4/cipso_ipv4.c @@ -10,9 +10,9 @@ * * The CIPSO draft specification can be found in the kernel's Documentation * directory as well as the following URL: - * http://tools.ietf.org/id/draft-ietf-cipso-ipsecurity-01.txt + * https://tools.ietf.org/id/draft-ietf-cipso-ipsecurity-01.txt * The FIPS-188 specification can be found at the following URL: - * http://www.itl.nist.gov/fipspubs/fip188.htm + * https://www.itl.nist.gov/fipspubs/fip188.htm * * Author: Paul Moore <paul.moore@hp.com> */ |