diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2016-04-08 06:35:55 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2016-04-08 06:35:55 +0000 |
commit | 1ae919fa86edb2d45b54914f29e0df08c85f9c84 (patch) | |
tree | 14403a1f2d66fb458f9283c3e2ddb6299da95908 /usr.bin/ssh | |
parent | 04be6490e420686d6227734594c2aadc9171dbb9 (diff) |
We accidentally send an empty string and a zero uint32 with every
direct-streamlocal@openssh.com channel open, in contravention of
our own spec.
Fixing this is too hard wrt existing versions that expect these
fields to be present and fatal() if they aren't, so document them
as "reserved" fields in the PROTOCOL spec as though we always
intended this and let us never speak of it again.
bz#2529, reported by Ron Frederick
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/PROTOCOL | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/PROTOCOL b/usr.bin/ssh/PROTOCOL index 131adfefea6..c6f99a31a29 100644 --- a/usr.bin/ssh/PROTOCOL +++ b/usr.bin/ssh/PROTOCOL @@ -247,6 +247,8 @@ to request that the server make a connection to a Unix domain socket. uint32 initial window size uint32 maximum packet size string socket path + string reserved + uint32 reserved Similar to forwarded-tcpip, forwarded-streamlocal is sent by the server when the client has previously send the server a streamlocal-forward @@ -452,4 +454,4 @@ respond with a SSH_FXP_STATUS message. This extension is advertised in the SSH_FXP_VERSION hello with version "1". -$OpenBSD: PROTOCOL,v 1.29 2015/07/17 03:09:19 djm Exp $ +$OpenBSD: PROTOCOL,v 1.30 2016/04/08 06:35:54 djm Exp $ |