Re: [rtcweb] Security implications of host candidates

Justin Uberti <juberti@google.com> Mon, 09 July 2018 23:42 UTC

Return-Path: <juberti@google.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 87E92130E80 for <rtcweb@ietfa.amsl.com>; Mon, 9 Jul 2018 16:42:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.51
X-Spam-Level:
X-Spam-Status: No, score=-17.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 cRM9MuEvdSDH for <rtcweb@ietfa.amsl.com>; Mon, 9 Jul 2018 16:42:14 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 1FD3B127332 for <rtcweb@ietf.org>; Mon, 9 Jul 2018 16:32:34 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id j185-v6so28530580ite.1 for <rtcweb@ietf.org>; Mon, 09 Jul 2018 16:32:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HmFdXCKtc9F43tVG8ZZlNFMWsRUHJe3oQ2OZSQz7V4s=; b=SMP4wPoTJJuMC3OHW8r/ZOMPdsGjI+58IadC+kFXJrNTsxJKUy6oPSIfCmw2Sltewy 06kHA9wmPsq6XDTv+1ErZN06PxcGSFiTpjZ5ozHxl++himnjUqdrbYD1Ljdf4al/QiGy BfM5i194EpInhyzgfhvcexlgEghinMapIxKPH9ftayY/gJVxmCr/Xs69WpMTz6jvRakK g1QrrDEVzv5GxNbCMXdEdTdZU5W1EZkGqcyohUhe4VlT29xNiu/YNjhuzTD4VqIsTe1i xQ3Heegaz+X+KGn4pKkraPRqIIwBooexVLb+XQS8VHQmHoLNygIImcXLWJZ3vJJ88zPt 0Skg==
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=HmFdXCKtc9F43tVG8ZZlNFMWsRUHJe3oQ2OZSQz7V4s=; b=AZLfXXK5n1Wu3ZkuhHxLtD37ReZ0pHKUFh6TG6okqmhKAbB7p2Zda+2Vp4MJxuguaq pSdqBZvc5cxxeALJ0XsDxDTKx6nPWFklZjQCnQ3oqljagf2L9cQq4Frk6gaGy6ffxzrh c1NojDWrcCGeDX5ZzD41FpPW448RYNmFUzO3ljQgOEvPgYHbA8lkVGvmZnhviX4uSNWp 6jD+3Jp7PMCVCP1jH6J7/zPdJyNY1JwlmqFKYcw7VxcehG+xpeDl1kuHfyTvMBYVx/3i USnyM4V6wCVD8KANiYfx2445RQOQcLiLHgapuzrS1UXbZXasc45/QIOhJP/05/JIs/9I u1Mw==
X-Gm-Message-State: APt69E20Ef4zx43YXVgDJ1maehed/aNceFMLUkKXzZzeX0DWuU7U7HXT J1y1HcDnPwfRLXpwvcQrGYLc8HG9kUVGp4Z2I5MaQw==
X-Google-Smtp-Source: AAOMgpfhRHWQMT83vWuPbuzUdha5k4/6Rnbp5Xxm29tNSEg/q/5Bbx6RMLjIS6ExfxtP0F+dW3hVK0Cts3FlPGNfgwE=
X-Received: by 2002:a24:1049:: with SMTP id 70-v6mr17281574ity.115.1531179153066; Mon, 09 Jul 2018 16:32:33 -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> <CABkgnnXL6sdCDt=hjX+7KbP+xYm9jCmgjJNy4CvPPna_0oin=g@mail.gmail.com> <CAOJ7v-33ODGTsmbHEp_U7UdROvuKR7O7bne2_0tX6ivVf-+C5A@mail.gmail.com> <CABkgnnWJM4CE2ZLHYOOd=VYUj7kn5wFMAbeGB1HRyp++nvbPoQ@mail.gmail.com>
In-Reply-To: <CABkgnnWJM4CE2ZLHYOOd=VYUj7kn5wFMAbeGB1HRyp++nvbPoQ@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 09 Jul 2018 16:32:20 -0700
Message-ID: <CAOJ7v-2WGyHSbSJwgbVVHLs-GO71rMLS2+OTetNyMhb0TM3ZcA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Tim Panton <thp@westhawk.co.uk>, RTCWeb IETF <rtcweb@ietf.org>, youenn fablet <yfablet@apple.com>
Content-Type: multipart/alternative; boundary="0000000000008211f50570996daf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/AdfRG9XFY_uaa0eek78kkD25WI0>
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 23:42:16 -0000

On Mon, Jul 9, 2018 at 3:42 PM Martin Thomson <martin.thomson@gmail.com>
wrote:

> On Tue, Jul 10, 2018 at 8:19 AM Justin Uberti <juberti@google.com> wrote:
> > Well, Tor browser would really need all WebRTC traffic to flow through
> Tor, to prevent linking sessions via the srflx IPs.
>
> The anonymity set would be the hosts on the same exit node, which I
> assume is >1.  More to the point, different top-level contexts use
> different circuits, and therefore (likely) different exits.  IOW, as
> proposed, the linking there is fine.
>

If Tor is already forcing all WebRTC traffic through a Tor proxy, it
doesn't need this tweak; TURN is the only option. This is somewhat
academic, but it points out an issue with the WWTBD framing.

>
> > But let me get to the point. Adding the limitations discussed for .local
> has minimal downside, but what, if anything, should we do with IPv6 host
> candidates? If we decide that we want to prevent host-host IPv6
> connections, there will be implications for datachannel applications.
>
> I don't think that we should treat v6 specially here.  If it is a host
> candidate, use mDNS or don't provide it.  That avoids making a
> judgment about the relative prevalence of v6 NAT and other such
> things.
>

The reason for the different treatment is that it could be argued that v6
addresses, being already public and unique, don't constitute a new signal.
That makes the tradeoff with datachannel impact less clear.