From 1ae919fa86edb2d45b54914f29e0df08c85f9c84 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 8 Apr 2016 06:35:55 +0000 Subject: 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 --- usr.bin/ssh/PROTOCOL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh') 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 $ -- cgit v1.2.3