From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#18967: Tramp disables important SSH security features Date: Thu, 06 Nov 2014 07:05:40 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <874muczg8b.fsf@lifelogs.com> References: <545AC52C.1090807@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415275584 11471 80.91.229.3 (6 Nov 2014 12:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 12:06:24 +0000 (UTC) Cc: 18967@debbugs.gnu.org To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 13:06:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmLpQ-0002SW-Lj for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 13:06:16 +0100 Original-Received: from localhost ([::1]:52324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLpP-0004Qc-Qe for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 07:06:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLpH-0004QW-B8 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 07:06:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmLpC-00040m-5Y for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 07:06:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmLpC-00040a-1V for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 07:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmLpB-0004zG-KA for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 07:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Nov 2014 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18967 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 18967-submit@debbugs.gnu.org id=B18967.141527552919130 (code B ref 18967); Thu, 06 Nov 2014 12:06:01 +0000 Original-Received: (at 18967) by debbugs.gnu.org; 6 Nov 2014 12:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:51161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmLoe-0004yT-GU for submit@debbugs.gnu.org; Thu, 06 Nov 2014 07:05:28 -0500 Original-Received: from mail-qg0-f47.google.com ([209.85.192.47]:46751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmLob-0004yK-AG for 18967@debbugs.gnu.org; Thu, 06 Nov 2014 07:05:26 -0500 Original-Received: by mail-qg0-f47.google.com with SMTP id j107so570181qga.20 for <18967@debbugs.gnu.org>; Thu, 06 Nov 2014 04:05:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=JpGpy5haE0p7m8Pm8o15CXaRvigPJ9rT6loj4dH+yac=; b=dePmXrjhv/3MtcdIubkHCw41kjQBbChMhWt5ThoBOwKE3lVUrz+nuc1NuzEZNaVbAJ ENk93jc1W8XhRvT1d9QgXKxSubuAAMO1eJcFhb4rGzXpwCnYcLgciGAwB+DHcfcNtugq RCOJPM1vGHi7zp9b7qx5QfVMwjyU7/Btz6BMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JpGpy5haE0p7m8Pm8o15CXaRvigPJ9rT6loj4dH+yac=; b=j4XwcjGs5fcmr+oFZpwinKp+LRdHl3tq5bDnOSymqfPERtvrGXf/ZTldd0jZzMiRjk muG5IKAaHa5SVsE9Am6GZ3p35k0IepnF931UrxgR4u1X9Y3YoAbesRN44/P3CBgGNFCR 1hoo9hhRor26VOKKX0Jn9Dj77LNJpCL2d/s+WQIcBlHxRekR9cAndX9TpKBXGtvKWUPZ Wdg5TBA/PKfIZKSGTWbnD5F+fhcssMMAJwYOvqOxwjs+bMCcKzaPMPWQUwLiXUG/TqVs YKVAYFDSJfvfO3exBujt/ZxwWesffTRlGYQyJOd5wpJYlotoAyrfCnzYRX4cnPnoubAZ XMkQ== X-Gm-Message-State: ALoCoQk6pMbAkHTNvnFIW21Ivf1VgKjJKMC/hCrj+wKzZUZOWlCwIk77C5vuhdSrMFzmvsl7OwP0 X-Received: by 10.224.16.135 with SMTP id o7mr5912143qaa.37.1415275524840; Thu, 06 Nov 2014 04:05:24 -0800 (PST) Original-Received: from flea (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id a9sm5688986qgf.7.2014.11.06.04.05.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 06 Nov 2014 04:05:24 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <545AC52C.1090807@dancol.org> (Daniel Colascione's message of "Thu, 06 Nov 2014 00:47:40 +0000") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95608 On Thu, 06 Nov 2014 00:47:40 +0000 Daniel Colascione wrote: DC> Tramp disables SSH host key checks by setting DC> GlobalKnownHostsFile=/dev/null, UserKnownHostsFile=/dev/null, and DC> StrictHostKeyChecking=no in its default method configuration. These DC> settings allow attackers to intercept connections to remote hosts, sniff DC> passwords, and cause other mischief. I don't think we should ship an DC> insecure configuration. I think the alternatives are something like what Ansible does: http://www.ansible.com/blog/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5 or a SSH client library as a FFI. SSH, when called externally, has many failure modes without those options. Ted