346 Commits (33f05bfecd09f8f9292e3938e2370641a5c40395)

Author SHA1 Message Date
Pedro Alvarez 82b3e5e380 Integrity protection of GUTI attach OK. Attach complete not yet sent. 7 years ago
Pedro Alvarez 2cb1f27ddb Adding UE context release command. Fixing issue when identity response is integrity protected. 7 years ago
Pedro Alvarez 24d394d8ca Fixed some compilation issues. 7 years ago
Pedro Alvarez 2e90ce370b Starting to prepare MME UE context release request. 7 years ago
FabianEckermann 148c0a97bd Read MME APN from epc config 7 years ago
Pedro Alvarez 094a7d272f Fixed bug in short integrity check. Service request integrity check works now. 7 years ago
Pedro Alvarez f4fba4e2f5 Fixed ntohl bug in getting the service request m-tmsi. 7 years ago
Pedro Alvarez 7ae2975de4 Starting to get M-TMSI from service request. 7 years ago
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. 7 years ago
Pedro Alvarez 012f026543 Added print of UL NAS count and DL NAS count in nas_transport. 7 years ago
Pedro Alvarez aedcfbb686 Added print of UL NAS Count 7 years ago
Pedro Alvarez fa86862e8a Incrementing DL NAS COUNT and UL NAS COUNT. k_eNB is being generated incorrectly. 7 years ago
Pedro Alvarez 28d5130320 Incrementing DL NAS count 7 years ago
Pedro Alvarez 26f782d8a4 Starting to integrity check all Uplink NAS Transport messages. 7 years ago
Pedro Alvarez 3f7bea1af6 Starting to integrity check GUTI attach. Integrity failing for now. 7 years ago
Ismael Gomez ad703d5758 Add missing include 7 years ago
Pedro Alvarez fdc7a0d334 Removed misleading print. 7 years ago
Pedro Alvarez cc9845ef07 Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv. 7 years ago
Pedro Alvarez 1bef5cebf6 small commit 7 years ago
Pedro Alvarez 3b90c71c66 changing a comment 7 years ago
Pedro Alvarez 2cc717b506 Starting to check NAS intgrity of GUTI attach. 7 years ago
Pedro Alvarez 386e56ef40 Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context. 7 years ago
Pedro Alvarez fc1629a06e Fixed bug with getting EMM context in handle identity request. Attach with unknown GUTI starting to work again. 7 years ago
Pedro Alvarez 95bc4f8b08 adding tmp emm storage for when the UE uses an unknown guti and id request has to be sent. 7 years ago
Pedro Alvarez 22e0313c53 Merge branch 'next' into guti_attach 7 years ago
Pedro Alvarez 47b574a3ba Removed unused value in ECM ctx 7 years ago
Pedro Alvarez 77b3cc97cd Changing AMF value in user_db.csv to to have a separation bit of 1. 7 years ago
Pedro Alvarez af927eb1d8 Changing handling of ue context release request. Compiling now, needs testing. 7 years ago
Pedro Alvarez 0c013c19ca changed handle intial context setup response. 7 years ago
Pedro Alvarez 86adc29ce8 Changing send initial context setup. 7 years ago
Pedro Alvarez 7c21b4cc11 changing handle of guti attach request. 7 years ago
Pedro Alvarez 7306d00ea5 Changed attach request handling for separate EMM and ECM context. 7 years ago
Pedro Alvarez 97f60ae6ff starting to change handle_attach_request to support separate EMM and ECM context. 7 years ago
Pedro Alvarez 1df3f04192 Changing handle nas security mode complete. 7 years ago
Pedro Alvarez 085830d910 Changing delete functions to delete both EMM and ECM context. 7 years ago
Pedro Alvarez d9da1f84f0 Continuing to separate EMM and ECM context 7 years ago
Pedro Alvarez a0d727166f Starting to split EMM and ECM context. 7 years ago
Pedro Alvarez 336af1ed93 Adding functions to get context from IMSI or MME UE S1AP Id. 7 years ago
Pedro Alvarez cc9e1294c6 re-organized some functions. 7 years ago
Pedro Alvarez 0beb54e696 Re-organized some functions. 7 years ago
Pedro Alvarez 955be59a59 starting to add EMM states to keep EMM state, security context, etc., even when UE context release request is received. 7 years ago
Pedro Alvarez c4b2dd5e65 Starting to add the response to the service request. 7 years ago
Pedro Alvarez 094e4a6f8e Merge branch 'next' into epc 7 years ago
Pedro Alvarez 2e777244aa Fixed un-initialezed values in pack_attach_accept. 7 years ago
Pedro Alvarez 04280a1cd7 Fixed possible out-of-bounds read in nas_attach_complete. 7 years ago
Pedro Alvarez f4c1a7a379 Fixed error in un-initialized print in handle_nas_authentication_response. 7 years ago
Pedro Alvarez 05576df327 Fixed possibly non-null terminated string in spgw. 7 years ago
Pedro Alvarez fd7ba9852b Close sockect on error in S1AP. 7 years ago
Pedro Alvarez 7013865c0d fixed un-initialized values in attach accept. 7 years ago
Andre Puschmann aa6699e25f Merge branch 'master' into next 7 years ago
David Rupprecht 52e7082aee Small bug fixes, debug print. MAC f1_star does not work 7 years ago
David Rupprecht 244b68e76b Added authentication failure in s1ap 7 years ago
David Rupprecht 5db5399b2f Added HSS sync support (not tested) 7 years ago
David Rupprecht 8ea2e73b63 Making hss an interface for testing 7 years ago
David Rupprecht 3ead643c64 Introducing epc interfaces for hss and srsepc namespace 7 years ago
David Rupprecht 53f05354e6 Making HSS functions private 7 years ago
David Rupprecht 9f3d14cfab Increment sqn 7 years ago
David Rupprecht 9f5affb6c7 Clean up file 7 years ago
David Rupprecht 5666d3021d Write sqn and user context back to db file 7 years ago
David Rupprecht 7476b2f896 Beautiful IMSI output 7 years ago
David Rupprecht 2835ec4124 Add description for algo in example file 7 years ago
David Rupprecht 1aced47d6a Making the SQN readable from the csv database file 7 years ago
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
7 years ago
Pedro Alvarez af2816f83f Staring to make APN configurable. 7 years ago
Andre Puschmann 03e7d9c199 register handler for SIGTERM and SIGKILL in UE, eNB and EPC 7 years ago
Pedro Alvarez 628ccec07f Removed boost::mutex from EPC 7 years ago
Pedro Alvarez aa437806d8 rm boost::mutex from s1ap_ctx_mngmt 7 years ago
Pedro Alvarez 360bb5e2d6 rm boost::mutex from s1ap_mngmnt_proc 7 years ago
Pedro Alvarez d87023bb37 rm boost::mutex from s1ap_nas_transport 7 years ago
Pedro Alvarez 99e1a9f038 rm boost::mutex from MME 7 years ago
Pedro Alvarez 724bc6cbb5 rm boost::mutex from S1AP. 7 years ago
David Rupprecht 9f4e8c0632 Fixed MAC failure due to wrong size and xor debug prints 7 years ago
Pedro Alvarez 5bbfc17fc0 Fixed bzero of std::string bug in setting APN in attach accept msg. 7 years ago
David Rupprecht ab2fe19704 Add more debug logging into hss 7 years ago
David Rupprecht b1cabf8117 Made MCC and MNC in HSS configurable (not tested) 7 years ago
Andre Puschmann efd4a25044 fix EPC conf example 7 years ago
Pedro Alvarez 9dc0d9bac9 Merge branch 'epc_fixes' into epc 7 years ago
Pedro Alvarez bb4a06e736 Fixed some hard-coded values. 7 years ago
Andre Puschmann b04d49abd3 fix logging 7 years ago
Pedro Alvarez 6945ac697c Added command commandline argument to the interface masquerading script 7 years ago
Pedro Alvarez 3af13f4f2e Removing docs for now. Information is too basic. 7 years ago
Pedro Alvarez 75f14e57f4 Merge branch 'epc_fixes' into epc 7 years ago
Pedro Alvarez 11f8cc60ad deleted print 7 years ago
Pedro Alvarez a71edcb8c2 Continuing to cleanup the prints. 7 years ago
Andre Puschmann 0d5c110246 specify flags when opening UE db 7 years ago
Andre Puschmann 8eeaafba56 fix compiler warning 7 years ago
Andre Puschmann 1efc4e678a print error msg when UE DB wasn't found 7 years ago
Pedro Alvarez 982fca00fb Continuing to cleanup prints. 7 years ago
Pedro Alvarez 5ea945d3c5 Fixed bug of incrementing UE-MME S1AP twice in GUTI attach. 7 years ago
Pedro Alvarez 3227bc8e66 Deleting commented out and unused code. 7 years ago
Pedro Alvarez 074cf4526f Cleaned up the handling of the Initial UE message. 7 years ago
Pedro Alvarez cbc1e24e7e Cleaning up logging and printing. 7 years ago
Pedro Alvarez 0e1058c8d2 Fixing small bug at filling out GUTI. 7 years ago
Pedro Alvarez 82bc1f7ff3 Starting to add the ability of GUTI attach without requesting the ID, if the UE is already known. 7 years ago
Pedro Alvarez 3984e1d9db Added NAS identity request/response. 7 years ago
Pedro Alvarez 4634d13a3b Reverted changes in UE ctxt release request to avoid segfault. 7 years ago
Pedro Alvarez b09ae059c1 Small commit to avoid duplication of UE ctxt in GUTI attach. 7 years ago
Pedro Alvarez 6d4f773fba Added debug print 7 years ago
Pedro Alvarez 45effcca08 Starting to add GUTI attach support. 7 years ago
Pedro Alvarez 84e0723c3d Starting to add the mechanisms to perform GUTI attach. 7 years ago
Pedro Alvarez b14c6e85f4 Small commit 7 years ago
Pedro Alvarez 57990ba60d Added more configuration options to the EPC logs. 7 years ago
Pedro Alvarez 3beb708806 Moved context mangement functions to s1ap_ctx_mngmnt_proc class. 7 years ago
Pedro Alvarez 9e72fbce43 Continuing to change functions to ctx_mngmnt_proc 7 years ago
Pedro Alvarez c5b1b7edc3 Continuing to cleanup. moving procedures to ctx_mngmt_proc. 7 years ago
Pedro Alvarez 05604ec6eb Added UML diagram to docs 7 years ago
Pedro Alvarez ce78d895d5 Small bug fix 7 years ago
Pedro Alvarez 8c9704ef3c Adding delete session request. 7 years ago
Pedro Alvarez c3f0753a93 Adding some cleaning up functionality at the SPGW. 7 years ago
Pedro Alvarez c08b89f3e5 Continuing cleaning up. Moved a lot of functionality to nas_transport 7 years ago
Pedro Alvarez 1f55db09dc Deleted unused functions 7 years ago
Pedro Alvarez d3e1e7d853 Continuing to cleanup. Moved initial ue message to nas_transport 7 years ago
Pedro Alvarez 18f864d21d Fixed small bug 7 years ago
Pedro Alvarez 1fb304ddd3 Continuing to clean up. Moved S1 setup request to s1ap_mngmnt_proc 7 years ago
Pedro Alvarez a5633bf143 Continuing to clean S1AP 7 years ago
Pedro Alvarez da7c105a29 Starting to cleanup S1AP 7 years ago
Pedro Alvarez 9f79b4167f Small changes 7 years ago
Pedro Alvarez 031997d629 Adding script to marquerade outgoing interface. 7 years ago
Pedro Alvarez bc80cc3fff Starting to add DNS server configuration. 7 years ago
Pedro Alvarez e839d09b52 Fixed bug in generating keNB. 7 years ago
Pedro Alvarez cb5e329c22 Starting to release GTP-U tunnels when UE disconnects. 7 years ago
Pedro Alvarez 80780bfb2f Changed the way UE's IPs are assigned 7 years ago
Pedro Alvarez a8f268c55b Added cleanup functionality to the hss. 7 years ago
Pedro Alvarez a4e1707835 Fixed bug in packing ESM information request. 7 years ago
Pedro Alvarez 39e34a7bf9 Starting to send ESM information request msg when required. 7 years ago
Pedro Alvarez 0884d35378 added replayed GRPS security capabilities. Moto G4 sends security mode complete. 7 years ago
Pedro Alvarez 9d88d2b78f Addind replayed UE security capabilities. 7 years ago
Pedro Alvarez 9a0b883296 Added XOR support the the HSS. 7 years ago
Pedro Alvarez 0865571ec2 Minor commit (clearing whitespaces, etc.) 7 years ago
Pedro Alvarez aef328d68b Added the ability to the HSS to be configured through a .csv. 7 years ago
Pedro Alvarez 0a4e256fec Stripping GTP-U header at the S-GW and writting it to the TUN SGi interface. First over-the-air ping between the SP-GW and the UE. 7 years ago
Pedro Alvarez c183ac509d Fixed endianess bug of S-GW address sent to eNB. S-GW now receives upstream user traffic. Starting to strip the gtp-u header. 7 years ago
Pedro Alvarez c838758db2 Added downlink IP tunnel. Downlink user plane packets reach the UE. 7 years ago
Pedro Alvarez 2b7bd546bc Able to find eNB F-TEID from destination IP. Starting to add the GTP-U header to the packet. 7 years ago
Pedro Alvarez d18ff13d27 Modify Bearer response parsed ok. Starting to setup the user-plane tunnels 7 years ago
Pedro Alvarez 04d67509cf Getting all information necessary at the SP-GW to setup the user tunnels from the modify bearer response. 7 years ago
Pedro Alvarez d972549124 Starting to create structure for modify bearer response 7 years ago
Pedro Alvarez 489865fa22 Starting to parse Modify Bearer Request at the S-GW. 7 years ago
Pedro Alvarez 9f994dba04 Starting to generate modify bearer request. Fixed bug in unpacking activate default bearer accept. 7 years ago
Pedro Alvarez 8becf4ab23 Unpacking Activate EPS Bearer Context Accept. 7 years ago
Pedro Alvarez b2826402b9 Continuing to parse intial context setup 7 years ago
Pedro Alvarez c4c0a61d3c Continuing to work on context setup response. 7 years ago
Pedro Alvarez 0a36f00d2e Starting to decode initial context setup response. 7 years ago
Pedro Alvarez 47576aced1 Starting to add Init Context Setup Response Parsing. 7 years ago
Pedro Alvarez c05c328194 UE receives attach accepted ok and gets an IP. Still need to parse the initial context setup complete and modify the bearer request and setup the GTPU tunnels. 7 years ago
Pedro Alvarez 45434351cc Continuing to add attach accept and activate default bearer request NAS messages. 7 years ago
Pedro Alvarez f71c87d895 Starting to add attach accept and activate default bearer request NAS messages. 7 years ago
Pedro Alvarez 45ca57b4b6 eNB receiving Initial Context setup request correctly (without NAS attach accept and activate default bearer) 7 years ago
Pedro Alvarez 1a4868ebaf Justin 3 7 years ago
Pedro Alvarez 579d73165a Commit for Justin 2. 7 years ago