Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1292092ybh; Mon, 13 Jul 2020 14:49:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNzpjchbxnUJU92vlsdQm70c67uiI6M1GHVTsVQHwVPqtF4mVA8G0aCxQEMeCg6vkH3Hag X-Received: by 2002:aa7:ca05:: with SMTP id y5mr1451661eds.204.1594676954800; Mon, 13 Jul 2020 14:49:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594676954; cv=none; d=google.com; s=arc-20160816; b=xFuCz3PYCqPZZbk3B/MC1AV4nvOuhvcildyE4NJXO9GF/Gibnou5ccz6e5rXExufIa pGujewKLCSGz50/OfXuZuhcOBtJ3W4uyhnB+oRgDC1qrUESaJ+ejf5MTuVwyhtzw3I+M 09lus4xDTSyPj8Fk8DUIHON6jxBZuvgVeL0aEgSECCoBlQ3iQgkuHwhJLBBqOCrq1lou zkUTW03S3cyaOUx0OlUwL37RxCx+3eOq7hTHMIoP5pSFuMrxIybaks6Rk5Bb6ElJ0phr anBoiQHls0PFkizV7Yrs5lr/sa1wQkY5wsltfRW7pfVP8YK/T/5wRigwsokKFRsdQhGH 2HfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=514VfDCsKAlrEJzl4dOMvpli9KYxYc8G8rq86EP58ps=; b=AR0YTdy8uP32ycAYgMVE5FGA58FOyvx7DJCmy3bcPHJjs6YHJszsJRGGDxG8zhJej6 ksJPAnHk06WPnh7grRhCNJuVLnYbE93BdEIs7SGSmxJgP1VPYIhrvn4RphNzio2WZgRY fq+GFOh/TVA86yCFLsbB1Ct+PHG3nB91DkIyL7kx573nPYoq8zCQg5jKWu53SKU1pBfi QDhWpCQxjfn9z4FLR23sa588JJxt+2i2FrIl7LmGU4paFLHns7D2KpkjzDu1yiHzdb1X 3XTGmKIr6uCfainIU+oQLdleAAhr9liy0PFNTqm1F3f/lPYPl5hZcVHx03UkK3EL1K5X pHWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du7si13158147ejc.341.2020.07.13.14.48.48; Mon, 13 Jul 2020 14:49:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726505AbgGMVsg (ORCPT + 99 others); Mon, 13 Jul 2020 17:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbgGMVsg (ORCPT ); Mon, 13 Jul 2020 17:48:36 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F41EC061755; Mon, 13 Jul 2020 14:48:36 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id A0111BC0D1; Mon, 13 Jul 2020 21:48:32 +0000 (UTC) From: "Alexander A. Klimov" To: sagi@grimberg.me, maxg@mellanox.com, dledford@redhat.com, jgg@ziepe.ca, bvanassche@acm.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, target-devel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH v2] IB: Replace HTTP links with HTTPS ones Date: Mon, 13 Jul 2020 23:48:26 +0200 Message-Id: <20200713214826.42487-1-grandmaster@al2klimov.de> In-Reply-To: <20200713135031.GA25301@ziepe.ca> References: <20200713135031.GA25301@ziepe.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++ X-Spam-Level: ***** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Just drivers/infiniband. There's nothing for include/rdma. drivers/infiniband/ulp/iser/Kconfig | 2 +- drivers/infiniband/ulp/srp/Kconfig | 2 +- drivers/infiniband/ulp/srpt/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/ulp/iser/Kconfig b/drivers/infiniband/ulp/iser/Kconfig index 3016a0c9a9f0..6ba73ae1291b 100644 --- a/drivers/infiniband/ulp/iser/Kconfig +++ b/drivers/infiniband/ulp/iser/Kconfig @@ -9,5 +9,5 @@ config INFINIBAND_ISER that speak iSCSI over iSER over InfiniBand. The iSER protocol is defined by IETF. - See + See and diff --git a/drivers/infiniband/ulp/srp/Kconfig b/drivers/infiniband/ulp/srp/Kconfig index 67cd63d1399c..c33f4e5fa4d7 100644 --- a/drivers/infiniband/ulp/srp/Kconfig +++ b/drivers/infiniband/ulp/srp/Kconfig @@ -9,5 +9,5 @@ config INFINIBAND_SRP InfiniBand. The SRP protocol is defined by the INCITS T10 technical - committee. See . + committee. See . diff --git a/drivers/infiniband/ulp/srpt/Kconfig b/drivers/infiniband/ulp/srpt/Kconfig index 4b5d9b792cfa..f63b34d9ae32 100644 --- a/drivers/infiniband/ulp/srpt/Kconfig +++ b/drivers/infiniband/ulp/srpt/Kconfig @@ -10,4 +10,4 @@ config INFINIBAND_SRPT that supports the RDMA protocol. Currently the RDMA protocol is supported by InfiniBand and by iWarp network hardware. More information about the SRP protocol can be found on the website - of the INCITS T10 technical committee (http://www.t10.org/). + of the INCITS T10 technical committee (https://www.t10.org/). -- 2.27.0