[Sipping] SIP/IPv6 torture test and possible interaction with rfc3261 ABNF

"Vijay K. Gurbani" <vkg@lucent.com> Mon, 27 February 2006 23:40 UTC

Received: from [] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FDryN-00052R-6A; Mon, 27 Feb 2006 18:40:11 -0500
Received: from [] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FDryL-00051r-LN for sipping@ietf.org; Mon, 27 Feb 2006 18:40:09 -0500
Received: from ihemail1.lucent.com ([]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FDryL-00079R-AG for sipping@ietf.org; Mon, 27 Feb 2006 18:40:09 -0500
Received: from ihmail.ih.lucent.com (h135-1-218-70.lucent.com []) by ihemail1.lucent.com (8.12.11/8.12.11) with ESMTP id k1RNe1oQ022608; Mon, 27 Feb 2006 17:40:01 -0600 (CST)
Received: from [] (il0015vkg1.ih.lucent.com []) by ihmail.ih.lucent.com (8.11.7p1+Sun/EMS-1.5 sol2) id k1RNe1l24599; Mon, 27 Feb 2006 17:40:01 -0600 (CST)
Message-ID: <44038DD1.5000704@lucent.com>
Date: Mon, 27 Feb 2006 17:40:01 -0600
From: "Vijay K. Gurbani" <vkg@lucent.com>
Organization: Bell Labs Security Technology Research Group
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: SIPPING LIST <sipping@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5fb88b8381f3896aeacc5a021513237b
Cc: SIP Implementors <sip-implementors@cs.columbia.edu>
Subject: [Sipping] SIP/IPv6 torture test and possible interaction with rfc3261 ABNF
X-BeenThere: sipping@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "SIPPING Working Group \(applications of SIP\)" <sipping.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sipping@ietf.org>
List-Help: <mailto:sipping-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1695442153=="
Errors-To: sipping-bounces@ietf.org

The sipping agenda is fairly full, so I decided to see if I can get
some friendly folks to read the sipping-ipv6-02 and get consensus on
an issue listed below in this email before asking for agenda time.

The I-D can be fetched from
and it provides a set of torture tests for IPv6 identifiers in SIP.

Based on the comments of the Vancouver IETF, I have pared the
draft down to individual test cases.  However, I really need folks,
especially implementors, to go through the draft and suggest new
test cases.

Also, there may be a possible interaction of the test cases with
the SIP ABNF for representing an IPv6 identifier in the Via header.

Here's the current ABNF for the "received" production rule.

via-received   =  "received" EQUAL (IPv4address / IPv6address)
IPv6address    =  hexpart [ ":" IPv4address ]
hexpart        =  hexseq / hexseq "::" [ hexseq ] / "::" [ hexseq ]
hexseq         =  hex4 *( ":" hex4)
hex4           =  1*4HEXDIG

Based on this, if there is an IPv6 address in the "received" parameter,
it would be represented as:

    Via: ...;received=2001::db8

i.e., *without* the "[" and "]" bracketing the address.  RFC2732
specifies the "[" and "]" format for IPv6 addresses in URL only.
So, not putting the "[" and "]" may be okay in a ";received"
parameter, especially given that parameter does not contain a port
which needs to be separated by a ":" from the IPv6 address.

Still, it seems appropriate that we should put the delimiting "["
and "]", and that is what sipping-ipv6-02 does right now.  That is,
it represents the Via with a ";received" parameter as:

    Via: ...;[received=2001::db8]

It would seem that specifying the via-received production rule as:

via-received   = "received" EQUAL (IPv4address / IPv6reference)

solves this problem since IPv6reference is defined as:

IPv6reference  =  "[" IPv6address "]"



- vijay
Vijay K. Gurbani  vkg@{lucent.com,research.bell-labs.com,acm.org}
Bell Laboratories, Lucent Technologies, Inc.
2701 Lucent Lane, Rm. 9F-546, Lisle, Illinois 60532 (USA)
Sipping mailing list  https://www1.ietf.org/mailman/listinfo/sipping
This list is for NEW development of the application of SIP
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sip@ietf.org for new developments of core SIP