From: dtucker Date: Wed, 6 May 2015 04:07:18 +0000 (+0000) Subject: Blacklist DH-GEX for specific PuTTY versions known to send non-RFC4419 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d6911f8d44b3f81728b96ddf323d9ee06d0da6c9;p=openbsd Blacklist DH-GEX for specific PuTTY versions known to send non-RFC4419 DH-GEX messages rather than all versions of PuTTY. According to Simon Tatham, 0.65 and newer versions will send RFC4419 DH-GEX messages. ok djm@ --- diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c index f3b382c4975..2475eafc925 100644 --- a/usr.bin/ssh/compat.c +++ b/usr.bin/ssh/compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.92 2015/05/05 10:17:49 dtucker Exp $ */ +/* $OpenBSD: compat.c,v 1.93 2015/05/06 04:07:18 dtucker Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -163,7 +163,14 @@ compat_datafellows(const char *version) "OSU_1.5alpha3*", SSH_BUG_PASSWORDPAD }, { "*SSH_Version_Mapper*", SSH_BUG_SCANNER }, - { "PuTTY*", SSH_OLD_DHGEX }, + { "PuTTY-Release-0.5*," /* 0.50-0.57, DH-GEX in >=0.52 */ + "PuTTY_Release_0.5*," /* 0.58-0.59 */ + "PuTTY_Release_0.60*," + "PuTTY_Release_0.61*," + "PuTTY_Release_0.62*," + "PuTTY_Release_0.63*," + "PuTTY_Release_0.64*", + SSH_OLD_DHGEX }, { "Probe-*", SSH_BUG_PROBE }, { "TeraTerm SSH*,"