Re: [straw] AD review of draft-ietf-straw-sip-traceroute-02

Richard Barnes <rlb@ipv.sx> Fri, 11 April 2014 20:48 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 60F771A0784 for <straw@ietfa.amsl.com>; Fri, 11 Apr 2014 13:48:49 -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 IgGxjV1i98kG for <straw@ietfa.amsl.com>; Fri, 11 Apr 2014 13:48:44 -0700 (PDT)
Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) by ietfa.amsl.com (Postfix) with ESMTP id 1E5071A076E for <straw@ietf.org>; Fri, 11 Apr 2014 13:48:42 -0700 (PDT)
Received: by mail-oa0-f46.google.com with SMTP id i7so6760193oag.19 for <straw@ietf.org>; Fri, 11 Apr 2014 13:48:40 -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=I33MWHv63898uNYqzWVIYT+28FjvHX9V4VzEquHwOYk=; b=actKN2sAnSbBYNM5afkke6L+UHpAQLYCJYxgd2QydrVojas0B9PSgY/UH2JcnZdYJi bjCkfvhaNIHBRbg/O5AlY+lwhS3JSFDme1DEr0RDcSyWEszPQDF1Wn2yd0DNynubamHz fzGI0sW2Q8wRjg9RuegLVFj1QALzJOIiaJeIeNbyJr68S675cl6oaRo3UF2zarLA9e0E tNvKj7KBG2bDoxm4rzNt38rYvj8X72P3i708/VV0Zi7OYTLAm9+F3wnOGsoezoqLvLcy b94ozSzd9HB6FTSzijuNf+ivFzGHxumyss1YBVDsjv770/8GJ54Bo9zJnwDqHMfidKa6 +s5g==
X-Gm-Message-State: ALoCoQkVfzYx6fbrLdY4UkrStZnKAb9r+yPNWPeA0017AIsnvWZCbEBVtlFYLl43Sp1Yrl5wyv+E
MIME-Version: 1.0
X-Received: by 10.182.28.195 with SMTP id d3mr21437933obh.19.1397249320464; Fri, 11 Apr 2014 13:48:40 -0700 (PDT)
Received: by 10.60.136.231 with HTTP; Fri, 11 Apr 2014 13:48:40 -0700 (PDT)
In-Reply-To: <FA0D8F08-E455-4AC0-B41D-7D7332C5B712@oracle.com>
References: <CAL02cgSpyo=DfRgxsN-L7Xdinn-NoPm=ddQA7EanEbrJ9Opnfw@mail.gmail.com> <D67521B8-7E6F-4752-A419-19D08DDB0862@oracle.com> <CAL02cgTJi8EiAJVNyEQQOC8WPZd1_cun_KG+PhCzQ1c2YyAVAQ@mail.gmail.com> <FA0D8F08-E455-4AC0-B41D-7D7332C5B712@oracle.com>
Date: Fri, 11 Apr 2014 16:48:40 -0400
Message-ID: <CAL02cgRxgJtuDxMpv32cPLKp=Cs5s2QHJB-LaA9bSnSpeMz6nQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Hadriel Kaplan <hadriel.kaplan@oracle.com>
Content-Type: multipart/alternative; boundary="001a11c2cd186ae48c04f6ca755e"
Archived-At: http://mailarchive.ietf.org/arch/msg/straw/fKuxsl2A5CfFSbOOn803iEhP-kY
Cc: draft-ietf-straw-sip-traceroute@tools.ietf.org, straw@ietf.org
Subject: Re: [straw] AD review of draft-ietf-straw-sip-traceroute-02
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 20:48:49 -0000

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

>
> On Apr 11, 2014, at 3:29 PM, Richard Barnes <rlb@ipv.sx> wrote:
>
> > If B2BUAs implement this spec as-is, then they'll see Max-Forwards: 0
> and answer the call -- they don't know whether this is part of a traceroute
> or not.  So if a legacy UAC sends out a normal, non-traceroute, INVITE with
> loopback, and it happens to time out at one of these B2BUAs, and the UAC
> doesn't know to check for the Reason header for this value (because it's
> legacy), then it ends up talking to the B2BUA instead of the UAS.
>
> Good point. So that's another benefit then. B2BUAs solve call failure
> problems they didn't even know existed.
> ;)
>
> Actually, getting back to serious mode, that could happen even without
> this draft. Max-Forward handling in B2BUAs has always been undefined
> behavior until the loopback draft, afaik.


Good point.  I did not have this in mind.


> It seems like in order to resolve this, you need to either:
> > 1. Require UACs that use loopback to check for Reason (and thus update
> RFC 6849)
>
> I'm fine with that.  Another option is to re-title this draft to be
> "Media-Loopback Usage in SIP" and add some text about that in general too.
>
>
> > 2. Add some consent flag to the INVITE so that the B2BUA can tell
> traceroutes from other INVITEs
>
> It won't help solve the problem you raised fully - it will help if all
> B2BUAs along the path implement this draft, but not if they just implement
> RFC 6849. Because they can still answer calls based on policy, and
> Max-Forwards=0 technically doesn't apply to them as a UAS unless they also
> implement the loopback draft.
>

How about this in 3.2?

"""
The mechanism defined in this document could cause B2BUAs to send a 200
response to an INVITE that is not part of a traceroute.  In such cases, the
UAC would believe that it was exchanging media with the end UAS, when in
reality it is talking to an intermediate B2BUA.  The UAC can recognize this
situation by examining the Reason header.  It is RECOMMENDED that UACs
implementing RFC 6849 perform this check.  (Note that this problem is not
introduced by this document, since the behavior of B2BUAs with regard to
Max-Forwards has been undefined until the publication of
[I-D.ietf-straw-b2bua-loop-detection].)
"""



>
> -hadriel
>
>