summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/compat.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-01-08 22:29:06 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-01-08 22:29:06 +0000
commit13fd352756a1d7bff5c6783966606707b8a2a87f (patch)
treec0a8bfe109e9194fdb290e411d4d10cc8bed92a4 /usr.bin/ssh/compat.c
parent61a54d87e6a830c7042ad1940663c06b7f48e801 (diff)
implement option 'Banner /etc/issue.net' for ssh2, move version to
2.3.1 (needed for bugcompat detection, 2.3.0 would fail if Banner is enabled).
Diffstat (limited to 'usr.bin/ssh/compat.c')
-rw-r--r--usr.bin/ssh/compat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c
index fb3c7475366..c7df1906b06 100644
--- a/usr.bin/ssh/compat.c
+++ b/usr.bin/ssh/compat.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compat.c,v 1.32 2000/12/09 23:51:11 provos Exp $");
+RCSID("$OpenBSD: compat.c,v 1.33 2001/01/08 22:29:05 markus Exp $");
#include "ssh.h"
#include "packet.h"
@@ -58,7 +58,10 @@ compat_datafellows(const char *version)
char *pat;
int bugs;
} check[] = {
- { "^OpenSSH[-_]2\\.[012]", SSH_OLD_SESSIONID },
+ { "^OpenSSH[-_]2\\.[012]",
+ SSH_OLD_SESSIONID|SSH_BUG_BANNER },
+ { "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER },
+ { "^OpenSSH", 0 },
{ "MindTerm", 0 },
{ "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
SSH_OLD_SESSIONID|SSH_BUG_DEBUG },