diff options
Diffstat (limited to 'PROTOCOL')
-rw-r--r-- | PROTOCOL | 52 |
1 files changed, 51 insertions, 1 deletions
@@ -232,6 +232,56 @@ The contents of the "data" field for layer 2 packets is: | |||
232 | The "frame" field contains an IEEE 802.3 Ethernet frame, including | 232 | The "frame" field contains an IEEE 802.3 Ethernet frame, including |
233 | header. | 233 | header. |
234 | 234 | ||
235 | 2.4. connection: Unix domain socket forwarding | ||
236 | |||
237 | OpenSSH supports local and remote Unix domain socket forwarding | ||
238 | using the "streamlocal" extension. Forwarding is initiated as per | ||
239 | TCP sockets but with a single path instead of a host and port. | ||
240 | |||
241 | Similar to direct-tcpip, direct-streamlocal is sent by the client | ||
242 | to request that the server make a connection to a Unix domain socket. | ||
243 | |||
244 | byte SSH_MSG_CHANNEL_OPEN | ||
245 | string "direct-streamlocal@openssh.com" | ||
246 | uint32 sender channel | ||
247 | uint32 initial window size | ||
248 | uint32 maximum packet size | ||
249 | string socket path | ||
250 | string reserved for future use | ||
251 | |||
252 | Similar to forwarded-tcpip, forwarded-streamlocal is sent by the | ||
253 | server when the client has previously send the server a streamlocal-forward | ||
254 | GLOBAL_REQUEST. | ||
255 | |||
256 | byte SSH_MSG_CHANNEL_OPEN | ||
257 | string "forwarded-streamlocal@openssh.com" | ||
258 | uint32 sender channel | ||
259 | uint32 initial window size | ||
260 | uint32 maximum packet size | ||
261 | string socket path | ||
262 | string reserved for future use | ||
263 | |||
264 | The reserved field is not currently defined and is ignored on the | ||
265 | remote end. It is intended to be used in the future to pass | ||
266 | information about the socket file, such as ownership and mode. | ||
267 | The client currently sends the empty string for this field. | ||
268 | |||
269 | Similar to tcpip-forward, streamlocal-forward is sent by the client | ||
270 | to request remote forwarding of a Unix domain socket. | ||
271 | |||
272 | byte SSH2_MSG_GLOBAL_REQUEST | ||
273 | string "streamlocal-forward@openssh.com" | ||
274 | boolean TRUE | ||
275 | string socket path | ||
276 | |||
277 | Similar to cancel-tcpip-forward, cancel-streamlocal-forward is sent | ||
278 | by the client cancel the forwarding of a Unix domain socket. | ||
279 | |||
280 | byte SSH2_MSG_GLOBAL_REQUEST | ||
281 | string "cancel-streamlocal-forward@openssh.com" | ||
282 | boolean FALSE | ||
283 | string socket path | ||
284 | |||
235 | 3. SFTP protocol changes | 285 | 3. SFTP protocol changes |
236 | 286 | ||
237 | 3.1. sftp: Reversal of arguments to SSH_FXP_SYMLINK | 287 | 3.1. sftp: Reversal of arguments to SSH_FXP_SYMLINK |
@@ -356,4 +406,4 @@ respond with a SSH_FXP_STATUS message. | |||
356 | This extension is advertised in the SSH_FXP_VERSION hello with version | 406 | This extension is advertised in the SSH_FXP_VERSION hello with version |
357 | "1". | 407 | "1". |
358 | 408 | ||
359 | $OpenBSD: PROTOCOL,v 1.23 2013/12/01 23:19:05 djm Exp $ | 409 | $OpenBSD: PROTOCOL,v 1.24 2014/07/15 15:54:14 millert Exp $ |