diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-07-17 03:04:27 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-07-17 13:36:29 +1000 |
commit | 356b61f365405b5257f5b2ab446e5d7bd33a7b52 (patch) | |
tree | b84bc83d14d3973f8c9d88647df642b2a3421cd5 | |
parent | d3e2aee41487d55b8d7d40f538b84ff1db7989bc (diff) |
upstream commit
describe magic for setting up Unix domain socket fowards
via the mux channel; bz#2422 patch from Daniel Black
Upstream-ID: 943080fe3864715c423bdeb7c920bb30c4eee861
-rw-r--r-- | PROTOCOL.mux | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/PROTOCOL.mux b/PROTOCOL.mux index b5832561c..f042961f1 100644 --- a/PROTOCOL.mux +++ b/PROTOCOL.mux | |||
@@ -116,6 +116,12 @@ A client may request the master to establish a port forward: | |||
116 | 116 | ||
117 | forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC. | 117 | forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC. |
118 | 118 | ||
119 | If listen port is (unsigned int) -2, then the listen host is treated as | ||
120 | a unix socket path name. | ||
121 | |||
122 | If connect port is (unsigned int) -2, then the connect host is treated | ||
123 | as a unix socket path name. | ||
124 | |||
119 | A server may reply with a MUX_S_OK, a MUX_S_REMOTE_PORT, a | 125 | A server may reply with a MUX_S_OK, a MUX_S_REMOTE_PORT, a |
120 | MUX_S_PERMISSION_DENIED or a MUX_S_FAILURE. | 126 | MUX_S_PERMISSION_DENIED or a MUX_S_FAILURE. |
121 | 127 | ||
@@ -219,4 +225,4 @@ XXX inject packet (what about replies) | |||
219 | XXX server->client error/warning notifications | 225 | XXX server->client error/warning notifications |
220 | XXX send signals via mux | 226 | XXX send signals via mux |
221 | 227 | ||
222 | $OpenBSD: PROTOCOL.mux,v 1.9 2012/06/01 00:49:35 djm Exp $ | 228 | $OpenBSD: PROTOCOL.mux,v 1.10 2015/07/17 03:04:27 djm Exp $ |