Re: [straw] WGLC Comments on draft-ietf-straw-b2bua-loop-detection-02

Hadriel Kaplan <hadriel.kaplan@oracle.com> Fri, 20 September 2013 17:35 UTC

Return-Path: <hadriel.kaplan@oracle.com>
X-Original-To: straw@ietfa.amsl.com
Delivered-To: straw@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E639021F9C87 for <straw@ietfa.amsl.com>; Fri, 20 Sep 2013 10:35:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NxdRqeoX3jlA for <straw@ietfa.amsl.com>; Fri, 20 Sep 2013 10:35:47 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by ietfa.amsl.com (Postfix) with ESMTP id 7B05221F9CAF for <straw@ietf.org>; Fri, 20 Sep 2013 10:35:47 -0700 (PDT)
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r8KHZjaX019278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Sep 2013 17:35:46 GMT
Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8KHZiVB025801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Sep 2013 17:35:45 GMT
Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8KHZi6C020459; Fri, 20 Sep 2013 17:35:44 GMT
Received: from [192.168.1.108] (/66.31.4.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Sep 2013 10:35:44 -0700
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Hadriel Kaplan <hadriel.kaplan@oracle.com>
In-Reply-To: <9F33F40F6F2CD847824537F3C4E37DDF17BCC99C@MCHP04MSX.global-ad.net>
Date: Fri, 20 Sep 2013 13:35:43 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <A8010880-9413-494A-A93A-471E26CD4AED@oracle.com>
References: <9F33F40F6F2CD847824537F3C4E37DDF17BCC99C@MCHP04MSX.global-ad.net>
To: "Hutton, Andrew" <andrew.hutton@siemens-enterprise.com>
X-Mailer: Apple Mail (2.1510)
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
Cc: "straw@ietf.org" <straw@ietf.org>
Subject: Re: [straw] WGLC Comments on draft-ietf-straw-b2bua-loop-detection-02
X-BeenThere: straw@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Sip Traversal Required for Applications to Work \(STRAW\) working group discussion list" <straw.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/straw>, <mailto:straw-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/straw>
List-Post: <mailto:straw@ietf.org>
List-Help: <mailto:straw-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/straw>, <mailto:straw-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Sep 2013 17:35:53 -0000

Hi Andy,
Thanks for reviewing!  Comments below...

On Sep 19, 2013, at 5:24 AM, "Hutton, Andrew" <andrew.hutton@siemens-enterprise.com> wrote:

> I have a couple of comments.
> 
> 1. Section 4 states " It is RECOMMENDED that B2BUAs implement the loop-detection mechanism for the Via header field, as defined for a Proxy in [RFC5393]."
> 
> This could be changed to a MUST requirement by changing it to "B2BUAs MUST implement the updates to [RFC3261] for strengthening the requirements to perform loop detection as specified in [RFC5393]".  I prefer this because it enforces the requirement that some form of loop-detection must be in place when forking.

This was raised back in June here:
http://www.ietf.org/mail-archive/web/straw/current/msg00127.html

I'm fine with changing it to a MUST, but would like to hear more folks weigh in.  

As an aside, I'm fairly sure changing it to a MUST won't make B2BUA's implement that check, because some B2BUAs literally can't do it safely; that check requires knowing what all of the variables used for routing requests are, and it's not technically possible to know that in some architectures.  For example, if your architecture allows using external systems/routing-engines, or scripts/plugins, or something flexible like that to control SIP request routing decisions... then I don't think you can safely preform that via header check. (by "safely" I mean accurately enough to detect legitimate spirals vs. loops)


> 2. Section 5 states " B2BUAs MAY perform the same actions for in-dialog requests, but doing so may cause issues with devices that set Max-Forwards values based upon the number of received Via or Record-Route headers"
> 
> I think this could do with some more explanation regarding mid-dialog requests and the issues associated with setting Max-Forwards based on Via or Record-Route. It would be good to remove this "MAY" and have clear requirements for handling mid-dialog requests. Do we really need to have the text about setting based on the number of via or record-route headers?

I'm not sure I understand what you mean.  This doc is about B2BUA handling copying the Max-Forwards, not about the originating UAC setting the MAx-Forwards.  The text in this section was based on this:
http://www.ietf.org/mail-archive/web/straw/current/msg00157.html

-hadriel