[SR-Users] mistakenly detected NAT in IPv6 setup

Sebastian Damm damm at sipgate.de
Fri Jan 23 14:55:59 CET 2015


Hi Daniel,

On Fri, Jan 23, 2015 at 12:55 PM, Daniel-Constantin Mierla <
miconda at gmail.com> wrote:

>  can you split your checks from nat_uac_test("23") to individual checks
> (like nat_uac_test("1"), nat_uac_test("2"), ...) and see which one fails?
>

Yes. It's the Via check (2). And I don't see why. This is ngrep (with
changed IPs):

U 2015/01/23 14:24:22.258609 2a01:123:123:1234::2:16732 ->
2001:987:98:9876::aa01:5060
REGISTER sip:domain SIP/2.0
Via: SIP/2.0/UDP [2a01:123:123:1234::2]:16732;branch=z9hG4bK4b4ba821

The Source IP is identical to the Via IP. Except that when sending it out,
the received IP is not shortened:

Via: SIP/2.0/UDP
[2a01:123:123:1234::2]:16732;rport=16732;received=2A01:123:123:1234:0:0:0:2;branch=z9hG4bK0cda996b


> Via parameter 'received' contains (always, as per spec) only the IP
> address, rport is for received port. Perhaps adding [] would not harm, but
> otherwise should be ok now.
>

I agree.


> For path module, I pushed a patch. Maybe you can test and report the
> results for it.
>

Thanks again. It now works as expected, even with received parameter in the
Path.

Best Regards,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150123/20c30976/attachment.html>


More information about the sr-users mailing list