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

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 26 April 2019 20:28 UTC

Return-Path: <christer.holmberg@ericsson.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 4AB9812001B for <ice@ietfa.amsl.com>; Fri, 26 Apr 2019 13:28:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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=ericsson.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 eteFCfE4E3vY for <ice@ietfa.amsl.com>; Fri, 26 Apr 2019 13:28:20 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80071.outbound.protection.outlook.com [40.107.8.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFB051201A1 for <ice@ietf.org>; Fri, 26 Apr 2019 13:28:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WAMhBAJLCpYgYYtdqiM44nHwC30B3MPopj8Yzvf4dgI=; b=LKej0WMzL8bj309IEv1Bwa9LODx0jbzsyjANGI3qK9iEjro6VUTmbcD4MdiB+fZHZ9fYNT7SMCmkPpnW/DNMwh5ZdxRop1mra+xRfqSm6vBSTOs+UXovWkBL/5e6+AevxtSJf4axBYgQiy9MyfGM0utpncdxxsXDp8Z+yeeE+rU=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3449.eurprd07.prod.outlook.com (10.170.247.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.5; Fri, 26 Apr 2019 20:28:16 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::c999:f848:9abc:d321]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::c999:f848:9abc:d321%6]) with mapi id 15.20.1856.007; Fri, 26 Apr 2019 20:28:16 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>
CC: Nils Ohlmeier <nohlmeier@mozilla.com>, "ice@ietf.org" <ice@ietf.org>
Thread-Topic: [Ice] ICE PAC: When to start the timer waiting for possible peer reflexive candidates?
Thread-Index: AQHU+0CsHVyA1kKNxkeJ+j5BwMef3qZNJFeAgAA9yAD//8/IgIAAFleAgAAtFICAAMN1gIAAVFgAgABZAV0=
Date: Fri, 26 Apr 2019 20:28:16 +0000
Message-ID: <HE1PR07MB316172053751D307F83DE0EB933E0@HE1PR07MB3161.eurprd07.prod.outlook.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> <0AD3077C-74FA-4585-942A-375B83B3A7A0@ericsson.com>, <CAD5OKxsgpf7Hv_nxFOZFwfNk7-_xNRzmoPTA2bZCqZo3wzudKQ@mail.gmail.com>
In-Reply-To: <CAD5OKxsgpf7Hv_nxFOZFwfNk7-_xNRzmoPTA2bZCqZo3wzudKQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [2001:14bb:93:5e2d:3499:b688:5a84:7017]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5414ce97-60ac-4d12-a123-08d6ca85b6e4
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:HE1PR07MB3449;
x-ms-traffictypediagnostic: HE1PR07MB3449:
x-microsoft-antispam-prvs: <HE1PR07MB34495C9ABB64530CEB630D75933E0@HE1PR07MB3449.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 001968DD50
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(136003)(366004)(346002)(376002)(189003)(199004)(54906003)(476003)(14454004)(9686003)(6246003)(102836004)(446003)(6916009)(236005)(11346002)(54896002)(46003)(316002)(53936002)(33656002)(229853002)(478600001)(99286004)(76176011)(5660300002)(53546011)(44832011)(186003)(486006)(6506007)(7696005)(68736007)(55016002)(4326008)(71200400001)(71190400001)(25786009)(52536014)(6436002)(86362001)(97736004)(8676002)(74316002)(93886005)(66446008)(8936002)(66476007)(66556008)(64756008)(81166006)(81156014)(7736002)(6116002)(66946007)(76116006)(73956011)(5070765005)(2906002)(256004)(14444005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3449; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: gdtRFS8UjF4PDXfRDmwOTzR0HKnk6AXBOo3CWRfGKeOBpYvL8yWCWEbH8i+h3cZxZoweHFO31zKzsG2m2lLS2MUBPYbEwy9k++OWm+Q2kcTEdCeDlJWc0hew6k6LVdEf9cBSVJe2RoCR0u5VtQ0YdZzDX8gL3QlzEzVDkhpmeDbL/RA2GTwsnvfKCZmoW5hp9N6rP34JYBac6Wg5T/N+remSRCp7olbmBENGoAHnA7FAlcVu1T845ZekuMCh+VxC7k9TVTRU5nqieob+Otom4rZj3NSeLt7dWJqyAPlFRF9s0lJl/iOnnDYitOCuXjYd0D543IT2TIUlZsUDOzsX+cZ9m9tn+VQh/pv3V1Jj5uYXg48pNakBxr5d+cpn9lltvv4CZIlMmDFDD/268sMb5mh6bTHa9i1/3Z0dFu4fNJk=
Content-Type: multipart/alternative; boundary="_000_HE1PR07MB316172053751D307F83DE0EB933E0HE1PR07MB3161eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5414ce97-60ac-4d12-a123-08d6ca85b6e4
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2019 20:28:16.5752 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3449
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/xAGsilGdw0X4Fh1FWIoDE2hvbg0>
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 20:28:24 -0000

Hi,

In a non-trickle case, I think it would be very strange if the agent didn’t get any candidates front the peer agent.

Regards,

Christer
________________________________
From: Roman Shpount <roman@telurix.com>
Sent: Friday, April 26, 2019 6:07:50 PM
To: Christer Holmberg
Cc: Nils Ohlmeier; ice@ietf.org
Subject: Re: [Ice] ICE PAC: When to start the timer waiting for possible peer reflexive candidates?


Hi Christer,

On Fri, Apr 26, 2019 at 3:06 AM Christer Holmberg <christer.holmberg@ericsson.com<mailto: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