summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/compat.c b/compat.c
index 757b0e679..5e1774ab6 100644
--- a/compat.c
+++ b/compat.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: compat.c,v 1.65 2002/09/27 10:42:09 mickey Exp $"); 26RCSID("$OpenBSD: compat.c,v 1.66 2003/04/01 10:31:26 markus Exp $");
27 27
28#include "buffer.h" 28#include "buffer.h"
29#include "packet.h" 29#include "packet.h"
@@ -85,10 +85,12 @@ compat_datafellows(const char *version)
85 { "*MindTerm*", 0 }, 85 { "*MindTerm*", 0 },
86 { "2.1.0*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 86 { "2.1.0*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
87 SSH_OLD_SESSIONID|SSH_BUG_DEBUG| 87 SSH_OLD_SESSIONID|SSH_BUG_DEBUG|
88 SSH_BUG_RSASIGMD5|SSH_BUG_HBSERVICE }, 88 SSH_BUG_RSASIGMD5|SSH_BUG_HBSERVICE|
89 SSH_BUG_FIRSTKEX },
89 { "2.1 *", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 90 { "2.1 *", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
90 SSH_OLD_SESSIONID|SSH_BUG_DEBUG| 91 SSH_OLD_SESSIONID|SSH_BUG_DEBUG|
91 SSH_BUG_RSASIGMD5|SSH_BUG_HBSERVICE }, 92 SSH_BUG_RSASIGMD5|SSH_BUG_HBSERVICE|
93 SSH_BUG_FIRSTKEX },
92 { "2.0.13*," 94 { "2.0.13*,"
93 "2.0.14*," 95 "2.0.14*,"
94 "2.0.15*," 96 "2.0.15*,"
@@ -100,26 +102,28 @@ compat_datafellows(const char *version)
100 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| 102 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD|
101 SSH_BUG_PKOK|SSH_BUG_RSASIGMD5| 103 SSH_BUG_PKOK|SSH_BUG_RSASIGMD5|
102 SSH_BUG_HBSERVICE|SSH_BUG_OPENFAILURE| 104 SSH_BUG_HBSERVICE|SSH_BUG_OPENFAILURE|
103 SSH_BUG_DUMMYCHAN }, 105 SSH_BUG_DUMMYCHAN|SSH_BUG_FIRSTKEX },
104 { "2.0.11*," 106 { "2.0.11*,"
105 "2.0.12*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 107 "2.0.12*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
106 SSH_OLD_SESSIONID|SSH_BUG_DEBUG| 108 SSH_OLD_SESSIONID|SSH_BUG_DEBUG|
107 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| 109 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD|
108 SSH_BUG_PKAUTH|SSH_BUG_PKOK| 110 SSH_BUG_PKAUTH|SSH_BUG_PKOK|
109 SSH_BUG_RSASIGMD5|SSH_BUG_OPENFAILURE| 111 SSH_BUG_RSASIGMD5|SSH_BUG_OPENFAILURE|
110 SSH_BUG_DUMMYCHAN }, 112 SSH_BUG_DUMMYCHAN|SSH_BUG_FIRSTKEX },
111 { "2.0.*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 113 { "2.0.*", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
112 SSH_OLD_SESSIONID|SSH_BUG_DEBUG| 114 SSH_OLD_SESSIONID|SSH_BUG_DEBUG|
113 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| 115 SSH_BUG_PKSERVICE|SSH_BUG_X11FWD|
114 SSH_BUG_PKAUTH|SSH_BUG_PKOK| 116 SSH_BUG_PKAUTH|SSH_BUG_PKOK|
115 SSH_BUG_RSASIGMD5|SSH_BUG_OPENFAILURE| 117 SSH_BUG_RSASIGMD5|SSH_BUG_OPENFAILURE|
116 SSH_BUG_DERIVEKEY|SSH_BUG_DUMMYCHAN }, 118 SSH_BUG_DERIVEKEY|SSH_BUG_DUMMYCHAN|
119 SSH_BUG_FIRSTKEX },
117 { "2.2.0*," 120 { "2.2.0*,"
118 "2.3.0*", SSH_BUG_HMAC|SSH_BUG_DEBUG| 121 "2.3.0*", SSH_BUG_HMAC|SSH_BUG_DEBUG|
119 SSH_BUG_RSASIGMD5 }, 122 SSH_BUG_RSASIGMD5|SSH_BUG_FIRSTKEX },
120 { "2.3.*", SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5 }, 123 { "2.3.*", SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5|
124 SSH_BUG_FIRSTKEX },
121 { "2.4", SSH_OLD_SESSIONID }, /* Van Dyke */ 125 { "2.4", SSH_OLD_SESSIONID }, /* Van Dyke */
122 { "2.*", SSH_BUG_DEBUG }, 126 { "2.*", SSH_BUG_DEBUG|SSH_BUG_FIRSTKEX },
123 { "3.0.*", SSH_BUG_DEBUG }, 127 { "3.0.*", SSH_BUG_DEBUG },
124 { "3.0 SecureCRT*", SSH_OLD_SESSIONID }, 128 { "3.0 SecureCRT*", SSH_OLD_SESSIONID },
125 { "1.7 SecureFX*", SSH_OLD_SESSIONID }, 129 { "1.7 SecureFX*", SSH_OLD_SESSIONID },