Re: [rtcweb] OPS-Dir review of draft-ietf-rtcweb-stun-consent-freshness-13

Muthu Arul Mozhi Perumal <muthu.arul@gmail.com> Mon, 01 June 2015 13:10 UTC

Return-Path: <muthu.arul@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 513641A001D; Mon, 1 Jun 2015 06:10:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 9b5WUxmq8lR6; Mon, 1 Jun 2015 06:10:51 -0700 (PDT)
Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (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 109691A001A; Mon, 1 Jun 2015 06:10:50 -0700 (PDT)
Received: by wicmx19 with SMTP id mx19so75113642wic.0; Mon, 01 Jun 2015 06:10:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Cj2GCtZwxTuy12QCP1wrAi0UFhhbEt5kF0HL1gkLHnQ=; b=tr3N+G3s9OyL2RrJCzyBEm6AwBCqPMk0g/QP2JarMe0jXDVk63K+cbWkQeUGkHRv68 qOgHMTCiYcXZSc1h8brGKsfzUNxKurA29YV1GEP5ZTM4fyMFAC5l+aFvtuEi2kNTFoyk GSXYDCTiUlA8172bwU9ENQ+/uayQL73oeSYxyOJz0gZCvxM4UDiKszs6MHxlLQEOyJgU enD/7XHVnRg14MfyQCgdKjeJVofnHDkEZhvm0ICQYzumEcKqmKWaFN4nVzjpNwIsVkaw y3DyUosoDDDa1M4ejY3Wk1UpvtGU+1HPwxCXesUWqmhtZLX0lMxRCCfkBgyw2Adhfic/ ZjJg==
MIME-Version: 1.0
X-Received: by 10.180.218.137 with SMTP id pg9mr20444494wic.79.1433164248676; Mon, 01 Jun 2015 06:10:48 -0700 (PDT)
Received: by 10.180.35.7 with HTTP; Mon, 1 Jun 2015 06:10:48 -0700 (PDT)
In-Reply-To: <CE03DB3D7B45C245BCA0D243277949364CB73D@MX104CL02.corp.emc.com>
References: <CE03DB3D7B45C245BCA0D243277949364C76E4@MX104CL02.corp.emc.com> <CE03DB3D7B45C245BCA0D243277949364C9187@MX104CL02.corp.emc.com> <CABkgnnXr4iCgwzKSTGhJUW3-99XXPjVjh1iyOX0H96C2vV_hWA@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949364CAE88@MX104CL02.corp.emc.com> <CA+9kkMC6MMTFFObbF51-iUaRA8CUdvK5xk6SC8UasCQAHa51YQ@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D86E037@ESESSMB209.ericsson.se> <913383AAA69FF945B8F946018B75898A47861342@xmb-rcd-x10.cisco.com> <7594FB04B1934943A5C02806D1A2204B1D86E2ED@ESESSMB209.ericsson.se> <913383AAA69FF945B8F946018B75898A47861447@xmb-rcd-x10.cisco.com> <CE03DB3D7B45C245BCA0D243277949364CB73D@MX104CL02.corp.emc.com>
Date: Mon, 01 Jun 2015 18:40:48 +0530
Message-ID: <CAKz0y8xZQC9pF15aJ+eNPRNaF4DxH9uWMNCHU33mi2-2PJZxnQ@mail.gmail.com>
From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
To: "Black, David" <david.black@emc.com>
Content-Type: multipart/alternative; boundary="001a1134cedcf27efa0517748dd3"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/5ifz0g5_-j8t3qYka1bF36o5sIM>
Cc: "rtcweb-chairs@tools.ietf.org" <rtcweb-chairs@tools.ietf.org>, "ops-dir@ietf.org" <ops-dir@ietf.org>, joel jaeggli <joelja@bogus.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] OPS-Dir review of draft-ietf-rtcweb-stun-consent-freshness-13
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Jun 2015 13:10:54 -0000

I think RFC5245 does not rule out someone using STUN binding requests for
keepalive:

<snip>
   Though Binding Indications are used for keepalives,
   an agent MUST be prepared to receive a connectivity check as well.
   If a connectivity check is received, a response is generated as
   discussed in [RFC5389], but there is no impact on ICE processing
   otherwise.
</snip>

OLD:
    If consent is performed then there is no need to send keepalive
messages.

Suggested NEW:
   If consent is performed then the STUN binding requests sent for consent
   freshness also serve the keepalive purpose.

That is effectively what RFC5245 says for keepalive..

Muthu

On Fri, May 29, 2015 at 11:41 PM, Black, David <david.black@emc.com> wrote:

>  That also works for me, and neatly sidesteps the concern about
>
> whether RFC 5245 is being updated.
>
>
>
> Thanks,
> --David
>
>
>
> *From:* Tirumaleswar Reddy (tireddy) [mailto:tireddy@cisco.com]
> *Sent:* Thursday, May 28, 2015 11:20 PM
> *To:* Christer Holmberg; Ted Hardie; Black, David
>
> *Cc:* joel jaeggli; ops-dir@ietf.org; rtcweb@ietf.org;
> rtcweb-chairs@tools.ietf.org
> *Subject:* RE: [rtcweb] OPS-Dir review of
> draft-ietf-rtcweb-stun-consent-freshness-13
>
>
>
> *From:* Christer Holmberg [mailto:christer.holmberg@ericsson.com
> <christer.holmberg@ericsson.com>]
> *Sent:* Friday, May 29, 2015 7:37 AM
> *To:* Tirumaleswar Reddy (tireddy); Ted Hardie; Black, David
> *Cc:* joel jaeggli; ops-dir@ietf.org; rtcweb@ietf.org;
> rtcweb-chairs@tools.ietf.org
> *Subject:* RE: [rtcweb] OPS-Dir review of
> draft-ietf-rtcweb-stun-consent-freshness-13
>
>
>
> Hi,
>
>
>
> >Good point. We discuss the following point in section 4.1 of the draft
> about keepalives:
>
> >
>
> >   An endpoint that is not sending any application data does not need to
>
> >   maintain consent.  However, not sending any traffic could cause NAT
>
> >   or firewall mappings to expire.  Furthermore, having one peer unable
>
> >   to send is detrimental to many protocols.  Absent better information
>
> >   about the network, if an endpoint needs to ensure its NAT or firewall
>
> >   mappings do not expire, it can be done using keepalive or other
>
> >   techniques (see Section 10 of [RFC5245]
> <http://tools.ietf.org/html/rfc5245#section-10> and see [RFC6263
> <http://tools.ietf.org/html/rfc6263>]).
>
> >
>
> > So there is no need to send keepalives because of the media traffic as
> it is pointed out in Section 20.2.3 of RFC 5245
>
> > irrespective of whether consent is used or not. I think we can remove
> the following line in “If consent is performed then
>
> > there is no need to send keepalive messages." and avoid the confusion
> of updating RFC 5245.
>
>
>
> I agree that the current text can confuse people, but I still think it
> would be good to have explicit text saying that keepalives are not sent.
> Perhaps something like:
>
>
>
> “From a keepalive perspective, consent requests are considered media
> traffic. Because of that, dedicated keepalives (e.g. STUN binding requests)
> are not sent on candidate pairs where consent requests are sent, in
> accordance with Section 20.2.3 of [RFC5245].”
>
>
>
> Works for me (Replaced STUN binding requests with STUN Binding
> Indications in the above line).
>
>
>
> Cheers,
>
> -Tiru
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
>
>
> *From:* rtcweb [mailto:rtcweb-bounces@ietf.org <rtcweb-bounces@ietf.org>] *On
> Behalf Of *Christer Holmberg
> *Sent:* Friday, May 29, 2015 6:54 AM
> *To:* Ted Hardie; Black, David
> *Cc:* joel jaeggli; ops-dir@ietf.org; rtcweb@ietf.org;
> rtcweb-chairs@tools.ietf.org
> *Subject:* Re: [rtcweb] OPS-Dir review of
> draft-ietf-rtcweb-stun-consent-freshness-13
>
>
>
>
>
> Hi,
>
>
>
> Section 20.2.3 of RFC 5245 says:
>
>
>
> “STUN keepalives (in the form of STUN Binding Indications) are sent in
>
>               the middle of a media session.  However, *they are sent
> only in the*
>
> *              absence of actual media traffic*.”
>
>
>
> So, in the consent draft we could say that, from a keepalive perspective,
> consent requests are considered media traffic. That would then implicitly
> mean that actual keepalives aren’t sent when consent is used. That way, the
> consent spec would be compliant to 5245, and there would be no need for any
> update etc…
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
>
>
> *From:* rtcweb [mailto:rtcweb-bounces@ietf.org <rtcweb-bounces@ietf.org>] *On
> Behalf Of *Ted Hardie
> *Sent:* 28 May 2015 23:26
> *To:* Black, David
> *Cc:* rtcweb-chairs@tools.ietf.org; joel jaeggli; ops-dir@ietf.org;
> rtcweb@ietf.org
> *Subject:* Re: [rtcweb] OPS-Dir review of
> draft-ietf-rtcweb-stun-consent-freshness-13
>
>
>
> Hi David,
>
>
>
> On Thu, May 28, 2015 at 12:36 PM, Black, David <david.black@emc.com>
>
>
> I'd expect that even overriding RFC 5245 counts as an Update,
> because the result would be that the original RFC 5245 "MUST" requirement
> is no longer globally applicable to all uses of RFC 5245.  In other words,
> overriding RFC 5245 effectively rewrites the "MUST" to become "MUST, except
> as further specified by the consent RFC."
>
>
>
> ​So I agree with you that this must be called out, but I think "Updates"
> is wrong for the draft's current intent.  I think what Martin has said
> amounts to "We have chosen to follow RFC 5245 except as detailed in
> sections X and Y, where we use a different set of messages to optimize the
> combination of heartbeat and consent."  We are not updating RFC 5245
> thereby, because we are neither changing its core semantics nor offering to
> add a new, general semantic to RFC 5245 (we could have made that choice,
> but are not doing so now).  Instead of updating RFC 5245, in other words,
> we are limiting our reference to it.
>
> That should be done explicitly, and I think it should be called it
> suffiiciently that a new spin of the draft likely needs a new round of
> review.  But I don't think we are required to update RFC 5245 to get that
> done.
>
> I've referred the matter to our friendly AD, and we await her reading on
> next steps on this.  In either approach, however, this will get called out.
>
> regards,
>
> Ted HArdie​
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>