[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120814001938.GB14483@1984>
Date: Tue, 14 Aug 2012 02:19:38 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: kaber@...sh.net
Cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 02/19] netfilter: nf_ct_sip: fix IPv6 address parsing
On Thu, Aug 09, 2012 at 10:08:46PM +0200, kaber@...sh.net wrote:
> From: Patrick McHardy <kaber@...sh.net>
>
> Within SIP messages IPv6 addresses are enclosed in square brackets in most
> cases, with the exception of the "received=" header parameter. Currently
> the helper fails to parse enclosed addresses.
>
> This patch:
>
> - changes the SIP address parsing function to enforce square brackets
> when required, and accept them when not required but present, as
> recommended by RFC 5118.
>
> - adds a new SDP address parsing function that never accepts square
> brackets since SDP doesn't use them.
>
> With these changes, the SIP helper correctly parses all test messages
> from RFC 5118 (Session Initiation Protocol (SIP) Torture Test Messages
> for Internet Protocol Version 6 (IPv6)).
Applied, thanks Patrick.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists