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 13:23:03 -0700 |
commit | 7a6498ebcdc0fde4613a20ae405481d49166e8bb (patch) | |
tree | cd78d44323b974fd3229a832d97fe40f7b833eaa /net/ipv4/tcp_highspeed.c | |
parent | 1eafa7369f170ac7dbe06a3774e642084051d475 (diff) | |
download | lwn-7a6498ebcdc0fde4613a20ae405481d49166e8bb.tar.gz lwn-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/tcp_highspeed.c')
-rw-r--r-- | net/ipv4/tcp_highspeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_highspeed.c b/net/ipv4/tcp_highspeed.c index bfdfbb972c57..349069d6cd0a 100644 --- a/net/ipv4/tcp_highspeed.c +++ b/net/ipv4/tcp_highspeed.c @@ -2,7 +2,7 @@ /* * Sally Floyd's High Speed TCP (RFC 3649) congestion control * - * See http://www.icir.org/floyd/hstcp.html + * See https://www.icir.org/floyd/hstcp.html * * John Heffner <jheffner@psc.edu> */ |