006c038212
Currently, all patching state is stored globally in the gbproxy. Thus the feature cannot be used safely with a concentrating gbproxy (NAT). This patch moves the state and relevant counters to the gbprox_peer structure. It adds code to resolve the corresponding peer when packets are received by looking at BVCI, NSEI, and BSSGP IEs (BVCI, RAI/LAI/LAC) when the peer is not passed to the gbprox_patch_bssgp_message() function. Test cases are also added for the SGSN->BSS case including test cases with invalid identifiers. Note that this patch should make it possible to use RAI patching at a NAT gbproxy as long as the messages are not encrypted. Ticket: OW#1185 Sponsored-by: On-Waves ehf |
||
---|---|---|
.. | ||
gprs | ||
ipaccess | ||
libbsc | ||
libcommon | ||
libctrl | ||
libgb | ||
libmgcp | ||
libmsc | ||
libtrau | ||
osmo-bsc | ||
osmo-bsc_mgcp | ||
osmo-bsc_nat | ||
osmo-nitb | ||
utils | ||
Makefile.am |