summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-01-26 01:28:36 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-01-26 01:28:36 +0000
commitf29235b764f2118e76a5039911ea87fd6614dbbd (patch)
tree4168f1ff3fa2008b75a335b7cfc89943cc87282e /sys
parentab1d43b60f7c8a6f66dcf39bcdb2b87ce860626b (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