osmo-msc/openbsc/tests
Neels Hofmeyr 058cd573d8 SGSN: Integrate support for UMTS AKA
The general infrastructure for UMTS AKA is already in place:
* GSUP with capability to send us auth_vectors that contain
  either triplets or quintuples
* mm_context that holds such auth_vectors

Add:
* capability to send UMTS AUTN in GMM AUTH REQ
* parse extended UMTS RES
* on auth response, validate expected AKA with vector and received res/sres
* add Auth Failure message to receive resync AUTS token and
  * send to HLR
  * clear out-of-sync auth tuple
  * enter new state for when we're waiting for HLR to resync and send new
    tuples so that the next Auth Request will be handled

Original first half of this patch by: Harald Welte <laforge@gnumonks.org>

Full UMTS AKA procedure including AUTS resync tested to work against OsmoHLR
with R99 USIM and Milenage algorithm.

The sgsn_test.c needs adjustment because we're checking the vector's auth_types
now.

Depends: libosmocore change-ids
         I277fb3d407396dffa5c07a9c5454d87a415d393f
         If943731a78089f0aac3d55245de80596d01314a4
Related: OS#1956
Change-Id: Ie6a0cefba5e4e7f02cc2eaf6ec006ac07d5c1816
2017-02-27 14:29:41 +00:00
..
abis Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
bsc cosmetic: rename struct osmo_msc_data to bsc_msc_data 2017-02-24 21:01:55 +01:00
bsc-nat move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
bsc-nat-trie move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
channel reinvent connection_for_subscr() and move to libmsc 2016-12-02 12:09:17 +00:00
db move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
gbproxy test/gbproxy: Test for possible memory corruption when link_info is freed 2016-11-15 22:32:03 +00:00
gprs Move osmo_gsup_messages.[ch] to libosmocore 2016-04-29 13:10:37 +02:00
gsm0408 SI2q: add support for multiple UARFCNs 2017-01-23 12:32:09 +00:00
gtphub cosmetic: use osmo_strlcpy() everywhere 2017-01-23 11:59:01 +00:00
mgcp fix strncpy() invocation in vty_interface_layer3.c and 3 tests 2017-01-23 11:59:01 +00:00
mm_auth Build fixes 2016-09-15 16:02:18 +02:00
nanobts_omlattr OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
oap oap_client: make use of OAP optional: disable for NULL config 2016-12-13 14:54:02 +00:00
sgsn SGSN: Integrate support for UMTS AKA 2017-02-27 14:29:41 +00:00
slhc sndcp: Fixups for sndcp layer based on coverity-scan suggestions 2016-10-28 13:43:10 +00:00
smpp Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
sndcp_xid sndcp: Allow empty SNDCP-XID indications 2016-12-23 11:19:15 +01:00
subscr tests: drop unused libmsc, unneeded duplicate libbsc linking 2016-12-02 12:09:15 +00:00
trau tests: drop unused libmsc, unneeded duplicate libbsc linking 2016-12-02 12:09:15 +00:00
v42bis sndcp: Fixups for sndcp layer based on coverity-scan suggestions 2016-10-28 13:43:10 +00:00
xid Build fixes 2016-09-15 16:02:18 +02:00
Makefile.am OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
atlocal.in tests: fix condition to run sgsn, oap, gtphub tests 2015-12-03 11:47:34 +01:00
ctrl_test_runner.py python tests: remove process 'Launch' message, now at osmoutil 2017-02-25 17:04:08 +00:00
smpp_test_runner.py smpp_test_runner.py: fix socket leak 2017-02-25 17:04:45 +00:00
testsuite.at oap_client_test: print test descr to stderr, check stderr 2016-12-13 14:54:02 +00:00
vty_test_runner.py python tests: remove process 'Launch' message, now at osmoutil 2017-02-25 17:04:08 +00:00