Re: [rtcweb] AD evaluation: draft-ietf-rtcweb-stun-consent-freshness-11

Martin Thomson <martin.thomson@gmail.com> Fri, 08 May 2015 12:41 UTC

Return-Path: <martin.thomson@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 EC1441A005F for <rtcweb@ietfa.amsl.com>; Fri, 8 May 2015 05:41:58 -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 10vz7b4Q0dLv for <rtcweb@ietfa.amsl.com>; Fri, 8 May 2015 05:41:55 -0700 (PDT)
Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (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 92C711A005C for <rtcweb@ietf.org>; Fri, 8 May 2015 05:41:55 -0700 (PDT)
Received: by ykft189 with SMTP id t189so19848030ykf.1 for <rtcweb@ietf.org>; Fri, 08 May 2015 05:41:54 -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=VwsQ33P6S//sevtvX1YBFFdrdHlSQoB8p0t/PxUILQ8=; b=NtdPl9CuKQYyhrgcoecsCG6NpsmlzTR3u7m/yZ79Mg/kUn0jvl8eEBA7w1ndpjq5zC avGHrpz8iN5hTNtS5G/6Cti1tTBFRONyLrSUWFhlfoCeDxUkiEJhLYZ8Fm3kx1Y+lBfj O6wlwrm85hqaMaD+80g2bcOW3lvF1PWGFcrJwmt6kjL0M4HWO8EJpuJGOC37/92Nbeui bo4WIY6l9xyJXMh4d2RAQBEqYkQUez9/TB/vXut0euL4xP32ihr8nNFxba2JNxx2KgpP uxy1zJwLF4kSeshN+CEGbW8vFNUzd9VzMX/B4bsw1lc0ZhTOv3BhBLjF0cE6p2xDSQRi 0mHw==
MIME-Version: 1.0
X-Received: by 10.236.28.79 with SMTP id f55mr3010106yha.151.1431088914842; Fri, 08 May 2015 05:41:54 -0700 (PDT)
Received: by 10.13.247.71 with HTTP; Fri, 8 May 2015 05:41:54 -0700 (PDT)
Received: by 10.13.247.71 with HTTP; Fri, 8 May 2015 05:41:54 -0700 (PDT)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D7EBCDD@ESESSMB209.ericsson.se>
References: <3B27E16C-2AD7-427B-864C-741F38575B97@cooperw.in> <CABkgnnU=NeP7MzqxE1Mg+ZN8EZf=3FtayyLP1Q-z=6vaPUtAuA@mail.gmail.com> <3BE7E012-A474-4CEA-889A-B611EEFC4AEC@cooperw.in> <7594FB04B1934943A5C02806D1A2204B1D7EA1AE@ESESSMB209.ericsson.se> <D170E03C.2DAC3%rmohanr@cisco.com> <7594FB04B1934943A5C02806D1A2204B1D7EB649@ESESSMB209.ericsson.se> <913383AAA69FF945B8F946018B75898A47833F10@xmb-rcd-x10.cisco.com> <7594FB04B1934943A5C02806D1A2204B1D7EBB8D@ESESSMB209.ericsson.se> <D1712C03.2DDBA%rmohanr@cisco.com> <7594FB04B1934943A5C02806D1A2204B1D7EBCDD@ESESSMB209.ericsson.se>
Date: Fri, 08 May 2015 05:41:54 -0700
Message-ID: <CABkgnnU0KY3zFQmScSMkq39y6VFFZftZxviAW5_7gGJarfR+xA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="089e0149c1986948c80515915a42"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/QgekK76qqVPfWIcZNAGTYCmjI_Y>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] AD evaluation: draft-ietf-rtcweb-stun-consent-freshness-11
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: Fri, 08 May 2015 12:41:59 -0000

My intent was to highlight the potential need for re-use. This loses that,
so it ends up saying nothing really. It is otherwise ok in the sense that
it concentrates on the keep alive aspect.
On May 7, 2015 4:49 AM, "Christer Holmberg" <christer.holmberg@ericsson.com>
wrote:

> Hi,
>
> The text looks ok, but I think we can simplify/clarify it a little.
>
> For example, the usage of "flow" is a little strange, since we explicitly
> say that no media is sent :)
>
> Also, "failure" is the wrong wording in my opinion, because there is no
> failure.
>
> What about:
>
>    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] and see [RFC6263]).
>
> Regards,
>
> Christer
>
>
> -----Original Message-----
> From: Ram Mohan R (rmohanr) [mailto:rmohanr@cisco.com]
> Sent: 7. toukokuuta 2015 12:19
> To: Christer Holmberg; Tirumaleswar Reddy (tireddy); Alissa Cooper; Martin
> Thomson
> Cc: rtcweb@ietf.org
> Subject: Re: [rtcweb] AD evaluation:
> draft-ietf-rtcweb-stun-consent-freshness-11
>
> Hi Christer,
>
> How about the below text. Does it sound better ?
>
> OLD:
>
>    An endpoint that is not sending any application data does not need to
>    maintain consent.  However, failure to send could cause any NAT or
>    firewall mappings for the flow to expire.  Furthermore, having one
>    peer unable to send is detrimental to many protocols.  Absent better
>    information about the network, an endpoint SHOULD maintain consent if
>    there is any possibility that a flow might be needed again.
>
> NEW:
>
>    An endpoint that is not sending any application data does not need to
>    maintain consent. However, failure to send could cause any NAT or
>    firewall mappings for the flow 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 persist which can be done using keepalive or
>    other techniques (see Section 10 of [RFC5245] and see [RFC6263]).
>
>
>
> Ram
>
> -----Original Message-----
> From: Christer Holmberg <christer.holmberg@ericsson.com>
> Date: Thursday, 7 May 2015 2:40 pm
> To: "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>, Cisco Employee <
> rmohanr@cisco.com>, Alissa Cooper <alissa@cooperw.in>, Martin Thomson <
> martin.thomson@gmail.com>
> Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
> Subject: RE: [rtcweb] AD evaluation:
> draft-ietf-rtcweb-stun-consent-freshness-11
>
> >Hi,
> >
> >>>>Martin¹s statement says SHOULD here and does not mandate. ICE
> >>>>keepalives could also be used to keep the NAT state
> >>>
> >>> There needs to be a good justification for a SHOULD, and consent was
> >>> never intended for NAT keep-alives.
> >>>
> >>> Also keep in mind that, with the "virtual connection" concept, there
> >>> might be a big number of ICE connections - some of which you may
> >>> never use. Why send consent on those, if there is no media?
> >>
> >> ICE keepalives or consent is only required for candidate pairs
> >>selected for media,
> >
> >Correct. But, you may have multiple candidate pairs "selected for
> >media", but that doesn't mean you are sending media on all of them.
> >Very likely you are, at any given time, only sending media on one of them.
> >
> >> http://tools.ietf.org/html/rfc5245#section-10 mandates sending
> >>keepalives if no packet is sent on the candidate pair ICE is using for
> >>a media component for Tr seconds. STUN Binding Indication or consent
> >>can be used for keepalives.
> >
> >Correct. My issue is why there should be a "SHOULD send consent" on
> >candidate pairs currently not used for sending media. In such case,
> >only the NAT bindings need to be maintained, and the keep-alives take
> >care of that.
> >
> >Regards,
> >
> >Christer
> >
> >
> >
> >> -----Original Message-----
> >> From: Christer Holmberg <christer.holmberg@ericsson.com>
> >> Date: Wednesday, 6 May 2015 12:23 pm
> >> To: Alissa Cooper <alissa@cooperw.in>, Martin Thomson
> >> <martin.thomson@gmail.com>
> >> Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
> >> Subject: Re: [rtcweb] AD evaluation:
> >> draft-ietf-rtcweb-stun-consent-freshness-11
> >>
> >> >Hi,
> >> >
> >> >I don't think you need to continue doing consent because of NAT
> >> >issues, if you are sending normal STUN keep-alives.
> >> >
> >> >Regards,
> >> >
> >> >Christer
> >> >
> >> >-----Original Message-----
> >> >From: rtcweb [mailto:rtcweb-bounces@ietf.org] On Behalf Of Alissa
> >> >Cooper
> >> >Sent: 2. toukokuuta 2015 2:20
> >> >To: Martin Thomson
> >> >Cc: rtcweb@ietf.org
> >> >Subject: Re: [rtcweb] AD evaluation:
> >> >draft-ietf-rtcweb-stun-consent-freshness-11
> >> >
> >> >
> >> >On May 1, 2015, at 9:54 AM, Martin Thomson
> >> <martin.thomson@gmail.com>
> >> >wrote:
> >> >
> >> >> On 30 April 2015 at 17:32, Alissa Cooper <alissa@cooperw.in> wrote:
> >> >>> "An endpoint that is not sending any application data does not
> >> >>> need
> >>to
> >> >>>   maintain consent.  However, failure to send could cause any NAT or
> >> >>>   firewall mappings for the flow to expire.  Furthermore, having one
> >> >>>   peer unable to send is detrimental to many protocols."
> >> >>>
> >> >>> It sounds like the unstated implication here is that if you are
> >> >>>such an endpoint, you should keep doing consent checks anyway to
> >> >>>maintain consent. Should that be stated explicitly, or am I
> >>misunderstanding?
> >> >>
> >> >> Can you tell that this is my text?
> >> >>
> >> >> Yep, the unspoken implication is that if you stop maintaining
> >> >> consent, a flow is highly likely to break.  I'm OK with making
> >> >> that
> >>explicit.
> >> >>
> >> >> ... .  Absent better information about the network, an endpoint
> >> >> SHOULD maintain consent if there is any possibility that a flow
> >> >> might be needed again.
> >> >
> >> >WFM
> >> >
> >> >>
> >> >> (Thanks for the suggestion on Sec7.  I wasn't happy with it
> >> >> before.)
> >> >
> >> >_______________________________________________
> >> >rtcweb mailing list
> >> >rtcweb@ietf.org
> >> >https://www.ietf.org/mailman/listinfo/rtcweb
> >> >
> >> >_______________________________________________
> >> >rtcweb mailing list
> >> >rtcweb@ietf.org
> >> >https://www.ietf.org/mailman/listinfo/rtcweb
> >>
> >> _______________________________________________
> >> rtcweb mailing list
> >> rtcweb@ietf.org
> >> https://www.ietf.org/mailman/listinfo/rtcweb
>
>