Bug #3846
closed
PCU-originated SNS-CONFIG contains 127.0.0.1 instead of remote IP
Added by laforge about 5 years ago.
Updated about 5 years ago.
Description
When libosmogb sends the PCU-originated SNS-CONFIG message, it constructs the list of local IP endpoints with one entry. However, this entry always indicates 127.0.0.1 as IP address of the PCU, not the real/external/outward IP address used to contact the SGSN.
See attached PCAP file, packet number 3.
Files
- Status changed from New to In Progress
- % Done changed from 0 to 30
The reason for this is that ns_instance.remote_ip is set to '0' and hence we ask the kernel "from which source IP address would you be sending UDP packets if you wanted to reach 0.0.0.0" to which the kernel responds with 127.0.0.1.
A proposed patch is in https://gerrit.osmocom.org/#/c/libosmocore/+/13293
The problem was not found using our PCU_Tests.ttcn suite as the tests apparently fail to validate the IP address in the pcu-originated SNS-Config.
- % Done changed from 30 to 60
- Status changed from In Progress to Resolved
- % Done changed from 60 to 100
Also available in: Atom
PDF