]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ssh: update to OpenSSH 9.2p1
authorEd Maste <emaste@FreeBSD.org>
Mon, 6 Feb 2023 21:54:56 +0000 (16:54 -0500)
committerEd Maste <emaste@FreeBSD.org>
Tue, 14 Feb 2023 22:33:56 +0000 (17:33 -0500)
commitfad31dffb4057cc606fe59a7ba2e09ca9a8a147c
tree9af12bd1691f88a67d75fb253322b5641dcd23fc
parent26b9c45c8f65dbd30bc41f1928db8cd66bb154bb
ssh: update to OpenSSH 9.2p1

Release notes are available at https://www.openssh.com/txt/release-9.2

OpenSSH 9.2 contains fixes for two security problems and a memory safety
problem.  The memory safety problem is not believed to be exploitable.
These fixes have already been committed to OpenSSH 9.1 in FreeBSD.

Some other notable items from the release notes:

 * ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that
   controls whether the client-side ~C escape sequence that provides a
   command-line is available. Among other things, the ~C command-line
   could be used to add additional port-forwards at runtime.

 * sshd(8): add support for channel inactivity timeouts via a new
   sshd_config(5) ChannelTimeout directive. This allows channels that
   have not seen traffic in a configurable interval to be
   automatically closed. Different timeouts may be applied to session,
   X11, agent and TCP forwarding channels.

 * sshd(8): add a sshd_config UnusedConnectionTimeout option to
   terminate client connections that have no open channels for a
   length of time. This complements the ChannelTimeout option above.

 * sshd(8): add a -V (version) option to sshd like the ssh client has.

 * scp(1), sftp(1): add a -X option to both scp(1) and sftp(1) to
   allow control over some SFTP protocol parameters: the copy buffer
   length and the number of in-flight requests, both of which are used
   during upload/download. Previously these could be controlled in
   sftp(1) only. This makes them available in both SFTP protocol
   clients using the same option character sequence.

 * ssh-keyscan(1): allow scanning of complete CIDR address ranges,
   e.g.  "ssh-keyscan 192.168.0.0/24". If a CIDR range is passed, then
   it will be expanded to all possible addresses in the range
   including the all-0s and all-1s addresses. bz#976

 * ssh(1): support dynamic remote port forwarding in escape
   command-line's -R processing. bz#3499

Approved by: re (cperciva)
Sponsored by: The FreeBSD Foundation

(cherry picked from commit f374ba41f55c1a127303d92d830dd58eef2f5243)
(cherry picked from commit 2f43f145825d0d8468f583b1686262b0f40c1fe5)
131 files changed:
crypto/openssh/.depend
crypto/openssh/.github/ci-status.md
crypto/openssh/.github/configs
crypto/openssh/.github/setup_ci.sh
crypto/openssh/.github/workflows/c-cpp.yml
crypto/openssh/.github/workflows/cifuzz.yml [new file with mode: 0644]
crypto/openssh/.github/workflows/selfhosted.yml
crypto/openssh/.github/workflows/upstream.yml
crypto/openssh/.skipped-commit-ids
crypto/openssh/ChangeLog
crypto/openssh/INSTALL
crypto/openssh/Makefile.in
crypto/openssh/PROTOCOL
crypto/openssh/README
crypto/openssh/README.md
crypto/openssh/aclocal.m4
crypto/openssh/addr.c
crypto/openssh/addr.h
crypto/openssh/auth-pam.c
crypto/openssh/auth-rhosts.c
crypto/openssh/auth.c
crypto/openssh/channels.c
crypto/openssh/channels.h
crypto/openssh/clientloop.c
crypto/openssh/config.guess
crypto/openssh/config.h
crypto/openssh/config.sub
crypto/openssh/configure.ac
crypto/openssh/contrib/redhat/openssh.spec
crypto/openssh/contrib/suse/openssh.spec
crypto/openssh/crypto_api.h
crypto/openssh/ed25519.c
crypto/openssh/ed25519.sh [new file with mode: 0644]
crypto/openssh/entropy.c
crypto/openssh/fe25519.c [deleted file]
crypto/openssh/fe25519.h [deleted file]
crypto/openssh/ge25519.c [deleted file]
crypto/openssh/ge25519.h [deleted file]
crypto/openssh/ge25519_base.data [deleted file]
crypto/openssh/install-sh
crypto/openssh/kex.c
crypto/openssh/misc.c
crypto/openssh/misc.h
crypto/openssh/moduli
crypto/openssh/monitor_wrap.c
crypto/openssh/mux.c
crypto/openssh/openbsd-compat/arc4random.c
crypto/openssh/openbsd-compat/arc4random.h
crypto/openssh/openbsd-compat/bsd-getentropy.c
crypto/openssh/openbsd-compat/bsd-poll.c
crypto/openssh/openbsd-compat/bsd-poll.h
crypto/openssh/openbsd-compat/bsd-timegm.c
crypto/openssh/openbsd-compat/getrrsetbyname.c
crypto/openssh/openbsd-compat/openbsd-compat.h
crypto/openssh/openbsd-compat/regress/Makefile.in
crypto/openssh/openbsd-compat/regress/opensslvertest.c
crypto/openssh/readconf.c
crypto/openssh/readconf.h
crypto/openssh/regress/Makefile
crypto/openssh/regress/agent-getpeereid.sh
crypto/openssh/regress/agent-ptrace.sh
crypto/openssh/regress/channel-timeout.sh [new file with mode: 0644]
crypto/openssh/regress/connection-timeout.sh [new file with mode: 0644]
crypto/openssh/regress/dynamic-forward.sh
crypto/openssh/regress/hostbased.sh
crypto/openssh/regress/krl.sh
crypto/openssh/regress/multiplex.sh
crypto/openssh/regress/percent.sh
crypto/openssh/regress/reexec.sh
crypto/openssh/regress/scp-uri.sh
crypto/openssh/regress/scp.sh
crypto/openssh/regress/scp3.sh
crypto/openssh/regress/test-exec.sh
crypto/openssh/regress/unittests/hostkeys/Makefile
crypto/openssh/regress/unittests/kex/Makefile
crypto/openssh/regress/unittests/kex/test_proposal.c [new file with mode: 0644]
crypto/openssh/regress/unittests/kex/tests.c
crypto/openssh/regress/unittests/misc/test_ptimeout.c [new file with mode: 0644]
crypto/openssh/regress/unittests/misc/tests.c
crypto/openssh/regress/unittests/sshkey/Makefile
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
crypto/openssh/regress/unittests/sshsig/Makefile
crypto/openssh/regress/yes-head.sh
crypto/openssh/sandbox-seccomp-filter.c
crypto/openssh/sc25519.c [deleted file]
crypto/openssh/sc25519.h [deleted file]
crypto/openssh/scp.1
crypto/openssh/scp.c
crypto/openssh/servconf.c
crypto/openssh/servconf.h
crypto/openssh/serverloop.c
crypto/openssh/session.c
crypto/openssh/session.h
crypto/openssh/sftp-client.c
crypto/openssh/sftp-glob.c
crypto/openssh/sftp-server.c
crypto/openssh/sftp.1
crypto/openssh/sftp.c
crypto/openssh/sntrup761.c
crypto/openssh/sntrup761.sh
crypto/openssh/ssh-agent.1
crypto/openssh/ssh-agent.c
crypto/openssh/ssh-dss.c
crypto/openssh/ssh-ecdsa-sk.c
crypto/openssh/ssh-ecdsa.c
crypto/openssh/ssh-ed25519-sk.c
crypto/openssh/ssh-ed25519.c
crypto/openssh/ssh-keygen.c
crypto/openssh/ssh-keyscan.1
crypto/openssh/ssh-keyscan.c
crypto/openssh/ssh-rsa.c
crypto/openssh/ssh-sk-helper.c
crypto/openssh/ssh-xmss.c
crypto/openssh/ssh.1
crypto/openssh/ssh.c
crypto/openssh/ssh_config.5
crypto/openssh/ssh_namespace.h
crypto/openssh/sshbuf.c
crypto/openssh/sshbuf.h
crypto/openssh/sshconnect.c
crypto/openssh/sshd.8
crypto/openssh/sshd.c
crypto/openssh/sshd_config
crypto/openssh/sshd_config.5
crypto/openssh/sshkey-xmss.c
crypto/openssh/sshkey-xmss.h
crypto/openssh/sshkey.c
crypto/openssh/sshkey.h
crypto/openssh/verify.c [deleted file]
crypto/openssh/version.h
secure/lib/libssh/Makefile