diff options
Diffstat (limited to 'PROTOCOL.mux')
-rw-r--r-- | PROTOCOL.mux | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/PROTOCOL.mux b/PROTOCOL.mux index 3da9e37ae..9ad256602 100644 --- a/PROTOCOL.mux +++ b/PROTOCOL.mux | |||
@@ -73,6 +73,13 @@ non-multiplexed ssh(1) connection. Two additional cases that the | |||
73 | client must cope with are it receiving a signal itself and the | 73 | client must cope with are it receiving a signal itself and the |
74 | server disconnecting without sending an exit message. | 74 | server disconnecting without sending an exit message. |
75 | 75 | ||
76 | A master may also send a MUX_S_TTY_ALLOC_FAIL before MUX_S_EXIT_MESSAGE | ||
77 | if remote TTY allocation was unsuccessful. The client may use this to | ||
78 | return its local tty to "cooked" mode. | ||
79 | |||
80 | uint32 MUX_S_TTY_ALLOC_FAIL | ||
81 | uint32 session id | ||
82 | |||
76 | 3. Health checks | 83 | 3. Health checks |
77 | 84 | ||
78 | The client may request a health check/PID report from a server: | 85 | The client may request a health check/PID report from a server: |
@@ -197,6 +204,7 @@ The MUX_S_PERMISSION_DENIED and MUX_S_FAILURE include a reason: | |||
197 | #define MUX_S_ALIVE 0x80000005 | 204 | #define MUX_S_ALIVE 0x80000005 |
198 | #define MUX_S_SESSION_OPENED 0x80000006 | 205 | #define MUX_S_SESSION_OPENED 0x80000006 |
199 | #define MUX_S_REMOTE_PORT 0x80000007 | 206 | #define MUX_S_REMOTE_PORT 0x80000007 |
207 | #define MUX_S_TTY_ALLOC_FAIL 0x80000008 | ||
200 | 208 | ||
201 | #define MUX_FWD_LOCAL 1 | 209 | #define MUX_FWD_LOCAL 1 |
202 | #define MUX_FWD_REMOTE 2 | 210 | #define MUX_FWD_REMOTE 2 |
@@ -208,7 +216,6 @@ XXX lock (maybe) | |||
208 | XXX watch in/out traffic (pre/post crypto) | 216 | XXX watch in/out traffic (pre/post crypto) |
209 | XXX inject packet (what about replies) | 217 | XXX inject packet (what about replies) |
210 | XXX server->client error/warning notifications | 218 | XXX server->client error/warning notifications |
211 | XXX port0 rfwd (need custom response message) | ||
212 | XXX send signals via mux | 219 | XXX send signals via mux |
213 | 220 | ||
214 | $OpenBSD: PROTOCOL.mux,v 1.6 2011/05/06 22:20:10 djm Exp $ | 221 | $OpenBSD: PROTOCOL.mux,v 1.7 2011/05/08 12:52:01 djm Exp $ |