Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1 | ===== test_no_authen |
| 2 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 3 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 4 | new conn |
| 5 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 6 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 7 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 8 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 9 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 10 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 11 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 12 | DMM LU/new-LAC: 1/0 |
| 13 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 14 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 15 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 16 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 17 | DREF VLR subscr unknown usage increases to: 1 |
| 18 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 19 | DVLR New subscr, IMSI: 901700000004620 |
| 20 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 21 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 22 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 23 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 24 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 25 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 26 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 27 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 28 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 29 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 30 | DVLR GSUP tx: 04010809710000004026f0 |
| 31 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 32 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 33 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 34 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 35 | lu_result_sent == 0 |
| 36 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 37 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 38 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 39 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 40 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 41 | DVLR GSUP tx: 12010809710000004026f0 |
| 42 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 43 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 44 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 45 | lu_result_sent == 0 |
| 46 | - having received subscriber data does not mean acceptance |
| 47 | msc_subscr_conn_is_accepted() == false |
| 48 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 49 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 50 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 51 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 52 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 53 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 54 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 55 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 56 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 57 | lu_result_sent == 0 |
| 58 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 59 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 60 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 61 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 62 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 63 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 64 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 65 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 66 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 67 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 68 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 69 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 70 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 71 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 72 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 73 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 74 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 75 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 76 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 77 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 78 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 79 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 80 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 81 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 82 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 83 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 84 | - sending LU Accept for MSISDN:46071 |
| 85 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 86 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 87 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 88 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 89 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 90 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 91 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 92 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 93 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 94 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 95 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 96 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 97 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 98 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 99 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 100 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 101 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 102 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 103 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 104 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 105 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 106 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 107 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 108 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 109 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 110 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 111 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 112 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 113 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 114 | - LU was successful, and the conn has already been closed |
| 115 | lu_result_sent == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 116 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 117 | llist_count(&net->subscr_conns) == 0 |
| 118 | --- |
| 119 | - after a while, a new conn sends a CM Service Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 120 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 121 | new conn |
| 122 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 123 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 124 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 125 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 126 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 127 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 128 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 129 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 130 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 131 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 132 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 133 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 134 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 135 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 136 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 137 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 138 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 139 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 140 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 141 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 142 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 143 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 144 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 145 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 146 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 147 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 148 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 149 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 150 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 151 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 152 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 153 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 154 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 155 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 156 | cm_service_result_sent == 1 |
| 157 | msc_subscr_conn_is_accepted() == true |
| 158 | - a USSD request is serviced |
| 159 | expecting USSD: |
| 160 | Your extension is 46071
|
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 161 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_NC_SS:0x3b |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 162 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 163 | DRLL Dispatching 04.08 message GSM48_PDISC_NC_SS:0x3b (0xb:0x3b) |
| 164 | DMM MSISDN:46071: rx msg GSM48_PDISC_NC_SS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 165 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 166 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 167 | DMM USSD: Own number requested |
| 168 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 169 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 170 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_NC_SS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 171 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 172 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 173 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 174 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 175 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 176 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 177 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 178 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 179 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 180 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 181 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 182 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 183 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 184 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 185 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 186 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 187 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 188 | dtap_tx_confirmed == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 189 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 190 | - all requests serviced, conn has been released |
| 191 | llist_count(&net->subscr_conns) == 0 |
| 192 | --- |
| 193 | - an SMS is sent, MS is paged |
| 194 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 195 | llist_count(&vsub->cs.requests) == 0 |
| 196 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 197 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 198 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 199 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 200 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 201 | llist_count(&vsub->cs.requests) == 1 |
| 202 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 203 | paging_sent == 1 |
| 204 | paging_stopped == 0 |
| 205 | - the subscriber and its pending request should remain |
| 206 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 207 | llist_count(&vsub->cs.requests) == 1 |
| 208 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 209 | - MS replies with Paging Response, we deliver the SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 210 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 211 | new conn |
| 212 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 213 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 214 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 215 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 216 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 217 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 218 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 219 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 220 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 221 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 222 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 223 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 224 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 225 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 226 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 227 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 228 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 229 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 230 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 231 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 232 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 233 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 234 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 235 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 236 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 237 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 238 | DPAG Paging success for MSISDN:46071 (event=0) |
| 239 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 240 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
| 241 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 242 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 243 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 244 | - DTAP matches expected message |
| 245 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 246 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 247 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 248 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 249 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 250 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 251 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 252 | dtap_tx_confirmed == 1 |
| 253 | paging_stopped == 1 |
| 254 | - SMS was delivered, no requests pending for subscr |
| 255 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 256 | llist_count(&vsub->cs.requests) == 0 |
| 257 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 258 | - conn is still open to wait for SMS ack dance |
| 259 | llist_count(&net->subscr_conns) == 1 |
| 260 | - MS replies with CP-ACK for received SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 261 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x04 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 262 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 263 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 264 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 265 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 266 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 267 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 268 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 269 | llist_count(&net->subscr_conns) == 1 |
| 270 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 271 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 272 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 273 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 274 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 275 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 276 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x04: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 277 | - DTAP matches expected message |
| 278 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 279 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 280 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 281 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 282 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 283 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 284 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 285 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 286 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 287 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 288 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 289 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 290 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 291 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 292 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 293 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 294 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 295 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 296 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 297 | dtap_tx_confirmed == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 298 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 299 | - SMS is done, conn is gone |
| 300 | llist_count(&net->subscr_conns) == 0 |
| 301 | --- |
| 302 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 303 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 304 | new conn |
| 305 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 306 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 307 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 308 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 309 | DMM IMSI DETACH for MSISDN:46071 |
| 310 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 311 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 312 | DREF freeing VLR subscr MSISDN:46071 |
| 313 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 314 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 315 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 316 | DRLL Freeing subscriber connection with NULL subscriber |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 317 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 318 | llist_count(&net->subscr_conns) == 0 |
| 319 | ===== test_no_authen: SUCCESS |
| 320 | |
| 321 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 322 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 323 | |
| 324 | ===== test_no_authen_tmsi |
| 325 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 326 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 327 | new conn |
| 328 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 329 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 330 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 331 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 332 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 333 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 334 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 335 | DMM LU/new-LAC: 1/0 |
| 336 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 337 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 338 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 339 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 340 | DREF VLR subscr unknown usage increases to: 1 |
| 341 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 342 | DVLR New subscr, IMSI: 901700000004620 |
| 343 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 344 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 345 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 346 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 347 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 348 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 349 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 350 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 351 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 352 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 353 | DVLR GSUP tx: 04010809710000004026f0 |
| 354 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 355 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 356 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 357 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 358 | lu_result_sent == 0 |
| 359 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 360 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 361 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 362 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 363 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 364 | DVLR GSUP tx: 12010809710000004026f0 |
| 365 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 366 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 367 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 368 | lu_result_sent == 0 |
| 369 | - having received subscriber data does not mean acceptance |
| 370 | msc_subscr_conn_is_accepted() == false |
| 371 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 372 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 373 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 374 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 375 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 376 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 377 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 378 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 379 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 380 | lu_result_sent == 0 |
| 381 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 382 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 383 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 384 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 385 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 386 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 387 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 388 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 389 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 390 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 391 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 392 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 393 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 394 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 395 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 396 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 397 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 398 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 399 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 400 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 401 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 402 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 403 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 404 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 405 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 406 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 407 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 408 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 409 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
| 410 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 411 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 412 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 413 | llist_count(&net->subscr_conns) == 1 |
| 414 | lu_result_sent == 1 |
| 415 | msc_subscr_conn_is_accepted() == false |
| 416 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 417 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 418 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 419 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 420 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 421 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 422 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 423 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 424 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 425 | - even though the TMSI is not acked, we can already find the subscr with it |
| 426 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 427 | vsub != NULL == 1 |
| 428 | strcmp(vsub->imsi, imsi) == 0 |
| 429 | vsub->tmsi_new == 0x03020100 |
| 430 | vsub->tmsi == 0xffffffff |
| 431 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 432 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 433 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 434 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 435 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 436 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 437 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 438 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 439 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 440 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 441 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 442 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 443 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 444 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 445 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 446 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 447 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 448 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 449 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 450 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 451 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 452 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 453 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 454 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 455 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 456 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 457 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 458 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 459 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 460 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 461 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 462 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 463 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 464 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 465 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 466 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 467 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 468 | - LU was successful, and the conn has already been closed |
| 469 | llist_count(&net->subscr_conns) == 0 |
| 470 | - Subscriber has the new TMSI |
| 471 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 472 | vsub != NULL == 1 |
| 473 | strcmp(vsub->imsi, imsi) == 0 |
| 474 | vsub->tmsi_new == 0xffffffff |
| 475 | vsub->tmsi == 0x03020100 |
| 476 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 477 | --- |
| 478 | - after a while, a new conn sends a CM Service Request using above TMSI |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 479 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 480 | new conn |
| 481 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 482 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 483 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(TMSI)=50462976 |
| 484 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 485 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 486 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 487 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 488 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 489 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 490 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 491 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 492 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 493 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 494 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 495 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 496 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 497 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 498 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 499 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 500 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 501 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 502 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 503 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 504 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 505 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 506 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 507 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 508 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 509 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 510 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 511 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 512 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 513 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 514 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 515 | cm_service_result_sent == 1 |
| 516 | msc_subscr_conn_is_accepted() == true |
| 517 | - a USSD request is serviced |
| 518 | expecting USSD: |
| 519 | Your extension is 46071
|
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 520 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_NC_SS:0x3b |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 521 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 522 | DRLL Dispatching 04.08 message GSM48_PDISC_NC_SS:0x3b (0xb:0x3b) |
| 523 | DMM MSISDN:46071: rx msg GSM48_PDISC_NC_SS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 524 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 525 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 526 | DMM USSD: Own number requested |
| 527 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 528 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 529 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_NC_SS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 530 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 531 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 532 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 533 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 534 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 535 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 536 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 537 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 538 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 539 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 540 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 541 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 542 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 543 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 544 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 545 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 546 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 547 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 548 | - all requests serviced, conn has been released |
| 549 | llist_count(&net->subscr_conns) == 0 |
| 550 | --- |
| 551 | - an SMS is sent, MS is paged using above TMSI |
| 552 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 553 | llist_count(&vsub->cs.requests) == 0 |
| 554 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 555 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 556 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 557 | paging_expecting_tmsi == 0x03020100 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 558 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 559 | llist_count(&vsub->cs.requests) == 1 |
| 560 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 561 | paging_sent == 1 |
| 562 | paging_stopped == 0 |
| 563 | - the subscriber and its pending request should remain |
| 564 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 565 | llist_count(&vsub->cs.requests) == 1 |
| 566 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 567 | - MS replies with Paging Response using TMSI, we deliver the SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 568 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 569 | new conn |
| 570 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 571 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 572 | DRR PAGING RESPONSE: MI(TMSI)=50462976 |
| 573 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 574 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 575 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 576 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 577 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 578 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 579 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 580 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 581 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 582 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 583 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 584 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 585 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 586 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 587 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 588 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 589 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 590 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 591 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 592 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 593 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 594 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 595 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 596 | DPAG Paging success for MSISDN:46071 (event=0) |
| 597 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 598 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
| 599 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 600 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 601 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 602 | - DTAP matches expected message |
| 603 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 604 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 605 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 606 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 607 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 608 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 609 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 610 | dtap_tx_confirmed == 1 |
| 611 | paging_stopped == 1 |
| 612 | - SMS was delivered, no requests pending for subscr |
| 613 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 614 | llist_count(&vsub->cs.requests) == 0 |
| 615 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 616 | - conn is still open to wait for SMS ack dance |
| 617 | llist_count(&net->subscr_conns) == 1 |
| 618 | - MS replies with CP-ACK for received SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 619 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x04 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 620 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 621 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 622 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 623 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 624 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 625 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 626 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 627 | llist_count(&net->subscr_conns) == 1 |
| 628 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 629 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 630 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 631 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 632 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 633 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 634 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x04: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 635 | - DTAP matches expected message |
| 636 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 637 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 638 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 639 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 640 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 641 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 642 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 643 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 644 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 645 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 646 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 647 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 648 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 649 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 650 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 651 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 652 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 653 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 654 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 655 | dtap_tx_confirmed == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 656 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 657 | - SMS is done, conn is gone |
| 658 | llist_count(&net->subscr_conns) == 0 |
| 659 | --- |
| 660 | - subscriber sends LU Request, this time with the TMSI |
| 661 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 662 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 663 | new conn |
| 664 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 665 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 666 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 667 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 668 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 669 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 670 | DMM LOCATION UPDATING REQUEST: MI(TMSI)=50462976 type=IMSI ATTACH |
| 671 | DMM LU/new-LAC: 1/0 |
| 672 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: Allocated |
| 673 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: is child of Subscr_Conn(50462976) |
| 674 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 675 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 676 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 677 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 678 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 679 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 680 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 681 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 682 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 683 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 684 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: Allocated |
| 685 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(50462976) |
| 686 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 687 | DVLR GSUP tx: 04010809710000004026f0 |
| 688 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 689 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 690 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 691 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 692 | lu_result_sent == 0 |
| 693 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 694 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 695 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 696 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 697 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 698 | DVLR GSUP tx: 12010809710000004026f0 |
| 699 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 700 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 701 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 702 | lu_result_sent == 0 |
| 703 | - having received subscriber data does not mean acceptance |
| 704 | msc_subscr_conn_is_accepted() == false |
| 705 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 706 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 707 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 708 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 709 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 710 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 711 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 712 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 713 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 714 | lu_result_sent == 0 |
| 715 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 716 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 717 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 718 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 719 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 720 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 721 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 722 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 723 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(50462976) |
| 724 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 725 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Deallocated |
| 726 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 727 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 728 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: Allocated |
| 729 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(50462976) |
| 730 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 731 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 732 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: Allocated |
| 733 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(50462976) |
| 734 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 735 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 736 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 737 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(50462976) |
| 738 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 739 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Deallocated |
| 740 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 741 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 742 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 743 | - sending LU Accept for MSISDN:46071, with TMSI 0x07060504 |
| 744 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 745 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 746 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 747 | llist_count(&net->subscr_conns) == 1 |
| 748 | lu_result_sent == 1 |
| 749 | msc_subscr_conn_is_accepted() == false |
| 750 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 751 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 752 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 753 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 754 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 755 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 756 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 757 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 758 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 759 | - even though the TMSI is not acked, we can already find the subscr with it |
| 760 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 761 | vsub != NULL == 1 |
| 762 | strcmp(vsub->imsi, imsi) == 0 |
| 763 | vsub->tmsi_new == 0x07060504 |
| 764 | vsub->tmsi == 0x03020100 |
| 765 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 766 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 767 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 768 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 769 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 770 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 771 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 772 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 773 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 774 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 775 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 776 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(50462976) |
| 777 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 778 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Deallocated |
| 779 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 780 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 781 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 782 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 783 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 784 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 785 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 786 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 787 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 788 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 789 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 790 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Freeing instance |
| 791 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Deallocated |
| 792 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 793 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 794 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 795 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 796 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 797 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 798 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 799 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 800 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 801 | - LU was successful, and the conn has already been closed |
| 802 | llist_count(&net->subscr_conns) == 0 |
| 803 | - subscriber has the new TMSI |
| 804 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 805 | vsub != NULL == 1 |
| 806 | strcmp(vsub->imsi, imsi) == 0 |
| 807 | vsub->tmsi_new == 0xffffffff |
| 808 | vsub->tmsi == 0x07060504 |
| 809 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 810 | --- |
| 811 | - subscriber detaches, using new TMSI |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 812 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 813 | new conn |
| 814 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 815 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 816 | DMM IMSI DETACH INDICATION: MI(TMSI)=117835012 |
| 817 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 818 | DMM IMSI DETACH for MSISDN:46071 |
| 819 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 820 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 821 | DREF freeing VLR subscr MSISDN:46071 |
| 822 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 823 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 824 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 825 | DRLL Freeing subscriber connection with NULL subscriber |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 826 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 827 | llist_count(&net->subscr_conns) == 0 |
| 828 | ===== test_no_authen_tmsi: SUCCESS |
| 829 | |
| 830 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 831 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 832 | |
| 833 | ===== test_no_authen_imei |
| 834 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 835 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 836 | new conn |
| 837 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 838 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 839 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 840 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 841 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 842 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 843 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 844 | DMM LU/new-LAC: 1/0 |
| 845 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 846 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 847 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 848 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 849 | DREF VLR subscr unknown usage increases to: 1 |
| 850 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 851 | DVLR New subscr, IMSI: 901700000004620 |
| 852 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 853 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 854 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 855 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 856 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 857 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 858 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 859 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 860 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 861 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 862 | DVLR GSUP tx: 04010809710000004026f0 |
| 863 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 864 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 865 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 866 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 867 | lu_result_sent == 0 |
| 868 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 869 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 870 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 871 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 872 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 873 | DVLR GSUP tx: 12010809710000004026f0 |
| 874 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 875 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 876 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 877 | lu_result_sent == 0 |
| 878 | - having received subscriber data does not mean acceptance |
| 879 | msc_subscr_conn_is_accepted() == false |
| 880 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 881 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 882 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 883 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 884 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 885 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 886 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 887 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 888 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 889 | lu_result_sent == 0 |
| 890 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 891 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 892 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 893 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 894 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 895 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 896 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 897 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 898 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 899 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 900 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 901 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 902 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 903 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 904 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 905 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 906 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 907 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 908 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 909 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 910 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 911 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 912 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 913 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 914 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 915 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 916 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 917 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 918 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 919 | - DTAP matches expected message |
| 920 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 921 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 922 | - We will only do business when the IMEI is known |
| 923 | llist_count(&net->subscr_conns) == 1 |
| 924 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 925 | vsub->imei[0] == 0 |
| 926 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 927 | msc_subscr_conn_is_accepted() == false |
| 928 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 929 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 930 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 931 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 932 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 933 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 934 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 935 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 936 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 937 | - MS replies with an Identity Response |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 938 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 939 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 940 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 941 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 942 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 943 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 944 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 945 | - sending LU Accept for MSISDN:46071 |
| 946 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 947 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: state_chg to LU_COMPL_VLR_S_DONE |
| 948 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 949 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 950 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 951 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 952 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 953 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 954 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 955 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 956 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 957 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 958 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 959 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 960 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 961 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 962 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 963 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 964 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 965 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 966 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 967 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 968 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 969 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 970 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 971 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 972 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 973 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 974 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 975 | - LU was successful, and the conn has already been closed |
| 976 | lu_result_sent == 1 |
| 977 | llist_count(&net->subscr_conns) == 0 |
| 978 | - Subscriber has the IMEI |
| 979 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 980 | strcmp(vsub->imei, "423423423423423") == 0 |
| 981 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 982 | --- |
| 983 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 984 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 985 | new conn |
| 986 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 987 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 988 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 989 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 990 | DMM IMSI DETACH for MSISDN:46071 |
| 991 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 992 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 993 | DREF freeing VLR subscr MSISDN:46071 |
| 994 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 995 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 996 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 997 | DRLL Freeing subscriber connection with NULL subscriber |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 998 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 999 | llist_count(&net->subscr_conns) == 0 |
| 1000 | ===== test_no_authen_imei: SUCCESS |
| 1001 | |
| 1002 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1003 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1004 | |
| 1005 | ===== test_no_authen_tmsi_imei |
| 1006 | - Location Update request causes a GSUP LU request to HLR |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1007 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1008 | new conn |
| 1009 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1010 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1011 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1012 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1013 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1014 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1015 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1016 | DMM LU/new-LAC: 1/0 |
| 1017 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1018 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1019 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1020 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1021 | DREF VLR subscr unknown usage increases to: 1 |
| 1022 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1023 | DVLR New subscr, IMSI: 901700000004620 |
| 1024 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1025 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1026 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1027 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 1028 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 1029 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 1030 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1031 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1032 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1033 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1034 | DVLR GSUP tx: 04010809710000004026f0 |
| 1035 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1036 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1037 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1038 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1039 | lu_result_sent == 0 |
| 1040 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1041 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1042 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1043 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1044 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1045 | DVLR GSUP tx: 12010809710000004026f0 |
| 1046 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1047 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1048 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1049 | lu_result_sent == 0 |
| 1050 | - having received subscriber data does not mean acceptance |
| 1051 | msc_subscr_conn_is_accepted() == false |
| 1052 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1053 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1054 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1055 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1056 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1057 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1058 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 1059 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 1060 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1061 | lu_result_sent == 0 |
| 1062 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1063 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1064 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1065 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1066 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1067 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1068 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1069 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1070 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1071 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1072 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1073 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1074 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1075 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1076 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1077 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1078 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1079 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1080 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1081 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1082 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1083 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1084 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1085 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1086 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1087 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1088 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1089 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1090 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1091 | - DTAP matches expected message |
| 1092 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1093 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1094 | - We will only do business when the IMEI is known |
| 1095 | llist_count(&net->subscr_conns) == 1 |
| 1096 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1097 | vsub->imei[0] == 0 |
| 1098 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1099 | msc_subscr_conn_is_accepted() == false |
| 1100 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1101 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1102 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1103 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1104 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1105 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1106 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 1107 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 1108 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1109 | - MS replies with an Identity Response |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1110 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1111 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1112 | DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1113 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1114 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1115 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1116 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1117 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: lu_compl_vlr_new_tmsi() |
| 1118 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 1119 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1120 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1121 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1122 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1123 | llist_count(&net->subscr_conns) == 1 |
| 1124 | lu_result_sent == 1 |
| 1125 | msc_subscr_conn_is_accepted() == false |
| 1126 | requests shall be thwarted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1127 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1128 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1129 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1130 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: unknown 0x33 |
| 1131 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1132 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
| 1133 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
| 1134 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1135 | - MS sends TMSI Realloc Complete |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1136 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1137 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1138 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1139 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 1140 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1141 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 1142 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1143 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1144 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1145 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1146 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1147 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1148 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1149 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1150 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1151 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1152 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1153 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1154 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1155 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1156 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1157 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1158 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1159 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1160 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1161 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1162 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1163 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1164 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1165 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1166 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1167 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1168 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1169 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1170 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1171 | - LU was successful, and the conn has already been closed |
| 1172 | lu_result_sent == 1 |
| 1173 | llist_count(&net->subscr_conns) == 0 |
| 1174 | - Subscriber has the IMEI and TMSI |
| 1175 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1176 | strcmp(vsub->imei, "423423423423423") == 0 |
| 1177 | vsub->tmsi == 0x03020100 |
| 1178 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1179 | --- |
| 1180 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1181 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1182 | new conn |
| 1183 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1184 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1185 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1186 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1187 | DMM IMSI DETACH for MSISDN:46071 |
| 1188 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1189 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1190 | DREF freeing VLR subscr MSISDN:46071 |
| 1191 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1192 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1193 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1194 | DRLL Freeing subscriber connection with NULL subscriber |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1195 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1196 | llist_count(&net->subscr_conns) == 0 |
| 1197 | ===== test_no_authen_tmsi_imei: SUCCESS |
| 1198 | |
| 1199 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1200 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1201 | |
| 1202 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 1203 | talloc_total_blocks(tall_bsc_ctx) == 9 |
| 1204 | |