Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 2 | talloc_total_blocks(tall_bsc_ctx) == 12 |
| 3 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 4 | ===== test_no_authen |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 5 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 6 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 7 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 8 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 9 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 10 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 11 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 12 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 13 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 14 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 15 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 16 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 17 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 18 | DREF VLR subscr unknown usage increases to: 1 |
| 19 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 20 | DVLR New subscr, IMSI: 901700000004620 |
| 21 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | 54a706c | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 22 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 23 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 24 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 25 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 26 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 27 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 28 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 29 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 30 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 31 | DVLR GSUP tx: 04010809710000004026f0 |
| 32 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 33 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 34 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 35 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 36 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 37 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 38 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 39 | lu_result_sent == 0 |
| 40 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 41 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 42 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 43 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 44 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 45 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 46 | DVLR GSUP tx: 12010809710000004026f0 |
| 47 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 48 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 49 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 50 | lu_result_sent == 0 |
| 51 | - having received subscriber data does not mean acceptance |
| 52 | msc_subscr_conn_is_accepted() == false |
| 53 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 54 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 55 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 56 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 57 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 58 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 59 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 60 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 61 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 62 | lu_result_sent == 0 |
| 63 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 64 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 65 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 66 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 67 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 68 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 69 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 70 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 71 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 72 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 73 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 74 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 75 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 76 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 77 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 78 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 79 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 80 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 81 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 82 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 83 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 84 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 85 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 86 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 87 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 88 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 89 | - sending LU Accept for MSISDN:46071 |
| 90 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 91 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 92 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 93 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 94 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 95 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 96 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 97 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 98 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 99 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 100 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 101 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 102 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 103 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 104 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 105 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 106 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 107 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 108 | - LU was successful, and the conn has already been closed |
| 109 | lu_result_sent == 1 |
| 110 | bssap_clear_sent == 1 |
| 111 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 112 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 113 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 114 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 115 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 116 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 117 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 118 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 119 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 120 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 121 | DRLL MSISDN:46071: Freeing subscriber connection |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 122 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 123 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 124 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 125 | llist_count(&net->subscr_conns) == 0 |
| 126 | --- |
| 127 | - after a while, a new conn sends a CM Service Request |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 128 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 129 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 130 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 131 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 132 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 133 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 134 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
| 135 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: Allocated |
| 136 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000004620) |
| 137 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 138 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 139 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 140 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 141 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 142 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 143 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 144 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 145 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 146 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 147 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 148 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 149 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 150 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 151 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 152 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 153 | DREF MSISDN:46071: MSC conn use + cm_service == 2 (0x9: compl_l3,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 154 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 155 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 156 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 157 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 158 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Event SUBSCR_CONN_E_COMPLETE_LAYER_3 not permitted |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 159 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 160 | cm_service_result_sent == 1 |
| 161 | msc_subscr_conn_is_accepted() == true |
| 162 | - a USSD request is serviced |
| 163 | expecting USSD: |
| 164 | Your extension is 46071
|
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 165 | MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_REGISTER |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 166 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 167 | DRLL Dispatching 04.08 message GSM0480_MTYPE_REGISTER (0xb:0x3b) |
| 168 | DMM MSISDN:46071: rx msg GSM0480_MTYPE_REGISTER: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 169 | DREF MSISDN:46071: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 170 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 171 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 172 | DMM USSD: Own number requested |
| 173 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 174 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 175 | - DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 176 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 177 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 178 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 179 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 180 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 181 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 182 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 183 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 184 | dtap_tx_confirmed == 1 |
| 185 | bssap_clear_sent == 1 |
| 186 | - all requests serviced, conn has been released |
| 187 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 188 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 189 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 190 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 191 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 192 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 193 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000004620) |
| 194 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 195 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 196 | DRLL MSISDN:46071: Freeing subscriber connection |
| 197 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 198 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 199 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 200 | llist_count(&net->subscr_conns) == 0 |
| 201 | --- |
| 202 | - an SMS is sent, MS is paged |
| 203 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 204 | llist_count(&vsub->cs.requests) == 0 |
| 205 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 206 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 207 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 208 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 209 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 210 | llist_count(&vsub->cs.requests) == 1 |
| 211 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 212 | paging_sent == 1 |
| 213 | paging_stopped == 0 |
| 214 | - the subscriber and its pending request should remain |
| 215 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 216 | llist_count(&vsub->cs.requests) == 1 |
| 217 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 218 | - MS replies with Paging Response, we deliver the SMS |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 219 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 220 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 221 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 222 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 223 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 224 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 225 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
| 226 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: Allocated |
| 227 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(PAGING_RESP:901700000004620) |
| 228 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 229 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 230 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 231 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 232 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 233 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 234 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 235 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 236 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 237 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 238 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 239 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 240 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 241 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 242 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 243 | DPAG Paging success for MSISDN:46071 (event=0) |
| 244 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 12e17be | 2018-03-12 23:59:37 +0100 | [diff] [blame] | 245 | DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 246 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 247 | DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 248 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 249 | - DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 250 | - DTAP matches expected message |
| 251 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 252 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 253 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: connection still has active transaction: SMS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 254 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 255 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 256 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Event SUBSCR_CONN_E_COMPLETE_LAYER_3 not permitted |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 257 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x20: trans_sms) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 258 | dtap_tx_confirmed == 1 |
| 259 | paging_stopped == 1 |
| 260 | - SMS was delivered, no requests pending for subscr |
| 261 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 262 | llist_count(&vsub->cs.requests) == 0 |
| 263 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 264 | - conn is still open to wait for SMS ack dance |
| 265 | llist_count(&net->subscr_conns) == 1 |
| 266 | - MS replies with CP-ACK for received SMS |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 267 | MSC <--RAN_GERAN_A-- MS: SMS:0x04 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 268 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 269 | DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 270 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 271 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 272 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 273 | llist_count(&net->subscr_conns) == 1 |
| 274 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 275 | MSC <--RAN_GERAN_A-- MS: SMS:0x01 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 276 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 277 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 278 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 279 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 280 | - DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 281 | - DTAP matches expected message |
| 282 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 283 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 284 | DREF MSISDN:46071: MSC conn use - trans_sms == 1 (0x2: dtap) |
| 285 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 286 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 287 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 288 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 289 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 290 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 291 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 292 | dtap_tx_confirmed == 1 |
| 293 | bssap_clear_sent == 1 |
| 294 | - SMS is done, conn is gone |
| 295 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 296 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 297 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 298 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 299 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 300 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 301 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(PAGING_RESP:901700000004620) |
| 302 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 303 | DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 304 | DRLL MSISDN:46071: Freeing subscriber connection |
| 305 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 306 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 307 | DMM Subscr_Conn(PAGING_RESP:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 308 | llist_count(&net->subscr_conns) == 0 |
| 309 | --- |
| 310 | - subscriber detaches |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 311 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 312 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 313 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 314 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 315 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 316 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 317 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 318 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 319 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 320 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 321 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 322 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 323 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 324 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 325 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 326 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Philipp Maier | fbf6610 | 2017-04-09 12:32:51 +0200 | [diff] [blame] | 327 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 328 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 329 | bssap_clear_sent == 1 |
| 330 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 331 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 332 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 333 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 334 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 335 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 336 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 337 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 338 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 339 | ===== test_no_authen: SUCCESS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 340 | |
| 341 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 342 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 343 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 344 | ===== test_no_authen_tmsi |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 345 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 346 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 347 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 348 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 349 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 350 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 351 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 352 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 353 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 354 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 355 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 356 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 357 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 358 | DREF VLR subscr unknown usage increases to: 1 |
| 359 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 360 | DVLR New subscr, IMSI: 901700000004620 |
| 361 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | 54a706c | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 362 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 363 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 364 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 365 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 366 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 367 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 368 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 369 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 370 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 371 | DVLR GSUP tx: 04010809710000004026f0 |
| 372 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 373 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 374 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 375 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 376 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 377 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 378 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 379 | lu_result_sent == 0 |
| 380 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 381 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 382 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 383 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 384 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 385 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 386 | DVLR GSUP tx: 12010809710000004026f0 |
| 387 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 388 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 389 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 390 | lu_result_sent == 0 |
| 391 | - having received subscriber data does not mean acceptance |
| 392 | msc_subscr_conn_is_accepted() == false |
| 393 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 394 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 395 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 396 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 397 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 398 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 399 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 400 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 401 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 402 | lu_result_sent == 0 |
| 403 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 404 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 405 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 406 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 407 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 408 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 409 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 410 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 411 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 412 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 413 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 414 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 415 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 416 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 417 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 418 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 419 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 420 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 421 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 422 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 423 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 424 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 425 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 426 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 427 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 428 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 429 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 430 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 431 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
| 432 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 433 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 434 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 435 | llist_count(&net->subscr_conns) == 1 |
| 436 | lu_result_sent == 1 |
| 437 | msc_subscr_conn_is_accepted() == false |
| 438 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 439 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 440 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 441 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 442 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 443 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 444 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 445 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 446 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 447 | - even though the TMSI is not acked, we can already find the subscr with it |
| 448 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 449 | vsub != NULL == 1 |
| 450 | strcmp(vsub->imsi, imsi) == 0 |
| 451 | vsub->tmsi_new == 0x03020100 |
| 452 | vsub->tmsi == 0xffffffff |
| 453 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 454 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 455 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 456 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 457 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 458 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 459 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 460 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 461 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 462 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 463 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 464 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 465 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 466 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 467 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 468 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 469 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 470 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 471 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 472 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 473 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 474 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 475 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 476 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 477 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 478 | bssap_clear_sent == 1 |
| 479 | - LU was successful, and the conn has already been closed |
| 480 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 481 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 482 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 483 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 484 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 485 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 486 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 487 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 488 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 489 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 490 | DRLL MSISDN:46071: Freeing subscriber connection |
| 491 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 492 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 493 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 494 | llist_count(&net->subscr_conns) == 0 |
| 495 | - Subscriber has the new TMSI |
| 496 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 497 | vsub != NULL == 1 |
| 498 | strcmp(vsub->imsi, imsi) == 0 |
| 499 | vsub->tmsi_new == 0xffffffff |
| 500 | vsub->tmsi == 0x03020100 |
| 501 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 502 | --- |
| 503 | - after a while, a new conn sends a CM Service Request using above TMSI |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 504 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 505 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 506 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 507 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 508 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 509 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(TMSI)=50462976 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 510 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_NEW}: Updated ID |
| 511 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: Allocated |
| 512 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:50462976) |
| 513 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 514 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 515 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 516 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 517 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 518 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 519 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 520 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 521 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 522 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 523 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 524 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 525 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 526 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 527 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 528 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 529 | DREF MSISDN:46071: MSC conn use + cm_service == 2 (0x9: compl_l3,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 530 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 531 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 532 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 533 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 534 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_ACCEPTED}: Event SUBSCR_CONN_E_COMPLETE_LAYER_3 not permitted |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 535 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 536 | cm_service_result_sent == 1 |
| 537 | msc_subscr_conn_is_accepted() == true |
| 538 | - a USSD request is serviced |
| 539 | expecting USSD: |
| 540 | Your extension is 46071
|
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 541 | MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_REGISTER |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 542 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 543 | DRLL Dispatching 04.08 message GSM0480_MTYPE_REGISTER (0xb:0x3b) |
| 544 | DMM MSISDN:46071: rx msg GSM0480_MTYPE_REGISTER: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 545 | DREF MSISDN:46071: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 546 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 547 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 548 | DMM USSD: Own number requested |
| 549 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 550 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
Vadim Yanitskiy | 7d7ee42 | 2018-04-17 19:23:18 +0700 | [diff] [blame^] | 551 | - DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 552 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 553 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 554 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 555 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 556 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 557 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 558 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 559 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 560 | bssap_clear_sent == 1 |
| 561 | - all requests serviced, conn has been released |
| 562 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 563 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 564 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 565 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 566 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 567 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 568 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:50462976) |
| 569 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_DONE}: Freeing instance |
| 570 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 571 | DRLL MSISDN:46071: Freeing subscriber connection |
| 572 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 573 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 574 | DMM Subscr_Conn(CM_SERVICE_REQ:50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 575 | llist_count(&net->subscr_conns) == 0 |
| 576 | --- |
| 577 | - an SMS is sent, MS is paged using above TMSI |
| 578 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 579 | llist_count(&vsub->cs.requests) == 0 |
| 580 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 581 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 582 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 583 | paging_expecting_tmsi == 0x03020100 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 584 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 585 | llist_count(&vsub->cs.requests) == 1 |
| 586 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 587 | paging_sent == 1 |
| 588 | paging_stopped == 0 |
| 589 | - the subscriber and its pending request should remain |
| 590 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 591 | llist_count(&vsub->cs.requests) == 1 |
| 592 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 593 | - MS replies with Paging Response using TMSI, we deliver the SMS |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 594 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 595 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 596 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 597 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 598 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 599 | DRR PAGING RESPONSE: MI(TMSI)=50462976 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 600 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_NEW}: Updated ID |
| 601 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: Allocated |
| 602 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(PAGING_RESP:50462976) |
| 603 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 604 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 605 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 606 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 607 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 608 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 609 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 610 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 611 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 612 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 613 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 614 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 615 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 616 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 617 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 618 | DPAG Paging success for MSISDN:46071 (event=0) |
| 619 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 12e17be | 2018-03-12 23:59:37 +0100 | [diff] [blame] | 620 | DCC (ti 00 sub MSISDN:46071 callref 40000002) New transaction |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 621 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 622 | DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 623 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 624 | - DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 625 | - DTAP matches expected message |
| 626 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 627 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 628 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: connection still has active transaction: SMS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 629 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 630 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 631 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_ACCEPTED}: Event SUBSCR_CONN_E_COMPLETE_LAYER_3 not permitted |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 632 | DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x20: trans_sms) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 633 | dtap_tx_confirmed == 1 |
| 634 | paging_stopped == 1 |
| 635 | - SMS was delivered, no requests pending for subscr |
| 636 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 637 | llist_count(&vsub->cs.requests) == 0 |
| 638 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 639 | - conn is still open to wait for SMS ack dance |
| 640 | llist_count(&net->subscr_conns) == 1 |
| 641 | - MS replies with CP-ACK for received SMS |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 642 | MSC <--RAN_GERAN_A-- MS: SMS:0x04 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 643 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 644 | DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 645 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 646 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 647 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 648 | llist_count(&net->subscr_conns) == 1 |
| 649 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 650 | MSC <--RAN_GERAN_A-- MS: SMS:0x01 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 651 | DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 652 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 653 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 654 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 655 | - DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 656 | - DTAP matches expected message |
| 657 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 658 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 659 | DREF MSISDN:46071: MSC conn use - trans_sms == 1 (0x2: dtap) |
| 660 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 661 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 662 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 663 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 664 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 665 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 666 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 667 | dtap_tx_confirmed == 1 |
| 668 | bssap_clear_sent == 1 |
| 669 | - SMS is done, conn is gone |
| 670 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 671 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 672 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 673 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 674 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 675 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 676 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(PAGING_RESP:50462976) |
| 677 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_DONE}: Freeing instance |
| 678 | DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 679 | DRLL MSISDN:46071: Freeing subscriber connection |
| 680 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 681 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 682 | DMM Subscr_Conn(PAGING_RESP:50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 683 | llist_count(&net->subscr_conns) == 0 |
| 684 | --- |
| 685 | - subscriber sends LU Request, this time with the TMSI |
| 686 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 687 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 688 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 689 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 690 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 691 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 692 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 693 | DMM LOCATION UPDATING REQUEST: MI(TMSI)=50462976 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 694 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 695 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: Allocated |
| 696 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:50462976) |
| 697 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 698 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 699 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 700 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 54a706c | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 701 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 702 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 703 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 704 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 705 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 706 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 707 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_INIT}: Allocated |
| 708 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:50462976) |
| 709 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 710 | DVLR GSUP tx: 04010809710000004026f0 |
| 711 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 712 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 713 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 714 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 715 | DREF MSISDN:46071: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 716 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 717 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 718 | lu_result_sent == 0 |
| 719 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 720 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 721 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 722 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 723 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 724 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=3) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 725 | DVLR GSUP tx: 12010809710000004026f0 |
| 726 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 727 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 728 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 729 | lu_result_sent == 0 |
| 730 | - having received subscriber data does not mean acceptance |
| 731 | msc_subscr_conn_is_accepted() == false |
| 732 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 733 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 734 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 735 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 736 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 737 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 738 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 739 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 740 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 741 | lu_result_sent == 0 |
| 742 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 743 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 744 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 745 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 746 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 747 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 748 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 749 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 750 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:50462976) |
| 751 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 752 | DVLR upd_hlr_vlr_fsm(LU:50462976){UPD_HLR_VLR_S_DONE}: Deallocated |
| 753 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 754 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 755 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_INIT}: Allocated |
| 756 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:50462976) |
| 757 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 758 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 759 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_INIT}: Allocated |
| 760 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:50462976) |
| 761 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 762 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 763 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 764 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:50462976) |
| 765 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 766 | DVLR sub_pres_vlr_fsm(LU:50462976){SUB_PRES_VLR_S_DONE}: Deallocated |
| 767 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 768 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 769 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 770 | - sending LU Accept for MSISDN:46071, with TMSI 0x07060504 |
| 771 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 772 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 773 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 774 | llist_count(&net->subscr_conns) == 1 |
| 775 | lu_result_sent == 1 |
| 776 | msc_subscr_conn_is_accepted() == false |
| 777 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 778 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 779 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 780 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 781 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 782 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 783 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 784 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 785 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 786 | - even though the TMSI is not acked, we can already find the subscr with it |
| 787 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 788 | vsub != NULL == 1 |
| 789 | strcmp(vsub->imsi, imsi) == 0 |
| 790 | vsub->tmsi_new == 0x07060504 |
| 791 | vsub->tmsi == 0x03020100 |
| 792 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 793 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 794 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 795 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 796 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 797 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 798 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 799 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 800 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 801 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 802 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 803 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:50462976) |
| 804 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 805 | DVLR lu_compl_vlr_fsm(LU:50462976){LU_COMPL_VLR_S_DONE}: Deallocated |
| 806 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 807 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 808 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 809 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 810 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 811 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 812 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 813 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 814 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 815 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 816 | bssap_clear_sent == 1 |
| 817 | - LU was successful, and the conn has already been closed |
| 818 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 819 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 820 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 821 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 822 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 823 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 824 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:50462976) |
| 825 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 826 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_DONE}: Freeing instance |
| 827 | DVLR vlr_lu_fsm(LU:50462976){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 828 | DRLL MSISDN:46071: Freeing subscriber connection |
| 829 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 830 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 831 | DMM Subscr_Conn(LU:50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 832 | llist_count(&net->subscr_conns) == 0 |
| 833 | - subscriber has the new TMSI |
| 834 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 835 | vsub != NULL == 1 |
| 836 | strcmp(vsub->imsi, imsi) == 0 |
| 837 | vsub->tmsi_new == 0xffffffff |
| 838 | vsub->tmsi == 0x07060504 |
| 839 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 840 | --- |
| 841 | - subscriber detaches, using new TMSI |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 842 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 843 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 844 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 845 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 846 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 847 | DMM IMSI DETACH INDICATION: MI(TMSI)=117835012 |
| 848 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 849 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 850 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 851 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 852 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 853 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 854 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 855 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 856 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 857 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Philipp Maier | fbf6610 | 2017-04-09 12:32:51 +0200 | [diff] [blame] | 858 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 859 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 860 | bssap_clear_sent == 1 |
| 861 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 862 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 863 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 864 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 865 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 866 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 867 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 868 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 869 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 870 | ===== test_no_authen_tmsi: SUCCESS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 871 | |
| 872 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 873 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 874 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 875 | ===== test_no_authen_imei |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 876 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 877 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 878 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 879 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 880 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 881 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 882 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 883 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 884 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 885 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 886 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 887 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 888 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 889 | DREF VLR subscr unknown usage increases to: 1 |
| 890 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 891 | DVLR New subscr, IMSI: 901700000004620 |
| 892 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | 54a706c | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 893 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 894 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 895 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 896 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 897 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 898 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 899 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 900 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 901 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 902 | DVLR GSUP tx: 04010809710000004026f0 |
| 903 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 904 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 905 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 906 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 907 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 908 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 909 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 910 | lu_result_sent == 0 |
| 911 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 912 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 913 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 914 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 915 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 916 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 917 | DVLR GSUP tx: 12010809710000004026f0 |
| 918 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 919 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 920 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 921 | lu_result_sent == 0 |
| 922 | - having received subscriber data does not mean acceptance |
| 923 | msc_subscr_conn_is_accepted() == false |
| 924 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 925 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 926 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 927 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 928 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 929 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 930 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 931 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 932 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 933 | lu_result_sent == 0 |
| 934 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 935 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 936 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 937 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 938 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 939 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 940 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 941 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 942 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 943 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 944 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 945 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 946 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 947 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 948 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 949 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 950 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 951 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 952 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 953 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 954 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 955 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 956 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 957 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 958 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 959 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 960 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 961 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 962 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 963 | - DTAP matches expected message |
| 964 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 965 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 966 | - We will only do business when the IMEI is known |
| 967 | llist_count(&net->subscr_conns) == 1 |
| 968 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 969 | vsub->imei[0] == 0 |
| 970 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 971 | msc_subscr_conn_is_accepted() == false |
| 972 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 973 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 974 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 975 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 976 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 977 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 978 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 979 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 980 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 981 | - MS replies with an Identity Response |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 982 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 983 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 984 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 985 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 |
| 986 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423420 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 987 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 988 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 989 | - sending LU Accept for MSISDN:46071 |
| 990 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 991 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: state_chg to LU_COMPL_VLR_S_DONE |
| 992 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 993 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 994 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 995 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 996 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 997 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 998 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 999 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1000 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1001 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1002 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1003 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1004 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1005 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1006 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1007 | bssap_clear_sent == 1 |
| 1008 | - LU was successful, and the conn has already been closed |
| 1009 | lu_result_sent == 1 |
| 1010 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1011 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1012 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1013 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1014 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1015 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1016 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1017 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1018 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1019 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1020 | DRLL MSISDN:46071: Freeing subscriber connection |
| 1021 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1022 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1023 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1024 | llist_count(&net->subscr_conns) == 0 |
| 1025 | - Subscriber has the IMEI |
| 1026 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1027 | strcmp(vsub->imei, "423423423423420") == 0 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1028 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1029 | --- |
| 1030 | - subscriber detaches |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1031 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1032 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1033 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1034 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1035 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1036 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1037 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1038 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1039 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1040 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1041 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1042 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1043 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1044 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1045 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1046 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Philipp Maier | fbf6610 | 2017-04-09 12:32:51 +0200 | [diff] [blame] | 1047 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1048 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1049 | bssap_clear_sent == 1 |
| 1050 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1051 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1052 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1053 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1054 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1055 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1056 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1057 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1058 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1059 | ===== test_no_authen_imei: SUCCESS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1060 | |
| 1061 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1062 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1063 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1064 | ===== test_no_authen_tmsi_imei |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1065 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1066 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1067 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1068 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1069 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1070 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1071 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1072 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1073 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1074 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1075 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 1076 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1077 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1078 | DREF VLR subscr unknown usage increases to: 1 |
| 1079 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1080 | DVLR New subscr, IMSI: 901700000004620 |
| 1081 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | 54a706c | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1082 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1083 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1084 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 1085 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 1086 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 1087 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1088 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1089 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1090 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1091 | DVLR GSUP tx: 04010809710000004026f0 |
| 1092 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1093 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 1094 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1095 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1096 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1097 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1098 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1099 | lu_result_sent == 0 |
| 1100 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1101 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1102 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1103 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1104 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1105 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1106 | DVLR GSUP tx: 12010809710000004026f0 |
| 1107 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1108 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1109 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1110 | lu_result_sent == 0 |
| 1111 | - having received subscriber data does not mean acceptance |
| 1112 | msc_subscr_conn_is_accepted() == false |
| 1113 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1114 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1115 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1116 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1117 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1118 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1119 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1120 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1121 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1122 | lu_result_sent == 0 |
| 1123 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1124 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1125 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1126 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1127 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1128 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1129 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1130 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1131 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1132 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1133 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1134 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1135 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1136 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1137 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1138 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1139 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1140 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1141 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 1142 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1143 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1144 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1145 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 1146 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1147 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1148 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1149 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1150 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1151 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1152 | - DTAP matches expected message |
| 1153 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1154 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1155 | - We will only do business when the IMEI is known |
| 1156 | llist_count(&net->subscr_conns) == 1 |
| 1157 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1158 | vsub->imei[0] == 0 |
| 1159 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1160 | msc_subscr_conn_is_accepted() == false |
| 1161 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1162 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1163 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1164 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1165 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1166 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1167 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1168 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1169 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1170 | - MS replies with an Identity Response |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1171 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1172 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1173 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1174 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 |
| 1175 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423420 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1176 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1177 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1178 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: lu_compl_vlr_new_tmsi() |
| 1179 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1180 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1181 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1182 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1183 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1184 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1185 | llist_count(&net->subscr_conns) == 1 |
| 1186 | lu_result_sent == 1 |
| 1187 | msc_subscr_conn_is_accepted() == false |
| 1188 | requests shall be thwarted |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1189 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1190 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1191 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1192 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1193 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1194 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1195 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1196 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1197 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1198 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1199 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1200 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1201 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1202 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1203 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1204 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1205 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1206 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1207 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1208 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1209 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1210 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1211 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1212 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1213 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1214 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1215 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1216 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1217 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1218 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1219 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1220 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1221 | bssap_clear_sent == 1 |
| 1222 | - LU was successful, and the conn has already been closed |
| 1223 | lu_result_sent == 1 |
| 1224 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1225 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1226 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1227 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1228 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1229 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1230 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1231 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1232 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1233 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1234 | DRLL MSISDN:46071: Freeing subscriber connection |
| 1235 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1236 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1237 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1238 | llist_count(&net->subscr_conns) == 0 |
| 1239 | - Subscriber has the IMEI and TMSI |
| 1240 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1241 | strcmp(vsub->imei, "423423423423420") == 0 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1242 | vsub->tmsi == 0x03020100 |
| 1243 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1244 | --- |
| 1245 | - subscriber detaches |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1246 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1247 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1248 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1249 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 78ada64 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1250 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1251 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1252 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1253 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1254 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1255 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1256 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1257 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1258 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1259 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1260 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1261 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Philipp Maier | fbf6610 | 2017-04-09 12:32:51 +0200 | [diff] [blame] | 1262 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1263 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1264 | bssap_clear_sent == 1 |
| 1265 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1266 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1267 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1268 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1269 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1270 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1271 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1272 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1273 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1274 | ===== test_no_authen_tmsi_imei: SUCCESS |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1275 | |
| 1276 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1277 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1278 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1279 | ===== test_no_authen_imeisv |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1280 | - Location Update request causes an IMEISV ID request back to the MS |
| 1281 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 1282 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1283 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1284 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1285 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1286 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1287 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1288 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1289 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1290 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 1291 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1292 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1293 | DREF VLR subscr unknown usage increases to: 1 |
| 1294 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1295 | DVLR New subscr, IMSI: 901700000004620 |
| 1296 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1297 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1298 | DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A |
| 1299 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 |
| 1300 | - DTAP matches expected message |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1301 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV |
| 1302 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1303 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1304 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1305 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1306 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1307 | - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR |
| 1308 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1309 | DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1310 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 1311 | DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 |
| 1312 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=4234234234234275 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1313 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: Received Event VLR_ULA_E_ID_IMEISV |
| 1314 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node1() |
| 1315 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_auth() |
| 1316 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_ciph() |
| 1317 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node_4() |
| 1318 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1319 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1320 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1321 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1322 | DVLR GSUP tx: 04010809710000004026f0 |
| 1323 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1324 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1325 | DREF IMSI:901700000004620: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1326 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1327 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1328 | lu_result_sent == 0 |
| 1329 | - Subscriber has the IMEISV from the ID Response |
| 1330 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1331 | strcmp(vsub->imeisv, "4234234234234275") == 0 |
| 1332 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1333 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1334 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1335 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1336 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1337 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1338 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1339 | DVLR GSUP tx: 12010809710000004026f0 |
| 1340 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1341 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1342 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1343 | lu_result_sent == 0 |
| 1344 | - having received subscriber data does not mean acceptance |
| 1345 | msc_subscr_conn_is_accepted() == false |
| 1346 | requests shall be thwarted |
| 1347 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1348 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1349 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1350 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1351 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1352 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1353 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1354 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1355 | lu_result_sent == 0 |
| 1356 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1357 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1358 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1359 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1360 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1361 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1362 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1363 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1364 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1365 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1366 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1367 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1368 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1369 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1370 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1371 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1372 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1373 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1374 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 1375 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1376 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1377 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1378 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 1379 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1380 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1381 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1382 | - sending LU Accept for MSISDN:46071 |
| 1383 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1384 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1385 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1386 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1387 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1388 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1389 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1390 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1391 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1392 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1393 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1394 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1395 | DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1396 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1397 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1398 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1399 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1400 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1401 | - LU was successful, and the conn has already been closed |
| 1402 | lu_result_sent == 1 |
| 1403 | bssap_clear_sent == 1 |
| 1404 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1405 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1406 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1407 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1408 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1409 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1410 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1411 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1412 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1413 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1414 | DRLL MSISDN:46071: Freeing subscriber connection |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1415 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1416 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1417 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1418 | llist_count(&net->subscr_conns) == 0 |
| 1419 | --- |
| 1420 | - subscriber detaches |
| 1421 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 1422 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1423 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1424 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1425 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 1426 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1427 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1428 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1429 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1430 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1431 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1432 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1433 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1434 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1435 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1436 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1437 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1438 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1439 | bssap_clear_sent == 1 |
| 1440 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1441 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1442 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1443 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1444 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1445 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1446 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1447 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1448 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1449 | ===== test_no_authen_imeisv: SUCCESS |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1450 | |
| 1451 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1452 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1453 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1454 | ===== test_no_authen_imeisv_imei |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1455 | - Location Update request causes an IMEISV ID request back to the MS |
| 1456 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 1457 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1458 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1459 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1460 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1461 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1462 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1463 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1464 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1465 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 1466 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1467 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1468 | DREF VLR subscr unknown usage increases to: 1 |
| 1469 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1470 | DVLR New subscr, IMSI: 901700000004620 |
| 1471 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1472 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1473 | DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A |
| 1474 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 |
| 1475 | - DTAP matches expected message |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1476 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV |
| 1477 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1478 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1479 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1480 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1481 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1482 | - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR |
| 1483 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1484 | DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1485 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 1486 | DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 |
| 1487 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=4234234234234275 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1488 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: Received Event VLR_ULA_E_ID_IMEISV |
| 1489 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node1() |
| 1490 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_auth() |
| 1491 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_ciph() |
| 1492 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node_4() |
| 1493 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1494 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1495 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1496 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1497 | DVLR GSUP tx: 04010809710000004026f0 |
| 1498 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1499 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1500 | DREF IMSI:901700000004620: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1501 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1502 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1503 | lu_result_sent == 0 |
| 1504 | - Subscriber has the IMEISV from the ID Response |
| 1505 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1506 | strcmp(vsub->imeisv, "4234234234234275") == 0 |
| 1507 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1508 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1509 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1510 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1511 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1512 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1513 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1514 | DVLR GSUP tx: 12010809710000004026f0 |
| 1515 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1516 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1517 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1518 | lu_result_sent == 0 |
| 1519 | - having received subscriber data does not mean acceptance |
| 1520 | msc_subscr_conn_is_accepted() == false |
| 1521 | requests shall be thwarted |
| 1522 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1523 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1524 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1525 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1526 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1527 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1528 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1529 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1530 | lu_result_sent == 0 |
| 1531 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1532 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1533 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1534 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1535 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1536 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1537 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1538 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1539 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1540 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1541 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1542 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1543 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1544 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1545 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1546 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1547 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1548 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1549 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 1550 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1551 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1552 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1553 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 1554 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1555 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1556 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1557 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1558 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1559 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
| 1560 | - DTAP matches expected message |
| 1561 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1562 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1563 | - We will only do business when the IMEI is known |
| 1564 | llist_count(&net->subscr_conns) == 1 |
| 1565 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1566 | vsub->imei[0] == 0 |
| 1567 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1568 | msc_subscr_conn_is_accepted() == false |
| 1569 | requests shall be thwarted |
| 1570 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1571 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1572 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1573 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1574 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1575 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1576 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1577 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1578 | - MS replies with an Identity Response |
| 1579 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1580 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1581 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 1582 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 |
| 1583 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423420 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1584 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1585 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1586 | - sending LU Accept for MSISDN:46071 |
| 1587 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1588 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: state_chg to LU_COMPL_VLR_S_DONE |
| 1589 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1590 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1591 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1592 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1593 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1594 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1595 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1596 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1597 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1598 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1599 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1600 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1601 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1602 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1603 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1604 | bssap_clear_sent == 1 |
| 1605 | - LU was successful, and the conn has already been closed |
| 1606 | lu_result_sent == 1 |
| 1607 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1608 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1609 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1610 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1611 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1612 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1613 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1614 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1615 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1616 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1617 | DRLL MSISDN:46071: Freeing subscriber connection |
| 1618 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1619 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1620 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1621 | llist_count(&net->subscr_conns) == 0 |
| 1622 | - Subscriber has the IMEI |
| 1623 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1624 | strcmp(vsub->imei, "423423423423420") == 0 |
| 1625 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1626 | --- |
| 1627 | - subscriber detaches |
| 1628 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 1629 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1630 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1631 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1632 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 1633 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1634 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1635 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1636 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1637 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1638 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1639 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1640 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1641 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1642 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1643 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1644 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1645 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1646 | bssap_clear_sent == 1 |
| 1647 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1648 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1649 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1650 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1651 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1652 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1653 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1654 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1655 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1656 | ===== test_no_authen_imeisv_imei: SUCCESS |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1657 | |
| 1658 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1659 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1660 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1661 | ===== test_no_authen_imeisv_tmsi |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1662 | - Location Update request causes an IMEISV ID request back to the MS |
| 1663 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 1664 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1665 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1666 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1667 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1668 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1669 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1670 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1671 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1672 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 1673 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1674 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1675 | DREF VLR subscr unknown usage increases to: 1 |
| 1676 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1677 | DVLR New subscr, IMSI: 901700000004620 |
| 1678 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1679 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1680 | DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A |
| 1681 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 |
| 1682 | - DTAP matches expected message |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1683 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV |
| 1684 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1685 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1686 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1687 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1688 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1689 | - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR |
| 1690 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1691 | DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1692 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 1693 | DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 |
| 1694 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=4234234234234275 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1695 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: Received Event VLR_ULA_E_ID_IMEISV |
| 1696 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node1() |
| 1697 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_auth() |
| 1698 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_ciph() |
| 1699 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node_4() |
| 1700 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1701 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1702 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1703 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1704 | DVLR GSUP tx: 04010809710000004026f0 |
| 1705 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1706 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1707 | DREF IMSI:901700000004620: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1708 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1709 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1710 | lu_result_sent == 0 |
| 1711 | - Subscriber has the IMEISV from the ID Response |
| 1712 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1713 | strcmp(vsub->imeisv, "4234234234234275") == 0 |
| 1714 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1715 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1716 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1717 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1718 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1719 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1720 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1721 | DVLR GSUP tx: 12010809710000004026f0 |
| 1722 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1723 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1724 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1725 | lu_result_sent == 0 |
| 1726 | - having received subscriber data does not mean acceptance |
| 1727 | msc_subscr_conn_is_accepted() == false |
| 1728 | requests shall be thwarted |
| 1729 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1730 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1731 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1732 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1733 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1734 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1735 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1736 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1737 | lu_result_sent == 0 |
| 1738 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1739 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1740 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1741 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1742 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1743 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1744 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1745 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1746 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1747 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1748 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1749 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1750 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1751 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1752 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1753 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1754 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1755 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1756 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 1757 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1758 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1759 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1760 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 1761 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1762 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1763 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1764 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 1765 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1766 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
| 1767 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1768 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1769 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1770 | llist_count(&net->subscr_conns) == 1 |
| 1771 | lu_result_sent == 1 |
| 1772 | msc_subscr_conn_is_accepted() == false |
| 1773 | requests shall be thwarted |
| 1774 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1775 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1776 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1777 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1778 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1779 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1780 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1781 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1782 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1783 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1784 | vsub != NULL == 1 |
| 1785 | strcmp(vsub->imsi, imsi) == 0 |
| 1786 | vsub->tmsi_new == 0x03020100 |
| 1787 | vsub->tmsi == 0xffffffff |
| 1788 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1789 | - MS sends TMSI Realloc Complete |
| 1790 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1791 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1792 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 1793 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1794 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1795 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1796 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1797 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1798 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1799 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1800 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1801 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1802 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1803 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1804 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1805 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1806 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1807 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1808 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1809 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1810 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1811 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1812 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1813 | bssap_clear_sent == 1 |
| 1814 | - LU was successful, and the conn has already been closed |
| 1815 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1816 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1817 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1818 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1819 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1820 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1821 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1822 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1823 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1824 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1825 | DRLL MSISDN:46071: Freeing subscriber connection |
| 1826 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1827 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1828 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1829 | llist_count(&net->subscr_conns) == 0 |
| 1830 | --- |
| 1831 | - subscriber sends LU Request, this time with the TMSI |
| 1832 | - Location Update request causes an IMEISV ID request back to the MS |
| 1833 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 1834 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1835 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1836 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1837 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1838 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1839 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1840 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1841 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1842 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 1843 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1844 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1845 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1846 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1847 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1848 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1849 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 |
| 1850 | - DTAP matches expected message |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1851 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV |
| 1852 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1853 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1854 | DREF MSISDN:46071: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1855 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1856 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1857 | - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR |
| 1858 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1859 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1860 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 1861 | DMM IDENTITY RESPONSE: MI(IMEI-SV)=5234234234234276 |
| 1862 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=5234234234234276 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1863 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: Received Event VLR_ULA_E_ID_IMEISV |
| 1864 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node1() |
| 1865 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_auth() |
| 1866 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_ciph() |
| 1867 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node_4() |
| 1868 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1869 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1870 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1871 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1872 | DVLR GSUP tx: 04010809710000004026f0 |
| 1873 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1874 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1875 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1876 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1877 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1878 | lu_result_sent == 0 |
| 1879 | - Subscriber has the IMEISV from the ID Response |
| 1880 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1881 | strcmp(vsub->imeisv, "5234234234234276") == 0 |
| 1882 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1883 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1884 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1885 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1886 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1887 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1888 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1889 | DVLR GSUP tx: 12010809710000004026f0 |
| 1890 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1891 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1892 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1893 | lu_result_sent == 0 |
| 1894 | - having received subscriber data does not mean acceptance |
| 1895 | msc_subscr_conn_is_accepted() == false |
| 1896 | requests shall be thwarted |
| 1897 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1898 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1899 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1900 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1901 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1902 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1903 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1904 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1905 | lu_result_sent == 0 |
| 1906 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1907 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1908 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1909 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1910 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1911 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1912 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1913 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1914 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1915 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1916 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1917 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1918 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1919 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1920 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 1921 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1922 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1923 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1924 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 1925 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1926 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1927 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1928 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 1929 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1930 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1931 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1932 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 1933 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1934 | - sending LU Accept for MSISDN:46071, with TMSI 0x07060504 |
| 1935 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1936 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1937 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1938 | llist_count(&net->subscr_conns) == 1 |
| 1939 | lu_result_sent == 1 |
| 1940 | msc_subscr_conn_is_accepted() == false |
| 1941 | requests shall be thwarted |
| 1942 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1943 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1944 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1945 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1946 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1947 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1948 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1949 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1950 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1951 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1952 | vsub != NULL == 1 |
| 1953 | strcmp(vsub->imsi, imsi) == 0 |
| 1954 | vsub->tmsi_new == 0x07060504 |
| 1955 | vsub->tmsi == 0x03020100 |
| 1956 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1957 | - MS sends TMSI Realloc Complete |
| 1958 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1959 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1960 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 1961 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1962 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1963 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 1964 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1965 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1966 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1967 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 1968 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1969 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1970 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1971 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1972 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1973 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1974 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1975 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1976 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1977 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1978 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1979 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1980 | bssap_clear_sent == 1 |
| 1981 | - LU was successful, and the conn has already been closed |
| 1982 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1983 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1984 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1985 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1986 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1987 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1988 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 1989 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1990 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1991 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1992 | DRLL MSISDN:46071: Freeing subscriber connection |
| 1993 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1994 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1995 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 1996 | llist_count(&net->subscr_conns) == 0 |
| 1997 | - subscriber has the new TMSI |
| 1998 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1999 | vsub != NULL == 1 |
| 2000 | strcmp(vsub->imsi, imsi) == 0 |
| 2001 | vsub->tmsi_new == 0xffffffff |
| 2002 | vsub->tmsi == 0x07060504 |
| 2003 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2004 | --- |
| 2005 | - subscriber detaches, using new TMSI |
| 2006 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 2007 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2008 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2009 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2010 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 2011 | DMM IMSI DETACH INDICATION: MI(TMSI)=117835012 |
| 2012 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 2013 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2014 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 2015 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2016 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2017 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 2018 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2019 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2020 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2021 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2022 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2023 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2024 | bssap_clear_sent == 1 |
| 2025 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2026 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2027 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2028 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2029 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2030 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2031 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2032 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2033 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2034 | ===== test_no_authen_imeisv_tmsi: SUCCESS |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2035 | |
| 2036 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2037 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2038 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2039 | ===== test_no_authen_imeisv_tmsi_imei |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2040 | - Location Update request causes an IMEISV ID request back to the MS |
| 2041 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 2042 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2043 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2044 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2045 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2046 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2047 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 2048 | DMM LU/new-LAC: 1/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2049 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 2050 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000004620) |
| 2051 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 2052 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2053 | DREF VLR subscr unknown usage increases to: 1 |
| 2054 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 2055 | DVLR New subscr, IMSI: 901700000004620 |
| 2056 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 2057 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 2058 | DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A |
| 2059 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 |
| 2060 | - DTAP matches expected message |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2061 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV |
| 2062 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 2063 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2064 | DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2065 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2066 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2067 | - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR |
| 2068 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2069 | DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2070 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 2071 | DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 |
| 2072 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=4234234234234275 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2073 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: Received Event VLR_ULA_E_ID_IMEISV |
| 2074 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node1() |
| 2075 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_auth() |
| 2076 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_post_ciph() |
| 2077 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: vlr_loc_upd_node_4() |
| 2078 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_IMEISV}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 2079 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 2080 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 2081 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2082 | DVLR GSUP tx: 04010809710000004026f0 |
| 2083 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2084 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2085 | DREF IMSI:901700000004620: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2086 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2087 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2088 | lu_result_sent == 0 |
| 2089 | - Subscriber has the IMEISV from the ID Response |
| 2090 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 2091 | strcmp(vsub->imeisv, "4234234234234275") == 0 |
| 2092 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 2093 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 2094 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 2095 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 2096 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 2097 | DVLR IMSI:901700000004620 has MSISDN:46071 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 2098 | DVLR SUBSCR(MSISDN:46071) VLR: update for IMSI=901700000004620 (MSISDN=46071, used=2) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2099 | DVLR GSUP tx: 12010809710000004026f0 |
| 2100 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 2101 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2102 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 2103 | lu_result_sent == 0 |
| 2104 | - having received subscriber data does not mean acceptance |
| 2105 | msc_subscr_conn_is_accepted() == false |
| 2106 | requests shall be thwarted |
| 2107 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 2108 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 2109 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 2110 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 2111 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 2112 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2113 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 2114 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2115 | lu_result_sent == 0 |
| 2116 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 2117 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 2118 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 2119 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2120 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 2121 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 2122 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 2123 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2124 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 2125 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 2126 | DVLR upd_hlr_vlr_fsm(LU:901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 2127 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 2128 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 2129 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 2130 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000004620) |
| 2131 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 2132 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 2133 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 2134 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000004620) |
| 2135 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 2136 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 2137 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2138 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000004620) |
| 2139 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 2140 | DVLR sub_pres_vlr_fsm(LU:901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 2141 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 2142 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2143 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 2144 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
| 2145 | - DTAP matches expected message |
| 2146 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2147 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2148 | - We will only do business when the IMEI is known |
| 2149 | llist_count(&net->subscr_conns) == 1 |
| 2150 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 2151 | vsub->imei[0] == 0 |
| 2152 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2153 | msc_subscr_conn_is_accepted() == false |
| 2154 | requests shall be thwarted |
| 2155 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 2156 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 2157 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 2158 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 2159 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 2160 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2161 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 2162 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2163 | - MS replies with an Identity Response |
| 2164 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2165 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2166 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
| 2167 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 |
| 2168 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423420 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2169 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 2170 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 2171 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: lu_compl_vlr_new_tmsi() |
| 2172 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2173 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2174 | DREF MSISDN:46071: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2175 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2176 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2177 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 2178 | llist_count(&net->subscr_conns) == 1 |
| 2179 | lu_result_sent == 1 |
| 2180 | msc_subscr_conn_is_accepted() == false |
| 2181 | requests shall be thwarted |
| 2182 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 2183 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 2184 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 2185 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 2186 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 2187 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2188 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 2189 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2190 | - MS sends TMSI Realloc Complete |
| 2191 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2192 | DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2193 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 2194 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2195 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 2196 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2197 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2198 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 2199 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 2200 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2201 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000004620) |
| 2202 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 2203 | DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 2204 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 2205 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 2206 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 2207 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 2208 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2209 | DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2210 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 2211 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 2212 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2213 | DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2214 | bssap_clear_sent == 1 |
| 2215 | - LU was successful, and the conn has already been closed |
| 2216 | lu_result_sent == 1 |
| 2217 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2218 | DREF MSISDN:46071: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2219 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2220 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2221 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2222 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2223 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000004620) |
| 2224 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 2225 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 2226 | DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2227 | DRLL MSISDN:46071: Freeing subscriber connection |
| 2228 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2229 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2230 | DMM Subscr_Conn(LU:901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2231 | llist_count(&net->subscr_conns) == 0 |
| 2232 | - Subscriber has the IMEISV, IMEI and TMSI |
| 2233 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 2234 | strcmp(vsub->imeisv, "4234234234234275") == 0 |
| 2235 | strcmp(vsub->imei, "423423423423420") == 0 |
| 2236 | vsub->tmsi == 0x03020100 |
| 2237 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2238 | --- |
| 2239 | - subscriber detaches |
| 2240 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 2241 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2242 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2243 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2244 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 2245 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 2246 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 2247 | DMM IMSI DETACH for MSISDN:46071 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2248 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 2249 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2250 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 2251 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 2252 | DREF freeing VLR subscr MSISDN:46071 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2253 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2254 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2255 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2256 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2257 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2258 | bssap_clear_sent == 1 |
| 2259 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2260 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2261 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2262 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2263 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2264 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2265 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2266 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2267 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2268 | ===== test_no_authen_imeisv_tmsi_imei: SUCCESS |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2269 | |
| 2270 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2271 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 34d33bd | 2017-07-20 02:56:21 +0200 | [diff] [blame] | 2272 | |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 2273 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2274 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 6a29d32 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 2275 | |