From a954951c7c42e90aeacbccc53413bb0e444da2cb Mon Sep 17 00:00:00 2001 From: djm Date: Fri, 24 Jun 2022 04:27:14 +0000 Subject: [PATCH] make it clear that RekeyLimit applies to both transmitted and received data. GHPR#328 from Jan Pazdziora --- usr.bin/ssh/ssh_config.5 | 10 +++++----- usr.bin/ssh/sshd_config.5 | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index c7b90669c86..10c8d61f349 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.372 2022/05/27 04:13:24 dtucker Exp $ -.Dd $Mdocdate: May 27 2022 $ +.\" $OpenBSD: ssh_config.5,v 1.373 2022/06/24 04:27:14 djm Exp $ +.Dd $Mdocdate: June 24 2022 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -1533,9 +1533,9 @@ extension required for restricted .Xr ssh-agent 1 forwarding. .It Cm RekeyLimit -Specifies the maximum amount of data that may be transmitted before the -session key is renegotiated, optionally followed by a maximum amount of -time that may pass before the session key is renegotiated. +Specifies the maximum amount of data that may be transmitted or received +before the session key is renegotiated, optionally followed by a maximum +amount of time that may pass before the session key is renegotiated. The first argument is specified in bytes and may have a suffix of .Sq K , .Sq M , diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5 index 4e9e0c94d34..206ebbd4599 100644 --- a/usr.bin/ssh/sshd_config.5 +++ b/usr.bin/ssh/sshd_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd_config.5,v 1.341 2022/04/12 05:09:49 dtucker Exp $ -.Dd $Mdocdate: April 12 2022 $ +.\" $OpenBSD: sshd_config.5,v 1.342 2022/06/24 04:27:14 djm Exp $ +.Dd $Mdocdate: June 24 2022 $ .Dt SSHD_CONFIG 5 .Os .Sh NAME @@ -1573,9 +1573,9 @@ Specifies whether public key authentication is allowed. The default is .Cm yes . .It Cm RekeyLimit -Specifies the maximum amount of data that may be transmitted before the -session key is renegotiated, optionally followed by a maximum amount of -time that may pass before the session key is renegotiated. +Specifies the maximum amount of data that may be transmitted or received +before the session key is renegotiated, optionally followed by a maximum +amount of time that may pass before the session key is renegotiated. The first argument is specified in bytes and may have a suffix of .Sq K , .Sq M , -- 2.20.1