diff options
author | Damien Miller <djm@mindrot.org> | 2008-11-03 19:20:10 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-11-03 19:20:10 +1100 |
commit | 456e6f0ebb27b4851363422aa9974b0848d4b168 (patch) | |
tree | 783ef64c728b6b318687d7efbc8b0ce2c469dbc7 /compat.c | |
parent | 15bce6b8f0e7280aaf26b97a316a991990fc0ca0 (diff) |
- markus@cvs.openbsd.org 2008/09/11 14:22:37
[compat.c compat.h nchan.c ssh.c]
only send eow and no-more-sessions requests to openssh 5 and newer;
fixes interop problems with broken ssh v2 implementations; ok djm@
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: compat.c,v 1.77 2006/12/12 03:58:42 djm Exp $ */ | 1 | /* $OpenBSD: compat.c,v 1.78 2008/09/11 14:22:37 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -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| |