Commit Graph

1640 Commits

Author SHA1 Message Date
Pedro Alvarez 2172662388 Added initial create session response structure. Compiling now. 2017-11-23 14:57:21 +00:00
Pedro Alvarez ff32f31c9b Added structures to create session request. Starting to add create session response structure 2017-11-23 12:45:30 +00:00
Pedro Alvarez e754c6cbf5 Fixed more compilation bugs. Bearer context IE still needs to be added. 2017-11-23 11:23:40 +00:00
Pedro Alvarez ccbeb9e1c5 Fixed a bunch of compilation errors. 2017-11-22 14:41:59 +00:00
Pedro Alvarez a8a370ec21 Starting to add Create Session Request function 2017-11-22 11:52:37 +00:00
Pedro Alvarez 606520d244 Added a TUN interface for the SGi and a socket to receive packets from the S1-U. Select is able choose the fd that needs to be read from. 2017-11-20 20:34:08 +00:00
Pedro Alvarez 796fba6f55 Adding socket for S1-U interface. 2017-11-20 12:30:25 +00:00
Pedro Alvarez f9b2c6434a Added TUN SGi interface to SP-GW. 2017-11-17 18:01:06 +00:00
Pedro Alvarez eac3ee26c1 Starting to add TUN if for SGi interface 2017-11-17 16:04:42 +00:00
Pedro Alvarez b6d0fcfdbe Renamed s-gw to sp-gw. 2017-11-17 12:28:05 +00:00
Pedro Alvarez 2088b3967b Commenting out the initial GTP-C packing functions (for now). 2017-11-17 11:59:22 +00:00
Pedro Alvarez 542edb988a Added GTPC ie and msg type definitions 2017-11-16 21:07:55 +00:00
Pedro Alvarez 04d3a3f8ca Continue to work on pakcing the create session request message 2017-11-15 19:10:14 +00:00
Pedro Alvarez 99f6ffe63b Starting to add code to create the GTP-C messages. 2017-11-15 16:39:25 +00:00
Pedro Alvarez 042cabc8a0 Starting to add S-GW 2017-11-13 16:42:41 +00:00
Pedro Alvarez 46edf6feab Small modification to parse config file. 2017-11-13 15:18:35 +00:00
Pedro Alvarez d0c0d29f62 Packing and sending Authentication Reject if XRES != RES 2017-11-13 12:35:53 +00:00
Pedro Alvarez f908439ed4 Added the Authentication reject nas message. 2017-11-10 19:32:32 +00:00
Pedro Alvarez 150a747181 Handling UE Context release to cleanup UE context. 2017-11-10 18:18:32 +00:00
Pedro Alvarez 1f52d1741c Added the mechanisms to remove UE's context when the eNB is terminated. 2017-11-10 15:21:56 +00:00
Pedro Alvarez 87b775d94b Added functionallity to delete eNB context when SCTP session is terminated. 2017-11-09 17:43:40 +00:00
Pedro Alvarez eba3837ab4 Changing the logging a bit. 2017-11-09 13:09:30 +00:00
Pedro Alvarez c049069346 Added a function to handle the security mode complete. 2017-11-08 18:44:27 +00:00
Pedro Alvarez a77308b4b8 Starting to add a function to parse security command complete. 2017-11-08 18:00:44 +00:00
Pedro Alvarez 82b661541f removed some white space 2017-11-08 14:23:17 +00:00
Pedro Alvarez 468b0f2581 Fixed some issues with the MME and HSS logging. 2017-11-08 14:10:25 +00:00
Pedro Alvarez 1621b6e93a Starting to integrity protect NAS messages. UE accepted security command reques, starting to parse security command complete. 2017-11-07 20:14:43 +00:00
Pedro Alvarez bb85525ad2 Fixed bug on network authentication. 2017-11-07 18:04:10 +00:00
Pedro Alvarez dc107edd41 Continue to pack security mode command 2017-11-07 15:10:52 +00:00
Pedro Alvarez d5e1290883 starting to work on the security mode command 2017-11-07 14:13:09 +00:00
Pedro Alvarez 44a28b3302 Starting to save UE context. 2017-11-06 19:10:57 +00:00
Pedro Alvarez 9170f5c4cf Starting to parse UL NAS Transport 2017-11-06 17:03:26 +00:00
Pedro Alvarez 5d4f0b3dfb deleting debug code 2017-11-06 15:42:08 +00:00
Pedro Alvarez 473e252168 Generating AUTN correctly. UE considers the network valid now. Starting to handle authentication response. 2017-11-06 15:41:14 +00:00
Pedro Alvarez 25aa394086 Adding some debug code. 2017-11-04 11:13:54 +00:00
Pedro Alvarez 5b5c65435d Fixed bug in the packing of the dw nas message. UE receives the authentication request message now. 2017-11-03 14:38:34 +00:00
Pedro Alvarez 961e0fc68d Cleaning up the code 2017-11-03 11:02:30 +00:00
Pedro Alvarez 8a81149ca3 eNB Receiving Downlink NAS Transport. 2017-11-02 15:57:19 +00:00
Pedro Alvarez fae584dc91 Packed authentication request message. Code needs cleanup and testing. 2017-11-02 15:07:28 +00:00
Pedro Alvarez 7737acb970 Starting to fill the Attach Request message. 2017-11-01 19:14:16 +00:00
Pedro Alvarez 9c54a8b7de Initial code to generate Kasme, rand, autn and xres 2017-11-01 15:14:41 +00:00
Pedro Alvarez 470c815196 Generating RAND 2017-11-01 14:07:44 +00:00
Pedro Alvarez 1a8a2f738b Starting to add SQN generation. 2017-10-31 19:34:10 +00:00
Pedro Alvarez 6c60c493e7 Hard-coded k, amf and op (for now). 2017-10-31 18:05:26 +00:00
Pedro Alvarez 3fd552c0e2 Fixed bug in printing IMSI. IMSI decoded correctly from NAS attach request. 2017-10-31 15:58:33 +00:00
Pedro Alvarez 81827f891b Decoding correctly the NAS Attach request message now. 2017-10-31 13:53:24 +00:00
Pedro Alvarez ae18da83b2 Starting to add functions to the HSS to get K, AMF and OP. 2017-10-27 14:22:04 +01:00
Pedro Alvarez 8c28335098 Parsing IMSI should be ok. 2017-10-26 19:03:37 +01:00
Pedro Alvarez efe258fb6f Starting to get the IMSI from the attach request. 2017-10-26 18:26:47 +01:00
Pedro Alvarez ef73254707 Added new HSS class to compute the authentication vectors. 2017-10-26 14:20:29 +01:00