Re: [rtcweb] Security implications of host candidates

Martin Thomson <martin.thomson@gmail.com> Mon, 09 July 2018 21:48 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4DA3131144 for <rtcweb@ietfa.amsl.com>; Mon, 9 Jul 2018 14:48:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kVOiVTy0fz4 for <rtcweb@ietfa.amsl.com>; Mon, 9 Jul 2018 14:48:21 -0700 (PDT)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3350013111A for <rtcweb@ietf.org>; Mon, 9 Jul 2018 14:48:21 -0700 (PDT)
Received: by mail-oi0-x235.google.com with SMTP id k12-v6so38734212oiw.8 for <rtcweb@ietf.org>; Mon, 09 Jul 2018 14:48:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LJaZ7im2nSJw0ah2q5GM30SjcM8+p2dEYTtQ28idJmc=; b=X4IQLqpBNPih2rffUjJNKURxIjgCxtkCMFoIB8gMYFaGALb94/gG5tarA98M1fLYqP DElL8Gn5EE5r0Y9WpXzXqMZ42nR60XNbXKr3VOvvxHCSmVLldkZixUSG5FauyoKeabei CeP/itdO3hw+kglmeHpupNiKdLcAflvavIikVCTt8CQTNA7L43gpNEwiBURZR6P9fvcd wyy9X6WoMsl/hEmM1zOsVewpa5Wosv3IUK/vjhtM6ynu8THJjNyJaweqaNEimulI2Tse 4qNyFRwBgMWuV4b/dw9S44jlOHhvELL/U4Dr8F+c139i9FLBPOs6j0Cl61h+Org67VoL Y5Aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LJaZ7im2nSJw0ah2q5GM30SjcM8+p2dEYTtQ28idJmc=; b=Peq4c/SMInQsVvA2VNoUbkk5XLuS6ihjlKIqG3Dgy09qFwc34JHU7uj3LpaIS/gfli xDu6Ebw7e0CSFgc7xxZiaQyoxTJ/U9Gs/Qh2sgf/MH9hHIXT+v7xUiC3OHi8NaN98qcf AzEiNENI2oOxlnmmrwXPmrYivTArXl6CABJS+Ipp/ZODFAUBefoMJKUa9CXkkzvSLZ8q cAoAMGmUYwxDmg+IxtnrN1f9i8ro+Afut2FIjrushNjMzKW6cD32UfCQjbz63OmJGvBT 8owXsw30Mud4BXooNrOnywQnxOOmqM5L0fWP93tAwG3GoRwRPoFLln72Oqymkt5TvbAr artw==
X-Gm-Message-State: APt69E1Q47v4gPvGVbL4BhVAMtysiYv/RdvqutW3O/YSudU9oCfLgaQD joZS1GPQZ3DkOHxzFoBoghTwmzlptawoIjt9h90=
X-Google-Smtp-Source: AAOMgpexFH+b6HtnMaF9/7xft569LrFgSVl6ZMT2MkIs8nrCyc13q1up5P4Xj0nRPi5UMUQhvyS2OkH1yX78Hx1qgYQ=
X-Received: by 2002:aca:3954:: with SMTP id g81-v6mr26654533oia.215.1531172900525; Mon, 09 Jul 2018 14:48:20 -0700 (PDT)
MIME-Version: 1.0
References: <CAOJ7v-1t_BDEEHmA4eqiS9ksYOOyHUz9LFLhQxs8FhjTdswP5w@mail.gmail.com> <CANN+akZLRdZdexjU44zPCA6vdQR0hVYT17_4P8DefC0JbRL5mA@mail.gmail.com> <CAOJ7v-2JdiMJ9iWE_cL8G7xDM6iekexJL8KLEbz0jD=p7hiGZg@mail.gmail.com> <CANN+akbv2mpyhgV5vxDHKcsA8UPsSEr0bEjJK4xYxtvbkXNA7w@mail.gmail.com> <CAOJ7v-3gHMCxHU02YG3NoqvWHtXgOSWSm+y88GNDW0qc=Sqq=A@mail.gmail.com> <CAOJ7v-3moUqwgxkz1Fek4vy-XV+WpDaO-PsQZEw4ougoCHjLww@mail.gmail.com> <CANN+akZ=Ebw41mA2wEX7-4u6q5WcZbFtM=VMLX4nDK39S=QGOQ@mail.gmail.com> <CAOJ7v-3X2Sj8Yid+i0=xadyH_Hmf4pMOF_iuOV+56Ty8HNnJuw@mail.gmail.com> <0ED74BE5-AC02-44C5-80E1-18532BD3D1FF@westhawk.co.uk> <CAOJ7v-0TGqvp=MUmeEUjYZTcvV37qbYSTV0pFMoi1J0CJQ7Q4A@mail.gmail.com> <CABkgnnXBTC5TERquJPO4dgiAKz037Cm0Omw4YrobtCW=wmGPyQ@mail.gmail.com> <CAOJ7v-0yzvu9POvR4Auokykqc63eju6_CveAzyVpcSd1kkK6Nw@mail.gmail.com>
In-Reply-To: <CAOJ7v-0yzvu9POvR4Auokykqc63eju6_CveAzyVpcSd1kkK6Nw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 10 Jul 2018 07:48:10 +1000
Message-ID: <CABkgnnXL6sdCDt=hjX+7KbP+xYm9jCmgjJNy4CvPPna_0oin=g@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
Cc: tim panton <thp@westhawk.co.uk>, RTCWeb IETF <rtcweb@ietf.org>, youenn fablet <yfablet@apple.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/gozsB6fLYbnvZUqzUPjDR305oPQ>
Subject: Re: [rtcweb] Security implications of host candidates
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2018 21:48:30 -0000

On Tue, Jul 10, 2018 at 7:38 AM Justin Uberti <juberti@google.com> wrote:
> e) [new] RTT < 5ms (indicates "probably same machine")

My thought was that this only creates a valid "same-network" signal.
But the number of instances of one host per network is high enough
that the distinction might be meaningless.  But that's not the point,
the point was to avoid creating a new signal.

One thing that I found helpful in thinking about this was the
question: "What would Tor Browser do?"  And in that case, the proposed
tweak does work: a hairpin over the Tor network expands the anonymity
set considerably.