]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Disable SSH2_MSG_DEBUG messages for Twisted Conch clients
authordjm@openbsd.org <djm@openbsd.org>
Mon, 16 Apr 2018 22:50:44 +0000 (22:50 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 16 Apr 2018 22:51:51 +0000 (08:51 +1000)
without version numbers since they choke on them under some circumstances.
https://twistedmatrix.com/trac/ticket/9422 via Colin Watson

Newer Conch versions have a version number in their ident string and
handle debug messages okay. https://twistedmatrix.com/trac/ticket/9424

OpenBSD-Commit-ID: 6cf7be262af0419c58ddae11324d9c0dc1577539

compat.c

index 861e9e21fe0d1ecde9b503b4be32951ccfee28ba..1c0e08732c251a7cd49d8dc91a0bed5858e6ad8e 100644 (file)
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.c,v 1.106 2018/02/16 04:43:11 dtucker Exp $ */
+/* $OpenBSD: compat.c,v 1.107 2018/04/16 22:50:44 djm Exp $ */
 /*
  * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl.  All rights reserved.
  *
@@ -128,6 +128,8 @@ compat_datafellows(const char *version)
                                        SSH_OLD_DHGEX },
                { "ConfD-*",
                                        SSH_BUG_UTF8TTYMODE },
+               { "Twisted_*",          0 },
+               { "Twisted*",           SSH_BUG_DEBUG },
                { NULL,                 0 }
        };