Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC https://osmocom.org/projects/osmo-hlr
Go to file
Neels Hofmeyr 191f4b6eb3 db v6: determine 3G AUC IND from VLR name
Each VLR requesting auth tuples should use a distinct IND pool for 3G auth.  So
far we tied the IND to the GSUP peer connection; MSC and SGSN were always
distinct GSUP peers, they ended up using distinct INDs.

However, we have implemented a GSUP proxy, so that, in a distributed setup, a
remotely roaming subscriber has only one direct GSUP peer proxying for both
remote MSC and SGSN. That means as soon as a subscriber roams to a different
site, the site's MSC and SGSN compete for the same IND bucket, waste SQNs
rapidly and cause auth tuple generation load.

So instead of using the local client as IND, persistently keep a list of VLR
names and assign a different IND to each. Use the GSUP source_name as
indicator, which reflects the actual remote VLR's name.

Furthermore, make 100% sure that CS and PS pools can never collide, by keeping
all CS pools odd numbered and all PS pools even numbered.

Persist the site <-> IND assignments in the database.

Add an IND test to db_test.c

Related: OS#4319
Change-Id: I6f0a6bbef3a27507605c3b4a0e1a89bdfd468374
2019-12-12 21:51:27 +01:00
contrib contrib/dgsm/ add example esme and dialplan 2019-12-12 21:51:27 +01:00
debian add libosmo-mslookup abstract client 2019-12-12 21:51:27 +01:00
doc adoc: add D-GSM chapter to osmohlr-usermanual 2019-12-12 21:51:27 +01:00
include db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
sql db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
src db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
tests db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
.gitignore add osmo-mslookup-client program 2019-12-12 21:51:27 +01:00
.gitreview Add gerrit settings 2016-12-21 10:35:38 +01:00
COPYING add COPYING file with AGPLv3 license text 2016-11-11 10:17:06 +01:00
Makefile.am Fix DISTCHECK_CONFIGURE_FLAGS override 2018-12-04 15:11:07 +00:00
configure.ac 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2019-12-12 21:51:27 +01:00
git-version-gen build with autoconf/automake, add jenkins.sh script 2016-12-11 01:07:26 +01:00
libosmo-gsup-client.pc.in pkg-config: Fix libosmo-gsup-client pkg-config file 2018-07-31 19:37:45 +02:00
libosmo-mslookup.pc.in add libosmo-mslookup abstract client 2019-12-12 21:51:27 +01:00