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