summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-04-08 06:35:54 +0000
committerDamien Miller <djm@mindrot.org>2016-04-08 17:36:29 +1000
commit90ee563fa6b54c59896c6c332c5188f866c5e75f (patch)
treee30f408abc3b50bf8ed32691d7ab675957591b6a
parent0ccbd5eca0f0dd78e71a4b69c66f03a66908d558 (diff)
upstream commit
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 Upstream-ID: 34cd326a4d236ca6e39084c4ff796bd97ab833e7
-rw-r--r--PROTOCOL4
1 files changed, 3 insertions, 1 deletions
diff --git a/PROTOCOL b/PROTOCOL
index 131adfefe..c6f99a31a 100644
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -247,6 +247,8 @@ to request that the server make a connection to a Unix domain socket.
247 uint32 initial window size 247 uint32 initial window size
248 uint32 maximum packet size 248 uint32 maximum packet size
249 string socket path 249 string socket path
250 string reserved
251 uint32 reserved
250 252
251Similar to forwarded-tcpip, forwarded-streamlocal is sent by the 253Similar to forwarded-tcpip, forwarded-streamlocal is sent by the
252server when the client has previously send the server a streamlocal-forward 254server when the client has previously send the server a streamlocal-forward
@@ -452,4 +454,4 @@ respond with a SSH_FXP_STATUS message.
452This extension is advertised in the SSH_FXP_VERSION hello with version 454This extension is advertised in the SSH_FXP_VERSION hello with version
453"1". 455"1".
454 456
455$OpenBSD: PROTOCOL,v 1.29 2015/07/17 03:09:19 djm Exp $ 457$OpenBSD: PROTOCOL,v 1.30 2016/04/08 06:35:54 djm Exp $