[OpenSIPS-Devel] [opensips] NAT Via Test Failure (#401)
jalung
notifications at github.com
Mon Feb 2 02:51:19 CET 2015
Based on the docs Global Settings, <b>dns</b> and <b>rev_dns</b> control whether the sip server should lookup its own IP and Domain name. In testing for RFC1918, it is also looking up the dns and rev_dns for the client's public IP. If rev_dns=no then the client can register.
Some Troubleshooting Data:
Sometimes server is timing out/failing on setting rev_dns=yes. Function does not return or continue on to any other NAT tests.
<code>
IN core:ClientNatTest:test_source_address:received_test:check_ip_address.
INFO:core:check_ip_address: N1 rfc1918=10.34.37.108
INFO:core:check_ip_address: N2 public=xxx.xxx.xxx.xxx
INFO:core:check_ip_address: dns lookup
INFO:core:check_ip_address: rev. dns lookup
</code>
when rev_dns = no
<code>
IN core:ClientNatTest:test_source_address:received_test:check_ip_address.
INFO:core:check_ip_address: N1 rfc1918=10.34.37.108
INFO:core:check_ip_address: N2 public=xxx.xxx.xxx.xxx
INFO:core:check_ip_address: dns lookup
INFO:core:check_ip_address: lastly
INFO:nat_traversal:test_source_address: NAT different_ip=-1 via1_port=13923 different_port=1
INFO:nat_traversal:ClientNatTest: NAT success= flag 2
</code>
Should client_nat_test() check for the clients dns and rev_dns?
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/401#issuecomment-72397119
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150201/786dd9ab/attachment.htm>
More information about the Devel
mailing list