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

Roman Shpount <roman@telurix.com> Sat, 06 July 2019 18:13 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 B0A2A120071 for <ice@ietfa.amsl.com>; Sat, 6 Jul 2019 11:13:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 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, SPF_HELO_NONE=0.001, 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 VI_Cb9kDuEqR for <ice@ietfa.amsl.com>; Sat, 6 Jul 2019 11:13:21 -0700 (PDT)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 A88A212006F for <ice@ietf.org>; Sat, 6 Jul 2019 11:13:21 -0700 (PDT)
Received: by mail-pl1-x62c.google.com with SMTP id b7so6099426pls.6 for <ice@ietf.org>; Sat, 06 Jul 2019 11:13:21 -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=2Wg80YWZ0qqxtcpmGnN4Biz1odYko6LDmQOxqr1hqGE=; b=okyjv4BLPwXdot48lwkXTZJ3o97NLGtS4NURVpZZInByWMl4mRXsDAsMVt/OzsAv0V v31r6MskkEZAXDhCbKuQhKWjYBXToKzlb5TyasRLkrR8JkKwVQMycgdWOtVZXz1v4d51 nbqQpEENf0nMiWOM3R1vKrMM3DUxTghI/72hy9+N7/cnz2w0lES5ABkHwaXpEDhAzgiK uToBBFhXKsNxMn7gskrnvG4XftCG8q7IEYSYlylKr7V04Rfyl2cks/DwJLmF9JEXT38l pRm+bcUTiR8f8yLJOLxxXRNGkIQpkeIUTG8JJDnUAXaXfZE9FLbqZqlKJCgOEh2MaMVM Oxkg==
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=2Wg80YWZ0qqxtcpmGnN4Biz1odYko6LDmQOxqr1hqGE=; b=q+oZAftDn0AjpRj/1aC6Pvbe5v1mqmTrIbzHOcazw48Rlkd+KWYM/RFnT1EmvrngH+ 6g719WV9zchzAojoBem/3J8m94BQ2T5cpIiavvsoj3doKvF6rJorR1rEIcukp7idsxlZ y8FGnQeCWoOfq8qxPmu+EU0WiHhF6Wfv9jiUP5ONBSHDhgJ9s1culFz95yx0AoyaDPRg ovUY88YNuXVSrfP6U2q3Q5mvJeBU/vF4b3BI7rfib8iRLH5C6lwtShBMfvTZXoFHoqn5 yxgZ4/Pm9fFLWG5dPbc6bYb92qvTrclRRIH1aZmtaoeA7MEDqRr/79iwIhd1cvpQQoG2 LENw==
X-Gm-Message-State: APjAAAXT5ucLcMSvYPuiMpxQFPZQ4asCNP8Rt7ajR2JqJc5g4dTRPdM/ 6yTVU+LtDGdy9G/iON5+zVdeVG2qKIU=
X-Google-Smtp-Source: APXvYqzOQiLAtnHgID/bE19PNZxuwnTOATu9neYBKbscxALMcek5whzn5JIveFLfOh4Knioe9Qtn4w==
X-Received: by 2002:a17:902:b70e:: with SMTP id d14mr12596204pls.309.1562436800825; Sat, 06 Jul 2019 11:13:20 -0700 (PDT)
Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com. [209.85.215.173]) by smtp.gmail.com with ESMTPSA id x9sm4086156pfn.177.2019.07.06.11.13.19 for <ice@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jul 2019 11:13:19 -0700 (PDT)
Received: by mail-pg1-f173.google.com with SMTP id m4so5656353pgk.0 for <ice@ietf.org>; Sat, 06 Jul 2019 11:13:19 -0700 (PDT)
X-Received: by 2002:a17:90a:b104:: with SMTP id z4mr12901132pjq.102.1562436799184; Sat, 06 Jul 2019 11:13:19 -0700 (PDT)
MIME-Version: 1.0
References: <AFCE8799-8865-454F-8478-81CE11E9B454@ericsson.com> <1aa5aac7-af59-4e3b-8651-18f6e6431a2d@alvestrand.no> <66678ADA-7C02-4D9D-B9D2-308873BC0125@ericsson.com> <7a829bc0-d066-a3be-b7be-9b39ce799821@alvestrand.no> <CAJrXDUHZJURLvzBYX2MGcMsrFgyOagW5=s1OSXwDmTZpsruD0A@mail.gmail.com> <VI1PR07MB3167F21EF7A1009B8EB9948B93FB0@VI1PR07MB3167.eurprd07.prod.outlook.com> <ae88593c-633f-8c18-eac6-82ba3673dce7@alvestrand.no> <HE1PR07MB31614FEC9997294294BB63A393F40@HE1PR07MB3161.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB31614FEC9997294294BB63A393F40@HE1PR07MB3161.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Sat, 06 Jul 2019 14:13:08 -0400
X-Gmail-Original-Message-ID: <CAD5OKxt_nvwYEDNEFtRSrdDK2BOoTWOL52_5mz99o7M3=5q6kA@mail.gmail.com>
Message-ID: <CAD5OKxt_nvwYEDNEFtRSrdDK2BOoTWOL52_5mz99o7M3=5q6kA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, "ice@ietf.org" <ice@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000066453e058d072a1c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/BS-EYqOWjiUprWLcNP6EXUxbEeY>
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: Sat, 06 Jul 2019 18:13:24 -0000

On Sat, Jul 6, 2019 at 8:17 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> >>So, what timer value do people want?
> >
> >Any number significantly larger than zero will improve the current
> situation. I think 30.5 seconds was mentioned - that's a fine number to me.
>
> I am not sure I understand what you mean by "larger than zero". Nobody
> today declares ICE failure at the same time as the begin ICE, do they?
>

This is exactly what happens and this what we are trying to fix.


> >> And, assuming the timer value is not going to be based on the number of
> streams, what do we do if the timer expires before
> >> we have tested all pairs for all streams? I think we need to specify
> that.
> >
> > Exactly what we do today.
> > If I interpret the situation correctly, the timer is to catch the state
> when we don't have remote candidates to try, so if the timer
> > expires while we have remote candidates to try, we will just go on
> trying them; if the timer expires when we have no remote candidates,
> > we go to "failed" state, exactly as we do today.
>
> In that case, why can't we start the timer once we don't have any remote
> candidates left?
>
> Because, ff we DO have remote candidates, the timer is meaningless,
> because if the timer expires we will ignore it and go on testing them.
>

If there are remote candidates to check, then ICE should continue checking
them. Part of the problem is that when ICE is starting, it is unclear if
remote candidate have not been received yet, no usable remote candidates
where received, or remote candidates are not going to be sent at all.
Also, checking remote candidates can end very quickly if remote candidates
are unreachable (fail immediately with ICMP remote address unreachable
message).

_____________
Roman Shpount