Commit Graph

214 Commits

Author SHA1 Message Date
Pedro Alvarez f4fba4e2f5 Fixed ntohl bug in getting the service request m-tmsi. 2018-02-15 11:58:46 +00:00
Pedro Alvarez 7ae2975de4 Starting to get M-TMSI from service request. 2018-02-14 17:40:05 +00:00
Pedro Alvarez 1c4dce8066 Generating k_enb in the securty mode command. Fixed wrong k_enb generation. Integrity is being checked corretly in upstream NAS messages. 2018-02-14 12:28:55 +00:00
Pedro Alvarez aedcfbb686 Added print of UL NAS Count 2018-02-14 10:48:44 +00:00
Pedro Alvarez fa86862e8a Incrementing DL NAS COUNT and UL NAS COUNT. k_eNB is being generated incorrectly. 2018-02-13 19:40:13 +00:00
Pedro Alvarez 28d5130320 Incrementing DL NAS count 2018-02-13 18:29:21 +00:00
Pedro Alvarez 26f782d8a4 Starting to integrity check all Uplink NAS Transport messages. 2018-02-13 17:45:25 +00:00
Pedro Alvarez 3f7bea1af6 Starting to integrity check GUTI attach. Integrity failing for now. 2018-02-12 16:19:31 +00:00
Pedro Alvarez 1bef5cebf6 small commit 2018-02-09 10:29:40 +00:00
Pedro Alvarez 3b90c71c66 changing a comment 2018-02-08 14:08:02 +00:00
Pedro Alvarez 2cc717b506 Starting to check NAS intgrity of GUTI attach. 2018-02-08 13:57:30 +00:00
Pedro Alvarez 386e56ef40 Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context. 2018-02-07 18:13:51 +00:00
Pedro Alvarez fc1629a06e Fixed bug with getting EMM context in handle identity request. Attach with unknown GUTI starting to work again. 2018-02-07 16:53:09 +00:00
Pedro Alvarez 95bc4f8b08 adding tmp emm storage for when the UE uses an unknown guti and id request has to be sent. 2018-02-07 14:11:42 +00:00
Pedro Alvarez 22e0313c53 Merge branch 'next' into guti_attach 2018-02-06 19:13:13 +00:00
Pedro Alvarez 47b574a3ba Removed unused value in ECM ctx 2018-02-06 18:59:53 +00:00
Pedro Alvarez 77b3cc97cd Changing AMF value in user_db.csv to to have a separation bit of 1. 2018-02-06 17:46:27 +00:00
Pedro Alvarez af927eb1d8 Changing handling of ue context release request. Compiling now, needs testing. 2018-02-06 17:21:18 +00:00
Pedro Alvarez 0c013c19ca changed handle intial context setup response. 2018-02-06 16:33:58 +00:00
Pedro Alvarez 86adc29ce8 Changing send initial context setup. 2018-02-06 16:23:41 +00:00
Pedro Alvarez 7c21b4cc11 changing handle of guti attach request. 2018-02-06 14:37:39 +00:00
Pedro Alvarez 7306d00ea5 Changed attach request handling for separate EMM and ECM context. 2018-02-06 12:58:47 +00:00
Pedro Alvarez 97f60ae6ff starting to change handle_attach_request to support separate EMM and ECM context. 2018-02-06 12:19:18 +00:00
Pedro Alvarez 1df3f04192 Changing handle nas security mode complete. 2018-02-05 18:06:19 +00:00
Pedro Alvarez 085830d910 Changing delete functions to delete both EMM and ECM context. 2018-02-05 15:55:41 +00:00
Pedro Alvarez d9da1f84f0 Continuing to separate EMM and ECM context 2018-02-05 15:33:16 +00:00
Pedro Alvarez a0d727166f Starting to split EMM and ECM context. 2018-02-05 13:11:03 +00:00
Pedro Alvarez 336af1ed93 Adding functions to get context from IMSI or MME UE S1AP Id. 2018-02-05 12:26:23 +00:00
Pedro Alvarez cc9e1294c6 re-organized some functions. 2018-02-05 10:46:57 +00:00
Pedro Alvarez 0beb54e696 Re-organized some functions. 2018-02-03 17:36:57 +00:00
Pedro Alvarez 955be59a59 starting to add EMM states to keep EMM state, security context, etc., even when UE context release request is received. 2018-02-03 11:06:03 +00:00
Pedro Alvarez 2e777244aa Fixed un-initialezed values in pack_attach_accept. 2018-01-31 15:22:54 +00:00
Pedro Alvarez 04280a1cd7 Fixed possible out-of-bounds read in nas_attach_complete. 2018-01-31 15:16:37 +00:00
Pedro Alvarez f4c1a7a379 Fixed error in un-initialized print in handle_nas_authentication_response. 2018-01-31 14:51:42 +00:00
Pedro Alvarez 05576df327 Fixed possibly non-null terminated string in spgw. 2018-01-31 14:40:04 +00:00
Pedro Alvarez fd7ba9852b Close sockect on error in S1AP. 2018-01-31 14:13:55 +00:00
Andre Puschmann aa6699e25f Merge branch 'master' into next 2018-01-30 14:22:50 +01:00
Ismael Gomez e8985dbdbc
Merge pull request #137 from pily112/Configurable_mcc_mnc_in_HSS
Configurable mcc mnc in hss, debug prints and fix MAC failure error
2018-01-28 21:08:18 +01:00
Andre Puschmann 03e7d9c199 register handler for SIGTERM and SIGKILL in UE, eNB and EPC 2018-01-26 16:18:49 +01:00
David Rupprecht 9f4e8c0632 Fixed MAC failure due to wrong size and xor debug prints 2018-01-22 14:35:38 +01:00
Pedro Alvarez 5bbfc17fc0 Fixed bzero of std::string bug in setting APN in attach accept msg. 2018-01-22 12:30:52 +00:00
David Rupprecht ab2fe19704 Add more debug logging into hss 2018-01-22 10:31:46 +01:00
David Rupprecht b1cabf8117 Made MCC and MNC in HSS configurable (not tested) 2018-01-22 09:46:27 +01:00
Andre Puschmann efd4a25044 fix EPC conf example 2018-01-19 12:01:02 +01:00
Pedro Alvarez 9dc0d9bac9 Merge branch 'epc_fixes' into epc 2018-01-18 17:25:27 +00:00
Pedro Alvarez bb4a06e736 Fixed some hard-coded values. 2018-01-18 17:18:48 +00:00
Andre Puschmann b04d49abd3 fix logging 2018-01-18 16:56:31 +01:00
Pedro Alvarez 6945ac697c Added command commandline argument to the interface masquerading script 2018-01-18 14:10:15 +00:00
Pedro Alvarez 3af13f4f2e Removing docs for now. Information is too basic. 2018-01-18 13:53:53 +00:00
Pedro Alvarez 75f14e57f4 Merge branch 'epc_fixes' into epc 2018-01-18 13:47:19 +00:00