commit | ca2361c23717fd13e33088d6dfe4e2370b714097 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 14:12:44 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 14:14:43 2015 +0100 |
tree | 92557322eb5aa947552cce4297c0c4bf44de271c | |
parent | d53c6046bc315cd2ddbdeac86d3b574b371985b6 [diff] |
gtphub: implement sgsn_use_sender for NAT. If an SGSN is behind NAT, we cannot rely on the default ports. Specifically, if a GGSN sends a message, the forwarding to the SGSN should go to whichever port the SGSN last sent from (whether sequence nr is known or not). Add sgsn_use_sender config and VTY command, and store the sender instead of the GSN Address IE and default port if set. Sponsored-by: On-Waves ehi