Re: [straw] AD review of draft-ietf-straw-b2bua-loop-detection-04

Richard Barnes <rlb@ipv.sx> Fri, 11 April 2014 19:14 UTC

Return-Path: <rlb@ipv.sx>
X-Original-To: straw@ietfa.amsl.com
Delivered-To: straw@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49ADF1A03A0 for <straw@ietfa.amsl.com>; Fri, 11 Apr 2014 12:14:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 zNYhnwlGPC8Q for <straw@ietfa.amsl.com>; Fri, 11 Apr 2014 12:14:50 -0700 (PDT)
Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by ietfa.amsl.com (Postfix) with ESMTP id A9F851A036B for <straw@ietf.org>; Fri, 11 Apr 2014 12:14:50 -0700 (PDT)
Received: by mail-ob0-f180.google.com with SMTP id wn1so6411528obc.25 for <straw@ietf.org>; Fri, 11 Apr 2014 12:14:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iU94u1Ie3zXj4tJ0PnTpvbhp5Y8Lpg5XurHtHobJmk0=; b=bAjIHbHsiJ2hkiQS9yzjQBHB1fGyiDQiLTkX8ON/d1tKvij+NS+bavKVrnkameP583 1st3RpQu9uskhVkOqZdRSyIvdlj8iM6KSsu3U5PRxq9UaQVlVH0ktq1Um1CSwcPgvWAz aG3BaXCJEh54pE9konwH8lP6YSDwcl0bbS3ZcpofDD1umxfIE/R6W3XyvRzkWFuR8YeH lQoAZlUWgxgbYBByGKZxwkz+VWZ8UD9MULmAIp/riG99HoWQj32zCyHzxI9wPShE2nyD qAzRlzJSVzGzaA1YeCxohQdGYXz4SH4Gzsv2o5aUVC5cDMi3bnwtsh6jDrL2ASxHf1KZ p1EQ==
X-Gm-Message-State: ALoCoQkMf0AXT+CoXFLMz8yb+njZ4Hqk+zwrIm5qF5/ACIba0mqEZq/v/sMFo3CB/xEltcfAT/QH
MIME-Version: 1.0
X-Received: by 10.60.162.7 with SMTP id xw7mr20807084oeb.13.1397243689089; Fri, 11 Apr 2014 12:14:49 -0700 (PDT)
Received: by 10.60.136.231 with HTTP; Fri, 11 Apr 2014 12:14:49 -0700 (PDT)
In-Reply-To: <275BE153-D79E-475D-9653-19B2FFE81154@oracle.com>
References: <CAL02cgRsQ_fnN5pHqPRoUBJybcVZKPrSj9J32DUd_QAndkA+pg@mail.gmail.com> <275BE153-D79E-475D-9653-19B2FFE81154@oracle.com>
Date: Fri, 11 Apr 2014 15:14:49 -0400
Message-ID: <CAL02cgQA0_saPJb-jrCbtewEQvfXVXAMCPeeejtAmqb-CvEKRA@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Hadriel Kaplan <hadriel.kaplan@oracle.com>
Content-Type: multipart/alternative; boundary="047d7b33cd7cc0d27204f6c925b5"
Archived-At: http://mailarchive.ietf.org/arch/msg/straw/bkOlqizswXL5pO9q1SQYcEjGugI
Cc: draft-ietf-straw-b2bua-loop-detection@tools.ietf.org, straw@ietf.org
Subject: Re: [straw] AD review of draft-ietf-straw-b2bua-loop-detection-04
X-BeenThere: straw@ietf.org
X-Mailman-Version: 2.1.15
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, 11 Apr 2014 19:14:55 -0000

On Fri, Apr 11, 2014 at 2:08 PM, Hadriel Kaplan
<hadriel.kaplan@oracle.com>wrote:

>
> On Apr 11, 2014, at 1:40 PM, Richard Barnes <rlb@ipv.sx> wrote:
>
> > I have reviewed this document in preparation for IETF LC.  Overall, it
> looks good to me; I have requested LC.  One editorial nit and one comment
> below.
> >
> > Thanks,
> > --Richard
> >
> > In Section 5, the antecedent of "which SHOULD be 70" appears to be the
> generated Max-Forwards header, so this doesn't really parse.  "The value
> for this header field SHOULD be 70..."
>
> You're right: that is an nit. :)
> I think it's understandable, though a bit odd yes.
>
> Can the RFC Editor change it?


Added the following RFC Editor note:

OLD:
   If the received request did not contain a Max-Forwards header field,
   one MUST be created in any request generated in the UAC side, which
   SHOULD be 70, as described for Proxies in section 16.6 part 3 of
   [RFC3261].
NEW:
   If the received request did not contain a Max-Forwards header field,
   one MUST be created in any request generated in the UAC side, as
   described for Proxies in section 16.6 part 3 of [RFC3261].  As in that
   specification, the value of the new Max-Forwards header SHOULD be
   70.



> > In the security considerations, you mention resetting the Max-* headers.
> Is there a way this could be done that is compatible with the goals of this
> doc?  E.g., setting any random value for Max-Forwards, as long as it's
> lower than what came in?  Allowing something like this could bring more
> proxies into conformance with the overall objective of this document.
>
> I'd rather ask that up for WG consensus I think.
>
> Personally I'd rather not advocate any form of randomized modification.
>  My employer's products can do it if configured to (most other SBCs can too
> I assume), but it's a good way to get failed calls. You have to pick a
> random decrement number in some range, and the range can't be too small or
> it's worthless to do... but if the range is big, then crossing multiple
> SBCs and B2BUAs will quickly get it to 0 before it reaches the target.
>
> In some real-world call flows the SIP request crosses a surprising number
> of SIP hops. Even just decrementing by 1 people have reached the hop limit
> (though that was with a starting Max-Forwards of 40 if I recall correctly,
> but still...).
>
> And that's not to mention how hard it is to troubleshoot if some hop in
> the middle decrements by random values. And it would make the trace route
> mechanism have inconsistent behavior to the user.
>
> So personally I'd vote no - either the SIP device follows this RFC and
> decrements by 1, or they don't comply with the RFC.  Nice and binary. :)
>

I'm fine with either answer.

--Richard



>
> -hadriel
>
>