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