]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: the messaging layer between sshd-session and sshd-auth had a
authordjm@openbsd.org <djm@openbsd.org>
Fri, 4 Jul 2025 07:47:35 +0000 (07:47 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 4 Jul 2025 07:50:09 +0000 (17:50 +1000)
commit0cf38d74463bcf80510e7fd1b3d9328e7d91eb00
tree3b99b402eb89d2196024db0b60d07fb95d159420
parentfd10cea0f16e928ae2b52fbeadccd475d0438eb4
upstream: the messaging layer between sshd-session and sshd-auth had a

maximum message size of 256KB. Some people apparently have configurations
larger than this and would hit this limit.

Worse, there was no good logging that could help diagnose what was
going wrong.

So this bumps the maximum message size to 4MB and implements an early
check (usable via the sshd -t test mode) that will report it to the
user where it is hopefully more visible.

bz3808, reported by Dmitry Belyavskiy, ok dtucker@

OpenBSD-Commit-ID: 69c303fb68cbd1a4735936835d67a71e7b57f63b
monitor_wrap.c
monitor_wrap.h
sshd.c