Vijay, [copy from your post ] current RFC3261 ABNF: via-received = "received" EQUAL (IPv4address / IPv6address) IPv6address = hexpart [ ":" IPv4address ]
IMO this is clearly a bug. The general ABNF rules for header parameters are: generic-param = token [ EQUAL gen-value ] gen-value = token / host / quoted-string The intention of the 'via-received' rule is clearly to restrict the allowed values of 'gen-value' by allowing only IP addresses (v4/v6). As such, its possible values should be a subset of those produced by the "gen-value" rule. However, the ":" character is not part of "token" and can therefore only be produced as part of "host" (i.e. between '[' ']' brackets) or as part of quoted-string (i.e. between '"' '"' quotes) via-received should have been written as "host" but excluding "hostname", i.e. via-received = IPv4address / IPv6reference as you stated Historical note: RFC2543 defined it as via-received = "received" "=" hostHowever, "host" was defined as host = hostname | IPv4addressso IPv6 addresses were not considered back then, and even hostnames were allowed. Considering that RFC3261 now defines "host" as host = hostname / IPv4address / IPv6referenceit is again clear (and consistency mandates) that "IPv6reference" is correct Regards, Jeroen ----- Original Message ----- From: "Vijay K. Gurbani" <[EMAIL PROTECTED]> To: "SIPPING LIST" <[email protected]> Cc: "SIP Implementors" <[email protected]> Sent: Tuesday, February 28, 2006 12:40 AM Subject: [Sip-implementors] SIP/IPv6 torture test and possible interactionwith rfc3261 ABNF > _______________________________________________ > Sip-implementors mailing list > [email protected] > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
