Re: [sipcore] RFC 3261: 305 Use Proxy

Paul Kyzivat <pkyzivat@alum.mit.edu> Sat, 07 December 2013 18:54 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 2CAD51AE12F for <sipcore@ietfa.amsl.com>; Sat, 7 Dec 2013 10:54:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
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 Hys5u2yjXTbY for <sipcore@ietfa.amsl.com>; Sat, 7 Dec 2013 10:54:48 -0800 (PST)
Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:17]) by ietfa.amsl.com (Postfix) with ESMTP id 3ECEC1AE0FC for <sipcore@ietf.org>; Sat, 7 Dec 2013 10:54:47 -0800 (PST)
Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta10.westchester.pa.mail.comcast.net with comcast id yiXe1m0051swQuc5Aiuj7T; Sat, 07 Dec 2013 18:54:43 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta15.westchester.pa.mail.comcast.net with comcast id yiuj1m00B3ZTu2S3biujCu; Sat, 07 Dec 2013 18:54:43 +0000
Message-ID: <52A36EF3.3040702@alum.mit.edu>
Date: Sat, 07 Dec 2013 13:54:43 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: sipcore@ietf.org
References: <576A8B541C219D4E9CEB1DF8C19C7B881A06D0EA@MBX08.citservers.local>
In-Reply-To: <576A8B541C219D4E9CEB1DF8C19C7B881A06D0EA@MBX08.citservers.local>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1386442483; bh=mfmdZlieULZpTHcn47IqVgnSWU5QSonjHd8sUrC5bTw=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Nu9dqA77J6jx7G3qpVT4k5gz+EweSNzedzkg0G2PA7tzzeUzIfQbbEvjyLw37EMhx +luLmqMlEGdevUBqPGaNPRu4dHEDnser7C6d9Ylf3u+1jN4Wwlrn4I4NAUIuLX4R0M XKv3GHhFRyflStFLuBW4qyQNfj4yRP/dAZNGYsIrqxTWMczilx44g4C6gj4Dgs+Ys4 wjLeMZ6bYa5PYzBtzl5AyTWLpPf/4BcIbWm2QuuXRTJwwlj1bdSkiKRGy690GuaCyc q3sk2pjHFiN/yuOO/AILOBMLfTwhebbUA0RTdZo8NtcQIP3MdPbjKzXF77koCN9wZk 3wuYf3hp1Zw9A==
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: Sat, 07 Dec 2013 18:54:50 -0000

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
>