From nobody Sun Jun 05 01:05:06 2022 X-Original-To: dev-commits-src-all@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 167A01BD3E3E; Sun, 5 Jun 2022 01:05:07 +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 4LFz1Z6wjLz3Mtl; Sun, 5 Jun 2022 01:05:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654391107; 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=4gRW5X/+jYoOHPTitqyDiGYO7lu13BYM4wNarRYDJBI=; b=Hvdzj9GTI6HJZEfXqY+E3lMw60mtprsmaaCUMKtX05WUNHP8r0VBjA/lI3p9d2xmbKFEss FbJKcUKRZK4Vs2CV4PuKH7XfzedKngN0Bcig38ORxS/8uQtQKJKn528OWAjjsgzEUEobNF kKR9YsPA4lE+FnWDXitXrIUC7EEiekp+Dg4pd3F51rQ2yB/QXLjkc6fh0KkZysz2/OFwZN Ql0u4ecWJaXa6XPd/qrGIl4cEh20gHD3rjHSOip8etIclFtFk1jxsRWKa7cyhzxfczj4qx QBjBl2D6qE2yZBWOwJwsYzq72I/iE+a+6h8X5bJzlJ2ma6A/FcB/jgtbhDrJvA== 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 B653043D; Sun, 5 Jun 2022 01:05:06 +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 2551568O050960; Sun, 5 Jun 2022 01:05:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 255156DK050959; Sun, 5 Jun 2022 01:05:06 GMT (envelope-from git) Date: Sun, 5 Jun 2022 01:05:06 GMT Message-Id: <202206050105.255156DK050959@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: be4e16e9810f - stable/13 - rpc.tlsservd: Update the man page for the -C option List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: be4e16e9810f282d79c6a7913f02e6a425f13cca Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654391107; 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=4gRW5X/+jYoOHPTitqyDiGYO7lu13BYM4wNarRYDJBI=; b=xPKhmw1A0TTWdJibNMOnXNzbV/wPuYBBQq8U+4BasFgbKPzPbuOkKgnwA7IVLqKWHryUoG 9y7ffsyTr4+x9p+/fpxt37pD5wgpLsatMlXmq25zbqpSon2cusfQpeH7PiiB3bGWeIh2t8 rsF6WOa5Gu/kWc4zJGAeaSTHZxU34Y7K5PsCmf/H/wJhKZG4FbRDHI+EZtWn6lh14jt1iS OEu63URlqDTLB5/lqUgsFD2fO2FoJK+2HyaO+ZMEgdnuIyoHatuJasRbcY4Lf7pY8iNBF/ wcHT/StCwAjARhPLhYGcqIENS2JHtjy+vTfMN9xHXiQ8N9ocONu1nHNoU4CtDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654391107; a=rsa-sha256; cv=none; b=LGZ15j3JOY8R5V7HYa7IkPi2yMmZZTQxEA1iwMFSy3MlCTvVduxJCYIbsUJNEB2S1/U+bW xXmy3hWjJKnIvM0qb1GnXMslBrWsS3W25p9endiurbcXaaWohAxQU5tpifba2anu51F/K3 j+OVzNHmd3Spj/OT/XYeJJDpu9YmLbKkIG22pW0w33zZ8FGrUZEvidpWveu8pLmw3fz6ro qSc2xMyPe1FCYXbJMGvcPoGakO9RbvYYdksmXmidi3EN70wI17Br+JQl2yd08KrfBjtMNQ qS2cLrVMTvV0IFPKc6z6niICpbjlnkDax9ARqPeY4G6p8uw9BWDjPRxrKVbRNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=be4e16e9810f282d79c6a7913f02e6a425f13cca commit be4e16e9810f282d79c6a7913f02e6a425f13cca Author: Rick Macklem AuthorDate: 2022-05-21 22:44:29 +0000 Commit: Rick Macklem CommitDate: 2022-06-05 01:04:13 +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. (cherry picked from commit d94358e29d1eacab17e9992ad91decb1b84b9449) --- 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 ,