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

Harald Alvestrand <harald@alvestrand.no> Sun, 23 June 2019 06:08 UTC

Return-Path: <harald@alvestrand.no>
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 715EC120128 for <ice@ietfa.amsl.com>; Sat, 22 Jun 2019 23:08:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 VwkqzQGXSTSh for <ice@ietfa.amsl.com>; Sat, 22 Jun 2019 23:08:31 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [IPv6:2001:700:1:2::117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5327120098 for <ice@ietf.org>; Sat, 22 Jun 2019 23:08:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id EE1937C0581; Sun, 23 Jun 2019 08:08:28 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BoZQLTvgEQBY; Sun, 23 Jun 2019 08:08:26 +0200 (CEST)
Received: from [10.196.213.203] (7-197.icannmeeting.org [199.91.197.7]) by mork.alvestrand.no (Postfix) with ESMTPSA id 99EBD7C049E; Sun, 23 Jun 2019 08:08:25 +0200 (CEST)
To: Christer Holmberg <christer.holmberg@ericsson.com>, Justin Uberti <juberti@google.com>, Nils Ohlmeier <nohlmeier@mozilla.com>
Cc: Roman Shpount <roman@telurix.com>, "ice@ietf.org" <ice@ietf.org>
References: <AFCE8799-8865-454F-8478-81CE11E9B454@ericsson.com>
From: Harald Alvestrand <harald@alvestrand.no>
Openpgp: preference=signencrypt
Autocrypt: addr=harald@alvestrand.no; prefer-encrypt=mutual; keydata= mQINBFRpbhYBEADXu8uE7LDQgrEB/zclYiwWRb50FnuJjIdK5Q7t68tSxx+LU8HTfxwOgHo9 vMyQvntoRBOHQZDJzvdAnZj/7vtl9RDfWvhUz+o9jSMyORzrt0kiW2QNICVkOkc0ZbI14Rn8 EjFRinK5m5+PXrng3PwZgK+sQJ1nzUxjE9oGTWClsAEqJw62z7JmzNqaEwAyHoHAZ1JAptSP ak91dUxjueJ2R+rFUBl6ParRZ2de7QKr3rN5Jbu/ikjHsAeTSo0R0BPKbzU23tXXxQ/dADvM V/PZp3hRFmXT7x05Q82O6k6hsGd5fJToBDRrlsC3jwWWhDhFhsWcdYKxFbYUsJVetPrWDtD4 6sjrbsQ+7kWRYgQWvL2EJ0s7QGpLxitopoISUEt0MlCcJhq7ZxiWhGnwM3GgADn+9W+aqwuk Y1tlUbdw0qdHyU0WM0k/yPd/eOghk3PLtlOizg4Q22VqfzNRXd3pwUmVjPYHQS0PwIjzuTEI em03qlVeJ8xn0X9W90E8PEnxZmREZBI90qCcUrxWOywEcLq21eLXurRzwnbY3oi6NxmSedcL xDWFdrVTHfPNNqh8zqXV/z9Ezz+7kSwgRygpG5+/sHfFq/YivoSHJdkL8xDzlNiqYCs8EL4A ipQWlKIuFH1F/pXLmXZlcDExw6aTlAP2rR+rw4Lc7kENZlMMMwARAQABtC9IYXJhbGQgQWx2 ZXN0cmFuZCAoMjAxNCkgPGhhcmFsZEBhbHZlc3RyYW5kLm5vPokCPgQTAQIAKAUCVO3uHAIb IwUJCWYBgAYL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pqHJkrqlWu+R9ZqBucZLqjQvQZk=
Message-ID: <1aa5aac7-af59-4e3b-8651-18f6e6431a2d@alvestrand.no>
Date: Sun, 23 Jun 2019 08:08:23 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <AFCE8799-8865-454F-8478-81CE11E9B454@ericsson.com>
Content-Type: multipart/alternative; boundary="------------40318308C313017A091D7A70"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/aJ_4tkOEsiBJZyrISC7BjmKlvC4>
Subject: Re: [Ice] ICE PAC: When to start the timer waiting for possible peer reflexive candidates? - discussion restart
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: Sun, 23 Jun 2019 06:08:34 -0000

On 5/28/19 1:54 PM, Christer Holmberg wrote:
>
> Hi,
>
>  
>
> We need to move forward with this.
>
>  
>
> There are two main questions at the moment:
>
>  
>
>  1. When does an endpoint start the timer ("minimum-time-to-run-ICE"
>     timer, based on previous discussions)?
>  2. What is the duration of the timer?
>
>  
>
> Regarding 1), my understanding is that people suggest alternative c),
> which starts the timer when an endpoint has sent (in an offer or
> answer) at least one local candidate (or EOC).
>
>  
>
>  
>
> Regarding 2), it has been suggested that the duration would be the
> same as the max duration of a connectivity check transaction. Do we
> think that is enough, no matter how many media streams and components
> are used?
>

Go for it. It is much better than having nothing.


>  
>
> Regards,
>
>  
>
> Christer
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
> *From: *Ice <ice-bounces@ietf.org> on behalf of Christer Holmberg
> <christer.holmberg@ericsson.com>
> *Date: *Friday, 3 May 2019 at 15.02
> *To: *Justin Uberti <juberti@google.com>, Nils Ohlmeier
> <nohlmeier@mozilla.com>
> *Cc: *Roman Shpount <roman@telurix.com>, "ice@ietf.org" <ice@ietf.org>
> *Subject: *Re: [Ice] ICE PAC: When to start the timer waiting for
> possible peer reflexive candidates?
>
>  
>
> Hi,
>
>  
>
> I don’t think there will be any interoperability issues. At the end of
> the day PAC is only about how long to wait for candidates, so the
> worse thing that can happen is than an agent declares ICE failure too
> early.
>
>  
>
> And, no matter whether an agent knows that the peer supports PAC or
> not,  it should aim at sending it’s candidates to its peer as soon as
> possible, depending on whatever local policies. The agent should not
> delay sending candidates just because it assumes that the peer will
> anyway wait for them.
>
>  
>
> Regards,
>
>  
>
> Christer
>
>  
>
> *From: *Justin Uberti <juberti@google.com>
> *Date: *Thursday, 2 May 2019 at 22.28
> *To: *Nils Ohlmeier <nohlmeier@mozilla.com>
> *Cc: *Christer Holmberg <christer.holmberg@ericsson.com>, Roman
> Shpount <roman@telurix.com>, "ice@ietf.org" <ice@ietf.org>
> *Subject: *Re: [Ice] ICE PAC: When to start the timer waiting for
> possible peer reflexive candidates?
>
>  
>
>  
>
>  
>
> On Thu, May 2, 2019 at 12:22 PM Nils Ohlmeier <nohlmeier@mozilla.com
> <mailto:nohlmeier@mozilla.com>> wrote:
>
>      
>
>
>
>
>         On May 2, 2019, at 12:13, Justin Uberti <juberti@google.com
>         <mailto:juberti@google.com>> wrote:
>
>          
>
>          
>
>          
>
>         On Thu, May 2, 2019 at 10:07 AM Nils Ohlmeier
>         <nohlmeier@mozilla.com <mailto:nohlmeier@mozilla.com>> wrote:
>
>
>             >> I do think Nils' point is important though, i.e., if we
>             have a bad server it will take a very long time to decide
>             on 'last set of candidates',
>             >> which is probably not helpful. As such I think the
>             potential positions we can take are:
>             >> a) Start the timer as soon as we have an answer,
>             regardless of any candidates.
>             >> b) a) + receipt of at least one remote candidate (or
>             remote EOC). (This is Nils' suggestion).
>             >> c) a) + sending at least one local candidate (or local
>             EOC).
>
>             As we are mostly concerned about the remote side: 1) not
>             providing us with candidates, or 2) providing us with
>             unusable candidates or 3) providing us with candidates
>             really late I don’t see how option c) would help in any of
>             these scenarios.
>             From my point of view we should choose either a) or b).
>
>          
>
>         c) is just a clarification of a), in that you can't expect to
>         receive prflx candidates until you've at least provided the
>         other side with a candidate, so that may be the right time for
>         the timer to start. I don't feel super strongly about this
>         though. 
>
>      
>
>     Ok. I hadn’t looked at it from that angle. So c) being a stronger
>     a) I guess it would be okay.
>
>      
>
>     I guess my only concern is that in Firefox we stopped doing a)
>     because it caused to many problems. With that in mind would it
>     cause interop problems if we leave up to the implementor to choose
>     to implement either b) or c)?
>
>  
>
> I'd be fine with that, but I'd want to describe what to watch out for.
> Can you explain a bit more? 
>
>
>
>
>
>             >> b) has a problem if the remote side doesn't send any
>             candidates, which we want to explicitly allow.
>             >
>             > True. 
>
>             Just to make sure we are all on the same page: b) is only
>             a problem in the scenario where the remote side doesn’t
>             send any candidates but also does not send EOC. 
>
>
>             The EOC should allow agents which explicitly don’t want to
>             provide candidate to get the timer started soon.
>             I think that leaves us with scenarios where the remote
>             doesn’t provide host candidates, and it’s reflexive or
>             relay candidates take for ever because of slow servers.
>
>          
>
>         Correct, but we can't control which endpoints will send us an
>         EOC or not. So that will always be a possibility. 
>
>      
>
>     Fair enough.
>
>
>
>
>
>             >> I tend to lean towards a) as the simplest option.
>             >
>             > Keep in mind that RFC 8445 is generic, so we need to to
>             define what we mean by "answer". I guess it means some
>             kind of indication that makes the agent assume that the
>             remote peer has been contacted. In ice-sip-sdp we can then
>             map that to an SDP answer.
>
>             Good point. We basically treat the SDP answer here to be
>             something like an beginning of ICE, because we don’t have
>             an explicit signal for that. I think in SDP based worlds
>             there is no need for an extra signal like that. Not sure
>             if other use cases of ICE would benefit from an explicit
>             begin signal.
>
>          
>
>         The answer in some ways is an explicit begin signal, because
>         it contains the username/password information needed to start
>         ICE checks. 
>
>      
>
>     Yeah I didn’t see your reply before hitting send on mine. Using
>     the availability sounds like a good idea as the minimum gating
>     function/signal.
>
>      
>
>     Best
>
>       Nils
>
>      
>
>
> _______________________________________________
> Ice mailing list
> Ice@ietf.org
> https://www.ietf.org/mailman/listinfo/ice


-- 
Surveillance is pervasive. Go Dark.