Re: [sipcore] #9: What should an SBC do when it resolves registered contacts?

Mary Barnes <mary.ietf.barnes@gmail.com> Wed, 13 October 2010 19:51 UTC

Return-Path: <mary.ietf.barnes@gmail.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C39C23A6AA7 for <sipcore@core3.amsl.com>; Wed, 13 Oct 2010 12:51:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.502
X-Spam-Level:
X-Spam-Status: No, score=-102.502 tagged_above=-999 required=5 tests=[AWL=0.097, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iz+P3-L3sUoj for <sipcore@core3.amsl.com>; Wed, 13 Oct 2010 12:51:25 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by core3.amsl.com (Postfix) with ESMTP id 5CE1C3A6A5B for <sipcore@ietf.org>; Wed, 13 Oct 2010 12:51:25 -0700 (PDT)
Received: by gxk8 with SMTP id 8so187529gxk.31 for <sipcore@ietf.org>; Wed, 13 Oct 2010 12:52:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/LOZLaYhJOpFRSWA307LKggpV9nPDW12yCVFCjfrit0=; b=U22PMgQ5a7zCdm040UJ+BwRqHn4DTSPLtb0SuRW3ylEfhfkjwpr19AewBjlvTkU1dO JYKiOCo2Mj8vNj7fo3Q7YdjLFG4KkJhtldEV09cRuttYcWCvIYex7NegN4z1tWV5RqVa daAe+ZTkyhhbJFzF4n9ySC6WXUSPJLtl9HyIw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HKbkNbUHkVjVTbqkqVfHr/Gu5FW9zLi0NuejgNm1ffaaMpbLGOKpgvtylD2emohDne /SENaY3+NB9qcGivT559zLIx8/YI0kDy2HKFBPjuzovSBfPxPF0BxOGn9j9OactXC+oj PMVvSe3LuGJR23Pc5pcVZ2Zl/6NwoefiUMk1k=
MIME-Version: 1.0
Received: by 10.236.110.44 with SMTP id t32mr19402103yhg.60.1286999562074; Wed, 13 Oct 2010 12:52:42 -0700 (PDT)
Received: by 10.236.108.172 with HTTP; Wed, 13 Oct 2010 12:52:42 -0700 (PDT)
In-Reply-To: <4C7C1733.4050402@cisco.com>
References: <064.095bc2caaa02e01e9bc1234e3c8941af@tools.ietf.org> <4C7BFAAA.4000409@cisco.com> <1C71FA27-29FA-41D4-90D2-FCECB4C8FEE7@acmepacket.com> <4C7C0B4F.8030406@cisco.com> <B847CCC2-865F-4C7D-BB9C-457581A9A56B@acmepacket.com> <4C7C1733.4050402@cisco.com>
Date: Wed, 13 Oct 2010 14:52:42 -0500
Message-ID: <AANLkTin8e0ryit5+RdQo_=Sd8qeRUY+-dEx4f__wUf6t@mail.gmail.com>
From: Mary Barnes <mary.ietf.barnes@gmail.com>
To: Paul Kyzivat <pkyzivat@cisco.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Cc: "sipcore@ietf.org" <sipcore@ietf.org>, sipcore issue tracker <trac@tools.ietf.org>, Hadriel Kaplan <HKaplan@acmepacket.com>
Subject: Re: [sipcore] #9: What should an SBC do when it resolves registered contacts?
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2010 19:51:26 -0000

I just replied to issue #8 on internal retargeting. I think we could
consider this SBC behavior to fall into a similar category. In my
response to #8, I suggested that the indices look the same as if the
proxy retargeted to external entities (e.g., based on a 3xx).
However, this proposal seems to be support Dale's first alternative
where the indices are nested under the same branch, which makes alot
of sense actually.   So, I'll change the text resolving #8 to describe
the behavior in that manner.

However, the text on internal retargeting is in the Proxy section.
Perhaps, we should qualify that section as applicable to Proxies or
intermediaries that support SIP?

Thanks,
Mary.

On Mon, Aug 30, 2010 at 3:40 PM, Paul Kyzivat <pkyzivat@cisco.com> wrote:
>
>
> Hadriel Kaplan wrote:
>>
>> Ok, it's a rat-hole. :)
>> But the point wasn't to stipulate in the draft what an SBC should do, but
>> rather what a UAS might receive and need to be ok with - i.e., "don't expect
>> only one "rc" tagged entry".  If you look at the use-cases draft, a lot of
>> their "rules" for processing involve using entries with "rc" tags, or in
>> relative positions to "rc" tagged ones in certain positions.  Those rules
>> are based on assumptions that are very simplistic, which will not be the
>> case in the wild.
>
> Sure, I think the point that there might be multiple rc entries is a good
> one. It is probably a rat hole to describe how to discover various
> interesting facts given that situation. But you aren't asking for that.
>
>        Thanks,
>        Paul
>
>> -hadriel
>>
>> On Aug 30, 2010, at 3:49 PM, Paul Kyzivat wrote:
>>
>>> [ as individual ]
>>>
>>> Hadriel Kaplan wrote:
>>>>
>>>> Right, but the subtle difference is that in the SBC case what the UAS
>>>> wants to find is the AoR it registered for, which is (probably) the first
>>>> non-"rc" entry prior to the series of "rc" entries at the end.  Like this:
>>>> History-Info: <sip:john.smith@ssp.com>
>>>> History-Info: <sip:foo@10.1.1.1>;rc
>>>> History-Info: <sip:bar@192.168.1.2>;rc
>>>>
>>>> Whereas in a chain of AoR's, it would be looking for the one it
>>>> registered which *is* "rc" tagged, like this:
>>>> History-Info: <sip:jsmith@ssp.co.uk>
>>>> History-Info: <sip:john.smith@ssp.com>;rc
>>>> History-Info: <sip:bar@192.168.1.2>;rc
>>>>
>>>> Right?
>>>
>>> !!! RAT HOLE ALERT !!!
>>>
>>> I think we are going to get into serious trouble if we start discussing
>>> how an SBC should behave WRT HI.
>>>
>>> Given their frequent use to do topology hiding, I would expect to see
>>> lots of entries to be removed, or altered. In *this* case the UAS is on the
>>> side the SBC is protecting, so maybe it would all still be there, but its
>>> hard to predict what some hypothetical SBC will do.
>>>
>>>        Thanks,
>>>        Paul
>>>
>>>> -hadriel
>>>>
>>>> On Aug 30, 2010, at 2:38 PM, Paul Kyzivat wrote:
>>>>
>>>>> [as individual]
>>>>>
>>>>> Note that an SBC is not required to get this behavior.
>>>>> It can happen any time somebody REGISTERs a contact address that
>>>>> happens to be an AOR serviced by another registrar. While AFAIK this is not
>>>>> a frequent occurrence in the wild, its certainly possible and permitted.
>>>>>
>>>>>        Thanks,
>>>>>        Paul
>>>>>
>>>>> sipcore issue tracker wrote:
>>>>>>
>>>>>> #9: What should an SBC do when it resolves registered contacts?
>>>>>>
>>>>>> ------------------------------------+---------------------------------------
>>>>>> Reporter:  hkaplan@…               |       Owner:               Type:
>>>>>>  enhancement             |      Status:  new       Priority:  minor
>>>>>>           |   Milestone:  milestone1
>>>>>> Component:  rfc4244bis              |     Version:  2.0
>>>>>> Severity:  In WG Last Call         |    Keywords:
>>>>>>  ------------------------------------+---------------------------------------
>>>>>> In many deployments, SBC's perform a registration caching model,
>>>>>> whereby
>>>>>> they have a local registration cache which is used to replace request-
>>>>>> uri's for routing to endpoints.  The UA registers to the SBC using
>>>>>> contact
>>>>>> URI X, and the SBC sends contact URI Y to the full Registrar; so when
>>>>>> a
>>>>>> request to Y comes to the SBC, it replaces it with X.
>>>>>>
>>>>>> Under that model, do we expect the SBC to add an H-I of type "rc"?  If
>>>>>> so,
>>>>>> for the same fork branch, there will be two "rc" entries, one for Y
>>>>>> and
>>>>>> one for X. (if the SBC doesn't simply remove the Y entry)
>>>>>>
>>>>>> Therefore, I think there should be some text to make it clear that
>>>>>> receiving a H-I list with multiple "rc" entries for the same branch
>>>>>> tree
>>>>>> is ok.  For example, receiving a index 1.1 of "rc" followed by a 1.1.1
>>>>>> of
>>>>>> "rc", and maybe even a 1.1.1.1 of "rc".
>>>>>>
>>>>
>>
>>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>