[OpenSIPS-Devel] [ opensips-Patches-3167286 ] nat_traversal: add IPv6 support in fix_contact

SourceForge.net noreply at sourceforge.net
Mon Jun 20 18:48:43 CEST 2011


Patches item #3167286, was opened at 2011-01-28 22:36
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3167286&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: shimaore (shimaore)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: nat_traversal: add IPv6 support in fix_contact

Initial Comment:
fix_contact does not escape properly an IPv6 address. This patch adds support for this.

(This patch is needed for example to support a broken client that sends its private IPv4 address as contact, even though a valid global IPv6 address could be provided -- qutecom in my test scenario.)

The fix is simply to detect IPv6 and use brackets around the IP address.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3167286&group_id=232389



More information about the Devel mailing list