[openssh-commits] CVS: fuyu.mindrot.org: openssh

Damien Miller djm at fuyu.mindrot.org
Tue Jan 26 13:26:22 EST 2010


CVSROOT:        /var/cvs
Module name:    openssh
Changes by:     djm at fuyu.mindrot.org 10/01/26 13:26:22

Modified files:
    .               : ChangeLog channels.c channels.h clientloop.c clientloop.h mux.c nchan.c ssh.c

Log message:
   - djm at cvs.openbsd.org 2010/01/26 01:28:35
     [channels.c channels.h clientloop.c clientloop.h mux.c nchan.c ssh.c]
     rewrite ssh(1) multiplexing code to a more sensible protocol.
     
     The new multiplexing code uses channels for the listener and
     accepted control sockets to make the mux master non-blocking, so
     no stalls when processing messages from a slave.
     
     avoid use of fatal() in mux master protocol parsing so an errant slave
     process cannot take down a running master.
     
     implement requesting of port-forwards over multiplexed sessions. Any
     port forwards requested by the slave are added to those the master has
     established.
     
     add support for stdio forwarding ("ssh -W host:port ...") in mux slaves.
     
     document master/slave mux protocol so that other tools can use it to
     control a running ssh(1). Note: there are no guarantees that this
     protocol won't be incompatibly changed (though it is versioned).
     
     feedback Salvador Fandino, dtucker@
     channel changes ok markus@

Diff commands:
cvs -nQq rdiff -u -r1.5430 -r1.5431 openssh/ChangeLog
cvs -nQq rdiff -u -r1.291 -r1.292 openssh/channels.c
cvs -nQq rdiff -u -r1.95 -r1.96 openssh/channels.h
cvs -nQq rdiff -u -r1.205 -r1.206 openssh/clientloop.c
cvs -nQq rdiff -u -r1.22 -r1.23 openssh/clientloop.h
cvs -nQq rdiff -u -r1.11 -r1.12 openssh/mux.c
cvs -nQq rdiff -u -r1.61 -r1.62 openssh/nchan.c
cvs -nQq rdiff -u -r1.323 -r1.324 openssh/ssh.c

ViewVC:
http://anoncvs.mindrot.org/index.cgi/openssh/ChangeLog?r1=1.5430;r2=1.5431&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/channels.c?r1=1.291;r2=1.292&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/channels.h?r1=1.95;r2=1.96&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/clientloop.c?r1=1.205;r2=1.206&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/clientloop.h?r1=1.22;r2=1.23&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/mux.c?r1=1.11;r2=1.12&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/nchan.c?r1=1.61;r2=1.62&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/ssh.c?r1=1.323;r2=1.324&view=patch

Please note that there may be a delay before commits are available
on the public ViewVC site.


More information about the openssh-commits mailing list