summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-11-23 13:19:32 +0000
committerColin Watson <cjwatson@debian.org>2008-11-23 13:19:32 +0000
commitf063add71b66011cca8c313fe0c681b0f0e1b97f (patch)
treef1d2d4b4bd694e682a313163fd1374a24e1fedea /compat.c
parente7e618e9f81c5b722a34996fdf7ec372ec093d85 (diff)
* Backport from upstream CVS (Markus Friedl):
- Only send eow and no-more-sessions requests to openssh 5 and newer; fixes interop problems with broken ssh v2 implementations (closes: #495917).
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index bc1131581..8aa43f0f8 100644
--- a/compat.c
+++ b/compat.c
@@ -91,7 +91,8 @@ compat_datafellows(const char *version)
91 "OpenSSH_3.1*", SSH_BUG_EXTEOF|SSH_OLD_FORWARD_ADDR}, 91 "OpenSSH_3.1*", SSH_BUG_EXTEOF|SSH_OLD_FORWARD_ADDR},
92 { "OpenSSH_3.*", SSH_OLD_FORWARD_ADDR }, 92 { "OpenSSH_3.*", SSH_OLD_FORWARD_ADDR },
93 { "Sun_SSH_1.0*", SSH_BUG_NOREKEY|SSH_BUG_EXTEOF}, 93 { "Sun_SSH_1.0*", SSH_BUG_NOREKEY|SSH_BUG_EXTEOF},
94 { "OpenSSH*", 0 }, 94 { "OpenSSH_4*", 0 },
95 { "OpenSSH*", SSH_NEW_OPENSSH },
95 { "*MindTerm*", 0 }, 96 { "*MindTerm*", 0 },
96 { "2.1.0*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 97 { "2.1.0*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
97 SSH_OLD_SESSIONID|SSH_BUG_DEBUG| 98 SSH_OLD_SESSIONID|SSH_BUG_DEBUG|