From nobody Sat May 21 22:45:33 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 75F7E1B4B00F; Sat, 21 May 2022 22:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5Jb12jkRz3llQ; Sat, 21 May 2022 22:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653173133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zY/rwqSHPu9h2UUXzVnhOM+PDpPwqQmcwKrAIWun7Ek=; b=FBmd7BRqWrsjbshNdQqgkAPPuQZ9xgt3fgnFt9aJDIH6ArSf00p5hBRKkR3IQwpWLEtIEC /bnQf0Dzc+0yysuSKgwFXkituokG48aVj1pdjLvPG36NYTR8lA6DjiSGFK4lnj9BPiXZd3 CdBe66a9drd/ZBGbx22XuGieDQCx41aGPF5J18cOpeP0X+tr7dmK39mHEEIAzSeC10la/O zeG2LoBq4yg72Lna2Pv7AVxCm5dt4BgdCqVW3AyxYyq9um/O8WXTdBgjCnR6gOSxPvpyq9 FHywyKLomJHZBxGXgQ75GkWXpgrdgHdvLW5d0HNXueR0dKRZ2rbFHpOU5unCLg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 39BCA7B07; Sat, 21 May 2022 22:45:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24LMjXiB033700; Sat, 21 May 2022 22:45:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24LMjXWW033699; Sat, 21 May 2022 22:45:33 GMT (envelope-from git) Date: Sat, 21 May 2022 22:45:33 GMT Message-Id: <202205212245.24LMjXWW033699@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: d94358e29d1e - main - rpc.tlsservd: Update the man page for the -C option List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d94358e29d1eacab17e9992ad91decb1b84b9449 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653173133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zY/rwqSHPu9h2UUXzVnhOM+PDpPwqQmcwKrAIWun7Ek=; b=DIPMB4VipzoI/ykc23tm9KzGutqwlZqKoA/YUC2gYcmFYIr9bLsmR1ELnrHDr5e04L7c01 bTd6mWgpdxVr/vhVfGJllmIE//qh4zTLEqfcEmXtlpTMctsMqkO1kOiuPe30z7ogigso/C OP2pafBV+PQKpVlSnaNXIpm67RHaA90l/nnk4sXm3SRoGh+LB83vqjXQ65njb8UMRigtfR frEHt8Qx9YCzUO/zw+CzUASwxIkT1GMHwjjPYEjjNogLA6pyHdDzUDjx4qoEMod/QjiYq6 3Zd0vxXLVGfev9IopRRhy9jgp10q8N6K32dD9TSkA5vN3Aioq4IeYyuRFBEqqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653173133; a=rsa-sha256; cv=none; b=xl3jF2iocyDrnnOg+1bG9bM/zGuwJPXFhZOdCnI/tk/sTgnj+eOg5i6zBGeF/6i6Me4iVV FomtGxqOz1kc0oOlTSskAuJ1LEbU2fO242hQOhL49eW1LKLwjqfpSTZjaA/MvX4G3qet2w 5H/U0YAnPIKAWcP53m92z5L6OJCLLxWCQvWd5ukbMAc9EzqGtl9r8VNYAvJKX4P37Uv8H4 6+HmdeD3O7GEFPcvlqexPm+OVNCzt1EnuTuM8XTgNL7EcjOQyN6KhD8p+DULdIKnfXN1+c zvptT+Tq13TSJ71yOCYEtioocVV/399v9Fd17Aor9Lmv/2pJw+BAXHFj6QuI6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=d94358e29d1eacab17e9992ad91decb1b84b9449 commit d94358e29d1eacab17e9992ad91decb1b84b9449 Author: Rick Macklem AuthorDate: 2022-05-21 22:44:29 +0000 Commit: Rick Macklem CommitDate: 2022-05-21 22:44:29 +0000 rpc.tlsservd: Update the man page for the -C option Commit 712aac1389e8 adds a new -C command line option to rpc.tlsservd. This patch updates the man page for this new command line option. This is a content change. Reviewed by: jhb, pauamma_gundo.com MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D35136 --- usr.sbin/rpc.tlsservd/rpc.tlsservd.8 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rpc.tlsservd/rpc.tlsservd.8 b/usr.sbin/rpc.tlsservd/rpc.tlsservd.8 index 9e1c78220884..5a1548235f5c 100644 --- a/usr.sbin/rpc.tlsservd/rpc.tlsservd.8 +++ b/usr.sbin/rpc.tlsservd/rpc.tlsservd.8 @@ -26,7 +26,7 @@ .\" $FreeBSD$ .\" .\" Modified from gssd.8 for rpc.tlsservd.8 by Rick Macklem. -.Dd January 29, 2021 +.Dd May 17, 2022 .Dt RPC.TLSSERVD 8 .Os .Sh NAME @@ -34,6 +34,7 @@ .Nd "Sun RPC over TLS Server Daemon" .Sh SYNOPSIS .Nm +.Op Fl C Ar available_ciphers .Op Fl D Ar certdir .Op Fl d .Op Fl h @@ -140,6 +141,24 @@ option has been specified. .Pp The options are as follows: .Bl -tag -width indent +.It Fl C Ar available_ciphers , Fl Fl ciphers= Ns Ar available_ciphers +Specify which ciphers are available during TLS handshake. +If this option is specified, +.Dq SSL_CTX_set_ciphersuites() +will be called with +.Dq available_ciphers +as the argument. +If this option is not specified, the cipher will be chosen by +.Xr ssl 7 , +which should be adequate for most cases. +The format for the available ciphers is a simple +.So +: +.Sc +separated list, in order of preference. +The command +.Dq openssl ciphers -s -tls1_3 +lists available ciphers. .It Fl D Ar certdir , Fl Fl certdir= Ns Ar certdir Use .Dq certdir @@ -324,6 +343,7 @@ options is allowed. .Xr openssl 1 , .Xr ktls 4 , .Xr exports 5 , +.Xr ssl 7 , .Xr mount_nfs 8 , .Xr nfsuserd 8 , .Xr rpc.tlsclntd 8 ,