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

"Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com> Tue, 02 June 2015 03:14 UTC

Return-Path: <tireddy@cisco.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 A28371A90B9; Mon, 1 Jun 2015 20:14:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 CZ0L-k4HCSFE; Mon, 1 Jun 2015 20:14:10 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F16071A90B4; Mon, 1 Jun 2015 20:14:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=49378; q=dns/txt; s=iport; t=1433214850; x=1434424450; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=jREaBhxft+P/2wE3a0NlugwOheBwJDHtjon4brYHMsk=; b=byZQgzMXSNB8Bipr9padEAsBQ2ze8tHOjMflc+8TxRaIfim6LKIrkT9i 5rTiD769UZjqZlfLI89Pj/Pbr1THWRD8Z4HMOyVXami50RheZH+2C8qhb nfkkvZlyxivcBikIK7r6nOZyYPM0n1bXOboXV/9Alm4/LRMM1q7iIbU7E w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DIBgDZHm1V/4oNJK1cgkVLVF4Ggxi6WTwqCYE3GQEJhS1KAhyBFzgUAQEBAQEBAYEKhCIBAQEDAQEBASAKQQsFCwIBCBEEAQELFgEGAwICAh8GCxQJCAIEDgUIiBADCggNtG2edQ2FGwEBAQEBAQEBAQEBAQEBAQEBAQEBAReLQ4JNgggWFwQGAYJoL4EWBZBSgj6ENoUEgwc+jW1dhwUjYYEpHIFSb4EDBzyBAQEBAQ
X-IronPort-AV: E=Sophos;i="5.13,536,1427760000"; d="scan'208,217";a="155357520"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by alln-iport-7.cisco.com with ESMTP; 02 Jun 2015 03:14:08 +0000
Received: from xhc-aln-x06.cisco.com (xhc-aln-x06.cisco.com [173.36.12.80]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t523E8fh019471 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 2 Jun 2015 03:14:08 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.253]) by xhc-aln-x06.cisco.com ([173.36.12.80]) with mapi id 14.03.0195.001; Mon, 1 Jun 2015 22:14:08 -0500
From: "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
To: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>, "Black, David" <david.black@emc.com>
Thread-Topic: [rtcweb] OPS-Dir review of draft-ietf-rtcweb-stun-consent-freshness-13
Thread-Index: AdCYTRwpDLI16eMpRUmkDRETmBwKqQAc0OqAABAN2oAAKb4SAAABtAIAAApo7AAACcBoUP//vfsAgABAAjCAAM2OAIAEYv0A//9oT2A=
Date: Tue, 02 Jun 2015 03:14:07 +0000
Message-ID: <913383AAA69FF945B8F946018B75898A47862F06@xmb-rcd-x10.cisco.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> <CAKz0y8xZQC9pF15aJ+eNPRNaF4DxH9uWMNCHU33mi2-2PJZxnQ@mail.gmail.com>
In-Reply-To: <CAKz0y8xZQC9pF15aJ+eNPRNaF4DxH9uWMNCHU33mi2-2PJZxnQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.65.48.236]
Content-Type: multipart/alternative; boundary="_000_913383AAA69FF945B8F946018B75898A47862F06xmbrcdx10ciscoc_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/9Nlvjd7_1rGfJRjiHFgpt21vYGU>
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: Tue, 02 Jun 2015 03:14:13 -0000

From: Muthu Arul Mozhi Perumal [mailto:muthu.arul@gmail.com]
Sent: Monday, June 01, 2015 6:41 PM
To: Black, David
Cc: Tirumaleswar Reddy (tireddy); Christer Holmberg; Ted Hardie; 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

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.

Updated in my local copy.

-Tiru

That is effectively what RFC5245 says for keepalive..

Muthu

On Fri, May 29, 2015 at 11:41 PM, Black, David <david.black@emc.com<mailto: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<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<mailto:ops-dir@ietf.org>; rtcweb@ietf.org<mailto:rtcweb@ietf.org>; rtcweb-chairs@tools.ietf.org<mailto: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]
Sent: Friday, May 29, 2015 7:37 AM
To: Tirumaleswar Reddy (tireddy); Ted Hardie; Black, David
Cc: joel jaeggli; ops-dir@ietf.org<mailto:ops-dir@ietf.org>; rtcweb@ietf.org<mailto:rtcweb@ietf.org>; rtcweb-chairs@tools.ietf.org<mailto: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] 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<mailto:ops-dir@ietf.org>; rtcweb@ietf.org<mailto:rtcweb@ietf.org>; rtcweb-chairs@tools.ietf.org<mailto: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] On Behalf Of Ted Hardie
Sent: 28 May 2015 23:26
To: Black, David
Cc: rtcweb-chairs@tools.ietf.org<mailto:rtcweb-chairs@tools.ietf.org>; joel jaeggli; ops-dir@ietf.org<mailto:ops-dir@ietf.org>; rtcweb@ietf.org<mailto: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<mailto: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<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb