]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
dccp: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Mon, 13 Jul 2020 07:51:08 +0000 (09:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jul 2020 18:54:07 +0000 (11:54 -0700)
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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            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>
net/dccp/Kconfig
net/dccp/ccids/Kconfig
net/dccp/ccids/ccid3.c
net/dccp/ccids/ccid3.h
net/dccp/ccids/lib/packet_history.c
net/dccp/ccids/lib/packet_history.h

index 51ac2631fb48125a5b54a96f38a5fa2b52be720b..0c7d2f66ba278c6c6e93c75bbb28fdbdd8b614d6 100644 (file)
@@ -5,7 +5,7 @@ menuconfig IP_DCCP
        help
          Datagram Congestion Control Protocol (RFC 4340)
 
-         From http://www.ietf.org/rfc/rfc4340.txt:
+         From https://www.ietf.org/rfc/rfc4340.txt:
 
          The Datagram Congestion Control Protocol (DCCP) is a transport
          protocol that implements bidirectional, unicast connections of
index 4d7771f36effd52442a4a49ab02b580ee66d8dbc..a3eeb84d16f9c6d5f110cb8a811f66b3e626ae06 100644 (file)
@@ -26,13 +26,13 @@ config IP_DCCP_CCID3
          relatively smooth sending rate is of importance.
 
          CCID-3 is further described in RFC 4342,
-         http://www.ietf.org/rfc/rfc4342.txt
+         https://www.ietf.org/rfc/rfc4342.txt
 
          The TFRC congestion control algorithms were initially described in
          RFC 5348.
 
          This text was extracted from RFC 4340 (sec. 10.2),
-         http://www.ietf.org/rfc/rfc4340.txt
+         https://www.ietf.org/rfc/rfc4340.txt
 
          If in doubt, say N.
 
index 9ef9bee9610ffabbd041a7cdd82a1621d15f1129..aef72f6a28291faaaddebfaf5b6161ff28848f6d 100644 (file)
@@ -7,7 +7,7 @@
  *  An implementation of the DCCP protocol
  *
  *  This code has been developed by the University of Waikato WAND
- *  research group. For further information please see http://www.wand.net.nz/
+ *  research group. For further information please see https://www.wand.net.nz/
  *
  *  This code also uses code from Lulea University, rereleased as GPL by its
  *  authors:
index 081c195e7f7d5405845b67df439403cf243d5b2e..02e0fc9f6334b823f218d0cde1857c8ad65dfad4 100644 (file)
@@ -6,7 +6,7 @@
  *  An implementation of the DCCP protocol
  *
  *  This code has been developed by the University of Waikato WAND
- *  research group. For further information please see http://www.wand.net.nz/
+ *  research group. For further information please see https://www.wand.net.nz/
  *  or e-mail Ian McDonald - ian.mcdonald@jandi.co.nz
  *
  *  This code also uses code from Lulea University, rereleased as GPL by its
index 2d41bb036271b53ce87b979c5f332ecb9a27f8d6..0bef57b908fb0a9ccec7ae5b2bbf738e0a108c48 100644 (file)
@@ -6,7 +6,7 @@
  *  An implementation of the DCCP protocol
  *
  *  This code has been developed by the University of Waikato WAND
- *  research group. For further information please see http://www.wand.net.nz/
+ *  research group. For further information please see https://www.wand.net.nz/
  *  or e-mail Ian McDonald - ian.mcdonald@jandi.co.nz
  *
  *  This code also uses code from Lulea University, rereleased as GPL by its
index a157d874840b7d389b9aaa8d876865c4059231c4..159cc9326eabc9b0b8374817b0f689da1f4c9f87 100644 (file)
@@ -6,7 +6,7 @@
  *  Copyright (c) 2005-6 The University of Waikato, Hamilton, New Zealand.
  *
  *  This code has been developed by the University of Waikato WAND
- *  research group. For further information please see http://www.wand.net.nz/
+ *  research group. For further information please see https://www.wand.net.nz/
  *  or e-mail Ian McDonald - ian.mcdonald@jandi.co.nz
  *
  *  This code also uses code from Lulea University, rereleased as GPL by its