aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-10-21 03:17:16 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-01-08 23:37:16 +0100
commitb5e79e9783752ad0265b87a268f7b5a5abd1b5ea (patch)
treef990486a7a6d3296d74e7099e92ba60fc0aa55d0
parent02dd265d68b771bf315cfe6620c9b2371edea828 (diff)
msc_vlr_test_no_authen: unexpected id respneels/unexpected_id_resp
-rw-r--r--tests/msc_vlr/msc_vlr_test_no_authen.c5
-rw-r--r--tests/msc_vlr/msc_vlr_test_no_authen.err9
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.c b/tests/msc_vlr/msc_vlr_test_no_authen.c
index 7b684fe1b..162e3c853 100644
--- a/tests/msc_vlr/msc_vlr_test_no_authen.c
+++ b/tests/msc_vlr/msc_vlr_test_no_authen.c
@@ -51,6 +51,11 @@ static void test_no_authen()
VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d");
+ btw("MS sends (unexpected) Identity Response");
+ /* 3GPP TS 23.003: 6.2.1 Composition of IMEI: the IMEI ends with a
+ * spare digit that shall be sent as zero by the MS. */
+ ms_sends_msg("0559084a32244332244302");
+
btw("HLR also sends GSUP _UPDATE_LOCATION_RESULT");
expect_bssap_clear();
gsup_rx("06010809710000004026f0" HLR_TO_VLR, NULL);
diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.err b/tests/msc_vlr/msc_vlr_test_no_authen.err
index 335043125..2b55da0ed 100644
--- a/tests/msc_vlr/msc_vlr_test_no_authen.err
+++ b/tests/msc_vlr/msc_vlr_test_no_authen.err
@@ -73,6 +73,15 @@ DRLL msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: Di
DBSSAP msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: Message not permitted for initial conn: SMS:0x01
DBSSAP msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RAN decode error (rc=-13) for DTAP from MSC-I
lu_result_sent == 0
+- MS sends (unexpected) Identity Response
+ MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP
+DREF msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: + rx_from_ms: now used by 2 (lu,rx_from_ms)
+DBSSAP msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RAN decode: DTAP
+DRLL msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: Dispatching 04.08 message: MM GSM48_MT_MM_ID_RESP
+DMM IDENTITY RESPONSE: MI=IMEI-423423423423420
+DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=42342342342342
+DVLR vlr_lu_fsm(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_ID_IMEI
+DREF msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: - rx_from_ms: now used by 1 (lu)
- HLR also sends GSUP _UPDATE_LOCATION_RESULT
<-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f00a0101
DREF VLR subscr IMSI-901700000004620:MSISDN-46071 + vlr_gsup_rx: now used by 2 (active-conn,vlr_gsup_rx)