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

Roman Shpount <roman@telurix.com> Fri, 26 April 2019 15:08 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 3D9C41205D5 for <ice@ietfa.amsl.com>; Fri, 26 Apr 2019 08:08:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 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, URIBL_BLOCKED=0.001] 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 uMv8UzqdD_6A for <ice@ietfa.amsl.com>; Fri, 26 Apr 2019 08:08:03 -0700 (PDT)
Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 1FF0C12043E for <ice@ietf.org>; Fri, 26 Apr 2019 08:08:03 -0700 (PDT)
Received: by mail-pf1-x429.google.com with SMTP id w25so1867271pfi.9 for <ice@ietf.org>; Fri, 26 Apr 2019 08:08:03 -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=gij4PwWDfLGP7hoR20trF35UpGjnImozNvKVZxCKHo0=; b=ditUZlssm1V4fOwQYTyJ9ZSMuUHsbUTqYAuKhKbJ1ydNZjsgJJuzZ8kWtfc6aBK7Yl wUcb+Kfhjsp4w1Jox2YI5ZOwVRZgB7pOwmFmJ6RP0w7zqCwiMET/CZa0v5DqGeuX/iBn 0g0g1/tCBZIjlVgqL7tPfvu/PNc0ApOUfNW/nkkfVrabvrvO+8H/izQYmLdK0+qGahsZ 7tmv1UvfKANC3boVRf7o1YL/dIP5m4Tv/RZviARLg6w3sFbx8Zvy/ayU0H9BkVIadMKt +bcg2yr7Oc0IaA9Ro+5xcVM3lWNDkyL1QeOixOcWNMOOEQhZzN1vgHs5O5iZthLTbrnJ cX5A==
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=gij4PwWDfLGP7hoR20trF35UpGjnImozNvKVZxCKHo0=; b=hcJLM7BPIyPPuWo9hdtUqGuacWfwrPfdkFTkY/PqPUofKIlP2pr4zDmKwike6LO6OT +he5fq0hSSp8XVn4GxVSG6hUQuYzynMMVUi1jF7WKSSUkNjPGhiwus2CHujOjfGfEwKb 6hv3wgV3UW2VxSGQu/MlS3gDuFIv56g+jcAt92vGS7QydGO4FfBfLgwPoarf8WfWp8a5 Jkl3GJpGU05CQk4GTrOLOEkYRh12INIGyRUhyezfc6HWR5qPkN8QtCNnzL0dMt88NjfB ru98cFn63LFJ1bWDWdBrDQXrrbwWj5I6uBApg7sAbvavNKHjwyRZuD62Cx6NOe59cpME Ckqw==
X-Gm-Message-State: APjAAAUL7vLBYlDQgcimstG5hvz0xrv0rWQvMiuha9ujYFjQ7YgvD6VV bzFyx/A+ufY1dru7IP0kj768prdPzik=
X-Google-Smtp-Source: APXvYqww+12SlUKtjlWg3fS/znZGpRamTjMFxEri8caYiXQXH6xuTnZkv08m3PgJwQW9KuBApXnTUw==
X-Received: by 2002:a63:fd58:: with SMTP id m24mr20427848pgj.298.1556291282200; Fri, 26 Apr 2019 08:08:02 -0700 (PDT)
Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com. [209.85.215.171]) by smtp.gmail.com with ESMTPSA id y1sm29130817pgc.29.2019.04.26.08.08.01 for <ice@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:08:01 -0700 (PDT)
Received: by mail-pg1-f171.google.com with SMTP id k19so1786763pgh.0 for <ice@ietf.org>; Fri, 26 Apr 2019 08:08:01 -0700 (PDT)
X-Received: by 2002:a65:6110:: with SMTP id z16mr35641010pgu.131.1556291280776; Fri, 26 Apr 2019 08:08:00 -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> <CAD5OKxt8tDemkK=v4X1gjwJGLYrxcd95S7uV53_fsga6grZ_rA@mail.gmail.com> <30518269-CA9D-4F50-8CE3-062A01DBCD7F@mozilla.com> <CAD5OKxvmRK8Xzu4FSRv3Lgdg-VrrufzGhjAdSmfcLLkrm-jtjw@mail.gmail.com> <0AD3077C-74FA-4585-942A-375B83B3A7A0@ericsson.com>
In-Reply-To: <0AD3077C-74FA-4585-942A-375B83B3A7A0@ericsson.com>
From: Roman Shpount <roman@telurix.com>
Date: Fri, 26 Apr 2019 11:07:50 -0400
X-Gmail-Original-Message-ID: <CAD5OKxsgpf7Hv_nxFOZFwfNk7-_xNRzmoPTA2bZCqZo3wzudKQ@mail.gmail.com>
Message-ID: <CAD5OKxsgpf7Hv_nxFOZFwfNk7-_xNRzmoPTA2bZCqZo3wzudKQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Nils Ohlmeier <nohlmeier@mozilla.com>, "ice@ietf.org" <ice@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f5377b0587704c31"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/TtSaleGtOyLMNfcQk_PmVeGAasQ>
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 15:08:16 -0000

Hi Christer,

On Fri, Apr 26, 2019 at 3:06 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> There is one more option (which has been my assumption):
>
>
>
> 4) Start the timer when the agent would otherwise declare ICE failure,
> i.e., when it has tested all available candidate pairs.
>
>
>
I think this option does not work quite well. With option 4, when ICE agent
has a list of valid remote candidates and all these candidates do not fail
immediately with ICMP error, ICE agent will spend enough time trying those
candidates before failing for any remote binding attempts to arrive. So,
option 4 ends up adding extra time when it is not needed.  On the other
hand, when ICE agent does not get any remote candidates, it can go into a
failed state and start timeout before local candidates collected by this
agent were delivered to remote over signaling causing a premature failure.

Regards,
_____________
Roman Shpount