diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-24 12:43:25 +0000 |
commit | 626f1d986ff72aa514da63e34744e1de9cf21b9a (patch) | |
tree | d215a5280bc2e57251e4a9e08bfd3674ad824a94 /PROTOCOL.mux | |
parent | 6ed622cb6fe8f71bbe0d998cdd12280410bfb420 (diff) | |
parent | 0970072c89b079b022538e3c366fbfa2c53fc821 (diff) |
* New upstream release (http://www.openssh.org/txt/release-5.7):
- Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA
offer better performance than plain DH and DSA at the same equivalent
symmetric key length, as well as much shorter keys.
- sftp(1)/sftp-server(8): add a protocol extension to support a hard
link operation. It is available through the "ln" command in the
client. The old "ln" behaviour of creating a symlink is available
using its "-s" option or through the preexisting "symlink" command.
- scp(1): Add a new -3 option to scp: Copies between two remote hosts
are transferred through the local host (closes: #508613).
- ssh(1): "atomically" create the listening mux socket by binding it on
a temporary name and then linking it into position after listen() has
succeeded. This allows the mux clients to determine that the server
socket is either ready or stale without races (closes: #454784).
Stale server sockets are now automatically removed (closes: #523250).
- ssh(1): install a SIGCHLD handler to reap expired child process
(closes: #594687).
- ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent
temporary directories (closes: #357469, although only if you arrange
for ssh-agent to actually see $TMPDIR since the setgid bit will cause
it to be stripped off).
Diffstat (limited to 'PROTOCOL.mux')
-rw-r--r-- | PROTOCOL.mux | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/PROTOCOL.mux b/PROTOCOL.mux index 1d8c463a7..3d6f81878 100644 --- a/PROTOCOL.mux +++ b/PROTOCOL.mux | |||
@@ -28,7 +28,7 @@ defined. | |||
28 | To open a new multiplexed session, a client may send the following | 28 | To open a new multiplexed session, a client may send the following |
29 | request: | 29 | request: |
30 | 30 | ||
31 | uint32 MUX_C_MSG_NEW_SESSION | 31 | uint32 MUX_C_NEW_SESSION |
32 | uint32 request id | 32 | uint32 request id |
33 | string reserved | 33 | string reserved |
34 | bool want tty flag | 34 | bool want tty flag |
@@ -99,7 +99,7 @@ The server will reply with one of MUX_S_OK or MUX_S_PERMISSION_DENIED. | |||
99 | 99 | ||
100 | A client may request the master to establish a port forward: | 100 | A client may request the master to establish a port forward: |
101 | 101 | ||
102 | uint32 MUX_C_OPEN_FORWARD | 102 | uint32 MUX_C_OPEN_FWD |
103 | uint32 request id | 103 | uint32 request id |
104 | uint32 forwarding type | 104 | uint32 forwarding type |
105 | string listen host | 105 | string listen host |
@@ -118,24 +118,23 @@ For dynamically allocated listen port the server replies with | |||
118 | uint32 client request id | 118 | uint32 client request id |
119 | uint32 allocated remote listen port | 119 | uint32 allocated remote listen port |
120 | 120 | ||
121 | 5. Requesting closure of port forwards | 121 | 6. Requesting closure of port forwards |
122 | |||
123 | Note: currently unimplemented (server will always reply with MUX_S_FAILURE). | ||
122 | 124 | ||
123 | A client may request the master to establish a port forward: | 125 | A client may request the master to establish a port forward: |
124 | 126 | ||
125 | uint32 MUX_C_OPEN_FORWARD | 127 | uint32 MUX_C_CLOSE_FWD |
126 | uint32 request id | 128 | uint32 request id |
127 | uint32 forwarding type | ||
128 | string listen host | 129 | string listen host |
129 | string listen port | 130 | string listen port |
130 | string connect host | 131 | string connect host |
131 | string connect port | 132 | string connect port |
132 | 133 | ||
133 | forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC. | ||
134 | |||
135 | A server may reply with a MUX_S_OK, a MUX_S_PERMISSION_DENIED or a | 134 | A server may reply with a MUX_S_OK, a MUX_S_PERMISSION_DENIED or a |
136 | MUX_S_FAILURE. | 135 | MUX_S_FAILURE. |
137 | 136 | ||
138 | 6. Requesting stdio forwarding | 137 | 7. Requesting stdio forwarding |
139 | 138 | ||
140 | A client may request the master to establish a stdio forwarding: | 139 | A client may request the master to establish a stdio forwarding: |
141 | 140 | ||
@@ -153,7 +152,7 @@ The contents of "reserved" are currently ignored. | |||
153 | A server may reply with a MUX_S_SESSION_OPEED, a MUX_S_PERMISSION_DENIED | 152 | A server may reply with a MUX_S_SESSION_OPEED, a MUX_S_PERMISSION_DENIED |
154 | or a MUX_S_FAILURE. | 153 | or a MUX_S_FAILURE. |
155 | 154 | ||
156 | 7. Status messages | 155 | 8. Status messages |
157 | 156 | ||
158 | The MUX_S_OK message is empty: | 157 | The MUX_S_OK message is empty: |
159 | 158 | ||
@@ -170,14 +169,15 @@ The MUX_S_PERMISSION_DENIED and MUX_S_FAILURE include a reason: | |||
170 | uint32 client request id | 169 | uint32 client request id |
171 | string reason | 170 | string reason |
172 | 171 | ||
173 | 7. Protocol numbers | 172 | 9. Protocol numbers |
174 | 173 | ||
175 | #define MUX_MSG_HELLO 0x00000001 | 174 | #define MUX_MSG_HELLO 0x00000001 |
176 | #define MUX_C_NEW_SESSION 0x10000002 | 175 | #define MUX_C_NEW_SESSION 0x10000002 |
177 | #define MUX_C_ALIVE_CHECK 0x10000004 | 176 | #define MUX_C_ALIVE_CHECK 0x10000004 |
178 | #define MUX_C_TERMINATE 0x10000005 | 177 | #define MUX_C_TERMINATE 0x10000005 |
179 | #define MUX_C_OPEN_FORWARD 0x10000006 | 178 | #define MUX_C_OPEN_FWD 0x10000006 |
180 | #define MUX_C_CLOSE_FORWARD 0x10000007 | 179 | #define MUX_C_CLOSE_FWD 0x10000007 |
180 | #define MUX_C_NEW_STDIO_FWD 0x10000008 | ||
181 | #define MUX_S_OK 0x80000001 | 181 | #define MUX_S_OK 0x80000001 |
182 | #define MUX_S_PERMISSION_DENIED 0x80000002 | 182 | #define MUX_S_PERMISSION_DENIED 0x80000002 |
183 | #define MUX_S_FAILURE 0x80000003 | 183 | #define MUX_S_FAILURE 0x80000003 |
@@ -200,4 +200,4 @@ XXX server->client error/warning notifications | |||
200 | XXX port0 rfwd (need custom response message) | 200 | XXX port0 rfwd (need custom response message) |
201 | XXX send signals via mux | 201 | XXX send signals via mux |
202 | 202 | ||
203 | $OpenBSD: PROTOCOL.mux,v 1.2 2010/05/16 12:55:51 markus Exp $ | 203 | $OpenBSD: PROTOCOL.mux,v 1.3 2011/01/13 21:55:25 djm Exp $ |