diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-01-26 01:28:36 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-01-26 01:28:36 +0000 |
commit | f29235b764f2118e76a5039911ea87fd6614dbbd (patch) | |
tree | 4168f1ff3fa2008b75a335b7cfc89943cc87282e /sys | |
parent | ab1d43b60f7c8a6f66dcf39bcdb2b87ce860626b (diff) |
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@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions