Pedro Alvarez
|
82b3e5e380
|
Integrity protection of GUTI attach OK. Attach complete not yet sent.
|
2018-02-16 19:08:04 +00:00 |
Pedro Alvarez
|
2cb1f27ddb
|
Adding UE context release command. Fixing issue when identity response is integrity protected.
|
2018-02-16 17:47:55 +00:00 |
Pedro Alvarez
|
24d394d8ca
|
Fixed some compilation issues.
|
2018-02-15 18:47:56 +00:00 |
Pedro Alvarez
|
2e90ce370b
|
Starting to prepare MME UE context release request.
|
2018-02-15 18:30:43 +00:00 |
FabianEckermann
|
148c0a97bd
|
Read MME APN from epc config
|
2018-02-15 16:42:26 +01:00 |
Pedro Alvarez
|
094a7d272f
|
Fixed bug in short integrity check. Service request integrity check works now.
|
2018-02-15 13:53:21 +00:00 |
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
|
012f026543
|
Added print of UL NAS count and DL NAS count in nas_transport.
|
2018-02-14 10:59:54 +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 |
Ismael Gomez
|
ad703d5758
|
Add missing include
|
2018-02-12 09:57:37 +01:00 |
Pedro Alvarez
|
fdc7a0d334
|
Removed misleading print.
|
2018-02-09 15:30:31 +00:00 |
Pedro Alvarez
|
cc9845ef07
|
Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv.
|
2018-02-09 15:04:22 +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
|
c4b2dd5e65
|
Starting to add the response to the service request.
|
2018-02-02 19:08:51 +00:00 |
Pedro Alvarez
|
094e4a6f8e
|
Merge branch 'next' into epc
|
2018-02-02 12:14:33 +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 |
Pedro Alvarez
|
7013865c0d
|
fixed un-initialized values in attach accept.
|
2018-01-30 14:41:23 +00:00 |
Andre Puschmann
|
aa6699e25f
|
Merge branch 'master' into next
|
2018-01-30 14:22:50 +01:00 |
David Rupprecht
|
52e7082aee
|
Small bug fixes, debug print. MAC f1_star does not work
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
244b68e76b
|
Added authentication failure in s1ap
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
5db5399b2f
|
Added HSS sync support (not tested)
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
8ea2e73b63
|
Making hss an interface for testing
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
3ead643c64
|
Introducing epc interfaces for hss and srsepc namespace
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
53f05354e6
|
Making HSS functions private
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
9f3d14cfab
|
Increment sqn
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
9f5affb6c7
|
Clean up file
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
5666d3021d
|
Write sqn and user context back to db file
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
7476b2f896
|
Beautiful IMSI output
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
2835ec4124
|
Add description for algo in example file
|
2018-01-29 16:12:36 +01:00 |
David Rupprecht
|
1aced47d6a
|
Making the SQN readable from the csv database file
|
2018-01-29 16:12:36 +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 |
Pedro Alvarez
|
af2816f83f
|
Staring to make APN configurable.
|
2018-01-26 17:43:21 +00:00 |
Andre Puschmann
|
03e7d9c199
|
register handler for SIGTERM and SIGKILL in UE, eNB and EPC
|
2018-01-26 16:18:49 +01:00 |
Pedro Alvarez
|
628ccec07f
|
Removed boost::mutex from EPC
|
2018-01-24 16:41:59 +00:00 |
Pedro Alvarez
|
aa437806d8
|
rm boost::mutex from s1ap_ctx_mngmt
|
2018-01-24 15:47:06 +00:00 |
Pedro Alvarez
|
360bb5e2d6
|
rm boost::mutex from s1ap_mngmnt_proc
|
2018-01-24 13:50:03 +00:00 |
Pedro Alvarez
|
d87023bb37
|
rm boost::mutex from s1ap_nas_transport
|
2018-01-24 11:17:34 +00:00 |
Pedro Alvarez
|
99e1a9f038
|
rm boost::mutex from MME
|
2018-01-24 10:31:47 +00:00 |
Pedro Alvarez
|
724bc6cbb5
|
rm boost::mutex from S1AP.
|
2018-01-23 15:26:54 +00: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 |
Pedro Alvarez
|
11f8cc60ad
|
deleted print
|
2018-01-18 13:39:51 +00:00 |
Pedro Alvarez
|
a71edcb8c2
|
Continuing to cleanup the prints.
|
2018-01-18 13:25:33 +00:00 |
Andre Puschmann
|
0d5c110246
|
specify flags when opening UE db
|
2018-01-18 11:38:03 +01:00 |
Andre Puschmann
|
8eeaafba56
|
fix compiler warning
|
2018-01-18 11:29:13 +01:00 |
Andre Puschmann
|
1efc4e678a
|
print error msg when UE DB wasn't found
|
2018-01-18 11:25:14 +01:00 |
Pedro Alvarez
|
982fca00fb
|
Continuing to cleanup prints.
|
2018-01-17 20:47:40 +00:00 |
Pedro Alvarez
|
5ea945d3c5
|
Fixed bug of incrementing UE-MME S1AP twice in GUTI attach.
|
2018-01-17 20:03:24 +00:00 |
Pedro Alvarez
|
3227bc8e66
|
Deleting commented out and unused code.
|
2018-01-17 19:55:00 +00:00 |
Pedro Alvarez
|
074cf4526f
|
Cleaned up the handling of the Initial UE message.
|
2018-01-17 19:50:24 +00:00 |
Pedro Alvarez
|
cbc1e24e7e
|
Cleaning up logging and printing.
|
2018-01-17 14:12:40 +00:00 |
Pedro Alvarez
|
0e1058c8d2
|
Fixing small bug at filling out GUTI.
|
2018-01-17 10:24:26 +00:00 |
Pedro Alvarez
|
82bc1f7ff3
|
Starting to add the ability of GUTI attach without requesting the ID, if the UE is already known.
|
2018-01-15 12:56:37 +00:00 |
Pedro Alvarez
|
3984e1d9db
|
Added NAS identity request/response.
|
2018-01-14 15:40:41 +00:00 |
Pedro Alvarez
|
4634d13a3b
|
Reverted changes in UE ctxt release request to avoid segfault.
|
2018-01-12 15:53:47 +00:00 |
Pedro Alvarez
|
b09ae059c1
|
Small commit to avoid duplication of UE ctxt in GUTI attach.
|
2018-01-12 15:11:00 +00:00 |
Pedro Alvarez
|
6d4f773fba
|
Added debug print
|
2018-01-10 18:39:04 +00:00 |
Pedro Alvarez
|
45effcca08
|
Starting to add GUTI attach support.
|
2018-01-10 17:04:36 +00:00 |
Pedro Alvarez
|
84e0723c3d
|
Starting to add the mechanisms to perform GUTI attach.
|
2018-01-10 11:35:08 +00:00 |
Pedro Alvarez
|
b14c6e85f4
|
Small commit
|
2018-01-06 17:26:28 +00:00 |
Pedro Alvarez
|
57990ba60d
|
Added more configuration options to the EPC logs.
|
2018-01-06 12:57:49 +00:00 |
Pedro Alvarez
|
3beb708806
|
Moved context mangement functions to s1ap_ctx_mngmnt_proc class.
|
2017-12-27 16:21:30 +00:00 |
Pedro Alvarez
|
9e72fbce43
|
Continuing to change functions to ctx_mngmnt_proc
|
2017-12-26 15:59:57 +00:00 |
Pedro Alvarez
|
c5b1b7edc3
|
Continuing to cleanup. moving procedures to ctx_mngmt_proc.
|
2017-12-22 16:11:51 +00:00 |
Pedro Alvarez
|
05604ec6eb
|
Added UML diagram to docs
|
2017-12-22 00:14:42 +00:00 |
Pedro Alvarez
|
ce78d895d5
|
Small bug fix
|
2017-12-21 20:13:32 +00:00 |
Pedro Alvarez
|
8c9704ef3c
|
Adding delete session request.
|
2017-12-21 18:48:31 +00:00 |
Pedro Alvarez
|
c3f0753a93
|
Adding some cleaning up functionality at the SPGW.
|
2017-12-21 06:46:37 +00:00 |
Pedro Alvarez
|
c08b89f3e5
|
Continuing cleaning up. Moved a lot of functionality to nas_transport
|
2017-12-20 18:16:54 +00:00 |
Pedro Alvarez
|
1f55db09dc
|
Deleted unused functions
|
2017-12-20 15:33:56 +00:00 |
Pedro Alvarez
|
d3e1e7d853
|
Continuing to cleanup. Moved initial ue message to nas_transport
|
2017-12-20 15:28:10 +00:00 |
Pedro Alvarez
|
18f864d21d
|
Fixed small bug
|
2017-12-20 11:58:54 +00:00 |
Pedro Alvarez
|
1fb304ddd3
|
Continuing to clean up. Moved S1 setup request to s1ap_mngmnt_proc
|
2017-12-20 10:45:55 +00:00 |
Pedro Alvarez
|
a5633bf143
|
Continuing to clean S1AP
|
2017-12-19 18:12:12 +00:00 |
Pedro Alvarez
|
da7c105a29
|
Starting to cleanup S1AP
|
2017-12-19 16:54:44 +00:00 |
Pedro Alvarez
|
9f79b4167f
|
Small changes
|
2017-12-19 15:08:54 +00:00 |
Pedro Alvarez
|
031997d629
|
Adding script to marquerade outgoing interface.
|
2017-12-19 12:57:31 +00:00 |
Pedro Alvarez
|
bc80cc3fff
|
Starting to add DNS server configuration.
|
2017-12-18 18:09:42 +00:00 |
Pedro Alvarez
|
e839d09b52
|
Fixed bug in generating keNB.
|
2017-12-18 14:05:21 +00:00 |
Pedro Alvarez
|
cb5e329c22
|
Starting to release GTP-U tunnels when UE disconnects.
|
2017-12-17 19:55:12 +00:00 |
Pedro Alvarez
|
80780bfb2f
|
Changed the way UE's IPs are assigned
|
2017-12-17 17:54:26 +00:00 |
Pedro Alvarez
|
a8f268c55b
|
Added cleanup functionality to the hss.
|
2017-12-17 16:30:50 +00:00 |
Pedro Alvarez
|
a4e1707835
|
Fixed bug in packing ESM information request.
|
2017-12-17 16:05:52 +00:00 |
Pedro Alvarez
|
39e34a7bf9
|
Starting to send ESM information request msg when required.
|
2017-12-16 20:08:33 +00:00 |
Pedro Alvarez
|
0884d35378
|
added replayed GRPS security capabilities. Moto G4 sends security mode complete.
|
2017-12-16 15:32:40 +00:00 |
Pedro Alvarez
|
9d88d2b78f
|
Addind replayed UE security capabilities.
|
2017-12-16 14:25:20 +00:00 |
Pedro Alvarez
|
9a0b883296
|
Added XOR support the the HSS.
|
2017-12-15 18:20:57 +00:00 |
Pedro Alvarez
|
0865571ec2
|
Minor commit (clearing whitespaces, etc.)
|
2017-12-14 08:38:37 +00:00 |
Pedro Alvarez
|
aef328d68b
|
Added the ability to the HSS to be configured through a .csv.
|
2017-12-13 19:50:19 +00:00 |
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.
|
2017-12-07 19:07:13 +00:00 |
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.
|
2017-12-07 18:34:05 +00:00 |
Pedro Alvarez
|
c838758db2
|
Added downlink IP tunnel. Downlink user plane packets reach the UE.
|
2017-12-07 17:09:31 +00:00 |
Pedro Alvarez
|
2b7bd546bc
|
Able to find eNB F-TEID from destination IP. Starting to add the GTP-U header to the packet.
|
2017-12-07 15:06:24 +00:00 |
Pedro Alvarez
|
d18ff13d27
|
Modify Bearer response parsed ok. Starting to setup the user-plane tunnels
|
2017-12-06 20:18:11 +00:00 |
Pedro Alvarez
|
04d67509cf
|
Getting all information necessary at the SP-GW to setup the user tunnels from the modify bearer response.
|
2017-12-06 18:34:37 +00:00 |
Pedro Alvarez
|
d972549124
|
Starting to create structure for modify bearer response
|
2017-12-06 12:50:25 +00:00 |
Pedro Alvarez
|
489865fa22
|
Starting to parse Modify Bearer Request at the S-GW.
|
2017-12-05 19:17:46 +00:00 |
Pedro Alvarez
|
9f994dba04
|
Starting to generate modify bearer request. Fixed bug in unpacking activate default bearer accept.
|
2017-12-05 17:21:46 +00:00 |
Pedro Alvarez
|
8becf4ab23
|
Unpacking Activate EPS Bearer Context Accept.
|
2017-12-04 16:00:53 +00:00 |
Pedro Alvarez
|
b2826402b9
|
Continuing to parse intial context setup
|
2017-12-04 10:54:47 +00:00 |
Pedro Alvarez
|
c4c0a61d3c
|
Continuing to work on context setup response.
|
2017-12-01 17:41:45 +00:00 |
Pedro Alvarez
|
0a36f00d2e
|
Starting to decode initial context setup response.
|
2017-12-01 14:58:01 +00:00 |
Pedro Alvarez
|
47576aced1
|
Starting to add Init Context Setup Response Parsing.
|
2017-12-01 12:37:34 +00:00 |
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.
|
2017-11-30 20:08:37 +00:00 |
Pedro Alvarez
|
45434351cc
|
Continuing to add attach accept and activate default bearer request NAS messages.
|
2017-11-30 18:42:30 +00:00 |
Pedro Alvarez
|
f71c87d895
|
Starting to add attach accept and activate default bearer request NAS messages.
|
2017-11-30 17:06:56 +00:00 |
Pedro Alvarez
|
45ca57b4b6
|
eNB receiving Initial Context setup request correctly (without NAS attach accept and activate default bearer)
|
2017-11-30 12:12:18 +00:00 |
Pedro Alvarez
|
1a4868ebaf
|
Justin 3
|
2017-11-30 11:47:34 +00:00 |
Pedro Alvarez
|
579d73165a
|
Commit for Justin 2.
|
2017-11-30 11:25:45 +00:00 |