From nobody Sun May 22 21:00:16 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 2931D1AEE151; Sun, 22 May 2022 21:00:17 +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 4L5tC46Kxcz3sXL; Sun, 22 May 2022 21:00:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653253217; 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=H0nUxHDlF9O9CJpqI5313tMG5XFugSUCmJtn7ggSfh0=; b=ZbB3rHCevo7ep4BopwFfi/zJKBmlhJryQH+AHGhT66pYns/YJBkl9xeTTscaL61swQzoV3 wQ9askn8LB7Gr102sEOVz280XNOi956CCF8OKhOxVS8h4ltbHHm3JEbP8+TrElu1W1yoT0 wUlg3eAVGLKI4PA65HT7FmdcSJh2VD8KQ83RqzXioYTvH34dEzhaOJWPt6vNHNHXYGbR6e 1dpecD5R+fxVJM+8iJv3QXUN70m8VFSDWvpk6F0uM51RxU4O3X9M8DRNMv5zWYuc40s+Ae kk249dvqxCn3SisGgIemwFomiu1Mlk3eU7mNMoJdjheYPcEYUOfaytxfTXtHuQ== 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 8D4952297C; Sun, 22 May 2022 21:00:16 +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 24ML0Gge053848; Sun, 22 May 2022 21:00:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ML0GJ5053842; Sun, 22 May 2022 21:00:16 GMT (envelope-from git) Date: Sun, 22 May 2022 21:00:16 GMT Message-Id: <202205222100.24ML0GJ5053842@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: 0bf3f379e18f - main - rpc.tlsclntd: 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: 0bf3f379e18f5f01af77a23163222165321a5502 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653253217; 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=H0nUxHDlF9O9CJpqI5313tMG5XFugSUCmJtn7ggSfh0=; b=XIWDg4/wID93ctVbJfd/9+Dxvl9xcM5t5ueDxVkl8ggyu19k5hQRqbAhNIyxvPDzW+VZst JW+js3L2OLyMitmZmVyC7YXmohUg5edd9ew/BR4I/5Yiq+vVsLaY20e1UPyTaG6fDc7QrF XTxVrsCLsFhmaexyv8GBPtmsM8vNmKHaCPtOxDWZPwml/iH8+6UzjYFmzvFjrpoRYFku93 FCGvnxEIrbODGap0XPQ1hg0rEZGW8w8nc4c1i0BrAcj9UYDgIGKtpzoGx6z3gf70AZHQzS P/muz5WNKeG7JCccfOmTFXkd88Kp5yBGs1pbx+nW3jNzdCZZLUZoSFUc18R0VQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653253217; a=rsa-sha256; cv=none; b=CA8myiO1V085PCmFk5kv0P1sCx4XHn8/8MlQ1gz6sPQoewWXE73ZniPgWsWZ2dcUxPoOh/ SiBYGxv8zb3IHX+1sKmxFaL+jLhP0alEPxmg7ep8OEah6XYulteD3/6up/cvNuYZxmXTF5 agJoPf95+mM3EVIYlF222yFwPkmNKAaAuEYTcJFKwH/9HslW0icbfQZRnOAZwqQl74QU5q yU9oJPGCp15teyrziGVhlOyuCaZJeuPs7lcTCNi27jifrfXlSACpq79YAvJHn12xxqRO48 mx9I5wwATJBUDJQLq0ARTkHSfk41FU71ynjaPPkFqWU+waOUz/NWMuiw4OmWWg== 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=0bf3f379e18f5f01af77a23163222165321a5502 commit 0bf3f379e18f5f01af77a23163222165321a5502 Author: Rick Macklem AuthorDate: 2022-05-22 20:58:59 +0000 Commit: Rick Macklem CommitDate: 2022-05-22 20:58:59 +0000 rpc.tlsclntd: Update the man page for the -C option Commit f5b40aa0dea6 modifies the -C command line option for rpc.tlsclntd to use the TLS 1.3 SSL_CTX_set_ciphersuites(). This patch updates the man page for this modified command line option. This is a content change. Reviewed by: jhb, pauamma_gundo.com (same change for rpc.tlsservd.8) MFC after: 2 weeks --- usr.sbin/rpc.tlsclntd/rpc.tlsclntd.8 | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.8 b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.8 index 23a9d05495c1..fa33a09411ac 100644 --- a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.8 +++ b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.8 @@ -26,7 +26,7 @@ .\" $FreeBSD$ .\" .\" Modified from gssd.8 for rpc.tlsclntd.8 by Rick Macklem. -.Dd February 17, 2021 +.Dd May 18, 2022 .Dt RPC.TLSCLNTD 8 .Os .Sh NAME @@ -34,7 +34,7 @@ .Nd "Sun RPC over TLS Client Daemon" .Sh SYNOPSIS .Nm -.Op Fl C Ar preferred_ciphers +.Op Fl C Ar available_ciphers .Op Fl D Ar certdir .Op Fl d .Op Fl l Ar CAfile @@ -92,15 +92,24 @@ option has been specified. .Pp The options are as follows: .Bl -tag -width indent -.It Fl C Ar preferred_ciphers , Fl Fl ciphers= Ns Ar preferred_ciphers -Specify what preferred ciphers are to be used. +.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_cipher_list() +.Dq SSL_CTX_set_ciphersuites() will be called with -.Dq preferred_ciphers +.Dq available_ciphers as the argument. If this option is not specified, the cipher will be chosen by -.Xr ssl 7 . +.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