[openssh-commits] [openssh] branch master updated (845ceece -> 2d1ff2b9)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jan 6 16:23:25 AEDT 2023


This is an automated email from the git hooks/post-receive script.

djm pushed a change to branch master
in repository openssh.

      from  845ceece  upstream: regression test for PermitRemoteOpen
       new  8c7c69d3  upstream: suppress "Connection closed" message when in quiet mode
       new  4adf3817  upstream: add ptimeout API for keeping track of poll/ppoll
       new  d478cdc7  upstream: replace manual poll/ppoll timeout math with ptimeout API
       new  c6043815  upstream: Add channel_force_close()
       new  ceedf09b  upstream: tweak channel ctype names
       new  0e34348d  upstream: Add channel_set_xtype()
       new  2d1ff2b9  upstream: Implement channel inactivity timeouts

The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit 2d1ff2b9431393ad99ef496d5e3b9dd0d4f5ac8c
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:47:18 2023 +0000

    upstream: Implement channel inactivity timeouts
    
    This adds a sshd_config ChannelTimeouts directive that 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.
    
    Note: this only affects channels over an opened SSH connection and not
    the connection itself. Most clients close the connection when their channels
    go away, with a notable exception being ssh(1) in multiplexing mode.
    
    ok markus dtucker
    
    OpenBSD-Commit-ID: ae8bba3ed9d9f95ff2e2dc8dcadfa36b48e6c0b8

commit 0e34348d0bc0b1522f75d6212a53d6d1d1367980
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:42:34 2023 +0000

    upstream: Add channel_set_xtype()
    
    This sets an "extended" channel type after channel creation (e.g.
    "session:subsystem:sftp") that will be used for setting channel inactivity
    timeouts.
    
    ok markus dtucker
    
    OpenBSD-Commit-ID: 42564aa92345045b4a74300528f960416a15d4ca

commit ceedf09b2977f3a756c759a6e7eb8f8e9db86a18
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:41:49 2023 +0000

    upstream: tweak channel ctype names
    
    These are now used by sshd_config:ChannelTimeouts to specify timeouts by
    channel type, so force them all to use a similar format without whitespace.
    
    ok dtucker markus
    
    OpenBSD-Commit-ID: 66834765bb4ae14f96d2bb981ac98a7dae361b65

commit c60438158ad4b2f83d8504257aba1be7d0b0bb4b
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:39:59 2023 +0000

    upstream: Add channel_force_close()
    
    This will forcibly close an open channel by simulating read/write errors,
    draining the IO buffers and calling the detach function.
    
    Previously the detach function was only ever called during channel garbage
    collection, but there was no way to signal the user of a channel (e.g.
    session.c) that its channel was being closed deliberately (vs. by the
    usual state-machine logic). So this adds an extra "force" argument to the
    channel cleanup callback to indicate this condition.
    
    ok markus dtucker
    
    OpenBSD-Commit-ID: 23052707a42bdc62fda2508636e624afd466324b

commit d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:38:23 2023 +0000

    upstream: replace manual poll/ppoll timeout math with ptimeout API
    
    feedback markus / ok markus dtucker
    
    OpenBSD-Commit-ID: c5ec4f2d52684cdb788cd9cbc1bcf89464014be2

commit 4adf3817a24efe99b06e62630577d683c7cd8065
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jan 6 02:37:04 2023 +0000

    upstream: add ptimeout API for keeping track of poll/ppoll
    
    timeouts; ok dtucker markus
    
    OpenBSD-Commit-ID: 3335268ca135b3ec15a947547d7cfbb8ff929ead

commit 8c7c69d32375d2f3ce9da0109c9bffc560842316
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Thu Jan 5 05:49:13 2023 +0000

    upstream: suppress "Connection closed" message when in quiet mode
    
    OpenBSD-Commit-ID: 8a3ab7176764da55f60bfacfeae9b82d84e3908f

Summary of changes:
 channels.c     | 218 ++++++++++++++++++++++++++++++++++++++++++++-------------
 channels.h     |  23 ++++--
 clientloop.c   |  50 ++++---------
 misc.c         |  91 +++++++++++++++++++++++-
 misc.h         |  11 ++-
 monitor_wrap.c |   3 +-
 mux.c          |   6 +-
 servconf.c     | 110 ++++++++++++++++++++++++++---
 servconf.h     |   7 +-
 serverloop.c   |  69 ++++++------------
 session.c      |  27 ++++---
 session.h      |   4 +-
 sftp.c         |   5 +-
 ssh.c          |   4 +-
 sshd.c         |   3 +-
 sshd_config.5  |  69 +++++++++++++++++-
 16 files changed, 531 insertions(+), 169 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list