[asterisk-bugs] [JIRA] (ASTERISK-20588) Realtime Peers behind NAT are Set to RFC1918 private address after sip reload

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Oct 19 10:06:18 CDT 2012


Rusty Newton created ASTERISK-20588:
---------------------------------------

             Summary: Realtime Peers behind NAT are Set to RFC1918 private address after sip reload
                 Key: ASTERISK-20588
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20588
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 10.9.0
            Reporter: JoshE
            Severity: Critical


Repro steps:

Realtime peer behind RFC1918 NAT.
Register the peer and verify public IP address shows up under 'sip show peers'.
Issue a SIP reload.
Perform any dial action that will cause the peer reload process to happen.
Check 'sip show peers'.

The private IP address will be listed.  If that peer is qualified, it will immediately go offline and remain so until it re-registers.

Traced problem back to dynamic host detection nulling out the ast_sockaddr if it is in !found state.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list