Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1 | ===== test_gsm_authen |
| 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 (no 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 | auth_request_sent == 1 |
| 47 | lu_result_sent == 0 |
| 48 | - If the HLR were to send a GSUP _UPDATE_LOCATION_RESULT we'd still reject |
| 49 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 50 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 51 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 52 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_HLR_LU_RES |
| 53 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Event VLR_ULA_E_HLR_LU_RES not permitted |
| 54 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 55 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 56 | msc_subscr_conn_is_accepted() == false |
| 57 | requests shall be thwarted |
| 58 | DRLL Dispatching 04.08 message, pdisc=3 |
| 59 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 60 | DRLL Dispatching 04.08 message, pdisc=5 |
| 61 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 62 | DRLL Dispatching 04.08 message, pdisc=6 |
| 63 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 64 | DRLL Dispatching 04.08 message, pdisc=9 |
| 65 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 66 | lu_result_sent == 0 |
| 67 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 68 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 69 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 70 | DRLL Dispatching 04.08 message, pdisc=5 |
| 71 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 72 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 73 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 74 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 75 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 76 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 77 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 78 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 79 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 80 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 81 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 82 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 83 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 84 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 85 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 86 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 87 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 88 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 89 | DVLR GSUP tx: 04010809710000004026f0 |
| 90 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 91 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 92 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 93 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 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 (no 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 | cm_service_result_sent == 0 |
| 194 | auth_request_sent == 1 |
| 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 with a CM Service Accept |
| 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 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 224 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 225 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 226 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 227 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 228 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 229 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 230 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 231 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 232 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 233 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 234 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 235 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 236 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 237 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
| 238 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 239 | 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] | 240 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 241 | cm_service_result_sent == 1 |
| 242 | - a USSD request is serviced |
| 243 | expecting USSD: |
| 244 | Your extension is 46071
|
| 245 | rx from MS: pdisc=0x0b msg_type=0x3b |
| 246 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 247 | DRLL Dispatching 04.08 message, pdisc=11 |
| 248 | 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] | 249 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 250 | 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] | 251 | DMM USSD: Own number requested |
| 252 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 253 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
| 254 | - DTAP --RAN_GERAN_A--> MS: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 255 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 256 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 257 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 258 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 259 | 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] | 260 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 261 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 262 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 263 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 264 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 265 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 266 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 267 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 268 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 269 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 270 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 271 | - all requests serviced, conn has been released |
| 272 | llist_count(&net->subscr_conns) == 0 |
| 273 | --- |
| 274 | - an SMS is sent, MS is paged |
| 275 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 276 | llist_count(&vsub->cs.requests) == 0 |
| 277 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 278 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 279 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 280 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 281 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 282 | llist_count(&vsub->cs.requests) == 1 |
| 283 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 284 | paging_sent == 1 |
| 285 | paging_stopped == 0 |
| 286 | - the subscriber and its pending request should remain |
| 287 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 288 | llist_count(&vsub->cs.requests) == 1 |
| 289 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 290 | - MS replies with Paging Response, and VLR sends Auth Request with third key |
| 291 | rx from MS: pdisc=0x06 msg_type=0x27 |
| 292 | new conn |
| 293 | DREF unknown: MSC conn use + 1 == 1 |
| 294 | DRLL Dispatching 04.08 message, pdisc=6 |
| 295 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 296 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 297 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 298 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 299 | 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] | 300 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 301 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 302 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth (no Ciph) |
| 303 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 304 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 305 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 306 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 307 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 308 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 309 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(901700000004620) |
| 310 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 311 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 312 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=2 |
| 313 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=2 auth_types=0x1 and... |
| 314 | - ...rand=e7c03ba7cf0e2fde82b2dc4d63077d42 |
| 315 | - ...expecting sres=a29514ae |
| 316 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 317 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 318 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 319 | auth_request_sent == 1 |
| 320 | - needs auth, not yet accepted |
| 321 | msc_subscr_conn_is_accepted() == false |
| 322 | requests shall be thwarted |
| 323 | DRLL Dispatching 04.08 message, pdisc=3 |
| 324 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 325 | DRLL Dispatching 04.08 message, pdisc=5 |
| 326 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 327 | DRLL Dispatching 04.08 message, pdisc=6 |
| 328 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 329 | DRLL Dispatching 04.08 message, pdisc=9 |
| 330 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 331 | - MS sends Authen Response, VLR accepts and sends pending SMS |
| 332 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 333 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 334 | DRLL Dispatching 04.08 message, pdisc=5 |
| 335 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) |
| 336 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 337 | DVLR SUBSCR(MSISDN:46071) received res: a2 95 14 ae |
| 338 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 339 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 340 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 341 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 342 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(901700000004620) |
| 343 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 344 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 345 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 346 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 347 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 348 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 349 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 350 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 351 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 352 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 353 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 354 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 355 | 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] | 356 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 357 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 358 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 359 | DPAG Paging success for MSISDN:46071 (event=0) |
| 360 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 361 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 362 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 363 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
| 364 | - DTAP --RAN_GERAN_A--> MS: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 365 | - DTAP matches expected message |
| 366 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 367 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 368 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
| 369 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 370 | 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] | 371 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 372 | dtap_tx_confirmed == 1 |
| 373 | paging_stopped == 1 |
| 374 | - SMS was delivered, no requests pending for subscr |
| 375 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 376 | llist_count(&vsub->cs.requests) == 0 |
| 377 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 378 | - conn is still open to wait for SMS ack dance |
| 379 | llist_count(&net->subscr_conns) == 1 |
| 380 | - MS replies with CP-ACK for received SMS |
| 381 | rx from MS: pdisc=0x89 msg_type=0x04 |
| 382 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 383 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 384 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 385 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 386 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 387 | 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] | 388 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 389 | llist_count(&net->subscr_conns) == 1 |
| 390 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
| 391 | rx from MS: pdisc=0x89 msg_type=0x01 |
| 392 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 393 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 394 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 395 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
| 396 | - DTAP --RAN_GERAN_A--> MS: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 397 | - DTAP matches expected message |
| 398 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 399 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 400 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 401 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 402 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 403 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 404 | 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] | 405 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 406 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 407 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 408 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 409 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 410 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 411 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 412 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 413 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 414 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 415 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 416 | dtap_tx_confirmed == 1 |
| 417 | - SMS is done, conn is gone |
| 418 | llist_count(&net->subscr_conns) == 0 |
| 419 | --- |
| 420 | - subscriber detaches |
| 421 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 422 | new conn |
| 423 | DREF unknown: MSC conn use + 1 == 1 |
| 424 | DRLL Dispatching 04.08 message, pdisc=5 |
| 425 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 426 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 427 | DMM IMSI DETACH for MSISDN:46071 |
| 428 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 429 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 430 | DREF freeing VLR subscr MSISDN:46071 |
| 431 | 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] | 432 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 433 | DRLL Freeing subscriber connection with NULL subscriber |
| 434 | llist_count(&net->subscr_conns) == 0 |
| 435 | ===== test_gsm_authen: SUCCESS |
| 436 | |
| 437 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 438 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 439 | |
| 440 | ===== test_gsm_authen_tmsi |
| 441 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 442 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 443 | new conn |
| 444 | DREF unknown: MSC conn use + 1 == 1 |
| 445 | DRLL Dispatching 04.08 message, pdisc=5 |
| 446 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 447 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 448 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 449 | 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] | 450 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 451 | DMM LU/new-LAC: 1/0 |
| 452 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 453 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 454 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth (no Ciph) |
| 455 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 456 | DREF VLR subscr unknown usage increases to: 1 |
| 457 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 458 | DVLR New subscr, IMSI: 901700000004620 |
| 459 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 460 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 461 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 462 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 463 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 464 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 465 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 466 | DVLR GSUP tx: 08010809710000004026f0 |
| 467 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 468 | 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] | 469 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 470 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 471 | lu_result_sent == 0 |
| 472 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 473 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 474 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 475 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 476 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 477 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 478 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 479 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 480 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 481 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 482 | - ...expecting sres=2d8b2c3e |
| 483 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 484 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 485 | auth_request_sent == 1 |
| 486 | lu_result_sent == 0 |
| 487 | - If the HLR were to send a GSUP _UPDATE_LOCATION_RESULT we'd still reject |
| 488 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 489 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 490 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 491 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_HLR_LU_RES |
| 492 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Event VLR_ULA_E_HLR_LU_RES not permitted |
| 493 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 494 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 495 | msc_subscr_conn_is_accepted() == false |
| 496 | requests shall be thwarted |
| 497 | DRLL Dispatching 04.08 message, pdisc=3 |
| 498 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 499 | DRLL Dispatching 04.08 message, pdisc=5 |
| 500 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 501 | DRLL Dispatching 04.08 message, pdisc=6 |
| 502 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 503 | DRLL Dispatching 04.08 message, pdisc=9 |
| 504 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 505 | lu_result_sent == 0 |
| 506 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 507 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 508 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 509 | DRLL Dispatching 04.08 message, pdisc=5 |
| 510 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 511 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 512 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 513 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 514 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 515 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 516 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 517 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 518 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 519 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 520 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 521 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 522 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 523 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 524 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 525 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 526 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 527 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 528 | DVLR GSUP tx: 04010809710000004026f0 |
| 529 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 530 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 531 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 532 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 533 | lu_result_sent == 0 |
| 534 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 535 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 536 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 537 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 538 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 539 | DVLR GSUP tx: 12010809710000004026f0 |
| 540 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 541 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 542 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 543 | lu_result_sent == 0 |
| 544 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 545 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 546 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 547 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 548 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 549 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 550 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 551 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 552 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 553 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 554 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 555 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 556 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 557 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 558 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 559 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 560 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 561 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 562 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 563 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 564 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 565 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 566 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 567 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 568 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 569 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 570 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 571 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 572 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
| 573 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 574 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 575 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 576 | llist_count(&net->subscr_conns) == 1 |
| 577 | lu_result_sent == 1 |
| 578 | msc_subscr_conn_is_accepted() == false |
| 579 | requests shall be thwarted |
| 580 | DRLL Dispatching 04.08 message, pdisc=3 |
| 581 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 582 | DRLL Dispatching 04.08 message, pdisc=5 |
| 583 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 584 | DRLL Dispatching 04.08 message, pdisc=6 |
| 585 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 586 | DRLL Dispatching 04.08 message, pdisc=9 |
| 587 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 588 | - even though the TMSI is not acked, we can already find the subscr with it |
| 589 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 590 | vsub != NULL == 1 |
| 591 | strcmp(vsub->imsi, imsi) == 0 |
| 592 | vsub->tmsi_new == 0x03020100 |
| 593 | vsub->tmsi == 0xffffffff |
| 594 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 595 | - MS sends TMSI Realloc Complete |
| 596 | rx from MS: pdisc=0x05 msg_type=0x5b |
| 597 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 598 | DRLL Dispatching 04.08 message, pdisc=5 |
| 599 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 600 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 601 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 602 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 603 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 604 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 605 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 606 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 607 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 608 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 609 | 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] | 610 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 611 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 612 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 613 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 614 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 615 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 616 | 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] | 617 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 618 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 619 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 620 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 621 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 622 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 623 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 624 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 625 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 626 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 627 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 628 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 629 | - LU was successful, and the conn has already been closed |
| 630 | llist_count(&net->subscr_conns) == 0 |
| 631 | - Subscriber has the new TMSI |
| 632 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 633 | vsub != NULL == 1 |
| 634 | strcmp(vsub->imsi, imsi) == 0 |
| 635 | vsub->tmsi_new == 0xffffffff |
| 636 | vsub->tmsi == 0x03020100 |
| 637 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 638 | --- |
| 639 | - after a while, a new conn sends a CM Service Request using above TMSI. VLR responds with Auth Req, 2nd auth vector |
| 640 | rx from MS: pdisc=0x05 msg_type=0x24 |
| 641 | new conn |
| 642 | DREF unknown: MSC conn use + 1 == 1 |
| 643 | DRLL Dispatching 04.08 message, pdisc=5 |
| 644 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(TMSI)=50462976 |
| 645 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 646 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 647 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 648 | 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] | 649 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 650 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 651 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth (no Ciph) |
| 652 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 653 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 654 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 655 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 656 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 657 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 658 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(50462976) |
| 659 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 660 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 661 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=1 |
| 662 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=1 auth_types=0x1 and... |
| 663 | - ...rand=12aca96fb4ffdea5c985cbafa9b6e18b |
| 664 | - ...expecting sres=20bde240 |
| 665 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 666 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 667 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 668 | cm_service_result_sent == 0 |
| 669 | auth_request_sent == 1 |
| 670 | - needs auth, not yet accepted |
| 671 | msc_subscr_conn_is_accepted() == false |
| 672 | requests shall be thwarted |
| 673 | DRLL Dispatching 04.08 message, pdisc=3 |
| 674 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 675 | DRLL Dispatching 04.08 message, pdisc=5 |
| 676 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 677 | DRLL Dispatching 04.08 message, pdisc=6 |
| 678 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 679 | DRLL Dispatching 04.08 message, pdisc=9 |
| 680 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 681 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 682 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 683 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 684 | DRLL Dispatching 04.08 message, pdisc=5 |
| 685 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) |
| 686 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 687 | DVLR SUBSCR(MSISDN:46071) received res: 20 bd e2 40 |
| 688 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 689 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 690 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 691 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 692 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(50462976) |
| 693 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 694 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 695 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 696 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 697 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 698 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 699 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 700 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 701 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 702 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 703 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 704 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 705 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 706 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 707 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 708 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 709 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 710 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 711 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 712 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
| 713 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 714 | 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] | 715 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 716 | cm_service_result_sent == 1 |
| 717 | - a USSD request is serviced |
| 718 | expecting USSD: |
| 719 | Your extension is 46071
|
| 720 | rx from MS: pdisc=0x0b msg_type=0x3b |
| 721 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 722 | DRLL Dispatching 04.08 message, pdisc=11 |
| 723 | 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] | 724 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 725 | 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] | 726 | DMM USSD: Own number requested |
| 727 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 728 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
| 729 | - DTAP --RAN_GERAN_A--> MS: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 730 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 731 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 732 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 733 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 734 | 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] | 735 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 736 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 737 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 738 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 739 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 740 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 741 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 742 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 743 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 744 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 745 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 746 | - all requests serviced, conn has been released |
| 747 | llist_count(&net->subscr_conns) == 0 |
| 748 | --- |
| 749 | - an SMS is sent, MS is paged |
| 750 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 751 | llist_count(&vsub->cs.requests) == 0 |
| 752 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 753 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 754 | 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] | 755 | paging_expecting_tmsi == 0x03020100 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 756 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 757 | llist_count(&vsub->cs.requests) == 1 |
| 758 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 759 | paging_sent == 1 |
| 760 | paging_stopped == 0 |
| 761 | - the subscriber and its pending request should remain |
| 762 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 763 | llist_count(&vsub->cs.requests) == 1 |
| 764 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 765 | - MS replies with Paging Response using TMSI, and VLR sends Auth Request with third key |
| 766 | rx from MS: pdisc=0x06 msg_type=0x27 |
| 767 | new conn |
| 768 | DREF unknown: MSC conn use + 1 == 1 |
| 769 | DRLL Dispatching 04.08 message, pdisc=6 |
| 770 | DRR PAGING RESPONSE: MI(TMSI)=50462976 |
| 771 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 772 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 773 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 774 | 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] | 775 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Allocated |
| 776 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: is child of Subscr_Conn(50462976) |
| 777 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth (no Ciph) |
| 778 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 779 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 780 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 781 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 782 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 783 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 784 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(50462976) |
| 785 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 786 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 787 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=2 |
| 788 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=2 auth_types=0x1 and... |
| 789 | - ...rand=e7c03ba7cf0e2fde82b2dc4d63077d42 |
| 790 | - ...expecting sres=a29514ae |
| 791 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 792 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 793 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 794 | auth_request_sent == 1 |
| 795 | - needs auth, not yet accepted |
| 796 | msc_subscr_conn_is_accepted() == false |
| 797 | requests shall be thwarted |
| 798 | DRLL Dispatching 04.08 message, pdisc=3 |
| 799 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 800 | DRLL Dispatching 04.08 message, pdisc=5 |
| 801 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 802 | DRLL Dispatching 04.08 message, pdisc=6 |
| 803 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 804 | DRLL Dispatching 04.08 message, pdisc=9 |
| 805 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 806 | - MS sends Authen Response, VLR accepts and sends pending SMS |
| 807 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 808 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 809 | DRLL Dispatching 04.08 message, pdisc=5 |
| 810 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) |
| 811 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 812 | DVLR SUBSCR(MSISDN:46071) received res: a2 95 14 ae |
| 813 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 814 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 815 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 816 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 817 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(50462976) |
| 818 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 819 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 820 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 821 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 822 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 823 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 824 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 825 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 826 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 827 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 828 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 829 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 830 | 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] | 831 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 832 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 833 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 834 | DPAG Paging success for MSISDN:46071 (event=0) |
| 835 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 836 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 837 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 838 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
| 839 | - DTAP --RAN_GERAN_A--> MS: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 840 | - DTAP matches expected message |
| 841 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 842 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 843 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
| 844 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 845 | 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] | 846 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 847 | dtap_tx_confirmed == 1 |
| 848 | paging_stopped == 1 |
| 849 | - SMS was delivered, no requests pending for subscr |
| 850 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 851 | llist_count(&vsub->cs.requests) == 0 |
| 852 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
| 853 | - conn is still open to wait for SMS ack dance |
| 854 | llist_count(&net->subscr_conns) == 1 |
| 855 | - MS replies with CP-ACK for received SMS |
| 856 | rx from MS: pdisc=0x89 msg_type=0x04 |
| 857 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 858 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 859 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 860 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 861 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 862 | 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] | 863 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 864 | llist_count(&net->subscr_conns) == 1 |
| 865 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
| 866 | rx from MS: pdisc=0x89 msg_type=0x01 |
| 867 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
| 868 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 869 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 870 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
| 871 | - DTAP --RAN_GERAN_A--> MS: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 872 | - DTAP matches expected message |
| 873 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 874 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 875 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 876 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 877 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 878 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 879 | 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] | 880 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 881 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 882 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Freeing instance |
| 883 | DVLR Process_Access_Request_VLR(50462976){PR_ARQ_S_DONE}: Deallocated |
| 884 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 885 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 886 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 887 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 888 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 889 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 890 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 891 | dtap_tx_confirmed == 1 |
| 892 | - SMS is done, conn is gone |
| 893 | llist_count(&net->subscr_conns) == 0 |
| 894 | --- |
| 895 | - subscriber sends LU Request, this time with the TMSI |
| 896 | - Location Update request causes an Auth Req to MS |
| 897 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 898 | new conn |
| 899 | DREF unknown: MSC conn use + 1 == 1 |
| 900 | DRLL Dispatching 04.08 message, pdisc=5 |
| 901 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 902 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Allocated |
| 903 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 904 | 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] | 905 | DMM LOCATION UPDATING REQUEST: MI(TMSI)=50462976 type=IMSI ATTACH |
| 906 | DMM LU/new-LAC: 1/0 |
| 907 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: Allocated |
| 908 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: is child of Subscr_Conn(50462976) |
| 909 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth (no Ciph) |
| 910 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 911 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 912 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 913 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 914 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 915 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 916 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 917 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(50462976) |
| 918 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 919 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 920 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=3 |
| 921 | - sending GSM Auth Request for MSISDN:46071: tuple use_count=1 key_seq=3 auth_types=0x1 and... |
| 922 | - ...rand=fa8f20b781b5881329d4fea26b1a3c51 |
| 923 | - ...expecting sres=5afc8d72 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 924 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 925 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 926 | auth_request_sent == 1 |
| 927 | lu_result_sent == 0 |
| 928 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 929 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 930 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 931 | DRLL Dispatching 04.08 message, pdisc=5 |
| 932 | DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 5afc8d72) |
| 933 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 934 | DVLR SUBSCR(MSISDN:46071) received res: 5a fc 8d 72 |
| 935 | DVLR SUBSCR(MSISDN:46071) AUTH established GSM security context |
| 936 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 937 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 938 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 939 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(50462976) |
| 940 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 941 | DVLR VLR_Authenticate(50462976){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 942 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 943 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 944 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 945 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 946 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 947 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: Allocated |
| 948 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(50462976) |
| 949 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 950 | DVLR GSUP tx: 04010809710000004026f0 |
| 951 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 952 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 953 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 954 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 955 | lu_result_sent == 0 |
| 956 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 957 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 958 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 959 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 960 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 961 | DVLR GSUP tx: 12010809710000004026f0 |
| 962 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 963 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 964 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 965 | lu_result_sent == 0 |
| 966 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 967 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 968 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 969 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 970 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 971 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 972 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 973 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 974 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(50462976) |
| 975 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 976 | DVLR upd_hlr_vlr_fsm(50462976){UPD_HLR_VLR_S_DONE}: Deallocated |
| 977 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 978 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 979 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: Allocated |
| 980 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(50462976) |
| 981 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 982 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 983 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: Allocated |
| 984 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(50462976) |
| 985 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 986 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 987 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 988 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(50462976) |
| 989 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 990 | DVLR sub_pres_vlr_fsm(50462976){SUB_PRES_VLR_S_DONE}: Deallocated |
| 991 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 992 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: lu_compl_vlr_new_tmsi() |
| 993 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 994 | - sending LU Accept for MSISDN:46071, with TMSI 0x07060504 |
| 995 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 996 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 997 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 998 | llist_count(&net->subscr_conns) == 1 |
| 999 | lu_result_sent == 1 |
| 1000 | msc_subscr_conn_is_accepted() == false |
| 1001 | requests shall be thwarted |
| 1002 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1003 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1004 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1005 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1006 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1007 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1008 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1009 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1010 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1011 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1012 | vsub != NULL == 1 |
| 1013 | strcmp(vsub->imsi, imsi) == 0 |
| 1014 | vsub->tmsi_new == 0x07060504 |
| 1015 | vsub->tmsi == 0x03020100 |
| 1016 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1017 | - MS sends TMSI Realloc Complete |
| 1018 | rx from MS: pdisc=0x05 msg_type=0x5b |
| 1019 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1020 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1021 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 1022 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1023 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 1024 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1025 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1026 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1027 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(50462976) |
| 1028 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1029 | DVLR lu_compl_vlr_fsm(50462976){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1030 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1031 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1032 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1033 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1034 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1035 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1036 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1037 | 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] | 1038 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1039 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(50462976) |
| 1040 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1041 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Freeing instance |
| 1042 | DVLR vlr_lu_fsm(50462976){VLR_ULA_S_DONE}: Deallocated |
| 1043 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1044 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1045 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1046 | DMM Subscr_Conn(50462976){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1047 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1048 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1049 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1050 | - LU was successful, and the conn has already been closed |
| 1051 | llist_count(&net->subscr_conns) == 0 |
| 1052 | - subscriber has the new TMSI |
| 1053 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1054 | vsub != NULL == 1 |
| 1055 | strcmp(vsub->imsi, imsi) == 0 |
| 1056 | vsub->tmsi_new == 0xffffffff |
| 1057 | vsub->tmsi == 0x07060504 |
| 1058 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1059 | --- |
| 1060 | - subscriber detaches, using new TMSI |
| 1061 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1062 | new conn |
| 1063 | DREF unknown: MSC conn use + 1 == 1 |
| 1064 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1065 | DMM IMSI DETACH INDICATION: MI(TMSI)=117835012 |
| 1066 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1067 | DMM IMSI DETACH for MSISDN:46071 |
| 1068 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1069 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1070 | DREF freeing VLR subscr MSISDN:46071 |
| 1071 | 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] | 1072 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1073 | DRLL Freeing subscriber connection with NULL subscriber |
| 1074 | llist_count(&net->subscr_conns) == 0 |
| 1075 | ===== test_gsm_authen_tmsi: SUCCESS |
| 1076 | |
| 1077 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1078 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1079 | |
| 1080 | ===== test_gsm_authen_imei |
| 1081 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1082 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 1083 | new conn |
| 1084 | DREF unknown: MSC conn use + 1 == 1 |
| 1085 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1086 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1087 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1088 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1089 | 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] | 1090 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1091 | DMM LU/new-LAC: 1/0 |
| 1092 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1093 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1094 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth (no Ciph) |
| 1095 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1096 | DREF VLR subscr unknown usage increases to: 1 |
| 1097 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1098 | DVLR New subscr, IMSI: 901700000004620 |
| 1099 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1100 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1101 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1102 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1103 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1104 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 1105 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1106 | DVLR GSUP tx: 08010809710000004026f0 |
| 1107 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 1108 | 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] | 1109 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1110 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1111 | lu_result_sent == 0 |
| 1112 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1113 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1114 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1115 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1116 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1117 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 1118 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1119 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1120 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 1121 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 1122 | - ...expecting sres=2d8b2c3e |
| 1123 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1124 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1125 | auth_request_sent == 1 |
| 1126 | lu_result_sent == 0 |
| 1127 | - If the HLR were to send a GSUP _UPDATE_LOCATION_RESULT we'd still reject |
| 1128 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1129 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1130 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1131 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1132 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Event VLR_ULA_E_HLR_LU_RES not permitted |
| 1133 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1134 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1135 | msc_subscr_conn_is_accepted() == false |
| 1136 | requests shall be thwarted |
| 1137 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1138 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1139 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1140 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1141 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1142 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1143 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1144 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1145 | lu_result_sent == 0 |
| 1146 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 1147 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1148 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1149 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1150 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 1151 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1152 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 1153 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 1154 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1155 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1156 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1157 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1158 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1159 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1160 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1161 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1162 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 1163 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 1164 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1165 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1166 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1167 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1168 | DVLR GSUP tx: 04010809710000004026f0 |
| 1169 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1170 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1171 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1172 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1173 | lu_result_sent == 0 |
| 1174 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1175 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1176 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1177 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1178 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1179 | DVLR GSUP tx: 12010809710000004026f0 |
| 1180 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1181 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1182 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1183 | lu_result_sent == 0 |
| 1184 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1185 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1186 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1187 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1188 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1189 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1190 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1191 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1192 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1193 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1194 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1195 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1196 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1197 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1198 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1199 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1200 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1201 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1202 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1203 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1204 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1205 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1206 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1207 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1208 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1209 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1210 | 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] | 1211 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1212 | - DTAP --RAN_GERAN_A--> MS: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1213 | - DTAP matches expected message |
| 1214 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1215 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1216 | - We will only do business when the IMEI is known |
| 1217 | llist_count(&net->subscr_conns) == 1 |
| 1218 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1219 | vsub->imei[0] == 0 |
| 1220 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1221 | msc_subscr_conn_is_accepted() == false |
| 1222 | requests shall be thwarted |
| 1223 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1224 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1225 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1226 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1227 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1228 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1229 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1230 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1231 | - MS replies with an Identity Response |
| 1232 | rx from MS: pdisc=0x05 msg_type=0x59 |
| 1233 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1234 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1235 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1236 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1237 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1238 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1239 | - sending LU Accept for MSISDN:46071 |
| 1240 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1241 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI}: state_chg to LU_COMPL_VLR_S_DONE |
| 1242 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1243 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1244 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1245 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1246 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1247 | 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] | 1248 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1249 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1250 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1251 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1252 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1253 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1254 | 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] | 1255 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1256 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1257 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1258 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1259 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1260 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1261 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1262 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1263 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1264 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1265 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1266 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1267 | - LU was successful, and the conn has already been closed |
| 1268 | lu_result_sent == 1 |
| 1269 | llist_count(&net->subscr_conns) == 0 |
| 1270 | - Subscriber has the IMEI |
| 1271 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1272 | strcmp(vsub->imei, "423423423423423") == 0 |
| 1273 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1274 | --- |
| 1275 | - subscriber detaches |
| 1276 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1277 | new conn |
| 1278 | DREF unknown: MSC conn use + 1 == 1 |
| 1279 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1280 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1281 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1282 | DMM IMSI DETACH for MSISDN:46071 |
| 1283 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1284 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1285 | DREF freeing VLR subscr MSISDN:46071 |
| 1286 | 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] | 1287 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1288 | DRLL Freeing subscriber connection with NULL subscriber |
| 1289 | llist_count(&net->subscr_conns) == 0 |
| 1290 | ===== test_gsm_authen_imei: SUCCESS |
| 1291 | |
| 1292 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1293 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1294 | |
| 1295 | ===== test_gsm_authen_tmsi_imei |
| 1296 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1297 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 1298 | new conn |
| 1299 | DREF unknown: MSC conn use + 1 == 1 |
| 1300 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1301 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1302 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1303 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1304 | 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] | 1305 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1306 | DMM LU/new-LAC: 1/0 |
| 1307 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1308 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1309 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth (no Ciph) |
| 1310 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1311 | DREF VLR subscr unknown usage increases to: 1 |
| 1312 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1313 | DVLR New subscr, IMSI: 901700000004620 |
| 1314 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1315 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1316 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1317 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1318 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1319 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000004620) |
| 1320 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1321 | DVLR GSUP tx: 08010809710000004026f0 |
| 1322 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000004026f0 |
| 1323 | 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] | 1324 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1325 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1326 | lu_result_sent == 0 |
| 1327 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1328 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1329 | DVLR GSUP rx 191: 0a010809710000004026f003222010585df1ae287f6e273dce07090d61320b21042d8b2c3e220861855fb81fc2a8000322201012aca96fb4ffdea5c985cbafa9b6e18b210420bde240220807fa7502e07e1c0003222010e7c03ba7cf0e2fde82b2dc4d63077d422104a29514ae2208e2b234f80788640003222010fa8f20b781b5881329d4fea26b1a3c5121045afc8d7222082392f14f709ae000032220100fd4cc8dbe8715d1f439e304edfd68dc2104bc8d1c5b2208da7cdd6bfe2d7000 |
| 1330 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1331 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1332 | DVLR SUBSCR(IMSI:901700000004620) Received 5 auth tuples |
| 1333 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1334 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1335 | - sending GSM Auth Request for IMSI:901700000004620: tuple use_count=1 key_seq=0 auth_types=0x1 and... |
| 1336 | - ...rand=585df1ae287f6e273dce07090d61320b |
| 1337 | - ...expecting sres=2d8b2c3e |
| 1338 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1339 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1340 | auth_request_sent == 1 |
| 1341 | lu_result_sent == 0 |
| 1342 | - If the HLR were to send a GSUP _UPDATE_LOCATION_RESULT we'd still reject |
| 1343 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1344 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1345 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1346 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1347 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Event VLR_ULA_E_HLR_LU_RES not permitted |
| 1348 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 1349 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1350 | msc_subscr_conn_is_accepted() == false |
| 1351 | requests shall be thwarted |
| 1352 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1353 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1354 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1355 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1356 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1357 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1358 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1359 | DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1360 | lu_result_sent == 0 |
| 1361 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 1362 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1363 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
| 1364 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1365 | DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) |
| 1366 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1367 | DVLR SUBSCR(IMSI:901700000004620) received res: 2d 8b 2c 3e |
| 1368 | DVLR SUBSCR(IMSI:901700000004620) AUTH established GSM security context |
| 1369 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1370 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1371 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1372 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1373 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1374 | DVLR VLR_Authenticate(901700000004620){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1375 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1376 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1377 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 1378 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 1379 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1380 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1381 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1382 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1383 | DVLR GSUP tx: 04010809710000004026f0 |
| 1384 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1385 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1386 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1387 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1388 | lu_result_sent == 0 |
| 1389 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1390 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1391 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1392 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1393 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1394 | DVLR GSUP tx: 12010809710000004026f0 |
| 1395 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1396 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1397 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1398 | lu_result_sent == 0 |
| 1399 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT, and we send an ID Request for the IMEI to the MS |
| 1400 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1401 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1402 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1403 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1404 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1405 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1406 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1407 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1408 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1409 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1410 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1411 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1412 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1413 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1414 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1415 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1416 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1417 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1418 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1419 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1420 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1421 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1422 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1423 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1424 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1425 | 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] | 1426 | DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A |
| 1427 | - DTAP --RAN_GERAN_A--> MS: 051802 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1428 | - DTAP matches expected message |
| 1429 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1430 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1431 | - We will only do business when the IMEI is known |
| 1432 | llist_count(&net->subscr_conns) == 1 |
| 1433 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1434 | vsub->imei[0] == 0 |
| 1435 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1436 | msc_subscr_conn_is_accepted() == false |
| 1437 | requests shall be thwarted |
| 1438 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1439 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1440 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1441 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1442 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1443 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1444 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1445 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1446 | - MS replies with an Identity Response |
| 1447 | rx from MS: pdisc=0x05 msg_type=0x59 |
| 1448 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1449 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1450 | DMM IDENTITY RESPONSE: MI(IMEI)=423423423423423 |
| 1451 | DVLR set IMEI on subscriber; IMSI=901700000004620 IMEI=423423423423423 |
| 1452 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_ID_IMEI |
| 1453 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: Received Event LU_COMPL_VLR_E_IMEI_CHECK_ACK |
| 1454 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: lu_compl_vlr_new_tmsi() |
| 1455 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_IMEI_TMSI}: state_chg to LU_COMPL_VLR_S_WAIT_TMSI_CNF |
| 1456 | - sending LU Accept for MSISDN:46071, with TMSI 0x03020100 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1457 | DMM MSISDN:46071: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1458 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1459 | - a LU Accept with a new TMSI was sent, waiting for TMSI Realloc Compl |
| 1460 | llist_count(&net->subscr_conns) == 1 |
| 1461 | lu_result_sent == 1 |
| 1462 | msc_subscr_conn_is_accepted() == false |
| 1463 | requests shall be thwarted |
| 1464 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1465 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1466 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1467 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1468 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1469 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1470 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1471 | DRLL subscr MSISDN:46071: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1472 | - even though the TMSI is not acked, we can already find the subscr with it |
| 1473 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1474 | vsub != NULL == 1 |
| 1475 | strcmp(vsub->imsi, imsi) == 0 |
| 1476 | vsub->tmsi_new == 0x03020100 |
| 1477 | vsub->tmsi == 0xffffffff |
| 1478 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1479 | - MS sends TMSI Realloc Complete |
| 1480 | rx from MS: pdisc=0x05 msg_type=0x5b |
| 1481 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
| 1482 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1483 | DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 |
| 1484 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_NEW_TMSI_ACK |
| 1485 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: Received Event LU_COMPL_VLR_E_NEW_TMSI_ACK |
| 1486 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1487 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_TMSI_CNF}: state_chg to LU_COMPL_VLR_S_DONE |
| 1488 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1489 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1490 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1491 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1492 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1493 | 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] | 1494 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1495 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1496 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1497 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1498 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1499 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1500 | 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] | 1501 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1502 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1503 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1504 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1505 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1506 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
| 1507 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1508 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1509 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1510 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1511 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1512 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1513 | - LU was successful, and the conn has already been closed |
| 1514 | llist_count(&net->subscr_conns) == 0 |
| 1515 | - Subscriber has the IMEI and TMSI |
| 1516 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1517 | strcmp(vsub->imei, "423423423423423") == 0 |
| 1518 | vsub->tmsi == 0x03020100 |
| 1519 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1520 | --- |
| 1521 | - subscriber detaches, using TMSI |
| 1522 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1523 | new conn |
| 1524 | DREF unknown: MSC conn use + 1 == 1 |
| 1525 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1526 | DMM IMSI DETACH INDICATION: MI(TMSI)=50462976 |
| 1527 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1528 | DMM IMSI DETACH for MSISDN:46071 |
| 1529 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1530 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1531 | DREF freeing VLR subscr MSISDN:46071 |
| 1532 | 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] | 1533 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1534 | DRLL Freeing subscriber connection with NULL subscriber |
| 1535 | llist_count(&net->subscr_conns) == 0 |
| 1536 | ===== test_gsm_authen_tmsi_imei: SUCCESS |
| 1537 | |
| 1538 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1539 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1540 | |
| 1541 | ===== test_gsm_milenage_authen |
| 1542 | - Location Update request causes a GSUP Send Auth Info request to HLR |
| 1543 | rx from MS: pdisc=0x05 msg_type=0x08 |
| 1544 | new conn |
| 1545 | DREF unknown: MSC conn use + 1 == 1 |
| 1546 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1547 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1548 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Allocated |
| 1549 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1550 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1551 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000010650 type=NORMAL |
| 1552 | DMM LU/new-LAC: 0/0 |
| 1553 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: Allocated |
| 1554 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000010650) |
| 1555 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: rev=GSM net=GERAN Auth (no Ciph) |
| 1556 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1557 | DREF VLR subscr unknown usage increases to: 1 |
| 1558 | DVLR set IMSI on subscriber; IMSI=901700000010650 id=901700000010650 |
| 1559 | DVLR New subscr, IMSI: 901700000010650 |
| 1560 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1561 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1562 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1563 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_AUTH |
| 1564 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1565 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of vlr_lu_fsm(901700000010650) |
| 1566 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1567 | DVLR GSUP tx: 08010809710000000156f0 |
| 1568 | GSUP --> HLR: OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST: 08010809710000000156f0 |
| 1569 | DVLR VLR_Authenticate(901700000010650){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] | 1570 | DMM IMSI:901700000010650: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1571 | DREF IMSI:901700000010650: MSC conn use - 1 == 1 |
| 1572 | lu_result_sent == 0 |
| 1573 | - from HLR, rx _SEND_AUTH_INFO_RESULT; VLR sends Auth Req to MS |
| 1574 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e4103622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc703622010efa9c29a9742148d5c9070348716e1bb210469d5f9fb22083df176f0c29f1a3d2310eb50e770ddcc3060101d2f43b6c2b884241076542abce5ff9345b0e8947f4c6e019c2510f9375e6d41e1000096e7fe4ff1c27e392708706f996719ba609c |
| 1575 | DVLR GSUP rx 311: 0a010809710000000156f00362201039fa2f4e3d523d8619a73b4f65c3e14d21049b36efdf2208059a4f668f6fbe39231027497388b6cb044648f396aa155b95ef2410f64735036e5871319c679f4742a75ea125108704f5ba55f30000d2ee44b22c8ea9192708e229c19e791f2e4103622010c187a53a5e6b9d573cac7c74451fd46d210485aa31302208d3d50a000bf04f6e23101159ec926a50e98c034a6b7d7c9f418d2410df3a03d9ca5335641efc8e36d76cd20b25101843a645b98d00005b2d666af46c45d927087db47cf7f81e4dc703622010efa9c29a9742148d5c9070348716e1bb210469d5f9fb22083df176f0c29f1a3d2310eb50e770ddcc3060101d2f43b6c2b884241076542abce5ff9345b0e8947f4c6e019c2510f9375e6d41e1000096e7fe4ff1c27e392708706f996719ba609c |
| 1576 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 1577 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: Received Event VLR_AUTH_E_HLR_SAI_ACK |
| 1578 | DVLR SUBSCR(IMSI:901700000010650) Received 3 auth tuples |
| 1579 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH_WAIT_AI}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1580 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=0 |
| 1581 | - sending GSM Auth Request for IMSI:901700000010650: tuple use_count=1 key_seq=0 auth_types=0x3 and... |
| 1582 | - ...rand=39fa2f4e3d523d8619a73b4f65c3e14d |
| 1583 | - ...expecting sres=9b36efdf |
| 1584 | DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 |
| 1585 | <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1586 | auth_request_sent == 1 |
| 1587 | lu_result_sent == 0 |
| 1588 | - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR |
| 1589 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1590 | DREF IMSI:901700000010650: MSC conn use + 1 == 2 |
| 1591 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1592 | DMM IMSI:901700000010650: MM GSM AUTHENTICATION RESPONSE (sres = 9b36efdf) |
| 1593 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1594 | DVLR SUBSCR(IMSI:901700000010650) received res: 9b 36 ef df |
| 1595 | DVLR SUBSCR(IMSI:901700000010650) AUTH established GSM security context |
| 1596 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1597 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1598 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1599 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent vlr_lu_fsm(901700000010650) |
| 1600 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1601 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1602 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_AUTH}: Received Event VLR_ULA_E_AUTH_RES |
| 1603 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_auth() |
| 1604 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_post_ciph() |
| 1605 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_AUTH}: vlr_loc_upd_node_4() |
| 1606 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1607 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_INIT}: Allocated |
| 1608 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000010650) |
| 1609 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1610 | DVLR GSUP tx: 04010809710000000156f0 |
| 1611 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000000156f0 |
| 1612 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1613 | DMM IMSI:901700000010650: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1614 | DREF IMSI:901700000010650: MSC conn use - 1 == 1 |
| 1615 | lu_result_sent == 0 |
| 1616 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1617 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000000156f00804032443f2 |
| 1618 | DVLR GSUP rx 17: 10010809710000000156f00804032443f2 |
| 1619 | DREF VLR subscr IMSI:901700000010650 usage increases to: 2 |
| 1620 | DVLR IMSI:901700000010650 has MSISDN:42342 |
| 1621 | DVLR GSUP tx: 12010809710000000156f0 |
| 1622 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000000156f0 |
| 1623 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1624 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1625 | lu_result_sent == 0 |
| 1626 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1627 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000000156f0 |
| 1628 | DVLR GSUP rx 11: 06010809710000000156f0 |
| 1629 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1630 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1631 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1632 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1633 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1634 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000010650) |
| 1635 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1636 | DVLR upd_hlr_vlr_fsm(901700000010650){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1637 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1638 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1639 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_INIT}: Allocated |
| 1640 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000010650) |
| 1641 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1642 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1643 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_INIT}: Allocated |
| 1644 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000010650) |
| 1645 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1646 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1647 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1648 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000010650) |
| 1649 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1650 | DVLR sub_pres_vlr_fsm(901700000010650){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1651 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1652 | - sending LU Accept for MSISDN:42342 |
| 1653 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1654 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1655 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1656 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1657 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000010650) |
| 1658 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1659 | DVLR lu_compl_vlr_fsm(901700000010650){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1660 | DVLR vlr_lu_fsm(901700000010650){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] | 1661 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1662 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1663 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1664 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1665 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1666 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1667 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1668 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1669 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000010650) |
| 1670 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1671 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_DONE}: Freeing instance |
| 1672 | DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_DONE}: Deallocated |
| 1673 | DMM msc_subscr_conn_close(vsub=MSISDN:42342, cause=2): no conn fsm, releasing directly without release event. |
| 1674 | DREF MSISDN:42342: MSC conn use - 1 == 0 |
| 1675 | DRLL subscr MSISDN:42342: Freeing subscriber connection |
| 1676 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1677 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1678 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1679 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1680 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
| 1681 | - LU was successful, and the conn has already been closed |
| 1682 | lu_result_sent == 1 |
| 1683 | llist_count(&net->subscr_conns) == 0 |
| 1684 | --- |
| 1685 | - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector |
| 1686 | rx from MS: pdisc=0x05 msg_type=0x24 |
| 1687 | new conn |
| 1688 | DREF unknown: MSC conn use + 1 == 1 |
| 1689 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1690 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000010650 |
| 1691 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1692 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Allocated |
| 1693 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1694 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1695 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1696 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000010650) |
| 1697 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth (no Ciph) |
| 1698 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1699 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1700 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
| 1701 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1702 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1703 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1704 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(901700000010650) |
| 1705 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1706 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1707 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=1 |
| 1708 | - sending GSM Auth Request for MSISDN:42342: tuple use_count=1 key_seq=1 auth_types=0x3 and... |
| 1709 | - ...rand=c187a53a5e6b9d573cac7c74451fd46d |
| 1710 | - ...expecting sres=85aa3130 |
| 1711 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1712 | DMM MSISDN:42342: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1713 | DREF MSISDN:42342: MSC conn use - 1 == 1 |
| 1714 | cm_service_result_sent == 0 |
| 1715 | auth_request_sent == 1 |
| 1716 | - needs auth, not yet accepted |
| 1717 | msc_subscr_conn_is_accepted() == false |
| 1718 | requests shall be thwarted |
| 1719 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1720 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1721 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1722 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1723 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1724 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1725 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1726 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1727 | - MS sends Authen Response, VLR accepts with a CM Service Accept |
| 1728 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1729 | DREF MSISDN:42342: MSC conn use + 1 == 2 |
| 1730 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1731 | DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 85aa3130) |
| 1732 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1733 | DVLR SUBSCR(MSISDN:42342) received res: 85 aa 31 30 |
| 1734 | DVLR SUBSCR(MSISDN:42342) AUTH established GSM security context |
| 1735 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1736 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1737 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1738 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(901700000010650) |
| 1739 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1740 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1741 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 1742 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 1743 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1744 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 1745 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 1746 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 1747 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 1748 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 1749 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1750 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 1751 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 1752 | - sending CM Service Accept for MSISDN:42342 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1753 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1754 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 1755 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1756 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 1757 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1758 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
| 1759 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1760 | DMM Subscr_Conn(901700000010650){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] | 1761 | DREF MSISDN:42342: MSC conn use - 1 == 1 |
| 1762 | cm_service_result_sent == 1 |
| 1763 | - a USSD request is serviced |
| 1764 | expecting USSD: |
| 1765 | Your extension is 42342
|
| 1766 | rx from MS: pdisc=0x0b msg_type=0x3b |
| 1767 | DREF MSISDN:42342: MSC conn use + 1 == 2 |
| 1768 | DRLL Dispatching 04.08 message, pdisc=11 |
| 1769 | DMM MSISDN:42342 pdisc=11 msg_type=0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1770 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1771 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1772 | DMM USSD: Own number requested |
| 1773 | DMM MSISDN:42342: MSISDN = 42342 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1774 | DMSC msc_tx 43 bytes to MSISDN:42342 via RAN_GERAN_A |
| 1775 | - DTAP --RAN_GERAN_A--> MS: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d273104d36a3c91a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1776 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1777 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1778 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 1779 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1780 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1781 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1782 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000010650) |
| 1783 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1784 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Deallocated |
| 1785 | DMM msc_subscr_conn_close(vsub=MSISDN:42342, cause=2): no conn fsm, releasing directly without release event. |
| 1786 | DREF MSISDN:42342: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1787 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1788 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1789 | DREF MSISDN:42342: MSC conn use - 1 == 0 |
| 1790 | DRLL subscr MSISDN:42342: Freeing subscriber connection |
| 1791 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1792 | - all requests serviced, conn has been released |
| 1793 | llist_count(&net->subscr_conns) == 0 |
| 1794 | --- |
| 1795 | - an SMS is sent, MS is paged |
| 1796 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1797 | llist_count(&vsub->cs.requests) == 0 |
| 1798 | DREF VLR subscr MSISDN:42342 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1799 | DMM Subscriber MSISDN:42342 not paged yet, start paging. |
| 1800 | RAN_GERAN_A sends out paging request to IMSI 901700000010650, TMSI 0xffffffff, LAC 0 |
| 1801 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1802 | DREF VLR subscr MSISDN:42342 usage increases to: 4 |
| 1803 | llist_count(&vsub->cs.requests) == 1 |
| 1804 | DREF VLR subscr MSISDN:42342 usage decreases to: 3 |
| 1805 | paging_sent == 1 |
| 1806 | paging_stopped == 0 |
| 1807 | - the subscriber and its pending request should remain |
| 1808 | DREF VLR subscr MSISDN:42342 usage increases to: 4 |
| 1809 | llist_count(&vsub->cs.requests) == 1 |
| 1810 | DREF VLR subscr MSISDN:42342 usage decreases to: 3 |
| 1811 | - MS replies with Paging Response, and VLR sends Auth Request with third key |
| 1812 | rx from MS: pdisc=0x06 msg_type=0x27 |
| 1813 | new conn |
| 1814 | DREF unknown: MSC conn use + 1 == 1 |
| 1815 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1816 | DRR PAGING RESPONSE: MI(IMSI)=901700000010650 |
| 1817 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1818 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Allocated |
| 1819 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1820 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1821 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: Allocated |
| 1822 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000010650) |
| 1823 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: rev=GSM net=GERAN Auth (no Ciph) |
| 1824 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1825 | DREF VLR subscr MSISDN:42342 usage increases to: 4 |
| 1826 | DREF VLR subscr MSISDN:42342 usage increases to: 5 |
| 1827 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1828 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_WAIT_AUTH |
| 1829 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Allocated |
| 1830 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: is child of Process_Access_Request_VLR(901700000010650) |
| 1831 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: Received Event VLR_AUTH_E_START |
| 1832 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_NEEDS_AUTH}: state_chg to VLR_SUB_AS_WAIT_RESP |
| 1833 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: got auth tuple: use_count=1 key_seq=2 |
| 1834 | - sending GSM Auth Request for MSISDN:42342: tuple use_count=1 key_seq=2 auth_types=0x3 and... |
| 1835 | - ...rand=efa9c29a9742148d5c9070348716e1bb |
| 1836 | - ...expecting sres=69d5f9fb |
| 1837 | DREF VLR subscr MSISDN:42342 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1838 | DMM MSISDN:42342: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1839 | DREF MSISDN:42342: MSC conn use - 1 == 1 |
| 1840 | auth_request_sent == 1 |
| 1841 | - needs auth, not yet accepted |
| 1842 | msc_subscr_conn_is_accepted() == false |
| 1843 | requests shall be thwarted |
| 1844 | DRLL Dispatching 04.08 message, pdisc=3 |
| 1845 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x03 msg_type=0x05 |
| 1846 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1847 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x05 msg_type=0x33 |
| 1848 | DRLL Dispatching 04.08 message, pdisc=6 |
| 1849 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x06 msg_type=0x19 |
| 1850 | DRLL Dispatching 04.08 message, pdisc=9 |
| 1851 | DRLL subscr MSISDN:42342: Message not permitted for initial conn: pdisc=0x09 msg_type=0x01 |
| 1852 | - MS sends Authen Response, VLR accepts and sends pending SMS |
| 1853 | rx from MS: pdisc=0x05 msg_type=0x54 |
| 1854 | DREF MSISDN:42342: MSC conn use + 1 == 2 |
| 1855 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1856 | DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 69d5f9fb) |
| 1857 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Received Event VLR_AUTH_E_MS_AUTH_RESP |
| 1858 | DVLR SUBSCR(MSISDN:42342) received res: 69 d5 f9 fb |
| 1859 | DVLR SUBSCR(MSISDN:42342) AUTH established GSM security context |
| 1860 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: Authentication terminating with result VLR_AUTH_RES_PASSED |
| 1861 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_WAIT_RESP}: state_chg to VLR_SUB_AS_AUTHENTICATED |
| 1862 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1863 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Removing from parent Process_Access_Request_VLR(901700000010650) |
| 1864 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Freeing instance |
| 1865 | DVLR VLR_Authenticate(901700000010650){VLR_SUB_AS_AUTHENTICATED}: Deallocated |
| 1866 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: Received Event PR_ARQ_E_AUTH_RES |
| 1867 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: got VLR_AUTH_RES_PASSED |
| 1868 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2() |
| 1869 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_ciph() |
| 1870 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_node2_post_vlr() |
| 1871 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_pres() |
| 1872 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_trace() |
| 1873 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: _proc_arq_vlr_post_imei() |
| 1874 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1875 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_AUTH}: state_chg to PR_ARQ_S_DONE |
| 1876 | DVLR Process_Access_Request_VLR(901700000010650){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] | 1877 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1878 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 1879 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1880 | DPAG Paging success for MSISDN:42342 (event=0) |
| 1881 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1882 | DREF VLR subscr MSISDN:42342 usage increases to: 5 |
| 1883 | DREF MSISDN:42342: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1884 | DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A |
| 1885 | - DTAP --RAN_GERAN_A--> MS: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1886 | - DTAP matches expected message |
| 1887 | DREF VLR subscr MSISDN:42342 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1888 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1889 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
| 1890 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1891 | DMM Subscr_Conn(901700000010650){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] | 1892 | DREF MSISDN:42342: MSC conn use - 1 == 2 |
| 1893 | dtap_tx_confirmed == 1 |
| 1894 | paging_stopped == 1 |
| 1895 | - SMS was delivered, no requests pending for subscr |
| 1896 | DREF VLR subscr MSISDN:42342 usage increases to: 5 |
| 1897 | llist_count(&vsub->cs.requests) == 0 |
| 1898 | DREF VLR subscr MSISDN:42342 usage decreases to: 4 |
| 1899 | - conn is still open to wait for SMS ack dance |
| 1900 | llist_count(&net->subscr_conns) == 1 |
| 1901 | - MS replies with CP-ACK for received SMS |
| 1902 | rx from MS: pdisc=0x89 msg_type=0x04 |
| 1903 | DREF MSISDN:42342: MSC conn use + 1 == 3 |
| 1904 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1905 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1906 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 1907 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1908 | DMM Subscr_Conn(901700000010650){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] | 1909 | DREF MSISDN:42342: MSC conn use - 1 == 2 |
| 1910 | llist_count(&net->subscr_conns) == 1 |
| 1911 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
| 1912 | rx from MS: pdisc=0x89 msg_type=0x01 |
| 1913 | DREF MSISDN:42342: MSC conn use + 1 == 3 |
| 1914 | DRLL Dispatching 04.08 message, pdisc=9 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1915 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1916 | DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A |
| 1917 | - DTAP --RAN_GERAN_A--> MS: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1918 | - DTAP matches expected message |
| 1919 | DREF VLR subscr MSISDN:42342 usage decreases to: 3 |
| 1920 | DREF VLR subscr MSISDN:42342 usage decreases to: 2 |
| 1921 | DREF MSISDN:42342: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1922 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1923 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 1924 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1925 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1926 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1927 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000010650) |
| 1928 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Freeing instance |
| 1929 | DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_DONE}: Deallocated |
| 1930 | DMM msc_subscr_conn_close(vsub=MSISDN:42342, cause=2): no conn fsm, releasing directly without release event. |
| 1931 | DREF MSISDN:42342: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1932 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1933 | DMM Subscr_Conn(901700000010650){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1934 | DREF MSISDN:42342: MSC conn use - 1 == 0 |
| 1935 | DRLL subscr MSISDN:42342: Freeing subscriber connection |
| 1936 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1937 | dtap_tx_confirmed == 1 |
| 1938 | - SMS is done, conn is gone |
| 1939 | llist_count(&net->subscr_conns) == 0 |
| 1940 | --- |
| 1941 | - subscriber detaches |
| 1942 | rx from MS: pdisc=0x05 msg_type=0x01 |
| 1943 | new conn |
| 1944 | DREF unknown: MSC conn use + 1 == 1 |
| 1945 | DRLL Dispatching 04.08 message, pdisc=5 |
| 1946 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000010650 |
| 1947 | DREF VLR subscr MSISDN:42342 usage increases to: 2 |
| 1948 | DMM IMSI DETACH for MSISDN:42342 |
| 1949 | DREF VLR subscr MSISDN:42342 usage decreases to: 1 |
| 1950 | DREF VLR subscr MSISDN:42342 usage decreases to: 0 |
| 1951 | DREF freeing VLR subscr MSISDN:42342 |
| 1952 | 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] | 1953 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1954 | DRLL Freeing subscriber connection with NULL subscriber |
| 1955 | llist_count(&net->subscr_conns) == 0 |
| 1956 | ===== test_gsm_milenage_authen: SUCCESS |
| 1957 | |
| 1958 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1959 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1960 | |
| 1961 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 1962 | talloc_total_blocks(tall_bsc_ctx) == 9 |
| 1963 | |