Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1903640rdb; Wed, 31 Jan 2024 12:42:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgV3pd1DKdCQiFTooi0JXkJzrxuNWG8c/YN1uktJrhOsoD2sTLgg9bRNsOW5P/Ih4SLFMa X-Received: by 2002:a17:90a:f2c9:b0:28d:2aa7:b684 with SMTP id gt9-20020a17090af2c900b0028d2aa7b684mr112617pjb.1.1706733757064; Wed, 31 Jan 2024 12:42:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706733757; cv=pass; d=google.com; s=arc-20160816; b=R3xMjwrKTVavgN9PoteYK6wHx/0gJY/D234mqdcm8oveHX9t6pVjVYz+geSHsvaUYY tqLQvznj40M7deZLOGEsOCU64LQtz5XSFxpMqA/K5B3e9eVkywHaVGxAT9rKijywcI5Q 95buR3D2da9j1XMykoMakYXmX3eibAUO1bGSnU8zaMQmC6WsIK/IsCRy9fb9rmu0ijG2 uzCcaUhfHMnEeGH+13A1toTMFRH2htEdRs/9cKbp38YkA/M1K6dkdDCHBM8w64RdbrNK HABvhbi8PTEqN771QHNo7XL4BLZyGpYNQa3llFud5ueUE/QwyKT1RjwIbbK16AvkTEtI 5gdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=4skPJA2vJ56LGwhJco2Cysnat/idw91vbpowRvolhjg=; fh=jrvkILcmtfY8qa3Oss05QJWdFmoCM1yyfKFkTjZnGzM=; b=DjaYDUUm7iMIo6/H7nFodpJ4PDyvr4eL/XiQi7kIBNL/DDl8+nQSPRy6jXd2hNdcrz 6vfBGVAegLJVyaorU3fLEvgH35oNxoF7S6ytnRSSAj5+ckWXQFH+0zjHvjCv00mQghoY /0t3WiMEFv0qJ3J1E0AbaktnYQNGkWcFJ3n3Yk3g02L6jCRIr5fp1IUKffct27ndgDiS 6ZmwTv6UYNdC43q++T7Lg6S7vqBbEN4QUCDq8P4j7FAfYKc4cdGkplHpTCaQz5aGQGTl Hs58labnq4PAqGpubW9QK60aYJOC4Bblh4Y7DMTVMz1ZPaAq+fKRKcOfNib1QKq4hdQy FGqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UoqcgdSP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-1636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id nl17-20020a17090b385100b0028e114463b1si2160353pjb.60.2024.01.31.12.42.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 12:42:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UoqcgdSP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-1636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4ACBFB22D28 for ; Wed, 31 Jan 2024 20:38:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CC011BC49; Wed, 31 Jan 2024 20:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UoqcgdSP" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94B6424A18 for ; Wed, 31 Jan 2024 20:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706733526; cv=none; b=YA9uyrQSpyz8kP95VG4UhiUKMEBtne2MbPinM8xuq9/F7YLYzgXXjHkmHi6l+PjUIK2novzZpkAu/40dkwWWmz/XMdGyIHNje5xhmMraO8mXxl6p99Z2A30rC3Fr4n9Gve3ZISsE1jCWucCo5fZVFH4QlRjDYnFmALgxaX73NAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706733526; c=relaxed/simple; bh=tg27zAtyXt7rLrfIcrUi9Whhdczi0Nui8BLGcgeRvbc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=B9eMmfYGA1g2GmziflhVGc+ya7Apa78GAz8+grDcWv+/57w1fwvLyD0wuDPXBmy9OKabZH/mq5cvy7FnT77fBpEaqJGwJ7mZzlBJb+rVLacw1qtOAzuP7CcIJUHyswJ4OrI8mWjjr2PXGf1NbXnPipAc5w/wqIXfD2jLjLp2F+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UoqcgdSP; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51124e08565so271009e87.3 for ; Wed, 31 Jan 2024 12:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706733522; x=1707338322; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4skPJA2vJ56LGwhJco2Cysnat/idw91vbpowRvolhjg=; b=UoqcgdSPsTorX9Xv3sBd7Gw5jZWytP9Yj5s5x1FK7UdNpisuaNpXDwXJROktMDZ4PH svXMBhfbadBKq+DWKZZ4w5RQdDEspGSxMJp6ZJZqGOd9H+jh2fWp3z5w3QhQIBzotOfm 3k1SQ2wXqsja9V413V+KBtqeSAxN90zcwPJNEX26NoJ9l0NTDPmKNdPJZsqVr12LDpWH WflgADxuMWCmuOkOS3b7Ffaocg8WLS48xTpZSOi6k0dWSgvm7+vGlPNV4Xsm/tGseLQM CU7YBpzP8DwnY4tvom219ApdOdPCyyzoW0V/ECGFkDRL2cGbaql3SgVa0Dee0s0PG9Z8 +pLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706733522; x=1707338322; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4skPJA2vJ56LGwhJco2Cysnat/idw91vbpowRvolhjg=; b=meHFQoz91R9Itag0V94sB+5p0t0UwmVzGXXv6VI2c0bMcg+G0W4sI13sOt35REJLHF sWKCP4phcK/ta2VIeBgrVern62YFuEW6tOohHWl0YlINLnfOKDhosRztH3AL/NxT4zLt 9Kn5OYYJ2d+giDFttJy4SSS1c693oXng+8Pd3TluBQ936aUX6FhFZESwfu0mlMLIc+xp 4FoUcUES/Zg/SunNnGtDz4iGxTR3DZE2J7CZBGDTppyTiUhEz8bWUPQyG/OmVvKyVNcK 3gwU9/shLhFxjnq0VZJCjeOCkV/BYg8OR0Eyuq285MaUURXT1MJXbCSCTl3hQxC0FNqu om0A== X-Gm-Message-State: AOJu0YzhuPok60If54HU0oTPjN41nbKoDry7lN1eiTJU6VRzFsT83TxM fG35Svw9drELa4D8FlV8o6aC0M2rQ6KGspHXQMIAzyS1HwZcwH6arrsfrJPvdAhcRkYsmgz59bW WQbJkQVGSABVNInyaOgbavuZ22O0= X-Received: by 2002:ac2:4578:0:b0:511:e82:1c52 with SMTP id k24-20020ac24578000000b005110e821c52mr418563lfm.65.1706733522316; Wed, 31 Jan 2024 12:38:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Dan Shelton Date: Wed, 31 Jan 2024 21:38:15 +0100 Message-ID: Subject: Re: Implement NFSv4 TLS support with /usr/bin/openssl s_client? To: Cedric Blancher Cc: Jeff Layton , Linux NFS Mailing List , Benjamin Coddington Content-Type: text/plain; charset="UTF-8" ? On Fri, 26 Jan 2024 at 08:23, Cedric Blancher wrote: > > On Thu, 25 Jan 2024 at 21:44, Jeff Layton wrote: > > > > On Thu, 2024-01-25 at 03:21 +0100, Dan Shelton wrote: > > > Hello! > > > > > > Is it possible for a NFSv4 client to implement TLS support via > > > /usr/bin/openssl s_client? > > > > > > /usr/bin/openssl s_client would do the connection, and a normal > > > libtirpc client would connect to the other side of s_client. > > > > > > Does that work? > > > > > > Dan > > > > Doubtful. RPC over TLS requires some cleartext setup before TLS is > > negotiated. At one time Ben Coddington had a proxy based on nginx that > > could handle the TLS negotiation, but I think that might have been based > > on an earlier draft of the spec. It would probably need some work to be > > brought up to the state of the RFC. > > What about libtirpc-based apps? Is anyone going to add TLS support to libtirpc? > > Ced > -- > Cedric Blancher > [https://plus.google.com/u/0/+CedricBlancher/] > Institute Pasteur -- Dan Shelton - Cluster Specialist Win/Lin/Bsd