diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-05-27 13:49:04 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-22 16:53:41 +0200 |
commit | 006c038212e1d79938810812c218a4fe4aad737c (patch) | |
tree | 701860e1b223a27b1f4f0b887889932751d66823 /openbsc/tests/atlocal.in | |
parent | cf02eb1b207a742a55bbd1182e33892626c7b65c (diff) |
gprs: Store gbproxy patching state per peer
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
Diffstat (limited to 'openbsc/tests/atlocal.in')
0 files changed, 0 insertions, 0 deletions