"Vijay K. Gurbani" <[EMAIL PROTECTED]> writes:
>Folks: Before the Dallas IETF, I had sent an email to gauge
>consensus on whether the "received" parameter should have the
>delimiters '[' and ']' when its content is an IPv6 address.

It should have. Beer should be served in bigger glasses, too.

>That is:

>   Via: SIP/2.0/TCP foo.example.com;received=[2001::db8];branch=...

>versus:

>   Via: SIP/2.0/TCP foo.example.com;received=2001::db8;branch=...

>RFC 3261 ABNF indicates the latter; i.e., without the delimiters.
>However, there is some precedence for encapsulating literal IPv6
>addresses in square brackets when it is contained in a URL (see
>RFC 2732).  Furthermore, having a '[' is much amenable to the
>parser since one can know at the outset that the received parameter
>contains an IPv6 address.  The SIP IPv6 torture test draft has
>the received encapsulated in the square brackets (see
>draft-sipping-gurbani-ipv6-sip-02).

As an example of slightly non-conforming implementation?

>Can folks who have IPv6 implementations kindly post what their
>behavior is?  

Accept both, generate format according to the RFC 3261 grammar (no
brackets). Actually we just extended the grammar for any header
parameter:

  generic-param /= token EQUAL IPv6address

>Also, does anyone know how reSIProcate treats this?
>With the SIPit coming up, I would like to see if we can reach a
>consensus on this.  It would be good to know how the implementations
>are treating this.

This was discussed during Stockholm SIPit 12, as far as I can
remember, and we noted that syntax for received breaks the
generic-param syntax, but that is what there is in spec, so it is
should be used. There was one implementation that did not generate
or accept the RFC3261 syntax, but they fixed they implementation
within a couple of hours, if I remember correctly.

The problem is that you are a bit late. It is written that way in
RFC 3261. Every RFC-3261-compliant device, supporting IPv6 or not,
must be able to handle Via lines containing the RFC3261-style
received parameter with naked IPv6address.

--Pekka
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to