9
0
Fork 0
Commit Graph

19 Commits

Author SHA1 Message Date
Harald Welte 508ede80da populate_hlr_db.pl: Script to generate a HLR database
It currently creates a database with 1 million subscribers, all of which
are provisioned for both 2G and 3G authentication using the same key
material.
2016-05-03 18:51:40 +02:00
Harald Welte 7df17ce67e add copyright statements to all files 2016-05-03 18:51:18 +02:00
Harald Welte 0c3b7f0002 db_auc: remove some debugging code about column types 2016-05-03 18:51:04 +02:00
Harald Welte 2bb6f91a56 db: Use Write-Ahead Logging mode of SQLite3 2016-05-03 18:50:41 +02:00
Harald Welte 3596f92fad Major update; Code now supports SAI, LU and ISD transactions
We also introduce a 'gsup_router' which enables us to route
a transaction to a given VLR.  It works based on the SERIAL attribute
communicated at time of the IPA multiplex setup as part of the CCM
sub-protocol.
2016-05-03 18:49:27 +02:00
Harald Welte b565a56607 hlr.sql: Don't use TRUE/FALSE as DEFAULT, they will be strings :(
SQLite has this crappy type system where you can put a string into
a boolean or integer column, which of course will break once you try to
read it as bool..

Also, add an index by IMSI to the SUBSCRIBER table.
2016-05-03 18:48:12 +02:00
Harald Welte 7fc5dcc49f move README of old CSV based AUC to 'src' 2016-04-28 21:16:30 +02:00
Harald Welte 6d344d5190 Fix memory leakage in gsup_server
Once a remote IPA client is gone, we need to remove the associated
osmo_gsup_conn object.
2016-04-28 12:57:10 +02:00
Harald Welte 19c8c2c9b1 ensure we release memory for all received msgb. 2016-04-28 12:48:39 +02:00
Harald Welte b36b99b96e hlr: install signal handlers for SIGINT/USR1/HUP 2016-04-28 12:48:14 +02:00
Harald Welte 3e8427dc2b more verbose error handling in osmo_gsup_server_read_cb() 2016-04-28 11:13:15 +02:00
Harald Welte 1b80f77f83 gsup_server: Implement IPA CCM handling using new libosmo-abis function 2016-04-28 11:13:04 +02:00
Harald Welte 7e90016009 initial import of osmo-gsup-hlr code so far 2016-04-28 07:18:49 +02:00
Harald Welte c5097633d0 CSV: store file offset of SQN so we can update it efficiently later
This requires that the SQN field is large enough (8 decimal digits), in
order to do in-place changes to the field in the CSV.
2012-09-16 09:18:53 +02:00
Harald Welte c74c6d8b17 add README file 2012-09-15 23:07:04 +02:00
Harald Welte a4656d703d add actual MAP component decoding and encoding (auc_map.c)
The code has not been properly integrated yet.  This patch simply adds
the required functionality but doesn't use it in any way yet.

We now depend on libosmo-asn1-map and libans1c.
2012-09-15 21:53:10 +02:00
Harald Welte fe0cb4bc58 egen_auc_txt.pl: Add a two-line description of what it is 2012-09-14 22:11:18 +02:00
Harald Welte 18a74f3e38 dynamically allocate hash table buckets based on init() call
we probably should move to a more tree-like data structure than a hash
table.  But well, lookup is not the most computationally expensive part
compared to the cryptographic operations.
2012-09-14 22:09:42 +02:00
Harald Welte bfe531b549 initial import of a minimalistic AUC (authentication center) core 2012-09-14 11:11:42 +02:00