Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 2 | talloc_total_blocks(tall_bsc_ctx) == 12 |
| 3 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 4 | ===== test_auth_use_twice_geran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 5 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 6 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 7 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 8 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 9 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 10 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 11 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 12 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 13 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 14 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 15 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 16 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=GERAN Auth (no Ciph) |
| 17 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 18 | DREF VLR subscr unknown usage increases to: 1 |
| 19 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 20 | DVLR New subscr, IMSI: 901700000010650 |
| 21 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 22 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 23 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 24 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 25 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 26 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 27 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 28 | DVLR GSUP tx: 08010809710000000156f0 |
| 29 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 30 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 31 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 32 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 33 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 34 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 35 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 36 | lu_result_sent == 0 |
| 37 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 38 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 39 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 40 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 41 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 42 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 43 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 44 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 45 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 46 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 47 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 48 | - ...expecting res=e229c19e791f2e41 |
| 49 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 50 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 51 | auth_request_sent == 1 |
| 52 | lu_result_sent == 0 |
| 53 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 54 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 55 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 56 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 57 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 58 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 59 | DVLR SUBSCR(IMSI:901700000010650) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 60 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 61 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 62 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 63 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 64 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 65 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 66 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 67 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 68 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 69 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 70 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 71 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 72 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 73 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 74 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 75 | DVLR GSUP tx: 04010809710000000156f0 |
| 76 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 77 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 78 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 79 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 80 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 81 | gsup_tx_confirmed == 1 |
| 82 | lu_result_sent == 0 |
| 83 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 84 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 85 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 86 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 87 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 88 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 89 | DVLR GSUP tx: 12010809710000000156f0 |
| 90 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 91 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 92 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 93 | lu_result_sent == 0 |
| 94 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 95 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 96 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 97 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 98 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 99 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 100 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 101 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 102 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 103 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 104 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 105 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 106 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 107 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 108 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 109 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 110 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 111 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 112 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 113 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 114 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 115 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 116 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 117 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 118 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 119 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 120 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 121 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 122 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 123 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 124 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 125 | lu_result_sent == 1 |
| 126 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 127 | llist_count(&net->subscr_conns) == 1 |
| 128 | msc_subscr_conn_is_accepted() == false |
| 129 | requests shall be thwarted |
| 130 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 131 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 132 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 133 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 134 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 135 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 136 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 137 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 138 | - even though the TMSI is not acked, we can already find the subscr with it |
| 139 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 140 | vsub != NULL == 1 |
| 141 | strcmp(vsub->imsi, imsi) == 0 |
| 142 | vsub->tmsi_new == 0x03020100 |
| 143 | vsub->tmsi == 0xffffffff |
| 144 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 145 | - MS sends TMSI Realloc Complete |
| 146 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 147 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 148 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 149 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 150 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 151 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 152 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 153 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 154 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 155 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 156 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 157 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 158 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 159 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 160 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 161 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 162 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 163 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 164 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 165 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 166 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 167 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 168 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 169 | bssap_clear_sent == 1 |
| 170 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 171 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 172 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 173 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 174 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 175 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 176 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 177 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 178 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 179 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 180 | DRLL MSISDN:42342: Freeing subscriber connection |
| 181 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 182 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 183 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 184 | - LU was successful, and the conn has already been closed |
| 185 | llist_count(&net->subscr_conns) == 0 |
| 186 | --- |
| 187 | - Now the auth tuple has use_count == 1 |
| 188 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 189 | vsub->last_tuple->use_count == 1 |
| 190 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 191 | --- |
| 192 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 193 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 194 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 195 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 196 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 197 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 198 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 199 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 200 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 201 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 202 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 203 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 204 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 205 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 206 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 207 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 208 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 209 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 210 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 211 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 212 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=2 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 213 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=2 key_seq=0 auth_types=0x3 and... |
| 214 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 215 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 216 | - ...expecting res=e229c19e791f2e41 |
| 217 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 218 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 219 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 220 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 221 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 222 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 223 | cm_service_result_sent == 0 |
| 224 | auth_request_sent == 1 |
| 225 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 226 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 227 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 228 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 229 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 230 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 231 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 232 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 233 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 234 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 235 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 236 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 237 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 238 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 239 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 240 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 241 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 242 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 243 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 244 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 245 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 246 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 247 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 248 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 249 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 250 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 251 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 252 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 253 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 254 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 255 | cm_service_result_sent == 1 |
| 256 | - a USSD request is serviced |
| 257 | expecting USSD: |
| 258 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 259 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 260 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 261 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 262 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 263 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 264 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 265 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 266 | DMM USSD: Own number requested |
| 267 | DMM MSISDN:42342: MSISDN = 42342 |
| 268 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 269 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 270 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 271 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 272 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 273 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 274 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 275 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 276 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 277 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 278 | bssap_clear_sent == 1 |
| 279 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 280 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 281 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 282 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 283 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 284 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 285 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 286 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 287 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 288 | DRLL MSISDN:42342: Freeing subscriber connection |
| 289 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 290 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 291 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 292 | - all requests serviced, conn has been released |
| 293 | llist_count(&net->subscr_conns) == 0 |
| 294 | --- |
| 295 | - Now the auth tuple has use_count == 2, as much as is allowed. |
| 296 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 297 | vsub->last_tuple->use_count == 2 |
| 298 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 299 | --- |
| 300 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR |
| 301 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 302 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 303 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 304 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 305 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 306 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 307 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 308 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 309 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 310 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 311 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 312 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 313 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 314 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 315 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 316 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 317 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 318 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 319 | DVLR GSUP tx: 08010809710000000156f0 |
| 320 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 321 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 322 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 323 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 324 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 325 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 326 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 327 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 328 | cm_service_result_sent == 0 |
| 329 | auth_request_sent == 0 |
| 330 | gsup_tx_confirmed == 1 |
| 331 | - from HLR, rx _SEND_AUTH_INFO_RESULT, second tuple; VLR sends Auth Req to MS |
| 332 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 333 | DVLR GSUP rx 111: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 334 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 335 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 336 | DVLR SUBSCR(MSISDN:42342) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 337 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 338 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 339 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 340 | - ...rand=c187a53a5e6b9d573cac7c74451fd46d |
| 341 | - ...autn=1843a645b98d00005b2d666af46c45d9 |
| 342 | - ...expecting res=7db47cf7f81e4dc7 |
| 343 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 344 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 345 | auth_request_sent == 1 |
| 346 | cm_service_result_sent == 0 |
| 347 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 348 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 349 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 350 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 351 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 352 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 353 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: 7db47cf7f81e4dc7 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 354 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 355 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 356 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 357 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 358 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 359 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 360 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 361 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 362 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 363 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 364 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 365 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 366 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 367 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 368 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 369 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 370 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 371 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 372 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 373 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 374 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 375 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 376 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 377 | cm_service_result_sent == 1 |
| 378 | - a USSD request is serviced |
| 379 | expecting USSD: |
| 380 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 381 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 382 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 383 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 384 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 385 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 386 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 387 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 388 | DMM USSD: Own number requested |
| 389 | DMM MSISDN:42342: MSISDN = 42342 |
| 390 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 391 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 392 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 393 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 394 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 395 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 396 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 397 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 398 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 399 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 400 | bssap_clear_sent == 1 |
| 401 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 402 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 403 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 404 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 405 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 406 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 407 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 408 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 409 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 410 | DRLL MSISDN:42342: Freeing subscriber connection |
| 411 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 412 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 413 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 414 | - all requests serviced, conn has been released |
| 415 | llist_count(&net->subscr_conns) == 0 |
| 416 | --- |
| 417 | - subscriber detaches |
| 418 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 419 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 420 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 421 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 422 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 423 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 424 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 425 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 426 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 427 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 428 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 429 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 430 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 431 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 432 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 433 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 434 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 435 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 436 | bssap_clear_sent == 1 |
| 437 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 438 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 439 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 440 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 441 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 442 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 443 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 444 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 445 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 446 | ===== test_auth_use_twice_geran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 447 | |
| 448 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 449 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 450 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 451 | ===== test_auth_use_twice_utran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 452 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 453 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 454 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 455 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 456 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 457 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 458 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 459 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 460 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 461 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 462 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 463 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=UTRAN Auth+Ciph |
| 464 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 465 | DREF VLR subscr unknown usage increases to: 1 |
| 466 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 467 | DVLR New subscr, IMSI: 901700000010650 |
| 468 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 469 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 470 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 471 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 472 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 473 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 474 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 475 | DVLR GSUP tx: 08010809710000000156f0 |
| 476 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 477 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 478 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 479 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 480 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 481 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 482 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 483 | lu_result_sent == 0 |
| 484 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 485 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 486 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 487 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 488 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 489 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 490 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 491 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 492 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 493 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 494 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 495 | - ...expecting res=e229c19e791f2e41 |
| 496 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 497 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 498 | auth_request_sent == 1 |
| 499 | lu_result_sent == 0 |
| 500 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 501 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 502 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 503 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 504 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 505 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 506 | DVLR SUBSCR(IMSI:901700000010650) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 507 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 508 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 509 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 510 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 511 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 512 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 513 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 514 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 515 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 516 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 517 | DMM -> SECURITY MODE CONTROL IMSI:901700000010650 |
| 518 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 519 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 520 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 521 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 522 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 523 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 524 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 525 | lu_result_sent == 0 |
| 526 | - MS sends SecurityModeControl acceptance, VLR accepts and sends GSUP LU Req to HLR |
| 527 | DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 528 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 529 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 530 | DIUCS IMSI:901700000010650: tx CommonID 901700000010650 |
| 531 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 532 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 533 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 534 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 535 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 536 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 537 | DVLR GSUP tx: 04010809710000000156f0 |
| 538 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 539 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 540 | gsup_tx_confirmed == 1 |
| 541 | lu_result_sent == 0 |
| 542 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 543 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 544 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 545 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 546 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 547 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 548 | DVLR GSUP tx: 12010809710000000156f0 |
| 549 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 550 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 551 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 552 | lu_result_sent == 0 |
| 553 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 554 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 555 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 556 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 557 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 558 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 559 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 560 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 561 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 562 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 563 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 564 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 565 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 566 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 567 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 568 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 569 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 570 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 571 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 572 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 573 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 574 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 575 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 576 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 577 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 578 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 579 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 580 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 581 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 582 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 583 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 584 | lu_result_sent == 1 |
| 585 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 586 | llist_count(&net->subscr_conns) == 1 |
| 587 | msc_subscr_conn_is_accepted() == false |
| 588 | requests shall be thwarted |
| 589 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 590 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 591 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 592 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 593 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 594 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 595 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 596 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 597 | - even though the TMSI is not acked, we can already find the subscr with it |
| 598 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 599 | vsub != NULL == 1 |
| 600 | strcmp(vsub->imsi, imsi) == 0 |
| 601 | vsub->tmsi_new == 0x03020100 |
| 602 | vsub->tmsi == 0xffffffff |
| 603 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 604 | - MS sends TMSI Realloc Complete |
| 605 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 606 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 607 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 608 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 609 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 610 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 611 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 612 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 613 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 614 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 615 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 616 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 617 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 618 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 619 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 620 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 621 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 622 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 623 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 624 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 625 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 626 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 627 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 628 | iu_release_sent == 1 |
| 629 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 630 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 631 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 632 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 633 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 634 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 635 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 636 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 637 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 638 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 639 | DRLL MSISDN:42342: Freeing subscriber connection |
| 640 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 641 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 642 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 643 | - LU was successful, and the conn has already been closed |
| 644 | llist_count(&net->subscr_conns) == 0 |
| 645 | --- |
| 646 | - Now the auth tuple has use_count == 1 |
| 647 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 648 | vsub->last_tuple->use_count == 1 |
| 649 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 650 | --- |
| 651 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 652 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 653 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 654 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 655 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 656 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 657 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 658 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 659 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 660 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 661 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 662 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 663 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 664 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 665 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 666 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 667 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 668 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 669 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 670 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 671 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=2 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 672 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=2 key_seq=0 auth_types=0x3 and... |
| 673 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 674 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 675 | - ...expecting res=e229c19e791f2e41 |
| 676 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 677 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 678 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 679 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 680 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 681 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 682 | cm_service_result_sent == 0 |
| 683 | auth_request_sent == 1 |
| 684 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 685 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 686 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 687 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 688 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 689 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 690 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 691 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 692 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 693 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 694 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 695 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 696 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 697 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 698 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 699 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 700 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 701 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 702 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 703 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 704 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 705 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 706 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 707 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 708 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 709 | cm_service_result_sent == 0 |
| 710 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 711 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 712 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 713 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 714 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 715 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 716 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 717 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 718 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 719 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 720 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 721 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 722 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 723 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 724 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 725 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 726 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 727 | cm_service_result_sent == 0 |
| 728 | - a USSD request is serviced |
| 729 | expecting USSD: |
| 730 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 731 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 732 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 733 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 734 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 735 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 736 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 737 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 738 | DMM USSD: Own number requested |
| 739 | DMM MSISDN:42342: MSISDN = 42342 |
| 740 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 741 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 742 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 743 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 744 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 745 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 746 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 747 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 748 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 749 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 750 | iu_release_sent == 1 |
| 751 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 752 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 753 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 754 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 755 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 756 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 757 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 758 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 759 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 760 | DRLL MSISDN:42342: Freeing subscriber connection |
| 761 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 762 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 763 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 764 | - all requests serviced, conn has been released |
| 765 | llist_count(&net->subscr_conns) == 0 |
| 766 | --- |
| 767 | - Now the auth tuple has use_count == 2, as much as is allowed. |
| 768 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 769 | vsub->last_tuple->use_count == 2 |
| 770 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 771 | --- |
| 772 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR |
| 773 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 774 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 775 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 776 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 777 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 778 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 779 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 780 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 781 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 782 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 783 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 784 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 785 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 786 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 787 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 788 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 789 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 790 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 791 | DVLR GSUP tx: 08010809710000000156f0 |
| 792 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 793 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 794 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 795 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 796 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 797 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 798 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 799 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 800 | cm_service_result_sent == 0 |
| 801 | auth_request_sent == 0 |
| 802 | gsup_tx_confirmed == 1 |
| 803 | - from HLR, rx _SEND_AUTH_INFO_RESULT, second tuple; VLR sends Auth Req to MS |
| 804 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 805 | DVLR GSUP rx 111: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 806 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 807 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 808 | DVLR SUBSCR(MSISDN:42342) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 809 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 810 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 811 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 812 | - ...rand=c187a53a5e6b9d573cac7c74451fd46d |
| 813 | - ...autn=1843a645b98d00005b2d666af46c45d9 |
| 814 | - ...expecting res=7db47cf7f81e4dc7 |
| 815 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 816 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 817 | auth_request_sent == 1 |
| 818 | cm_service_result_sent == 0 |
| 819 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 820 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 821 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 822 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 823 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 824 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 825 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: 7db47cf7f81e4dc7 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 826 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 827 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 828 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 829 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 830 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 831 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 832 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 833 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 834 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 835 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 836 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 837 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 838 | - ...ik=1159ec926a50e98c034a6b7d7c9f418d |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 839 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 840 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 841 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 842 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 843 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 844 | cm_service_result_sent == 0 |
| 845 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 846 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 847 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 848 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 849 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 850 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 851 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 852 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 853 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 854 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 855 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 856 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 857 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 858 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 859 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 860 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 861 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 862 | cm_service_result_sent == 0 |
| 863 | - a USSD request is serviced |
| 864 | expecting USSD: |
| 865 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 866 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 867 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 868 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 869 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 870 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 871 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 872 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 873 | DMM USSD: Own number requested |
| 874 | DMM MSISDN:42342: MSISDN = 42342 |
| 875 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 876 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 877 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 878 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 879 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 880 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 881 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 882 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 883 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 884 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 885 | iu_release_sent == 1 |
| 886 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 887 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 888 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 889 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 890 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 891 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 892 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 893 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 894 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 895 | DRLL MSISDN:42342: Freeing subscriber connection |
| 896 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 897 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 898 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 899 | - all requests serviced, conn has been released |
| 900 | llist_count(&net->subscr_conns) == 0 |
| 901 | --- |
| 902 | - subscriber detaches |
| 903 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 904 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 905 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 906 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 907 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 908 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 909 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 910 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 911 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 912 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 913 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 914 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 915 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 916 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 917 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 918 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 919 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 920 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 921 | iu_release_sent == 1 |
| 922 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 923 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 924 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 925 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 926 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 927 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 928 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 929 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 930 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 931 | ===== test_auth_use_twice_utran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 932 | |
| 933 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 934 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 935 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 936 | ===== test_auth_use_infinitely_geran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 937 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 938 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 939 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 940 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 941 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 942 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 943 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 944 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 945 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 946 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 947 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 948 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=GERAN Auth (no Ciph) |
| 949 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 950 | DREF VLR subscr unknown usage increases to: 1 |
| 951 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 952 | DVLR New subscr, IMSI: 901700000010650 |
| 953 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 954 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 955 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 956 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 957 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 958 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 959 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 960 | DVLR GSUP tx: 08010809710000000156f0 |
| 961 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 962 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 963 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 964 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 965 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 966 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 967 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 968 | lu_result_sent == 0 |
| 969 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 970 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 971 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 972 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 973 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 974 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 975 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 976 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 977 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 978 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 979 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 980 | - ...expecting res=e229c19e791f2e41 |
| 981 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 982 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 983 | auth_request_sent == 1 |
| 984 | lu_result_sent == 0 |
| 985 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 986 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 987 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 988 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 989 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 990 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 991 | DVLR SUBSCR(IMSI:901700000010650) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 992 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 993 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 994 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 995 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 996 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 997 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 998 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 999 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1000 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1001 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 1002 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 1003 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1004 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 1005 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 1006 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1007 | DVLR GSUP tx: 04010809710000000156f0 |
| 1008 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1009 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1010 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1011 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1012 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1013 | gsup_tx_confirmed == 1 |
| 1014 | lu_result_sent == 0 |
| 1015 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1016 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 1017 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 1018 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 1019 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1020 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1021 | DVLR GSUP tx: 12010809710000000156f0 |
| 1022 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 1023 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1024 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1025 | lu_result_sent == 0 |
| 1026 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1027 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 1028 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 1029 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1030 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1031 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1032 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1033 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1034 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 1035 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1036 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1037 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1038 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1039 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 1040 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 1041 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1042 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1043 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 1044 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 1045 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1046 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1047 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1048 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 1049 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1050 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1051 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1052 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 1053 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1054 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 1055 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1056 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1057 | lu_result_sent == 1 |
| 1058 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1059 | llist_count(&net->subscr_conns) == 1 |
| 1060 | msc_subscr_conn_is_accepted() == false |
| 1061 | requests shall be thwarted |
| 1062 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1063 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1064 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1065 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 1066 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1067 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1068 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1069 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1070 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1071 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1072 | vsub != NULL == 1 |
| 1073 | strcmp(vsub->imsi, imsi) == 0 |
| 1074 | vsub->tmsi_new == 0x03020100 |
| 1075 | vsub->tmsi == 0xffffffff |
| 1076 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1077 | - MS sends TMSI Realloc Complete |
| 1078 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1079 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1080 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 1081 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1082 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1083 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1084 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1085 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1086 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1087 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1088 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 1089 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1090 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1091 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1092 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1093 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1094 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1095 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1096 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1097 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1098 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1099 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1100 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1101 | bssap_clear_sent == 1 |
| 1102 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1103 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1104 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1105 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1106 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1107 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1108 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 1109 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1110 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 1111 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1112 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1113 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1114 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1115 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1116 | - LU was successful, and the conn has already been closed |
| 1117 | llist_count(&net->subscr_conns) == 0 |
| 1118 | --- |
| 1119 | - Now the auth tuple has use_count == 1 |
| 1120 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1121 | vsub->last_tuple->use_count == 1 |
| 1122 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1123 | --- |
| 1124 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1125 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1126 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1127 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1128 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1129 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1130 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1131 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1132 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1133 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1134 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 1135 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1136 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1137 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1138 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1139 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1140 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1141 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1142 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1143 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1144 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=2 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1145 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=2 key_seq=0 auth_types=0x3 and... |
| 1146 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1147 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1148 | - ...expecting res=e229c19e791f2e41 |
| 1149 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1150 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1151 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1152 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1153 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1154 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1155 | cm_service_result_sent == 0 |
| 1156 | auth_request_sent == 1 |
| 1157 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 1158 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1159 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1160 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1161 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1162 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1163 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1164 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1165 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1166 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1167 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1168 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1169 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1170 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1171 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1172 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1173 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 1174 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 1175 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 1176 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 1177 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1178 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1179 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1180 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1181 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1182 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1183 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1184 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1185 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1186 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1187 | cm_service_result_sent == 1 |
| 1188 | - a USSD request is serviced |
| 1189 | expecting USSD: |
| 1190 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1191 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1192 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1193 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 1194 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1195 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1196 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1197 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1198 | DMM USSD: Own number requested |
| 1199 | DMM MSISDN:42342: MSISDN = 42342 |
| 1200 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1201 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1202 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1203 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1204 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1205 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1206 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1207 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1208 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1209 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1210 | bssap_clear_sent == 1 |
| 1211 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1212 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1213 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1214 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1215 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1216 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1217 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1218 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1219 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1220 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1221 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1222 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1223 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1224 | - all requests serviced, conn has been released |
| 1225 | llist_count(&net->subscr_conns) == 0 |
| 1226 | --- |
| 1227 | - Now the auth tuple has use_count == 2 |
| 1228 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1229 | vsub->last_tuple->use_count == 2 |
| 1230 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1231 | --- |
| 1232 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1233 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1234 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1235 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1236 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1237 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1238 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1239 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1240 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1241 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1242 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 1243 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1244 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1245 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1246 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1247 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1248 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1249 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1250 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1251 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1252 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=3 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1253 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=3 key_seq=0 auth_types=0x3 and... |
| 1254 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1255 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1256 | - ...expecting res=e229c19e791f2e41 |
| 1257 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1258 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1259 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1260 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1261 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1262 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1263 | cm_service_result_sent == 0 |
| 1264 | auth_request_sent == 1 |
| 1265 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 1266 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1267 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1268 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1269 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1270 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1271 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1272 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1273 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1274 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1275 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1276 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1277 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1278 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1279 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1280 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1281 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 1282 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 1283 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 1284 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 1285 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1286 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1287 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1288 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1289 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1290 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1291 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1292 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1293 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1294 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1295 | cm_service_result_sent == 1 |
| 1296 | - a USSD request is serviced |
| 1297 | expecting USSD: |
| 1298 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1299 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1300 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1301 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 1302 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1303 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1304 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1305 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1306 | DMM USSD: Own number requested |
| 1307 | DMM MSISDN:42342: MSISDN = 42342 |
| 1308 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1309 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1310 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1311 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1312 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1313 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1314 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1315 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1316 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1317 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1318 | bssap_clear_sent == 1 |
| 1319 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1320 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1321 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1322 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1323 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1324 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1325 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1326 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1327 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1328 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1329 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1330 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1331 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1332 | - all requests serviced, conn has been released |
| 1333 | llist_count(&net->subscr_conns) == 0 |
| 1334 | --- |
| 1335 | - Now the auth tuple has use_count == 3 |
| 1336 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1337 | vsub->last_tuple->use_count == 3 |
| 1338 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1339 | --- |
| 1340 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1341 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1342 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1343 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1344 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1345 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1346 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1347 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1348 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1349 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1350 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 1351 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1352 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1353 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1354 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1355 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1356 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1357 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1358 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1359 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1360 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=4 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1361 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=4 key_seq=0 auth_types=0x3 and... |
| 1362 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1363 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1364 | - ...expecting res=e229c19e791f2e41 |
| 1365 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1366 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1367 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1368 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1369 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1370 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1371 | cm_service_result_sent == 0 |
| 1372 | auth_request_sent == 1 |
| 1373 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 1374 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1375 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1376 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1377 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1378 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1379 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1380 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1381 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1382 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1383 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1384 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1385 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1386 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1387 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1388 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1389 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 1390 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 1391 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 1392 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 1393 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1394 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1395 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1396 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1397 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1398 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1399 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1400 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1401 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1402 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1403 | cm_service_result_sent == 1 |
| 1404 | - a USSD request is serviced |
| 1405 | expecting USSD: |
| 1406 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1407 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1408 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1409 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 1410 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1411 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1412 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1413 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1414 | DMM USSD: Own number requested |
| 1415 | DMM MSISDN:42342: MSISDN = 42342 |
| 1416 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1417 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1418 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1419 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1420 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1421 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1422 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1423 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1424 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1425 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1426 | bssap_clear_sent == 1 |
| 1427 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1428 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1429 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1430 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1431 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1432 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1433 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1434 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1435 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1436 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1437 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1438 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1439 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1440 | - all requests serviced, conn has been released |
| 1441 | llist_count(&net->subscr_conns) == 0 |
| 1442 | --- |
| 1443 | - subscriber detaches |
| 1444 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 1445 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1446 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1447 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1448 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 1449 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 1450 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1451 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1452 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1453 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1454 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1455 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 1456 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1457 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1458 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1459 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1460 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1461 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1462 | bssap_clear_sent == 1 |
| 1463 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1464 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1465 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1466 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1467 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1468 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1469 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1470 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1471 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1472 | ===== test_auth_use_infinitely_geran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1473 | |
| 1474 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 1475 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1476 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 1477 | ===== test_auth_use_infinitely_utran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1478 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1479 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 1480 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1481 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1482 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1483 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1484 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1485 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 1486 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1487 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 1488 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 1489 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=UTRAN Auth+Ciph |
| 1490 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1491 | DREF VLR subscr unknown usage increases to: 1 |
| 1492 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 1493 | DVLR New subscr, IMSI: 901700000010650 |
| 1494 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 1495 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1496 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1497 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1498 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1499 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 1500 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1501 | DVLR GSUP tx: 08010809710000000156f0 |
| 1502 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1503 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 1504 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1505 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1506 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1507 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1508 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1509 | lu_result_sent == 0 |
| 1510 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 1511 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 1512 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 1513 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1514 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1515 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1516 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1517 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1518 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 1519 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1520 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1521 | - ...expecting res=e229c19e791f2e41 |
| 1522 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 1523 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1524 | auth_request_sent == 1 |
| 1525 | lu_result_sent == 0 |
| 1526 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 1527 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1528 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1529 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1530 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1531 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1532 | DVLR SUBSCR(IMSI:901700000010650) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1533 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1534 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1535 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1536 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1537 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 1538 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1539 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1540 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1541 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1542 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 1543 | DMM -> SECURITY MODE CONTROL IMSI:901700000010650 |
| 1544 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 1545 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1546 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1547 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1548 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1549 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 1550 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1551 | lu_result_sent == 0 |
| 1552 | - MS sends SecurityModeControl acceptance, VLR accepts and sends GSUP LU Req to HLR |
| 1553 | DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1554 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 1555 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1556 | DIUCS IMSI:901700000010650: tx CommonID 901700000010650 |
| 1557 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1558 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 1559 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1560 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 1561 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 1562 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1563 | DVLR GSUP tx: 04010809710000000156f0 |
| 1564 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1565 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1566 | gsup_tx_confirmed == 1 |
| 1567 | lu_result_sent == 0 |
| 1568 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1569 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 1570 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 1571 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 1572 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 1573 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1574 | DVLR GSUP tx: 12010809710000000156f0 |
| 1575 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 1576 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1577 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1578 | lu_result_sent == 0 |
| 1579 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1580 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 1581 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 1582 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1583 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1584 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1585 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1586 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1587 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 1588 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1589 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1590 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1591 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1592 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 1593 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 1594 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1595 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1596 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 1597 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 1598 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1599 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1600 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1601 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 1602 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1603 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1604 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1605 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 1606 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1607 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 1608 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1609 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1610 | lu_result_sent == 1 |
| 1611 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1612 | llist_count(&net->subscr_conns) == 1 |
| 1613 | msc_subscr_conn_is_accepted() == false |
| 1614 | requests shall be thwarted |
| 1615 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 1616 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 1617 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 1618 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 1619 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 1620 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1621 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 1622 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1623 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1624 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1625 | vsub != NULL == 1 |
| 1626 | strcmp(vsub->imsi, imsi) == 0 |
| 1627 | vsub->tmsi_new == 0x03020100 |
| 1628 | vsub->tmsi == 0xffffffff |
| 1629 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1630 | - MS sends TMSI Realloc Complete |
| 1631 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1632 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1633 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 1634 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1635 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1636 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1637 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1638 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1639 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1640 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1641 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 1642 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1643 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1644 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 1645 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1646 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1647 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 1648 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1649 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1650 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1651 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1652 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1653 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1654 | iu_release_sent == 1 |
| 1655 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1656 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1657 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1658 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1659 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1660 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1661 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 1662 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1663 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 1664 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1665 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1666 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1667 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1668 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1669 | - LU was successful, and the conn has already been closed |
| 1670 | llist_count(&net->subscr_conns) == 0 |
| 1671 | --- |
| 1672 | - Now the auth tuple has use_count == 1 |
| 1673 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1674 | vsub->last_tuple->use_count == 1 |
| 1675 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1676 | --- |
| 1677 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1678 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1679 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1680 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1681 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1682 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1683 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1684 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1685 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1686 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1687 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 1688 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1689 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1690 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1691 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1692 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1693 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1694 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1695 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1696 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1697 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=2 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1698 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=2 key_seq=0 auth_types=0x3 and... |
| 1699 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1700 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1701 | - ...expecting res=e229c19e791f2e41 |
| 1702 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1703 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1704 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1705 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1706 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1707 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1708 | cm_service_result_sent == 0 |
| 1709 | auth_request_sent == 1 |
| 1710 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 1711 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1712 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1713 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1714 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1715 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1716 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1717 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1718 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1719 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1720 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1721 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1722 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1723 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1724 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1725 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1726 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 1727 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 1728 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 1729 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1730 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1731 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1732 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1733 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 1734 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1735 | cm_service_result_sent == 0 |
| 1736 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 1737 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1738 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 1739 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1740 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 1741 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1742 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 1743 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 1744 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 1745 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1746 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1747 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1748 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1749 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1750 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1751 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1752 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1753 | cm_service_result_sent == 0 |
| 1754 | - a USSD request is serviced |
| 1755 | expecting USSD: |
| 1756 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1757 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1758 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1759 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 1760 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1761 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1762 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1763 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1764 | DMM USSD: Own number requested |
| 1765 | DMM MSISDN:42342: MSISDN = 42342 |
| 1766 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1767 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1768 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1769 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1770 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1771 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1772 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1773 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1774 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1775 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1776 | iu_release_sent == 1 |
| 1777 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1778 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1779 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1780 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1781 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1782 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1783 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1784 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1785 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1786 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1787 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1788 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1789 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1790 | - all requests serviced, conn has been released |
| 1791 | llist_count(&net->subscr_conns) == 0 |
| 1792 | --- |
| 1793 | - Now the auth tuple has use_count == 2 |
| 1794 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1795 | vsub->last_tuple->use_count == 2 |
| 1796 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1797 | --- |
| 1798 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1799 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1800 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1801 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1802 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1803 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1804 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1805 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1806 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1807 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1808 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 1809 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1810 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1811 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1812 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1813 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1814 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1815 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1816 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1817 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1818 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=3 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1819 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=3 key_seq=0 auth_types=0x3 and... |
| 1820 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1821 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1822 | - ...expecting res=e229c19e791f2e41 |
| 1823 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1824 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1825 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1826 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1827 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1828 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1829 | cm_service_result_sent == 0 |
| 1830 | auth_request_sent == 1 |
| 1831 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 1832 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1833 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1834 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1835 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1836 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1837 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1838 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1839 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1840 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1841 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1842 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1843 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1844 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1845 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1846 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1847 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 1848 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 1849 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 1850 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1851 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1852 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1853 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1854 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 1855 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1856 | cm_service_result_sent == 0 |
| 1857 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 1858 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1859 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 1860 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1861 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 1862 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1863 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 1864 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 1865 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 1866 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1867 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1868 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1869 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1870 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1871 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1872 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1873 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1874 | cm_service_result_sent == 0 |
| 1875 | - a USSD request is serviced |
| 1876 | expecting USSD: |
| 1877 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1878 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1879 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1880 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 1881 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1882 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1883 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1884 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1885 | DMM USSD: Own number requested |
| 1886 | DMM MSISDN:42342: MSISDN = 42342 |
| 1887 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1888 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1889 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1890 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1891 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1892 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1893 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1894 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1895 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1896 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 1897 | iu_release_sent == 1 |
| 1898 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1899 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1900 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 1901 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1902 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1903 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1904 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1905 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1906 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1907 | DRLL MSISDN:42342: Freeing subscriber connection |
| 1908 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1909 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1910 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1911 | - all requests serviced, conn has been released |
| 1912 | llist_count(&net->subscr_conns) == 0 |
| 1913 | --- |
| 1914 | - Now the auth tuple has use_count == 3 |
| 1915 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1916 | vsub->last_tuple->use_count == 3 |
| 1917 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1918 | --- |
| 1919 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector |
| 1920 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 1921 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 1922 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1923 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1924 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 1925 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1926 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 1927 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1928 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 1929 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 1930 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1931 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1932 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1933 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1934 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1935 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1936 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1937 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1938 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1939 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=4 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1940 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=4 key_seq=0 auth_types=0x3 and... |
| 1941 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1942 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 1943 | - ...expecting res=e229c19e791f2e41 |
| 1944 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1945 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 1946 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1947 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1948 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1949 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1950 | cm_service_result_sent == 0 |
| 1951 | auth_request_sent == 1 |
| 1952 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 1953 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1954 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1955 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 1956 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1957 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 1958 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1959 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1960 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1961 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1962 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1963 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 1964 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1965 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1966 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1967 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1968 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 1969 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 1970 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 1971 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1972 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1973 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1974 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 1975 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 1976 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1977 | cm_service_result_sent == 0 |
| 1978 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 1979 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1980 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 1981 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1982 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 1983 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1984 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 1985 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 1986 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 1987 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1988 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1989 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 1990 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1991 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 1992 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 1993 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1994 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 1995 | cm_service_result_sent == 0 |
| 1996 | - a USSD request is serviced |
| 1997 | expecting USSD: |
| 1998 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 1999 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2000 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2001 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 2002 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2003 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2004 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 2005 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2006 | DMM USSD: Own number requested |
| 2007 | DMM MSISDN:42342: MSISDN = 42342 |
| 2008 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2009 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2010 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2011 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2012 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2013 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2014 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2015 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2016 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2017 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2018 | iu_release_sent == 1 |
| 2019 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2020 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2021 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2022 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2023 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2024 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2025 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 2026 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 2027 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2028 | DRLL MSISDN:42342: Freeing subscriber connection |
| 2029 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2030 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2031 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2032 | - all requests serviced, conn has been released |
| 2033 | llist_count(&net->subscr_conns) == 0 |
| 2034 | --- |
| 2035 | - subscriber detaches |
| 2036 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 2037 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2038 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2039 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2040 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 2041 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 2042 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2043 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2044 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2045 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2046 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2047 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 2048 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2049 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2050 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2051 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2052 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2053 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2054 | iu_release_sent == 1 |
| 2055 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2056 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2057 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2058 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2059 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2060 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2061 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2062 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2063 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2064 | ===== test_auth_use_infinitely_utran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2065 | |
| 2066 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2067 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2068 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2069 | ===== test_no_auth_reuse_geran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2070 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 2071 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 2072 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2073 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2074 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2075 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2076 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2077 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 2078 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2079 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 2080 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 2081 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=GERAN Auth (no Ciph) |
| 2082 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2083 | DREF VLR subscr unknown usage increases to: 1 |
| 2084 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 2085 | DVLR New subscr, IMSI: 901700000010650 |
| 2086 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 2087 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2088 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 2089 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 2090 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 2091 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2092 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2093 | DVLR GSUP tx: 08010809710000000156f0 |
| 2094 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2095 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 2096 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 2097 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2098 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2099 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2100 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2101 | lu_result_sent == 0 |
| 2102 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 2103 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 2104 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 2105 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2106 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2107 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2108 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 2109 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2110 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 2111 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 2112 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 2113 | - ...expecting res=e229c19e791f2e41 |
| 2114 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 2115 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2116 | auth_request_sent == 1 |
| 2117 | lu_result_sent == 0 |
| 2118 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 2119 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2120 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2121 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 2122 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2123 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 2124 | DVLR SUBSCR(IMSI:901700000010650) AUTH on GERAN received SRES/RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2125 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2126 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2127 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 2128 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2129 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2130 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 2131 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 2132 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 2133 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 2134 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 2135 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 2136 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 2137 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 2138 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2139 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2140 | DVLR GSUP tx: 04010809710000000156f0 |
| 2141 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2142 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2143 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2144 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2145 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2146 | gsup_tx_confirmed == 1 |
| 2147 | lu_result_sent == 0 |
| 2148 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 2149 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 2150 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 2151 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 2152 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 2153 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2154 | DVLR GSUP tx: 12010809710000000156f0 |
| 2155 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 2156 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2157 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 2158 | lu_result_sent == 0 |
| 2159 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 2160 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 2161 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 2162 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2163 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 2164 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 2165 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 2166 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2167 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2168 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 2169 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 2170 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 2171 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 2172 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 2173 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2174 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 2175 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 2176 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 2177 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 2178 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 2179 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 2180 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2181 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 2182 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 2183 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 2184 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 2185 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 2186 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2187 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 2188 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2189 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2190 | lu_result_sent == 1 |
| 2191 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 2192 | llist_count(&net->subscr_conns) == 1 |
| 2193 | msc_subscr_conn_is_accepted() == false |
| 2194 | requests shall be thwarted |
| 2195 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 2196 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 2197 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 2198 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 2199 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 2200 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2201 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 2202 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2203 | - even though the TMSI is not acked, we can already find the subscr with it |
| 2204 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2205 | vsub != NULL == 1 |
| 2206 | strcmp(vsub->imsi, imsi) == 0 |
| 2207 | vsub->tmsi_new == 0x03020100 |
| 2208 | vsub->tmsi == 0xffffffff |
| 2209 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2210 | - MS sends TMSI Realloc Complete |
| 2211 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2212 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2213 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 2214 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2215 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 2216 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2217 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2218 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 2219 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 2220 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2221 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2222 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 2223 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 2224 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 2225 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 2226 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 2227 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 2228 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2229 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2230 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2231 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2232 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2233 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2234 | bssap_clear_sent == 1 |
| 2235 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2236 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2237 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2238 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2239 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2240 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2241 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 2242 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 2243 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 2244 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2245 | DRLL MSISDN:42342: Freeing subscriber connection |
| 2246 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2247 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2248 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2249 | - LU was successful, and the conn has already been closed |
| 2250 | llist_count(&net->subscr_conns) == 0 |
| 2251 | --- |
| 2252 | - Now the auth tuple has use_count == 1, as much as is allowed. |
| 2253 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2254 | vsub->last_tuple->use_count == 1 |
| 2255 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2256 | --- |
| 2257 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR |
| 2258 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 2259 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2260 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2261 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2262 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 2263 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2264 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 2265 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 2266 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 2267 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=GERAN Auth (no Ciph) |
| 2268 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2269 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2270 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2271 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 2272 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 2273 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 2274 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 2275 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2276 | DVLR GSUP tx: 08010809710000000156f0 |
| 2277 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2278 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2279 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2280 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 2281 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2282 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2283 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2284 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2285 | cm_service_result_sent == 0 |
| 2286 | auth_request_sent == 0 |
| 2287 | gsup_tx_confirmed == 1 |
| 2288 | - from HLR, rx _SEND_AUTH_INFO_RESULT, second tuple; VLR sends Auth Req to MS |
| 2289 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 2290 | DVLR GSUP rx 111: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 2291 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2292 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2293 | DVLR SUBSCR(MSISDN:42342) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2294 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 2295 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2296 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 2297 | - ...rand=c187a53a5e6b9d573cac7c74451fd46d |
| 2298 | - ...autn=1843a645b98d00005b2d666af46c45d9 |
| 2299 | - ...expecting res=7db47cf7f81e4dc7 |
| 2300 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2301 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2302 | auth_request_sent == 1 |
| 2303 | cm_service_result_sent == 0 |
| 2304 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 2305 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2306 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2307 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 2308 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2309 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 2310 | DVLR SUBSCR(MSISDN:42342) AUTH on GERAN received SRES/RES: 7db47cf7f81e4dc7 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2311 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2312 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2313 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 2314 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2315 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 2316 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 2317 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 2318 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2319 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 2320 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 2321 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 2322 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 2323 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 2324 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2325 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2326 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2327 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2328 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2329 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2330 | DREF MSISDN:42342: MSC conn use + cm_service == 2 (0xa: dtap,cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2331 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 2332 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2333 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x8: cm_service) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2334 | cm_service_result_sent == 1 |
| 2335 | - a USSD request is serviced |
| 2336 | expecting USSD: |
| 2337 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2338 | MSC <--RAN_GERAN_A-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2339 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2340 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 2341 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2342 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2343 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 2344 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2345 | DMM USSD: Own number requested |
| 2346 | DMM MSISDN:42342: MSISDN = 42342 |
| 2347 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2348 | - DTAP --RAN_GERAN_A--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2349 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2350 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2351 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2352 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2353 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2354 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2355 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2356 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2357 | bssap_clear_sent == 1 |
| 2358 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2359 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2360 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2361 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2362 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2363 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2364 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 2365 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 2366 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2367 | DRLL MSISDN:42342: Freeing subscriber connection |
| 2368 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2369 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2370 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2371 | - all requests serviced, conn has been released |
| 2372 | llist_count(&net->subscr_conns) == 0 |
| 2373 | --- |
| 2374 | - subscriber detaches |
| 2375 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 2376 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2377 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2378 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2379 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 2380 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 2381 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2382 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2383 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2384 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2385 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2386 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 2387 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2388 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2389 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2390 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2391 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2392 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2393 | bssap_clear_sent == 1 |
| 2394 | - BSS sends BSSMAP Clear Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2395 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2396 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2397 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2398 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2399 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2400 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2401 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2402 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2403 | ===== test_no_auth_reuse_geran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2404 | |
| 2405 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2406 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2407 | |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2408 | ===== test_no_auth_reuse_utran |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2409 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 2410 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
| 2411 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2412 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2413 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2414 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2415 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2416 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
Neels Hofmeyr | 8a656eb | 2017-11-22 02:55:52 +0100 | [diff] [blame] | 2417 | DMM LU/new-LAC: 0/23 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2418 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 2419 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(LU:901700000010650) |
| 2420 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: rev=R99 net=UTRAN Auth+Ciph |
| 2421 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2422 | DREF VLR subscr unknown usage increases to: 1 |
| 2423 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 2424 | DVLR New subscr, IMSI: 901700000010650 |
| 2425 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 2426 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2427 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 2428 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 2429 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 2430 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2431 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2432 | DVLR GSUP tx: 08010809710000000156f0 |
| 2433 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2434 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
| 2435 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 2436 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2437 | DREF IMSI:901700000010650: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2438 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2439 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2440 | lu_result_sent == 0 |
| 2441 | - from HLR, rx _SEND_AUTH_INFO_RESULT, only one tuple; VLR sends Auth Req to MS |
| 2442 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 2443 | DVLR GSUP rx 111: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e41 |
| 2444 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2445 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2446 | DVLR SUBSCR(IMSI:901700000010650) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2447 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 2448 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2449 | - sending UMTS Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 2450 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 2451 | - ...autn=8704f5ba55f30000d2ee44b22c8ea919 |
| 2452 | - ...expecting res=e229c19e791f2e41 |
| 2453 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 2454 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2455 | auth_request_sent == 1 |
| 2456 | lu_result_sent == 0 |
| 2457 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 2458 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2459 | DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2460 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 2461 | DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2462 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 2463 | DVLR SUBSCR(IMSI:901700000010650) AUTH on UTRAN received RES: e229c19e791f2e41 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2464 | DVLR SUBSCR(IMSI:901700000010650) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2465 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2466 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 2467 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2468 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2469 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 2470 | DVLR VLR_Authenticate(LU:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 2471 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 2472 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 2473 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 2474 | DMM -> SECURITY MODE CONTROL IMSI:901700000010650 |
| 2475 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 2476 | - ...ik=27497388b6cb044648f396aa155b95ef |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2477 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2478 | DREF IMSI:901700000010650: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2479 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2480 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 2481 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2482 | lu_result_sent == 0 |
| 2483 | - MS sends SecurityModeControl acceptance, VLR accepts and sends GSUP LU Req to HLR |
| 2484 | DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2485 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 2486 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2487 | DIUCS IMSI:901700000010650: tx CommonID 901700000010650 |
| 2488 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2489 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 2490 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 2491 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 2492 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2493 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2494 | DVLR GSUP tx: 04010809710000000156f0 |
| 2495 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2496 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2497 | gsup_tx_confirmed == 1 |
| 2498 | lu_result_sent == 0 |
| 2499 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 2500 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 2501 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 2502 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 2503 | DVLR IMSI:901700000010650 has MSISDN:42342 |
Max | a263bb2 | 2017-12-27 13:23:44 +0100 | [diff] [blame] | 2504 | DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=901700000010650 (MSISDN=42342, used=2) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2505 | DVLR GSUP tx: 12010809710000000156f0 |
| 2506 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 2507 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2508 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 2509 | lu_result_sent == 0 |
| 2510 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 2511 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 2512 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 2513 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2514 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 2515 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 2516 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 2517 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2518 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2519 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 2520 | DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 2521 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 2522 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 2523 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 2524 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(LU:901700000010650) |
| 2525 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 2526 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 2527 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 2528 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(LU:901700000010650) |
| 2529 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 2530 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 2531 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2532 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(LU:901700000010650) |
| 2533 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 2534 | DVLR sub_pres_vlr_fsm(LU:901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 2535 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 2536 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 2537 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2538 | - sending LU Accept for MSISDN:42342, with TMSI 0x03020100 |
| 2539 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2540 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2541 | lu_result_sent == 1 |
| 2542 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 2543 | llist_count(&net->subscr_conns) == 1 |
| 2544 | msc_subscr_conn_is_accepted() == false |
| 2545 | requests shall be thwarted |
| 2546 | DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) |
| 2547 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_CC_SETUP |
| 2548 | DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33) |
| 2549 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: unknown 0x33 |
| 2550 | DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19) |
| 2551 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1 |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2552 | DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) |
| 2553 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2554 | - even though the TMSI is not acked, we can already find the subscr with it |
| 2555 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2556 | vsub != NULL == 1 |
| 2557 | strcmp(vsub->imsi, imsi) == 0 |
| 2558 | vsub->tmsi_new == 0x03020100 |
| 2559 | vsub->tmsi == 0xffffffff |
| 2560 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2561 | - MS sends TMSI Realloc Complete |
| 2562 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2563 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2564 | DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) |
| 2565 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2566 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 2567 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2568 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2569 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 2570 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 2571 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2572 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(LU:901700000010650) |
| 2573 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 2574 | DVLR lu_compl_vlr_fsm(LU:901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 2575 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
| 2576 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 2577 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 2578 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_UNUSED |
| 2579 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2580 | DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2581 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2582 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2583 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2584 | DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2585 | iu_release_sent == 1 |
| 2586 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2587 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2588 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2589 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2590 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2591 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2592 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(LU:901700000010650) |
| 2593 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 2594 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 2595 | DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2596 | DRLL MSISDN:42342: Freeing subscriber connection |
| 2597 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2598 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2599 | DMM Subscr_Conn(LU:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2600 | - LU was successful, and the conn has already been closed |
| 2601 | llist_count(&net->subscr_conns) == 0 |
| 2602 | --- |
| 2603 | - Now the auth tuple has use_count == 1, as much as is allowed. |
| 2604 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2605 | vsub->last_tuple->use_count == 1 |
| 2606 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2607 | --- |
| 2608 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR |
| 2609 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ |
| 2610 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2611 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2612 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2613 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
| 2614 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2615 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Updated ID |
| 2616 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Allocated |
| 2617 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 2618 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: rev=R99 net=UTRAN Auth+Ciph |
| 2619 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2620 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2621 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2622 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 2623 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 2624 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 2625 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 2626 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2627 | DVLR GSUP tx: 08010809710000000156f0 |
| 2628 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2629 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2630 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2631 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_COMPLETE_LAYER_3 |
| 2632 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_AUTH_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2633 | DREF MSISDN:42342: MSC conn use - compl_l3 == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2634 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2635 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2636 | cm_service_result_sent == 0 |
| 2637 | auth_request_sent == 0 |
| 2638 | gsup_tx_confirmed == 1 |
| 2639 | - from HLR, rx _SEND_AUTH_INFO_RESULT, second tuple; VLR sends Auth Req to MS |
| 2640 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 2641 | DVLR GSUP rx 111: 0a010809710000000156f003622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc7 |
| 2642 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2643 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2644 | DVLR SUBSCR(MSISDN:42342) Received 1 auth tuples |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2645 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 2646 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 -- will use UMTS AKA (is_r99=yes, at->vec.auth_types=0x3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2647 | - sending UMTS Auth Request for MSISDN:42342: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 2648 | - ...rand=c187a53a5e6b9d573cac7c74451fd46d |
| 2649 | - ...autn=1843a645b98d00005b2d666af46c45d9 |
| 2650 | - ...expecting res=7db47cf7f81e4dc7 |
| 2651 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2652 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 2653 | auth_request_sent == 1 |
| 2654 | cm_service_result_sent == 0 |
| 2655 | - MS sends Authen Response, VLR accepts and sends SecurityModeControl |
| 2656 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2657 | DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2658 | DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) |
Neels Hofmeyr | d97821f | 2018-03-10 04:51:39 +0100 | [diff] [blame] | 2659 | DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2660 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
Neels Hofmeyr | a9099bc | 2018-03-10 04:22:50 +0100 | [diff] [blame] | 2661 | DVLR SUBSCR(MSISDN:42342) AUTH on UTRAN received RES: 7db47cf7f81e4dc7 (8 bytes) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2662 | DVLR SUBSCR(MSISDN:42342) AUTH established UMTS security context |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2663 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2664 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 2665 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2666 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650) |
| 2667 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 2668 | DVLR VLR_Authenticate(CM_SERVICE_REQ:901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 2669 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2670 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 2671 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: Set Ciphering Mode |
Neels Hofmeyr | da21a52 | 2018-03-02 01:50:09 +0100 | [diff] [blame] | 2672 | DMM -> SECURITY MODE CONTROL MSISDN:42342 |
| 2673 | - sending SecurityModeControl for UE ctx 42 send_ck=0 new_key=1 |
| 2674 | - ...ik=1159ec926a50e98c034a6b7d7c9f418d |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2675 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2676 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2677 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_UNUSED |
| 2678 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event SUBSCR_CONN_E_UNUSED |
Neels Hofmeyr | dbabfd3 | 2018-03-10 02:06:47 +0100 | [diff] [blame] | 2679 | security_mode_ctrl_sent == 1 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2680 | cm_service_result_sent == 0 |
| 2681 | - MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 2682 | DMM <- SECURITY MODE COMPLETE MSISDN:42342 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2683 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 2684 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2685 | DIUCS MSISDN:42342: tx CommonID 901700000010650 |
| 2686 | - Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2687 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 2688 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 2689 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 2690 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2691 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(PASSED) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2692 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2693 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Process Access Request result: PASSED |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2694 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: Received Event SUBSCR_CONN_E_ACCEPTED |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2695 | DREF MSISDN:42342: MSC conn use + cm_service == 1 (0x8: cm_service) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2696 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_AUTH_CIPH}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 2697 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: subscr_conn_fsm_has_active_transactions: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2698 | cm_service_result_sent == 0 |
| 2699 | - a USSD request is serviced |
| 2700 | expecting USSD: |
| 2701 | Your extension is 42342
|
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2702 | MSC <--RAN_UTRAN_IU-- MS: NCSS:0x3b |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2703 | DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2704 | DRLL Dispatching 04.08 message NCSS:0x3b (0xb:0x3b) |
| 2705 | DMM MSISDN:42342: rx msg NCSS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2706 | DREF MSISDN:42342: MSC conn use - cm_service == 1 (0x2: dtap) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2707 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 2708 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2709 | DMM USSD: Own number requested |
| 2710 | DMM MSISDN:42342: MSISDN = 42342 |
| 2711 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_UTRAN_IU |
Harald Welte | 80315ef | 2018-01-24 22:53:00 +0100 | [diff] [blame] | 2712 | - DTAP --RAN_UTRAN_IU--> MS: NCSS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2713 | - DTAP matches expected message |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2714 | DREF MSISDN:42342: MSC conn use - dtap == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2715 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2716 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2717 | DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2718 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2719 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 2720 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2721 | iu_release_sent == 1 |
| 2722 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2723 | DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2724 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2725 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2726 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 2727 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 2728 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(CM_SERVICE_REQ:901700000010650) |
| 2729 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 2730 | DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2731 | DRLL MSISDN:42342: Freeing subscriber connection |
| 2732 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
Neels Hofmeyr | fe4ba7c | 2018-04-02 23:17:50 +0200 | [diff] [blame] | 2733 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2734 | DMM Subscr_Conn(CM_SERVICE_REQ:901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2735 | - all requests serviced, conn has been released |
| 2736 | llist_count(&net->subscr_conns) == 0 |
| 2737 | --- |
| 2738 | - subscriber detaches |
| 2739 | MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
| 2740 | new conn |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2741 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Allocated |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2742 | DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2743 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
| 2744 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 2745 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 2746 | DMM IMSI DETACH for MSISDN:42342 |
Neels Hofmeyr | 1580959 | 2018-04-06 02:57:51 +0200 | [diff] [blame] | 2747 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 2748 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2749 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 2750 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 2751 | DREF freeing VLR subscr MSISDN:42342 |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2752 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2753 | DMM Subscr_Conn{SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASING |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2754 | DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2755 | - Iu Release --RAN_UTRAN_IU--> MS |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2756 | DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) |
Neels Hofmeyr | 4068ab2 | 2018-04-01 20:55:54 +0200 | [diff] [blame] | 2757 | iu_release_sent == 1 |
| 2758 | - RNC sends Iu Release Complete |
Neels Hofmeyr | 99a8d23 | 2018-04-09 20:44:56 +0200 | [diff] [blame] | 2759 | DREF unknown: MSC conn use - release == 0 (0x0: ) |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2760 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: Received Event SUBSCR_CONN_E_UNUSED |
| 2761 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 2762 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2763 | DRLL Freeing subscriber connection with NULL subscriber |
Neels Hofmeyr | e3d3dc6 | 2018-03-31 00:02:14 +0200 | [diff] [blame] | 2764 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 2765 | DMM Subscr_Conn{SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2766 | llist_count(&net->subscr_conns) == 0 |
Neels Hofmeyr | dfdc61d | 2018-03-02 00:40:58 +0100 | [diff] [blame] | 2767 | ===== test_no_auth_reuse_utran: SUCCESS |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2768 | |
| 2769 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2770 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2771 | |
| 2772 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 08b3828 | 2018-03-30 23:04:04 +0200 | [diff] [blame] | 2773 | talloc_total_blocks(tall_bsc_ctx) == 12 |
Neels Hofmeyr | 7b1418e | 2017-10-29 02:12:16 +0100 | [diff] [blame] | 2774 | |