Re: [sipcore] RFC 3261: 305 Use Proxy

Andrew Allen <aallen@blackberry.com> Sun, 08 December 2013 04:56 UTC

Return-Path: <aallen@blackberry.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C7601AD7BF for <sipcore@ietfa.amsl.com>; Sat, 7 Dec 2013 20:56:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-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 kEYHcma75saO for <sipcore@ietfa.amsl.com>; Sat, 7 Dec 2013 20:56:46 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 5B3ED1AD6D1 for <sipcore@ietf.org>; Sat, 7 Dec 2013 20:56:45 -0800 (PST)
Received: from xct101ads.rim.net ([10.67.111.42]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 07 Dec 2013 23:56:34 -0500
Received: from XMB104ADS.rim.net ([fe80::2494:a63d:e3:723b]) by XCT101ADS.rim.net ([fe80::2c7e:1215:d554:35b5%20]) with mapi id 14.03.0158.001; Sat, 7 Dec 2013 22:56:33 -0600
From: Andrew Allen <aallen@blackberry.com>
To: "pkyzivat@alum.mit.edu" <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] RFC 3261: 305 Use Proxy
Thread-Index: Ac7zeYtfzrfjjjZ2SuC5iKD08D8RQQANol6AAAhyCrM=
Date: Sun, 08 Dec 2013 04:56:32 +0000
Message-ID: <BBF5DDFE515C3946BC18D733B20DAD2338E75169@XMB104ADS.rim.net>
In-Reply-To: <52A36EF3.3040702@alum.mit.edu>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.67.110.253]
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: Re: [sipcore] RFC 3261: 305 Use Proxy
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Sun, 08 Dec 2013 04:56:48 -0000

Paul

3GPP specifications make use of the 305 Use Proxy response but don't go into details of how the Contact header is utilised.

My assumption is that the Route header is used as this is used to redirect an INVITE request via a different proxy and so you need to preserve the Request-URI which contains the address of the destination UA.

This behavior also seems to align with the loose routing concepts of RFC 3261 - i.e. you leave the Request-URI alone when routing.

Andrew

----- Original Message -----
From: Paul Kyzivat [mailto:pkyzivat@alum.mit.edu]
Sent: Saturday, December 07, 2013 01:54 PM Eastern Standard Time
To: sipcore@ietf.org <sipcore@ietf.org>
Subject: Re: [sipcore] RFC 3261: 305 Use Proxy

On 12/7/13 1:26 PM, Brett Tate wrote:
> Hi,
>
> As indicated within the following snippet from draft-rosenberg-sip-route-construct-01, the 305 response is underspecified within RFC 3261.
>
> What is the expected behavior concerning how to handle a 305's Contact: replace Request-URI or utilized as a Route header?  The snippet indicates that the unstated assumption is that it populates the Request-URI.

I don't know. AFAIK this was never satisfactorily clarified.

If we wanted to clarify this, I think the first thing we would want to 
do is take a survey of any known current uses of 305. (Hopefully there 
are none, because nobody knows how to use it.)

	Thanks,
	Paul

> Thanks,
> Brett
>
> -----
>
> 2.4  305 Use Proxy
>
> RFC 3261 defines the 305 "Use Proxy" response code, but says
> extremely little about exactly how it is used.  It has this to say:
>
>     The requested resource MUST be accessed through the proxy given by
>     the Contact field.  The Contact field gives the URI of the proxy.
>     The recipient is expected to repeat this single request via the
>     proxy. 305 (Use Proxy) responses MUST only be generated by UASs.
>
> It is unclear how the Contact in the redirect is used.  Does it
> populate the request URI of the resulting request?  Or, does it get
> used to populate the Route header field?  The restriction to UASs is
> also not explained.
>
> Historically, the reason for the restriction to UAs was to avoid
> routing loops.  Consider an outbound proxy that generates a 305,
> instead of proxying the request.  The concern was that the client
> would then recurse on the response, populate the Contact into a new
> request URI, and send the request to its default outbound proxy,
> which redirects once more.  To avoid this, the RFC says that only a
> UAS can redirect with a 305, not a proxy.
>
> However, this design decision on 305 handling was made prior to the
> conception of loose routing, although both ended up in RFC 3261.  The
> design of the 305 mechanism, unfortunately, was not revisited after
> loose routing was specified.  As such, the draft is not clear about
> whether or not the contact gets utilized as a Route header field
> value or whether it replaces the Request URI.  The assumption,
> unstated, is that it populates the Request-URI, since redirection
> works that way in general.
>
> This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it.
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>

_______________________________________________
sipcore mailing list
sipcore@ietf.org
https://www.ietf.org/mailman/listinfo/sipcore
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.