summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-21remove osmo-gsup-hlrHEADmasterHarald Welte22-2107/+0
remove osmo-gsup-hlr, which was moving to its own osmo-hlr.git on November 11, 2016.
2016-12-19Fix broken compilationMax2-10/+12
The compilation with newver libosmocore was broken due to introduction of DLGSUP define there. Fix it by renaming DLGSUP -> DGSUP.
2016-07-01Add hardcoded APNMax1-1/+10
Add APN '*' to PDP info part of GSUP response to make SGSN 'auth-policy remote' testing easier.
2016-06-30Fix build on UbuntuMax1-2/+2
Linked libraries supposed to come _after_ the objects which uses functions from them.
2016-06-10fix authentication re-sync (pass RAND+AUTS along)Harald Welte1-1/+1
2016-06-10fix PURGE_MS sqlite3 accessHarald Welte2-8/+4
2016-05-05LU: remote oudated FIXME commentsHarald Welte1-2/+0
2016-05-05LU: correctly determine and use is_psHarald Welte1-3/+2
Don't use a local uninitialized variable but the luop->is_ps instead.
2016-05-05implement PURGE-MS from VLR/SGSN to HLRHarald Welte4-0/+92
Using this procedure, the VLR/SGSN can set the cs/ps purged flag for the subscriber. We might not even need to store this persistent in the database according to spec, but let's do it anyway, at least until it turns out to be a performance issue.
2016-05-05some more comment / todo updatesHarald Welte2-0/+6
2016-05-05AUC: use osmo_hexparse() when reading key material from dbHarald Welte1-4/+6
The database stores the key material as hex-ascii, we thus need to go through osmo_hexparse() when reading. We could also store the material as BLOB in the database. That would however complicate matters, as it would basically mean using the sqlite3 command to manually inspect/modify data from the console would no longer be easily possible. Using this commit I have 2G authentication working against osmo-sgsn with GSUP and 'auth policy remote'.
2016-05-05State number of auth vectors in SAI responseHarald Welte1-1/+3
2016-05-05AUC: Differentiate between actual error and unknown IMSIHarald Welte2-11/+34
When responding to a SendAuthInfo.req, we need to differentiate an error case caused by an unknown IMSI, or an error caused by an error regarding accessing the database or data integrity.
2016-05-03populate_hlr_db.pl: Script to generate a HLR databaseHarald Welte1-0/+75
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-03add copyright statements to all filesHarald Welte2-0/+38
2016-05-03db_auc: remove some debugging code about column typesHarald Welte1-4/+0
2016-05-03db: Use Write-Ahead Logging mode of SQLite3Harald Welte1-0/+6
2016-05-03Major update; Code now supports SAI, LU and ISD transactionsHarald Welte9-11/+695
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-03hlr.sql: Don't use TRUE/FALSE as DEFAULT, they will be strings :(Harald Welte1-4/+5
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-04-28move README of old CSV based AUC to 'src'Harald Welte1-0/+0
2016-04-28Fix memory leakage in gsup_serverHarald Welte1-2/+3
Once a remote IPA client is gone, we need to remove the associated osmo_gsup_conn object.
2016-04-28ensure we release memory for all received msgb.Harald Welte2-1/+2
2016-04-28hlr: install signal handlers for SIGINT/USR1/HUPHarald Welte1-1/+28
2016-04-28more verbose error handling in osmo_gsup_server_read_cb()Harald Welte1-5/+13
2016-04-28gsup_server: Implement IPA CCM handling using new libosmo-abis functionHarald Welte1-29/+25
2016-04-28initial import of osmo-gsup-hlr code so farHarald Welte18-0/+1145
2012-09-16CSV: store file offset of SQN so we can update it efficiently laterHarald Welte3-4/+15
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-15add README fileHarald Welte1-0/+18
2012-09-15add actual MAP component decoding and encoding (auc_map.c)Harald Welte2-3/+258
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-14egen_auc_txt.pl: Add a two-line description of what it isHarald Welte1-0/+3
2012-09-14dynamically allocate hash table buckets based on init() callHarald Welte3-7/+16
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-14initial import of a minimalistic AUC (authentication center) coreHarald Welte8-0/+1194