Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1 | ===== test_ciph |
| 2 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 3 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 4 | new conn |
| 5 | DREF unknown: MSC conn use + 1 == 1 |
| 6 | DRLL Dispatching 04.08 message, pdisc=5 |
| 7 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 8 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 9 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 10 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 11 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 12 | DMM LU/new-LAC: 1/0 |
| 13 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 14 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 15 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth+Ciph |
| 16 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 17 | DREF VLR subscr unknown usage increases to: 1 |
| 18 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 19 | DVLR New subscr, IMSI: 901700000004620 |
| 20 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 21 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 22 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 23 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 24 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 25 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 26 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 27 | DVLR GSUP tx: 08010809710000004026f0 |
| 28 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 29 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 30 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 31 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 32 | lu_result_sent == 0 |
| 33 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 34 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 35 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 36 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 37 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 38 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 39 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 40 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 41 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 42 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 43 | - ...expecting sres=2d8b2c3e |
| 44 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 45 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 46 | lu_result_sent == 0 |
| 47 | auth_request_sent == 1 |
| 48 | - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS |
| 49 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 50 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 51 | DRLL Dispatching 04.08 message, pdisc=5 |
| 52 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 53 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 54 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 55 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 56 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 57 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 58 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 59 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 60 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 61 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 62 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 63 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 64 | - sending Ciphering Mode Command for IMSI:901700000004620: cipher=VLR_CIPH_A5_1 kc=61855fb81fc2a800 retrieve_imeisv=0 |
| 65 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 66 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 67 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 68 | lu_result_sent == 0 |
| 69 | - needs ciph, not yet accepted |
| 70 | msc_subscr_conn_is_accepted() == false |
| 71 | requests shall be thwarted |
| 72 | DRLL Dispatching 04.08 message, pdisc=3 |
| 73 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 74 | DRLL Dispatching 04.08 message, pdisc=5 |
| 75 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 76 | DRLL Dispatching 04.08 message, pdisc=6 |
| 77 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 78 | DRLL Dispatching 04.08 message, pdisc=9 |
| 79 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 80 | lu_result_sent == 0 |
| 81 | - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR |
| 82 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 83 | DRR IMSI:901700000004620: CIPHERING MODE COMPLETE |
| 84 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 85 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
| 86 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 87 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 88 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 89 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 90 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 91 | DVLR GSUP tx: 04010809710000004026f0 |
| 92 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 93 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 94 | lu_result_sent == 0 |
| 95 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 96 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 97 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 98 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 99 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 100 | DVLR GSUP tx: 12010809710000004026f0 |
| 101 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 102 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 103 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 104 | lu_result_sent == 0 |
| 105 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 106 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 107 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 108 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 109 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 110 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 111 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 112 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 113 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 114 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 115 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 116 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 117 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 118 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 119 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 120 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 121 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 122 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 123 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 124 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 125 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 126 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 127 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 128 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 129 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 130 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 131 | - sending LU Accept for MSISDN:46071 |
| 132 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 133 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 134 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 135 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 136 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 137 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 138 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 139 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 140 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 141 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 142 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 143 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 144 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 145 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 146 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 147 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 148 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 149 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 150 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 151 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 152 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 153 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 154 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 155 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 156 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 157 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 158 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 159 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 160 | - LU was successful, and the conn has already been closed |
| 161 | lu_result_sent == 1 |
| 162 | llist_count(&net->subscr_conns) == 0 |
| 163 | --- |
| 164 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector |
| 165 | rx from MS: pdisc=0x05 msg_type=0x24 |
| 166 | new conn |
| 167 | DREF unknown: MSC conn use + 1 == 1 |
| 168 | DRLL Dispatching 04.08 message, pdisc=5 |
| 169 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 170 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 171 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 172 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 173 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 174 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 175 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 176 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth+Ciph |
| 177 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 178 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 179 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 180 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 181 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 182 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 183 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(901700000004620) |
| 184 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 185 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 186 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=1 |
| 187 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=1 auth_types=0x1 and... |
| 188 | - ...rand=12aca96fb4ffdea5c985cbafa9b6e18b |
| 189 | - ...expecting sres=20bde240 |
| 190 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 191 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 192 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 193 | auth_request_sent == 1 |
| 194 | cm_service_result_sent == 0 |
| 195 | - needs auth, not yet accepted |
| 196 | msc_subscr_conn_is_accepted() == false |
| 197 | requests shall be thwarted |
| 198 | DRLL Dispatching 04.08 message, pdisc=3 |
| 199 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 200 | DRLL Dispatching 04.08 message, pdisc=5 |
| 201 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 202 | DRLL Dispatching 04.08 message, pdisc=6 |
| 203 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 204 | DRLL Dispatching 04.08 message, pdisc=9 |
| 205 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 206 | - MS sends Authen Response, VLR accepts and requests Ciphering |
| 207 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 208 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 209 | DRLL Dispatching 04.08 message, pdisc=5 |
| 210 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) |
| 211 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 212 | DVLR SUBSCR(MSISDN:46071) received res: 20 bd e2 40 |
| 213 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 214 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 215 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 216 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 217 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(901700000004620) |
| 218 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 219 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 220 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 221 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 222 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 223 | - sending Ciphering Mode Command for MSISDN:46071: cipher=VLR_CIPH_A5_1 kc=07fa7502e07e1c00 retrieve_imeisv=0 |
| 224 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 225 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 226 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 227 | cm_service_result_sent == 0 |
| 228 | cipher_mode_cmd_sent == 1 |
| 229 | - needs ciph, not yet accepted |
| 230 | msc_subscr_conn_is_accepted() == false |
| 231 | requests shall be thwarted |
| 232 | DRLL Dispatching 04.08 message, pdisc=3 |
| 233 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 234 | DRLL Dispatching 04.08 message, pdisc=5 |
| 235 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 236 | DRLL Dispatching 04.08 message, pdisc=6 |
| 237 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 238 | DRLL Dispatching 04.08 message, pdisc=9 |
| 239 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 240 | - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 241 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 242 | DRR MSISDN:46071: CIPHERING MODE COMPLETE |
| 243 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 244 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
| 245 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 246 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 247 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 248 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
| 249 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 250 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
| 251 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 252 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 253 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 254 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 255 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 256 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 257 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 258 | cm_service_result_sent == 0 |
| 259 | - a USSD request is serviced |
| 260 | expecting USSD: |
| 261 | Your extension is 46071
|
| 262 | rx from MS: pdisc=0x0b msg_type=0x3b |
| 263 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 264 | DRLL Dispatching 04.08 message, pdisc=11 |
| 265 | DMM MSISDN:46071 pdisc=11 msg_type=0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 266 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 267 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 268 | DMM USSD: Own number requested |
| 269 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 270 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
| 271 | - DTAP --RAN_GERAN_A--> MS: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 272 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 273 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 274 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 275 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 276 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 277 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 278 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 279 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 280 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 281 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 282 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 283 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 284 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 285 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 286 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 287 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 288 | - all requests serviced, conn has been released |
| 289 | llist_count(&net->subscr_conns) == 0 |
| 290 | --- |
| 291 | - an SMS is sent, MS is paged |
| 292 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 293 | llist_count(&vsub->cs.requests) == 0 |
| 294 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 295 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 296 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 297 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 298 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 299 | llist_count(&vsub->cs.requests) == 1 |
| 300 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 301 | paging_sent == 1 |
| 302 | paging_stopped == 0 |
| 303 | - the subscriber and its pending request should remain |
| 304 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 305 | llist_count(&vsub->cs.requests) == 1 |
| 306 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 307 | - MS replies with Paging Response, and VLR sends Auth Request with third key |
| 308 | rx from MS: pdisc=0x06 msg_type=0x27 |
| 309 | new conn |
| 310 | DREF unknown: MSC conn use + 1 == 1 |
| 311 | DRLL Dispatching 04.08 message, pdisc=6 |
| 312 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 313 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 314 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 315 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 316 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 317 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 318 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 319 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth+Ciph |
| 320 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 321 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 322 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 323 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 324 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 325 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 326 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(901700000004620) |
| 327 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 328 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 329 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=2 |
| 330 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=2 auth_types=0x1 and... |
| 331 | - ...rand=e7c03ba7cf0e2fde82b2dc4d63077d42 |
| 332 | - ...expecting sres=a29514ae |
| 333 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 334 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 335 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 336 | auth_request_sent == 1 |
| 337 | - needs auth, not yet accepted |
| 338 | msc_subscr_conn_is_accepted() == false |
| 339 | requests shall be thwarted |
| 340 | DRLL Dispatching 04.08 message, pdisc=3 |
| 341 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 342 | DRLL Dispatching 04.08 message, pdisc=5 |
| 343 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 344 | DRLL Dispatching 04.08 message, pdisc=6 |
| 345 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 346 | DRLL Dispatching 04.08 message, pdisc=9 |
| 347 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 348 | - MS sends Authen Response, VLR accepts and requests Ciphering |
| 349 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 350 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 351 | DRLL Dispatching 04.08 message, pdisc=5 |
| 352 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) |
| 353 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 354 | DVLR SUBSCR(MSISDN:46071) received res: a2 95 14 ae |
| 355 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 356 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 357 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 358 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 359 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(901700000004620) |
| 360 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 361 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 362 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 363 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 364 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 365 | - sending Ciphering Mode Command for MSISDN:46071: cipher=VLR_CIPH_A5_1 kc=e2b234f807886400 retrieve_imeisv=0 |
| 366 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 367 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 368 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 369 | cipher_mode_cmd_sent == 1 |
| 370 | - needs ciph, not yet accepted |
| 371 | msc_subscr_conn_is_accepted() == false |
| 372 | requests shall be thwarted |
| 373 | DRLL Dispatching 04.08 message, pdisc=3 |
| 374 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 375 | DRLL Dispatching 04.08 message, pdisc=5 |
| 376 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 377 | DRLL Dispatching 04.08 message, pdisc=6 |
| 378 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 379 | DRLL Dispatching 04.08 message, pdisc=9 |
| 380 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 381 | - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS |
| 382 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 383 | DRR MSISDN:46071: CIPHERING MODE COMPLETE |
| 384 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 385 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
| 386 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 387 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 388 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 389 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
| 390 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 391 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
| 392 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 393 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 394 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 395 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 396 | DPAG Paging success for MSISDN:46071 (event=0) |
| 397 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 398 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 399 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 400 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
| 401 | - DTAP --RAN_GERAN_A--> MS: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 402 | - DTAP matches expected message |
| 403 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 404 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 405 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 406 | dtap_tx_confirmed == 1 |
| 407 | paging_stopped == 1 |
| 408 | - SMS was delivered, no requests pending for subscr |
| 409 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 410 | llist_count(&vsub->cs.requests) == 0 |
| 411 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 412 | - conn is still open to wait for SMS ack dance |
| 413 | llist_count(&net->subscr_conns) == 1 |
| 414 | - MS replies with CP-ACK for received SMS |
| 415 | rx from MS: pdisc=0x89 msg_type=0x04 |
| 416 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 417 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 418 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 419 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 420 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 421 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 422 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 423 | llist_count(&net->subscr_conns) == 1 |
| 424 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
| 425 | rx from MS: pdisc=0x89 msg_type=0x01 |
| 426 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 427 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 428 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 429 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
| 430 | - DTAP --RAN_GERAN_A--> MS: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 431 | - DTAP matches expected message |
| 432 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 433 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 434 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 435 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 436 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 437 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 438 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 439 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 440 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 441 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 442 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 443 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 444 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 445 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 446 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 447 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 448 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 449 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 450 | dtap_tx_confirmed == 1 |
| 451 | - SMS is done, conn is gone |
| 452 | llist_count(&net->subscr_conns) == 0 |
| 453 | --- |
| 454 | - subscriber detaches |
| 455 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 456 | new conn |
| 457 | DREF unknown: MSC conn use + 1 == 1 |
| 458 | DRLL Dispatching 04.08 message, pdisc=5 |
| 459 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 460 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 461 | DMM IMSI DETACH for MSISDN:46071 |
| 462 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 463 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 464 | DREF freeing VLR subscr MSISDN:46071 |
| 465 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 466 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 467 | DRLL Freeing subscriber connection with NULL subscriber |
| 468 | llist_count(&net->subscr_conns) == 0 |
| 469 | ===== test_ciph: SUCCESS |
| 470 | |
| 471 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 472 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 473 | |
| 474 | ===== test_ciph_tmsi |
| 475 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 476 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 477 | new conn |
| 478 | DREF unknown: MSC conn use + 1 == 1 |
| 479 | DRLL Dispatching 04.08 message, pdisc=5 |
| 480 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 481 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 482 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 483 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 484 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 485 | DMM LU/new-LAC: 1/0 |
| 486 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 487 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 488 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth+Ciph |
| 489 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 490 | DREF VLR subscr unknown usage increases to: 1 |
| 491 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 492 | DVLR New subscr, IMSI: 901700000004620 |
| 493 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 494 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 495 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 496 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 497 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 498 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 499 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 500 | DVLR GSUP tx: 08010809710000004026f0 |
| 501 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 502 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 503 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 504 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 505 | lu_result_sent == 0 |
| 506 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 507 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 508 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 509 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 510 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 511 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 512 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 513 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 514 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 515 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 516 | - ...expecting sres=2d8b2c3e |
| 517 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 518 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 519 | auth_request_sent == 1 |
| 520 | lu_result_sent == 0 |
| 521 | - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS |
| 522 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 523 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 524 | DRLL Dispatching 04.08 message, pdisc=5 |
| 525 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 526 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 527 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 528 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 529 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 530 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 531 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 532 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 533 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 534 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 535 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 536 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 537 | - sending Ciphering Mode Command for IMSI:901700000004620: cipher=VLR_CIPH_A5_1 kc=61855fb81fc2a800 retrieve_imeisv=0 |
| 538 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 539 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 540 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 541 | lu_result_sent == 0 |
| 542 | auth_request_sent == 1 |
| 543 | - needs ciph, not yet accepted |
| 544 | msc_subscr_conn_is_accepted() == false |
| 545 | requests shall be thwarted |
| 546 | DRLL Dispatching 04.08 message, pdisc=3 |
| 547 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 548 | DRLL Dispatching 04.08 message, pdisc=5 |
| 549 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 550 | DRLL Dispatching 04.08 message, pdisc=6 |
| 551 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 552 | DRLL Dispatching 04.08 message, pdisc=9 |
| 553 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 554 | lu_result_sent == 0 |
| 555 | - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR |
| 556 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 557 | DRR IMSI:901700000004620: CIPHERING MODE COMPLETE |
| 558 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 559 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
| 560 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 561 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 562 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 563 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 564 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 565 | DVLR GSUP tx: 04010809710000004026f0 |
| 566 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 567 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 568 | lu_result_sent == 0 |
| 569 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 570 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 571 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 572 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 573 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 574 | DVLR GSUP tx: 12010809710000004026f0 |
| 575 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 576 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 577 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 578 | lu_result_sent == 0 |
| 579 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 580 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 581 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 582 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 583 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 584 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 585 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 586 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 587 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 588 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 589 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 590 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 591 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 592 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 593 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 594 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 595 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 596 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 597 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 598 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 599 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 600 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 601 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 602 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 603 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 604 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 605 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 606 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 607 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
| 608 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 609 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 610 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 611 | llist_count(&net->subscr_conns) == 1 |
| 612 | lu_result_sent == 1 |
| 613 | msc_subscr_conn_is_accepted() == false |
| 614 | requests shall be thwarted |
| 615 | DRLL Dispatching 04.08 message, pdisc=3 |
| 616 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 617 | DRLL Dispatching 04.08 message, pdisc=5 |
| 618 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 619 | DRLL Dispatching 04.08 message, pdisc=6 |
| 620 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 621 | DRLL Dispatching 04.08 message, pdisc=9 |
| 622 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 623 | - even though the TMSI is not acked, we can already find the subscr with it |
| 624 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 625 | vsub != NULL == 1 |
| 626 | strcmp(vsub->imsi, imsi) == 0 |
| 627 | vsub->tmsi_new == 0x03020100 |
| 628 | vsub->tmsi == 0xffffffff |
| 629 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 630 | - MS sends TMSI Realloc Complete |
| 631 | rx from MS: pdisc=0x05 msg_type=0x5b |
| 632 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 633 | DRLL Dispatching 04.08 message, pdisc=5 |
| 634 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 635 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 636 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 637 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 638 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 639 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 640 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 641 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 642 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 643 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 644 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 645 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 646 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 647 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 648 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 649 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 650 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 651 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 652 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 653 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 654 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 655 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 656 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 657 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 658 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 659 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 660 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 661 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 662 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 663 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 664 | - LU was successful, and the conn has already been closed |
| 665 | llist_count(&net->subscr_conns) == 0 |
| 666 | - Subscriber has the new TMSI |
| 667 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 668 | vsub != NULL == 1 |
| 669 | strcmp(vsub->imsi, imsi) == 0 |
| 670 | vsub->tmsi_new == 0xffffffff |
| 671 | vsub->tmsi == 0x03020100 |
| 672 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 673 | --- |
| 674 | - after a while, a new conn sends a CM Service Request using above TMSI. VLR responds with Auth Req, 2nd auth vector |
| 675 | rx from MS: pdisc=0x05 msg_type=0x24 |
| 676 | new conn |
| 677 | DREF unknown: MSC conn use + 1 == 1 |
| 678 | DRLL Dispatching 04.08 message, pdisc=5 |
| 679 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(TMSI)=50462976 |
| 680 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 681 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 682 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 683 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 684 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 685 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 686 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth+Ciph |
| 687 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 688 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 689 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 690 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 691 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 692 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 693 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(50462976) |
| 694 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 695 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 696 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=1 |
| 697 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=1 auth_types=0x1 and... |
| 698 | - ...rand=12aca96fb4ffdea5c985cbafa9b6e18b |
| 699 | - ...expecting sres=20bde240 |
| 700 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 701 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 702 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 703 | auth_request_sent == 1 |
| 704 | cm_service_result_sent == 0 |
| 705 | - needs auth, not yet accepted |
| 706 | msc_subscr_conn_is_accepted() == false |
| 707 | requests shall be thwarted |
| 708 | DRLL Dispatching 04.08 message, pdisc=3 |
| 709 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 710 | DRLL Dispatching 04.08 message, pdisc=5 |
| 711 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 712 | DRLL Dispatching 04.08 message, pdisc=6 |
| 713 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 714 | DRLL Dispatching 04.08 message, pdisc=9 |
| 715 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 716 | - MS sends Authen Response, VLR accepts and requests Ciphering |
| 717 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 718 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 719 | DRLL Dispatching 04.08 message, pdisc=5 |
| 720 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) |
| 721 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 722 | DVLR SUBSCR(MSISDN:46071) received res: 20 bd e2 40 |
| 723 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 724 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 725 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 726 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 727 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(50462976) |
| 728 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 729 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 730 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 731 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 732 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 733 | - sending Ciphering Mode Command for MSISDN:46071: cipher=VLR_CIPH_A5_1 kc=07fa7502e07e1c00 retrieve_imeisv=0 |
| 734 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 735 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 736 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 737 | cm_service_result_sent == 0 |
| 738 | cipher_mode_cmd_sent == 1 |
| 739 | - needs ciph, not yet accepted |
| 740 | msc_subscr_conn_is_accepted() == false |
| 741 | requests shall be thwarted |
| 742 | DRLL Dispatching 04.08 message, pdisc=3 |
| 743 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 744 | DRLL Dispatching 04.08 message, pdisc=5 |
| 745 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 746 | DRLL Dispatching 04.08 message, pdisc=6 |
| 747 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 748 | DRLL Dispatching 04.08 message, pdisc=9 |
| 749 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 750 | - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept |
| 751 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 752 | DRR MSISDN:46071: CIPHERING MODE COMPLETE |
| 753 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 754 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
| 755 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 756 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 757 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 758 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
| 759 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 760 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
| 761 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 762 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 763 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 764 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 765 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 766 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 767 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 768 | cm_service_result_sent == 0 |
| 769 | - a USSD request is serviced |
| 770 | expecting USSD: |
| 771 | Your extension is 46071
|
| 772 | rx from MS: pdisc=0x0b msg_type=0x3b |
| 773 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 774 | DRLL Dispatching 04.08 message, pdisc=11 |
| 775 | DMM MSISDN:46071 pdisc=11 msg_type=0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 776 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 777 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 778 | DMM USSD: Own number requested |
| 779 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 780 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
| 781 | - DTAP --RAN_GERAN_A--> MS: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 782 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 783 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 784 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 785 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 786 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 787 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 788 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 789 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 790 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 791 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 792 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 793 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 794 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 795 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 796 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 797 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 798 | - all requests serviced, conn has been released |
| 799 | llist_count(&net->subscr_conns) == 0 |
| 800 | --- |
| 801 | - an SMS is sent, MS is paged |
| 802 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 803 | llist_count(&vsub->cs.requests) == 0 |
| 804 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 805 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 806 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 807 | paging_expecting_tmsi == 0x03020100 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 808 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 809 | llist_count(&vsub->cs.requests) == 1 |
| 810 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 811 | paging_sent == 1 |
| 812 | paging_stopped == 0 |
| 813 | - the subscriber and its pending request should remain |
| 814 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 815 | llist_count(&vsub->cs.requests) == 1 |
| 816 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 817 | - MS replies with Paging Response using TMSI, and VLR sends Auth Request with third key |
| 818 | rx from MS: pdisc=0x06 msg_type=0x27 |
| 819 | new conn |
| 820 | DREF unknown: MSC conn use + 1 == 1 |
| 821 | DRLL Dispatching 04.08 message, pdisc=6 |
| 822 | DRR PAGING RESPONSE: MI(TMSI)=50462976 |
| 823 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 824 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 825 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 826 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 827 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 828 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 829 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth+Ciph |
| 830 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 831 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 832 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 833 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 834 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 835 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 836 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(50462976) |
| 837 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 838 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 839 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=2 |
| 840 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=2 auth_types=0x1 and... |
| 841 | - ...rand=e7c03ba7cf0e2fde82b2dc4d63077d42 |
| 842 | - ...expecting sres=a29514ae |
| 843 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 844 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 845 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 846 | auth_request_sent == 1 |
| 847 | - needs auth, not yet accepted |
| 848 | msc_subscr_conn_is_accepted() == false |
| 849 | requests shall be thwarted |
| 850 | DRLL Dispatching 04.08 message, pdisc=3 |
| 851 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 852 | DRLL Dispatching 04.08 message, pdisc=5 |
| 853 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 854 | DRLL Dispatching 04.08 message, pdisc=6 |
| 855 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 856 | DRLL Dispatching 04.08 message, pdisc=9 |
| 857 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 858 | - MS sends Authen Response, VLR accepts and requests Ciphering |
| 859 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 860 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 861 | DRLL Dispatching 04.08 message, pdisc=5 |
| 862 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) |
| 863 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 864 | DVLR SUBSCR(MSISDN:46071) received res: a2 95 14 ae |
| 865 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 866 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 867 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 868 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 869 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(50462976) |
| 870 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 871 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 872 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 873 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 874 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 875 | - sending Ciphering Mode Command for MSISDN:46071: cipher=VLR_CIPH_A5_1 kc=e2b234f807886400 retrieve_imeisv=0 |
| 876 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 877 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 878 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 879 | cipher_mode_cmd_sent == 1 |
| 880 | - needs ciph, not yet accepted |
| 881 | msc_subscr_conn_is_accepted() == false |
| 882 | requests shall be thwarted |
| 883 | DRLL Dispatching 04.08 message, pdisc=3 |
| 884 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 885 | DRLL Dispatching 04.08 message, pdisc=5 |
| 886 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 887 | DRLL Dispatching 04.08 message, pdisc=6 |
| 888 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 889 | DRLL Dispatching 04.08 message, pdisc=9 |
| 890 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 891 | - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS |
| 892 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 893 | DRR MSISDN:46071: CIPHERING MODE COMPLETE |
| 894 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES |
| 895 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() |
| 896 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() |
| 897 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() |
| 898 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() |
| 899 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_imei() |
| 900 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 901 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_CIPH}: state_chg to PR_ARQ_S_DONE |
| 902 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 903 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 904 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 905 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 906 | DPAG Paging success for MSISDN:46071 (event=0) |
| 907 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 908 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 909 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 910 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
| 911 | - DTAP --RAN_GERAN_A--> MS: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 912 | - DTAP matches expected message |
| 913 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 914 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 915 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 916 | dtap_tx_confirmed == 1 |
| 917 | paging_stopped == 1 |
| 918 | - SMS was delivered, no requests pending for subscr |
| 919 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 920 | llist_count(&vsub->cs.requests) == 0 |
| 921 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 922 | - conn is still open to wait for SMS ack dance |
| 923 | llist_count(&net->subscr_conns) == 1 |
| 924 | - MS replies with CP-ACK for received SMS |
| 925 | rx from MS: pdisc=0x89 msg_type=0x04 |
| 926 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 927 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 928 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 929 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 930 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 931 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 932 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 933 | llist_count(&net->subscr_conns) == 1 |
| 934 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
| 935 | rx from MS: pdisc=0x89 msg_type=0x01 |
| 936 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 937 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 938 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 939 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
| 940 | - DTAP --RAN_GERAN_A--> MS: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 941 | - DTAP matches expected message |
| 942 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 943 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 944 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 945 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 946 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 947 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 948 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 949 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 950 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 951 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 952 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 953 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 954 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 955 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 956 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 957 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 958 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 959 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 960 | dtap_tx_confirmed == 1 |
| 961 | - SMS is done, conn is gone |
| 962 | llist_count(&net->subscr_conns) == 0 |
| 963 | --- |
| 964 | - subscriber detaches, using TMSI |
| 965 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 966 | new conn |
| 967 | DREF unknown: MSC conn use + 1 == 1 |
| 968 | DRLL Dispatching 04.08 message, pdisc=5 |
| 969 | DMM IMSI DETACH INDICATION: MI(TMSI)=50462976 |
| 970 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 971 | DMM IMSI DETACH for MSISDN:46071 |
| 972 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 973 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 974 | DREF freeing VLR subscr MSISDN:46071 |
| 975 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 976 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 977 | DRLL Freeing subscriber connection with NULL subscriber |
| 978 | llist_count(&net->subscr_conns) == 0 |
| 979 | ===== test_ciph_tmsi: SUCCESS |
| 980 | |
| 981 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 982 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 983 | |
| 984 | ===== test_ciph_imei |
| 985 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 986 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 987 | new conn |
| 988 | DREF unknown: MSC conn use + 1 == 1 |
| 989 | DRLL Dispatching 04.08 message, pdisc=5 |
| 990 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 991 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 992 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 993 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 994 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 995 | DMM LU/new-LAC: 1/0 |
| 996 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 997 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 998 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth+Ciph |
| 999 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1000 | DREF VLR subscr unknown usage increases to: 1 |
| 1001 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1002 | DVLR New subscr, IMSI: 901700000004620 |
| 1003 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1004 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1005 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1006 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1007 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1008 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 1009 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1010 | DVLR GSUP tx: 08010809710000004026f0 |
| 1011 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 1012 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1013 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1014 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1015 | lu_result_sent == 0 |
| 1016 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1017 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1018 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1019 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1020 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1021 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 1022 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1023 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1024 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 1025 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 1026 | - ...expecting sres=2d8b2c3e |
| 1027 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1028 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1029 | auth_request_sent == 1 |
| 1030 | lu_result_sent == 0 |
| 1031 | - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS |
| 1032 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1033 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1034 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1035 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 1036 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1037 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 1038 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 1039 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1040 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1041 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1042 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1043 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1044 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1045 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1046 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1047 | - sending Ciphering Mode Command for IMSI:901700000004620: cipher=VLR_CIPH_A5_1 kc=61855fb81fc2a800 retrieve_imeisv=0 |
| 1048 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1049 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1050 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1051 | lu_result_sent == 0 |
| 1052 | - needs ciph, not yet accepted |
| 1053 | msc_subscr_conn_is_accepted() == false |
| 1054 | requests shall be thwarted |
| 1055 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1056 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1057 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1058 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1059 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1060 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1061 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1062 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1063 | lu_result_sent == 0 |
| 1064 | - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR |
| 1065 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 1066 | DRR IMSI:901700000004620: CIPHERING MODE COMPLETE |
| 1067 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 1068 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
| 1069 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 1070 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1071 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1072 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1073 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1074 | DVLR GSUP tx: 04010809710000004026f0 |
| 1075 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1076 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 1077 | lu_result_sent == 0 |
| 1078 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1079 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1080 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1081 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1082 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1083 | DVLR GSUP tx: 12010809710000004026f0 |
| 1084 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1085 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1086 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1087 | lu_result_sent == 0 |
| 1088 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1089 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1090 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1091 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1092 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1093 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1094 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1095 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1096 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1097 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1098 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1099 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1100 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1101 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1102 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1103 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1104 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1105 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1106 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1107 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1108 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1109 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1110 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1111 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1112 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1113 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1114 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1115 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1116 | - DTAP --RAN_GERAN_A--> MS: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1117 | - DTAP matches expected message |
| 1118 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1119 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1120 | - We will only do business when the IMEI is known |
| 1121 | llist_count(&net->subscr_conns) == 1 |
| 1122 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1123 | vsub->imei[0] == 0 |
| 1124 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1125 | msc_subscr_conn_is_accepted() == false |
| 1126 | requests shall be thwarted |
| 1127 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1128 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1129 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1130 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1131 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1132 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1133 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1134 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1135 | - MS replies with an Identity Response |
| 1136 | rx from MS: pdisc=0x05 msg_type=0x59 |
| 1137 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1138 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1139 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1140 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1141 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1142 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1143 | - sending LU Accept for MSISDN:46071 |
| 1144 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1145 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: state_chg to LU_COMPL_VLR_S_DONE |
| 1146 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1147 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1148 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1149 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1150 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1151 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1152 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1153 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1154 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1155 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1156 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1157 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1158 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1159 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1160 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1161 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1162 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1163 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1164 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1165 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1166 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1167 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1168 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1169 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1170 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1171 | - LU was successful, and the conn has already been closed |
| 1172 | lu_result_sent == 1 |
| 1173 | llist_count(&net->subscr_conns) == 0 |
| 1174 | - Subscriber has the IMEI |
| 1175 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1176 | strcmp(vsub->imei, "423423423423423") == 0 |
| 1177 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1178 | --- |
| 1179 | - subscriber detaches |
| 1180 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1181 | new conn |
| 1182 | DREF unknown: MSC conn use + 1 == 1 |
| 1183 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1184 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1185 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1186 | DMM IMSI DETACH for MSISDN:46071 |
| 1187 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1188 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1189 | DREF freeing VLR subscr MSISDN:46071 |
| 1190 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1191 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1192 | DRLL Freeing subscriber connection with NULL subscriber |
| 1193 | llist_count(&net->subscr_conns) == 0 |
| 1194 | ===== test_ciph_imei: SUCCESS |
| 1195 | |
| 1196 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1197 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1198 | |
| 1199 | ===== test_ciph_imeisv |
| 1200 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1201 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 1202 | new conn |
| 1203 | DREF unknown: MSC conn use + 1 == 1 |
| 1204 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1205 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1206 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1207 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1208 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1209 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1210 | DMM LU/new-LAC: 1/0 |
| 1211 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1212 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1213 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth+Ciph |
| 1214 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1215 | DREF VLR subscr unknown usage increases to: 1 |
| 1216 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1217 | DVLR New subscr, IMSI: 901700000004620 |
| 1218 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1219 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1220 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1221 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1222 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1223 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 1224 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1225 | DVLR GSUP tx: 08010809710000004026f0 |
| 1226 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 1227 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1228 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1229 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1230 | lu_result_sent == 0 |
| 1231 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1232 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1233 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1234 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1235 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1236 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 1237 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1238 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1239 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 1240 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 1241 | - ...expecting sres=2d8b2c3e |
| 1242 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1243 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1244 | auth_request_sent == 1 |
| 1245 | lu_result_sent == 0 |
| 1246 | - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS |
| 1247 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1248 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1249 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1250 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 1251 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1252 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 1253 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 1254 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1255 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1256 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1257 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1258 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1259 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1260 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1261 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1262 | - sending Ciphering Mode Command for IMSI:901700000004620: cipher=VLR_CIPH_A5_1 kc=61855fb81fc2a800 retrieve_imeisv=1 |
| 1263 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1264 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1265 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1266 | cipher_mode_cmd_sent == 1 |
| 1267 | cipher_mode_cmd_sent_with_imeisv == 1 |
| 1268 | lu_result_sent == 0 |
| 1269 | - needs ciph, not yet accepted |
| 1270 | msc_subscr_conn_is_accepted() == false |
| 1271 | requests shall be thwarted |
| 1272 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1273 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1274 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1275 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1276 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1277 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1278 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1279 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1280 | lu_result_sent == 0 |
| 1281 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1282 | vsub->imeisv[0] == 0 |
| 1283 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1284 | - MS sends Ciphering Mode Complete with IMEISV, VLR accepts and sends GSUP LU Req to HLR |
| 1285 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 1286 | DRR IMSI:901700000004620: CIPHERING MODE COMPLETE |
| 1287 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 1288 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: got IMEISV: 4234234234234235F |
| 1289 | DVLR set IMEISV on subscriber; IMSI=901700000004620 IMEISV=4234234234234235 |
| 1290 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
| 1291 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 1292 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1293 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1294 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1295 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1296 | DVLR GSUP tx: 04010809710000004026f0 |
| 1297 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1298 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 1299 | lu_result_sent == 0 |
| 1300 | - Subscriber has the IMEISV |
| 1301 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1302 | strcmp(vsub->imeisv, "4234234234234235") == 0 |
| 1303 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1304 | msc_subscr_conn_is_accepted() == false |
| 1305 | requests shall be thwarted |
| 1306 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1307 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1308 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1309 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1310 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1311 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1312 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1313 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1314 | - MS replies with an Identity Response |
| 1315 | rx from MS: pdisc=0x05 msg_type=0x59 |
| 1316 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1317 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1318 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1319 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1320 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_ID_IMEI |
| 1321 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Event VLR_ULA_E_ID_IMEI not permitted |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1322 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1323 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1324 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1325 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1326 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1327 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1328 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1329 | DVLR GSUP tx: 12010809710000004026f0 |
| 1330 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1331 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1332 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1333 | lu_result_sent == 0 |
| 1334 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1335 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1336 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1337 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1338 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1339 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1340 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1341 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1342 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1343 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1344 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1345 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1346 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1347 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1348 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1349 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1350 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1351 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1352 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1353 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1354 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1355 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1356 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1357 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1358 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1359 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1360 | - sending LU Accept for MSISDN:46071 |
| 1361 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1362 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1363 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1364 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1365 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1366 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1367 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1368 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1369 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1370 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1371 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1372 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1373 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1374 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1375 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1376 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1377 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1378 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1379 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1380 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1381 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1382 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1383 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1384 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1385 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1386 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1387 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1388 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1389 | - LU was successful, and the conn has already been closed |
| 1390 | lu_result_sent == 1 |
| 1391 | llist_count(&net->subscr_conns) == 0 |
| 1392 | --- |
| 1393 | - subscriber detaches |
| 1394 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1395 | new conn |
| 1396 | DREF unknown: MSC conn use + 1 == 1 |
| 1397 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1398 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1399 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1400 | DMM IMSI DETACH for MSISDN:46071 |
| 1401 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1402 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1403 | DREF freeing VLR subscr MSISDN:46071 |
| 1404 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1405 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1406 | DRLL Freeing subscriber connection with NULL subscriber |
| 1407 | llist_count(&net->subscr_conns) == 0 |
| 1408 | ===== test_ciph_imeisv: SUCCESS |
| 1409 | |
| 1410 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1411 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1412 | |
| 1413 | ===== test_ciph_tmsi_imei |
| 1414 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1415 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 1416 | new conn |
| 1417 | DREF unknown: MSC conn use + 1 == 1 |
| 1418 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1419 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1420 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1421 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1422 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1423 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1424 | DMM LU/new-LAC: 1/0 |
| 1425 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1426 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1427 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth+Ciph |
| 1428 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1429 | DREF VLR subscr unknown usage increases to: 1 |
| 1430 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1431 | DVLR New subscr, IMSI: 901700000004620 |
| 1432 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1433 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1434 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1435 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1436 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1437 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 1438 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1439 | DVLR GSUP tx: 08010809710000004026f0 |
| 1440 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 1441 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_NEEDS_AUTH_WAIT_AI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1442 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1443 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1444 | lu_result_sent == 0 |
| 1445 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1446 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1447 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1448 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1449 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1450 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 1451 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1452 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1453 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 1454 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 1455 | - ...expecting sres=2d8b2c3e |
| 1456 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1457 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1458 | auth_request_sent == 1 |
| 1459 | lu_result_sent == 0 |
| 1460 | - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS |
| 1461 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1462 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1463 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1464 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 1465 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1466 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 1467 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 1468 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1469 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1470 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1471 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1472 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1473 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1474 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1475 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1476 | - sending Ciphering Mode Command for IMSI:901700000004620: cipher=VLR_CIPH_A5_1 kc=61855fb81fc2a800 retrieve_imeisv=0 |
| 1477 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_CIPH |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1478 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1479 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1480 | lu_result_sent == 0 |
| 1481 | - needs ciph, not yet accepted |
| 1482 | msc_subscr_conn_is_accepted() == false |
| 1483 | requests shall be thwarted |
| 1484 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1485 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1486 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1487 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1488 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1489 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1490 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1491 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1492 | lu_result_sent == 0 |
| 1493 | - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR |
| 1494 | rx from MS: pdisc=0x06 msg_type=0x32 |
| 1495 | DRR IMSI:901700000004620: CIPHERING MODE COMPLETE |
| 1496 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES |
| 1497 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() |
| 1498 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() |
| 1499 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1500 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1501 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1502 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1503 | DVLR GSUP tx: 04010809710000004026f0 |
| 1504 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1505 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
| 1506 | lu_result_sent == 0 |
| 1507 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1508 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1509 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1510 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1511 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1512 | DVLR GSUP tx: 12010809710000004026f0 |
| 1513 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1514 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1515 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1516 | lu_result_sent == 0 |
| 1517 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1518 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1519 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1520 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1521 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1522 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1523 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1524 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1525 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1526 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1527 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1528 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1529 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1530 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1531 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1532 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1533 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1534 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1535 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1536 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1537 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1538 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1539 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1540 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1541 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1542 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1543 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1544 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1545 | - DTAP --RAN_GERAN_A--> MS: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1546 | - DTAP matches expected message |
| 1547 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1548 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1549 | - We will only do business when the IMEI is known |
| 1550 | llist_count(&net->subscr_conns) == 1 |
| 1551 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1552 | vsub->imei[0] == 0 |
| 1553 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1554 | msc_subscr_conn_is_accepted() == false |
| 1555 | requests shall be thwarted |
| 1556 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1557 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1558 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1559 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1560 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1561 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1562 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1563 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1564 | - MS replies with an Identity Response |
| 1565 | rx from MS: pdisc=0x05 msg_type=0x59 |
| 1566 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1567 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1568 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1569 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1570 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1571 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1572 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: lu_compl_vlr_new_tmsi() |
| 1573 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 1574 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1575 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1576 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1577 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1578 | llist_count(&net->subscr_conns) == 1 |
| 1579 | lu_result_sent == 1 |
| 1580 | msc_subscr_conn_is_accepted() == false |
| 1581 | requests shall be thwarted |
| 1582 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1583 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1584 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1585 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1586 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1587 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1588 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1589 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1590 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1591 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1592 | vsub != NULL == 1 |
| 1593 | strcmp(vsub->imsi, imsi) == 0 |
| 1594 | vsub->tmsi_new == 0x03020100 |
| 1595 | vsub->tmsi == 0xffffffff |
| 1596 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1597 | - MS sends TMSI Realloc Complete |
| 1598 | rx from MS: pdisc=0x05 msg_type=0x5b |
| 1599 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1600 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1601 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 1602 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1603 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 1604 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1605 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1606 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1607 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1608 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1609 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1610 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1611 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1612 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1613 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1614 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1615 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1616 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1617 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1618 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1619 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1620 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1621 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1622 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1623 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1624 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1625 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1626 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1627 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1628 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1629 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1630 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1631 | - LU was successful, and the conn has already been closed |
| 1632 | llist_count(&net->subscr_conns) == 0 |
| 1633 | - Subscriber has the IMEI and TMSI |
| 1634 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1635 | strcmp(vsub->imei, "423423423423423") == 0 |
| 1636 | vsub->tmsi == 0x03020100 |
| 1637 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1638 | --- |
| 1639 | - subscriber detaches, using TMSI |
| 1640 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1641 | new conn |
| 1642 | DREF unknown: MSC conn use + 1 == 1 |
| 1643 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1644 | DMM IMSI DETACH INDICATION: MI(TMSI)=50462976 |
| 1645 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1646 | DMM IMSI DETACH for MSISDN:46071 |
| 1647 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1648 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1649 | DREF freeing VLR subscr MSISDN:46071 |
| 1650 | DMM msc_subscr_conn_close(vsub=unknown, cause=0): no conn fsm, releasing directly without release event. |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1651 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1652 | DRLL Freeing subscriber connection with NULL subscriber |
| 1653 | llist_count(&net->subscr_conns) == 0 |
| 1654 | ===== test_ciph_tmsi_imei: SUCCESS |
| 1655 | |
| 1656 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1657 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1658 | |
| 1659 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 1660 | talloc_total_blocks(tall_bsc_ctx) == 9 |
| 1661 | |