From 8570177195f6a4b3173c0a25484a83641ee3faa6 Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Fri, 16 Feb 2018 04:43:11 +0000 Subject: upstream: Don't send IUTF8 to servers that don't like them. Some SSH servers eg "ConfD" drop the connection if the client sends the new IUTF8 (RFC8160) terminal mode even if it's not set. Add a bug bit for such servers and avoid sending IUTF8 to them. ok djm@ OpenBSD-Commit-ID: 26425855402d870c3c0a90491e72e2a8a342ceda --- compat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compat.c') diff --git a/compat.c b/compat.c index 89b302cc..861e9e21 100644 --- a/compat.c +++ b/compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.105 2018/01/23 05:27:21 djm Exp $ */ +/* $OpenBSD: compat.c,v 1.106 2018/02/16 04:43:11 dtucker Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -126,6 +126,8 @@ compat_datafellows(const char *version) "WinSCP_release_5.7.3," "WinSCP_release_5.7.4", SSH_OLD_DHGEX }, + { "ConfD-*", + SSH_BUG_UTF8TTYMODE }, { NULL, 0 } }; -- cgit v1.2.3