dev-zzo / aluhacking

Tools and other stuff for hacking Alcatel-Lucent femtocells
MIT License
2 stars 4 forks source link

gprs: network tells to release Iu "due to utran generated reason" #7

Open dev-zzo opened 2 years ago

dev-zzo commented 2 years ago

This completely prevents any packet service access. Capture over Iuh attached. This specific message seems to originate from MSC but no clear reason as to why -- no errors reported.

session-sctp.zip

dev-zzo commented 2 years ago

MSC log output:

Thu Apr 21 23:16:51 2022 <0003> ran_conn.c:117 ran_peer(UTRAN-Iu:RI-SSN_PC:PC-0-23-5:SSN-RANAP)[0x7dd400]{READY}: Received Event RAN_PEER_EV_MSG_DOWN_CO
Thu Apr 21 23:16:51 2022 <0021> sccp_scoc.c:1731 Received SCCP User Primitive (N-DATA.request)
Thu Apr 21 23:16:51 2022 <0021> sccp_scoc.c:1772 SCCP-SCOC(1)[0x7dd2c0]{ACTIVE}: Received Event N-DATA.req
Thu Apr 21 23:16:51 2022 <0020> sccp_scrc.c:401 sccp_scrc_rx_scoc_conn_msg: HDR=(CO:CODT,V=0,LEN=0), PART(T=Routing Context,L=4,D=00000000), PART(T=Destination Reference,L=4,D=000003ec), PART(T=Data,L=52,D=0014403000000200104024230532430981457b9a6d2cb7e96f450981457b9a6d2cb7e96f4722401222611540490101003b400100)
Thu Apr 21 23:16:51 2022 <0020> osmo_ss7_hmrt.c:280 m3ua_hmdc_rx_from_l2(): dpc=189=0.23.5 not local, message is for routing
Thu Apr 21 23:16:51 2022 <0020> osmo_ss7_hmrt.c:227 Found route for dpc=189=0.23.5: pc=0=0.0.0 mask=0x0=0.0.0 via AS as-clnt-OsmoMSC-A-Iu proto=m3ua
Thu Apr 21 23:16:51 2022 <0020> osmo_ss7_hmrt.c:235 rt->dest.as proto is M3UA for dpc=189=0.23.5
Thu Apr 21 23:16:51 2022 <0020> m3ua.c:508 XUA_AS(as-clnt-OsmoMSC-A-Iu)[0x7dece0]{AS_ACTIVE}: Received Event AS-TRANSFER.req
Thu Apr 21 23:16:51 2022 <000f> vlr_lu_fsm.c:741 vlr_lu_fsm(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e12c0]{VLR_ULA_S_WAIT_LU_COMPL}: State change to VLR_ULA_S_DONE (no timeout)
Thu Apr 21 23:16:51 2022 <0007> vlr_lu_fsm.c:729 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTH_CIPH}: Received Event MSC_A_EV_AUTHENTICATED
Thu Apr 21 23:16:51 2022 <0007> msc_a.c:386 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTH_CIPH}: State change to MSC_A_ST_AUTHENTICATED (keeping X1, 2.184s remaining)
Thu Apr 21 23:16:51 2022 <000b> msc_a.c:158 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTHENTICATED}: - lu: now used by 1 (msc_a_ran_dec)
Thu Apr 21 23:16:51 2022 <000b> msc_a.c:198 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTHENTICATED}: - msc_a_ran_dec: now used by 0 (-)
Thu Apr 21 23:16:51 2022 <0007> msc_a.c:1084 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTHENTICATED}: Received Event MSC_A_EV_UNUSED
Thu Apr 21 23:16:51 2022 <0007> msc_a.c:535 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_AUTHENTICATED}: State change to MSC_A_ST_RELEASING (X2, 30s)
Thu Apr 21 23:16:51 2022 <0010> msc_a.c:769 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_RELEASING}: Releasing: msc_a use is 0 (-)
Thu Apr 21 23:16:51 2022 <000b> msc_a.c:773 VLR subscr IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF + msc_a_fsm_releasing_onenter: now used by 3 (active-conn,attached,msc_a_fsm_releasing_onenter)
Thu Apr 21 23:16:51 2022 <000b> vlr.c:309 VLR subscr IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF + vlr_subscr_cancel_attach_fsm: now used by 4 (active-conn,attached,msc_a_fsm_releasing_onenter,vlr_subscr_cancel_attach_fsm)
Thu Apr 21 23:16:51 2022 <000b> vlr.c:314 VLR subscr IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF - vlr_subscr_cancel_attach_fsm: now used by 3 (active-conn,attached,msc_a_fsm_releasing_onenter)
Thu Apr 21 23:16:51 2022 <000b> msc_a.c:812 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_RELEASING}: + wait-Clear-Complete: now used by 1 (wait-Clear-Complete)
Thu Apr 21 23:16:51 2022 <0010> ran_msg_iu.c:422 msc_a(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0bc8]{MSC_A_ST_RELEASING}: RAN encode: RANAP: Iu Release
Thu Apr 21 23:16:51 2022 <0007> msc_a.c:813 msc_i(IMSI-901700000031978:MSISDN-666978:TMSI-0x2CEDD1CF:UTRAN-Iu-1:LU)[0x7e0ac0]{READY}: Received Event MSC_I_EV_FROM_A_FORWARD_ACCESS_SIGNALLING_REQUEST

For whatever reason it decides to release...