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

Roman Shpount <roman@telurix.com> Thu, 25 April 2019 18:25 UTC

Return-Path: <roman@telurix.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 DF6D41200F6 for <ice@ietfa.amsl.com>; Thu, 25 Apr 2019 11:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level:
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 P1GU1UiB5zQq for <ice@ietfa.amsl.com>; Thu, 25 Apr 2019 11:25:16 -0700 (PDT)
Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 16E35120074 for <ice@ietf.org>; Thu, 25 Apr 2019 11:25:16 -0700 (PDT)
Received: by mail-pg1-x532.google.com with SMTP id l18so254385pgj.6 for <ice@ietf.org>; Thu, 25 Apr 2019 11:25:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dpAuiOU1uolaeFsrWd2WIeHkb03zJ71m6B1AHpahhLw=; b=Bb2O+F7JsIhoSQDxsbNzEzz5ynG4RYxK3hxKTohH204Wf5FewhgSnn7Fem4mrMynlN 9ggKbA7A6ACKYT/8AVItKjY3sQlYRkDwplOzHeQnrip9x3x941BwcPFP+wDGEYoYItM8 4lozWWeWs7gcHzrKij2kK9/ANS4YzFZSeWN0mjPHSxvlkE3fq2ayF8zDJb/1BH2ysex6 3Wg5CrfFvFZ78AF6UKo0786Jw4hB83xhABYVIgm6C/6rNr1dFOQ6OxWANADMVihsYU6J Q3h/KMXoOdM35oqnCJEm24H1i0G1i87eBM56z/QPYC0xBS1F4191iDLXTY77mFOTBvYa CM1Q==
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=dpAuiOU1uolaeFsrWd2WIeHkb03zJ71m6B1AHpahhLw=; b=Q6sP9o2Ii3e+KnAe19v+Y8GmWzTTD0S4xTlgio8SWXeBhTRD8Ad4lCr1iiOYByJlmn qp1oKK+F1TKEHeHjgOsNkqbP3N/WHK3jukSoxtfStAAbqQx0j8yDTCQVxyB/+6eEyJKY tjkjS7f+16xL++pCgZDNeag3sy3CMZ7lhaYokjvdFlA5PsFYBekBkDOSEhQV6NAvugBY MddXr7cQU/TtxRNmMvSoJjgnTM0GgK0oadfUX5Decdd/n+Q8daKJGxVweuWydF178k7x ywuNcZVoQvKPu3avv32sn8tbC8x+Js5naMDv9OklfjMCO/qVmzldUoUFTl4aQiOIpCnI 64BA==
X-Gm-Message-State: APjAAAXKG4QIuoJpzFUOu8FyMVq27FljosUjfpWzz38lGvSl5s0yNmk1 p24gchS9Ugo4YxacmlpSr10AvMJ6KAA=
X-Google-Smtp-Source: APXvYqxbP/RIcmmkzwJHxAGobK6JJ2tTN2R+2NlNHhnNHk+f0fppuj5CkQVhYFxet8KE5lfkvWrVKA==
X-Received: by 2002:a63:ef46:: with SMTP id c6mr22588318pgk.392.1556216715361; Thu, 25 Apr 2019 11:25:15 -0700 (PDT)
Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com. [209.85.210.172]) by smtp.gmail.com with ESMTPSA id m11sm48476956pgd.12.2019.04.25.11.25.14 for <ice@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 11:25:14 -0700 (PDT)
Received: by mail-pf1-f172.google.com with SMTP id y13so310550pfm.11 for <ice@ietf.org>; Thu, 25 Apr 2019 11:25:14 -0700 (PDT)
X-Received: by 2002:a63:8dc8:: with SMTP id z191mr2598037pgd.9.1556216714307; Thu, 25 Apr 2019 11:25:14 -0700 (PDT)
MIME-Version: 1.0
References: <3A66B735-03C9-41FF-95AD-500B0D469C80@ericsson.com> <CAD5OKxsMgNTQPNP4Ni72H+yD4iUeyNK+x6CSvdBApGnPTpr_vg@mail.gmail.com> <A4EC3C01-4D7D-45DF-876D-E58706F74866@ericsson.com>
In-Reply-To: <A4EC3C01-4D7D-45DF-876D-E58706F74866@ericsson.com>
From: Roman Shpount <roman@telurix.com>
Date: Thu, 25 Apr 2019 14:25:05 -0400
X-Gmail-Original-Message-ID: <CAD5OKxt8tDemkK=v4X1gjwJGLYrxcd95S7uV53_fsga6grZ_rA@mail.gmail.com>
Message-ID: <CAD5OKxt8tDemkK=v4X1gjwJGLYrxcd95S7uV53_fsga6grZ_rA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: "ice@ietf.org" <ice@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000732ce105875ef0bb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/wQHVabv_yDm6W1KU1LrkGWZhwOM>
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: Thu, 25 Apr 2019 18:25:18 -0000

On Thu, Apr 25, 2019 at 2:17 PM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> >The timer should start when the connectivity checks start by the remote
> ICE agent. The timer is needed to make sure local candidate addresses
> continue
>
> >to accept STUN binding requests for at least some minimal time, so
> technically timer should start from the time remote ICE agent was informed
> about
>
> >candidate addresses and started connectivity checks. There is some
> signaling delay involved here, so it needs to accounted by the timer value.
>
>
>
> An agent doesn’t know when the peer agent will start - especially not the
> offerer. If it sends an INVITE with its candidates, it may take a while
> before the INVITE even reaches the peer agent, due to network services,
> call forwarding etc etc etc.
>
>
>
This was actually one of the issues raised related to the timer start. The
offerer can start the timer when it got the first remote candidate or end
of candidates notification. Answerer is trickier, since there is no
signaling indication when offerer actually got the answer. This is why I
was thinking that an extra signaling message (
https://github.com/cdh4u/draft-ice-pac/issues/11), indicating end of
sending candidate checks might work better then a timer.
_____________
Roman Shpount