osmo-msc/tests/msc_vlr
Neels Hofmeyr 4dfb2babf2 add 'encryption uea 1 2' cfg / fix ttcn3 iu tests
Recently, the ability to run UTRAN without encryption was added, but the config
for it was tied to the A5 GERAN encryption configuration. This affected
osmo-msc's default behavior of Iu, breaking osmo-msc ttcn3 Iu tests: the ttcn3
test suite sets A5 to 0 (no encryption) but still expects Iu to enable air
encryption. Fix this "regression".

Add a separate vty config option for UEA encryption, even if it does not
provide full granularity to select individual UEA algorithms yet.

As a result, Iu default behavior remains to enable encryption regardless of the
A5 config. UTRAN encryption can be disabled by the new cfg option
"encryption uea 0" alone.

Even though the new vty command already allows passing various combinations of
the UEA algorithm numbers, only '0' and '1 2' are accepted as valid
combinations, to reflect current osmo-msc capabilities.

Revert most changes to the msc_vlr test suite in commit "do not force
encryption on UTRAN" (I04ecd7a3b1cc603b2e3feb630e8c7c93fc36ccd7): use new
net->iu_encryption instead of net->a5_encryption_mask.

Adjust/add to test_nodes.vty transcript tests.

Related: OS#4144
Change-Id: Ie138f2fcb105533f7bc06a6d2e6deccf6faccc5b
2019-08-13 23:52:31 +02:00
..
Makefile.am tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_authen_reuse.c add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_authen_reuse.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +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 add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_call.err Set coding in mncc_set_cause() 2019-08-02 08:08:33 +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 tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_gsm_authen.err vlr_lu_fsm.c: don't send LU reject twice 2019-07-24 09:08:22 +02: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 tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_gsm_ciph.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +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 tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_hlr_reject.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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 tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_hlr_timeout.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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 tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_ms_timeout.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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 tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_no_authen.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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 tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_reject_concurrency.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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 tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_rest.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00: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_ss.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_ss.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_ss.ok msc_vlr_tests: don't abuse USSD-request to conclude connections 2018-07-29 16:22:06 +02:00
msc_vlr_test_umts_authen.c add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_umts_authen.err add msc_vlr tests for UMTS without ciphering 2019-08-05 23:24:47 +02: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 replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_tests.h add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00