osmo-msc/tests/msc_vlr
Neels Hofmeyr 8e0af0ba69 vlr auth: gracefully reject malformed auth response
Instead of just closing down the conn hard, actually feed invalid auth response
data to vlr_subscr_rc_auth_resp() in order to trigger all the actions we want
to see with a failed authentication:
- a GSUP signal that the auth failed,
- a LU reject.
Verify this in new test_wrong_sres_length() in msc_vlr_test_gsm_authen.c.

Note that in gsm48_rx_mm_auth_resp(), the is_r99 flag is falsely derived from
the RES length, which upcoming commit Ib7f7d89a8b9455d2c022d53d74328fa7488577f4
will fix.

Change-Id: I4179a290069ac61d0662de4ec7ca3edb76988899
2018-03-10 22:12:13 +01:00
..
Makefile.am msc_vlr_tests: improve cipher mode coverage 2018-03-02 17:00:37 +01:00
msc_vlr_test_authen_reuse.c msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_authen_reuse.err msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_authen_reuse.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_call.c msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_call.err msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_call.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_authen.c vlr auth: gracefully reject malformed auth response 2018-03-10 22:12:13 +01:00
msc_vlr_test_gsm_authen.err vlr auth: gracefully reject malformed auth response 2018-03-10 22:12:13 +01:00
msc_vlr_test_gsm_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_ciph.c vlr: fix GSM AKA in a UMTS AKA capable environment 2018-03-10 20:58:24 +00:00
msc_vlr_test_gsm_ciph.err vlr: fix GSM AKA in a UMTS AKA capable environment 2018-03-10 20:58:24 +00:00
msc_vlr_test_gsm_ciph.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.err msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_umts_authen.c msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_umts_authen.err msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_umts_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_tests.c msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_tests.h msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00