Re: [sipcore] IPv6 in the sip core wg

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 13 December 2013 17:19 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 E80861AE349 for <sipcore@ietfa.amsl.com>; Fri, 13 Dec 2013 09:19:38 -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 TTfKHGv1-gPT for <sipcore@ietfa.amsl.com>; Fri, 13 Dec 2013 09:19:37 -0800 (PST)
Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32]) by ietfa.amsl.com (Postfix) with ESMTP id A715D1AD8CD for <sipcore@ietf.org>; Fri, 13 Dec 2013 09:19:37 -0800 (PST)
Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by qmta03.westchester.pa.mail.comcast.net with comcast id 110B1n00417dt5G535KWJw; Fri, 13 Dec 2013 17:19:30 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta13.westchester.pa.mail.comcast.net with comcast id 15KW1n00n3ZTu2S3Z5KWf1; Fri, 13 Dec 2013 17:19:30 +0000
Message-ID: <52AB41A2.6070700@alum.mit.edu>
Date: Fri, 13 Dec 2013 12:19:30 -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: <C774C9EA-4E79-4846-A834-BF86D2DD8018@edvina.net> <52A2094E.8020009@alum.mit.edu> <86897DAD-AEAE-4EEC-BCEC-D8501D8491D2@cisco.com> <CAHBDyN7AT0m7P5miYa+hCvh55Ov3f1Nc-U1zUK6H-0i4aHTW+g@mail.gmail.com> <52A7486E.2090005@alum.mit.edu> <FFB57ECD-8CDB-44E9-9A3F-5418AAC01C5B@iii.ca> <26C3B24F-FCBE-4D10-ADD5-E28B6E95A8FB@edvina.net> <BCD747C2-B0E9-492E-97E2-58B078AF5F74@iii.ca> <E9BFFB26-2E71-42D3-A126-0DA7535DD688@edvina.net> <7886ADB0-BDB3-4D15-800B-AAEB34713547@iii.ca> <FD51E29F-9CD3-42F7-B7F6-DB09A60701C9@edvina.net> <52AB353A.9030600@bell-labs.com>
In-Reply-To: <52AB353A.9030600@bell-labs.com>
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=1386955170; bh=+ksSKH8GglwaY+io90ZwakP38dv7NL3w4Ia/X7gA6Po=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=aNv2J7GzUHH8F2XYTOayw/NMEbip7r1RQJV7qFLDw8gOe3ixHB+lYXqVN2tpXRJsY XGt8nCvpSpehxSCcCsy99eT1d+E7ptkY3ZR98ojnaefNAL2G1w6JYoE6l4vaDMCz/2 9ovGsDYoxB5zlxxrB5ejrSIG6IRJsAMCH00N2zh1RdYt/IxUoOC3YQfNSIeT2iCtdc P/gRbgyENs9R+TdJFKxptW1VunJ6gP3wnaRPE9E7MhDjHLs6UNOlWbOQhPyTkJRiPg JfVUa61bHwEAkxJMffrf3uPOI08/3hfQX4vq8FonKt2MDToGBQIaM8LD7FjXPDAY76 kXWY0UCPgpLyA==
Subject: Re: [sipcore] IPv6 in the sip core wg
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: Fri, 13 Dec 2013 17:19:39 -0000

Vijay,

On 12/13/13 11:26 AM, Vijay K. Gurbani wrote:
> On 12/13/2013 10:17 AM, Olle E. Johansson wrote:
>> The problem is really that RFC 3263 repeats "A or AAAA" - which means
>> that if we follow RFC 3263 verbatim we won't have both IPv4 and IPv6
>> addresses to connect to. I have not claimed that it talks about how
>> we connect.
>
> I am sorry to keep interjecting rfc6157 here, but it does say to perform
> name lookup using getaddrinfo(), which, if rfc3484 is adhered to will
> produce an ordered list of IPv6/IPv4 destination addresses.

It's ok to keep bringing it up, because it seems to be relevant.

I just glanced through it to refresh my memory. It seems to cover, at 
least implicitly, some of the same scope. But that part of the draft 
appears to have been somewhat of an afterthought.

I find the following problematic:

"IPv6-only or dual-stack clients MUST use the newer getaddrinfo() name 
lookup function, instead of gethostbyname()."

It is a normative statement to use a particular API function as an 
alternative to a different API function. But there was never a 
requirement to use "gethostbyname", so the "instead" isn't meaningful, 
and we shouldn't be requiring use of any particular API functions. It 
would make a lot more sense if it had a MUST on the algorithms in 3484.

(I no doubt participated in the WGLC on this document, so I have only 
myself to blame for not complaining about this earlier.)

Since that is now an RFC, I guess we should assume that people will "do 
the right thing" if those APIs don't work for them, and follow the 
intent of the RFC.


>> It seems like no one can say whether this text is normative or not,
>> which really means we have to clarify this, since developers will be
>> (or already am) confused on how to implement properly.
>
> Sure, rfc6157 does not update rfc3263 so this point may be lost in the
> noise.  To be sure, I am not against adding a milestone to better
> specify this behaviour; all I am pointing out is that more than rfc3263
> may be impacted.

At the very least, we should include that in the scope of the work.
Here is a revised milestone:

     May 2014  WGLC of procedures to supplement RFC3263 and RFC6157 for
     dual-stack client and server handling of SIP URIs containing domain
     names (PS)

	Thanks,
	Paul

> Cheers,
>
> - vijay