Changeset View
Changeset View
Standalone View
Standalone View
PROTOCOL.mux
Show All 33 Lines | |||||
"Proxy" clients, requested using MUX_C_PROXY, work quite differently. In | "Proxy" clients, requested using MUX_C_PROXY, work quite differently. In | ||||
this mode, the mux client/server connection socket will stop speaking | this mode, the mux client/server connection socket will stop speaking | ||||
the multiplexing protocol and start proxying SSH connection protocol | the multiplexing protocol and start proxying SSH connection protocol | ||||
messages between the client and server. The client therefore must | messages between the client and server. The client therefore must | ||||
speak a significant subset of the SSH protocol, but in return is able | speak a significant subset of the SSH protocol, but in return is able | ||||
to access basically the full suite of connection protocol features. | to access basically the full suite of connection protocol features. | ||||
Moreover, as no file descriptor passing is required, the connection | Moreover, as no file descriptor passing is required, the connection | ||||
supporting a proxy client may iteself be forwarded or relayed to another | supporting a proxy client may itself be forwarded or relayed to another | ||||
host if necessary. | host if necessary. | ||||
1. Connection setup | 1. Connection setup | ||||
When a multiplexing connection is made to a ssh(1) operating as a | When a multiplexing connection is made to a ssh(1) operating as a | ||||
ControlMaster from a client ssh(1), the first action of each is send | ControlMaster from a client ssh(1), the first action of each is send | ||||
a hello messages to its peer: | a hello messages to its peer: | ||||
▲ Show 20 Lines • Show All 239 Lines • ▼ Show 20 Lines | |||||
XXX send signals via mux | XXX send signals via mux | ||||
XXX ^Z support in passengers | XXX ^Z support in passengers | ||||
XXX extensions for multi-agent | XXX extensions for multi-agent | ||||
XXX extensions for multi-X11 | XXX extensions for multi-X11 | ||||
XXX session inspection via master | XXX session inspection via master | ||||
XXX signals via mux request | XXX signals via mux request | ||||
XXX list active connections via mux | XXX list active connections via mux | ||||
$OpenBSD: PROTOCOL.mux,v 1.11 2018/09/26 07:30:05 djm Exp $ | $OpenBSD: PROTOCOL.mux,v 1.12 2020/03/13 03:17:07 djm Exp $ |