Re: [Ice] ICE PAC: When to start the timer waiting for possible peer reflexive candidates?

Nils Ohlmeier <nohlmeier@mozilla.com> Fri, 26 April 2019 00:37 UTC

Return-Path: <nohlmeier@mozilla.com>
X-Original-To: ice@ietfa.amsl.com
Delivered-To: ice@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D73A12035C for <ice@ietfa.amsl.com>; Thu, 25 Apr 2019 17:37:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mozilla.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 sZp2cx64KVuJ for <ice@ietfa.amsl.com>; Thu, 25 Apr 2019 17:37:50 -0700 (PDT)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 19A4B120350 for <ice@ietf.org>; Thu, 25 Apr 2019 17:37:50 -0700 (PDT)
Received: by mail-pf1-x42d.google.com with SMTP id s4so762936pfh.7 for <ice@ietf.org>; Thu, 25 Apr 2019 17:37:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=ghH0fxvr4DFP00tdRvneyQM7psx7KjwOAk1ECLoLMgs=; b=Y1wHUXqs4pwbtIpv7Mpb7hL30Oyz2YPa3RxxpTGum/b3dzHvDWTB3NAdH1Rm9zPKH4 U54AfjAPgX2sUSHAYjIblW7kfqa2KunG6J8JeGo1QQJfXqHVNAIbRUoXKB3GBjwWt9bP TnzAv98CxWXCOD6/1Kmpf5Afac4YnLyhvMJSg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=ghH0fxvr4DFP00tdRvneyQM7psx7KjwOAk1ECLoLMgs=; b=gR5I14VyvYpVH5RxITKo55KIfKDH4bl4LP0odATp6d4BmpACkqLP0eMOUTb9apPYND mj0vFtuidoNfH/9kksmERBXqV9aJCpUOzPlRWbDwRDpzRRBxQ/hwLq+CLncVGlUMhGMx yOB7jpuj75MY9/F6HlyPUTW5tFgFkiWbbm43FktAbNqqbzADTdS+vWgQFMN0h1fTPZVV uKqdImP4H+n2r6e0SR8bH506HTZ5GTF4W73XG4sxlYMxnDghSAbYIhZEQ3xOYctZUnIX veNaW8nLHKH8laGG0aEUoiKbdBus9JdiwEITpbU63FHreSXfQ8MWdIV4qEw9VOr/Hihw 6g+w==
X-Gm-Message-State: APjAAAU2DUEHczLGElz/X2uu4x8sNoG7WnNHq/t6hAQCoOLfBzvAa/F2 5qnusns1lvPdTlr7FlKf1mkNpw==
X-Google-Smtp-Source: APXvYqw69ArwVg1DXcIJEnS7Rr6vxSNP9RXDGuKtf+u15TO91u4nrZZN2oyUb1I5YoF9wOf/4c2kwQ==
X-Received: by 2002:aa7:991b:: with SMTP id z27mr16061288pff.168.1556239069060; Thu, 25 Apr 2019 17:37:49 -0700 (PDT)
Received: from ?IPv6:2601:647:4600:3f31:d1c0:5a1a:65d5:b91c? ([2601:647:4600:3f31:d1c0:5a1a:65d5:b91c]) by smtp.gmail.com with ESMTPSA id a129sm37592578pfa.152.2019.04.25.17.37.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 17:37:47 -0700 (PDT)
From: Nils Ohlmeier <nohlmeier@mozilla.com>
Message-Id: <7E668B7E-F85A-4D4F-8A21-737ABAD524E3@mozilla.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6EA23B8A-B045-48CA-A453-51BE45412C3C"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Thu, 25 Apr 2019 17:37:46 -0700
In-Reply-To: <CAD5OKxvmRK8Xzu4FSRv3Lgdg-VrrufzGhjAdSmfcLLkrm-jtjw@mail.gmail.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "ice@ietf.org" <ice@ietf.org>
To: Roman Shpount <roman@telurix.com>
References: <3A66B735-03C9-41FF-95AD-500B0D469C80@ericsson.com> <CAD5OKxsMgNTQPNP4Ni72H+yD4iUeyNK+x6CSvdBApGnPTpr_vg@mail.gmail.com> <A4EC3C01-4D7D-45DF-876D-E58706F74866@ericsson.com> <CAD5OKxt8tDemkK=v4X1gjwJGLYrxcd95S7uV53_fsga6grZ_rA@mail.gmail.com> <30518269-CA9D-4F50-8CE3-062A01DBCD7F@mozilla.com> <CAD5OKxvmRK8Xzu4FSRv3Lgdg-VrrufzGhjAdSmfcLLkrm-jtjw@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/F3ejPCR7u_Sl7jrM7fNYm1RL784>
Subject: Re: [Ice] ICE PAC: When to start the timer waiting for possible peer reflexive candidates?
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Interactive Connectivity Establishment \(ICE\)" <ice.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ice>, <mailto:ice-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ice/>
List-Post: <mailto:ice@ietf.org>
List-Help: <mailto:ice-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ice>, <mailto:ice-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Apr 2019 00:37:53 -0000


> On Apr 25, 2019, at 15:26, Roman Shpount <roman@telurix.com> wrote:
> 
> On Thu, Apr 25, 2019 at 3:45 PM Nils Ohlmeier <nohlmeier@mozilla.com <mailto:nohlmeier@mozilla.com>> wrote:
> 
> I see ICE pac only as a not perfect workaround to cover for some corner cases. While solving this via an extra signaling message might be the better solution I think such a proposal should be done via a separate draft if desired/needed.
> 
> I understand the desire to limit the scope of this draft. From what I can see there are 3 options:
> 
> 1. Start timer when local ICE candidates collection was complete and at least one ICE candidates was received from the remote via signaling message or STUN bind request (timer starts when both conditions must be satisfied). The problem with this is timer might never start and agent will wait indefinitely.
> 
> 2. Start timer when ICE candidates collection was complete or an ICE candidates was received from the remote via signaling message or STUN bind request (timer starts when either condition is satisfied). The problem here is that if signaling messages are delivered too slowly, ICE nomination will fail even when working candidate pair is potentially present.

Option 2 is basically what was implemented in Firefox for quite some time. But we got too many failure reports from the field. So we switched to something similar to Option 1. Thus I would advice against trying option 2.

Option 1 appears to be the reasonable although not perfect solution.

Best
  Nils Ohlmeier

> 3. Add some sort of extra signaling to indicate when ICE checks were complete. In case of WebRTC this option can be implemented via option 1 and some sort of application specific communications which will stop the indefinite wait.
> 
> Based on this I would prefer going with option 1.
> _____________
> Roman Shpount