Andre Puschmann
a436baed39
fix build string for builds without valid .git folder
2019-01-22 12:09:52 +01:00
Pedro Alvarez
c5dad67a16
Adding catch to boost program options parser.
2019-01-18 12:38:56 +00:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00
Pedro Alvarez
b675e1fcc9
Ciphering EMM information message. Chainging detach_request security header in the UE to integrity and ciphered to avoid malformed message.
2019-01-14 17:00:16 +00:00
Pedro Alvarez
b5d5f9f91c
Re-adding support for EIA2 in EPC.
2019-01-14 15:38:19 +00:00
Pedro Alvarez
179aeddfa2
Added encryption of security mode command and attach accept again. Attach is working with encryption.
2019-01-11 18:13:29 +00:00
Pedro Alvarez
412b08c4bf
Fixed UL nas count increment for GUTI with known UE and Service Request. Both seem to work now.
2019-01-11 16:28:35 +00:00
Pedro Alvarez
997c24c099
Added config of cipher_algo and integ_algo initialization in NAS class.
2018-12-18 18:27:31 +00:00
Pedro Alvarez
5eacdd5418
Fixed compilation issues. Attach failing with COTS UE.
2018-12-18 16:48:25 +00:00
Pedro Alvarez
31a25067f5
Merging David Ruprecth's mme_msg_encryption branch into next. Not compiling.
2018-12-18 12:03:52 +00:00
Pedro Alvarez
a5a7eb02d2
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
2018-12-14 17:16:41 +00:00
Andre Puschmann
df7ab7ffe8
Merge branch 'master' into next
2018-12-14 16:54:46 +01:00
Pedro Alvarez
60fdc9ebe2
Small commit.
2018-12-14 14:45:40 +00:00
Pedro Alvarez
ac0aa76afc
Small print changes on NAS.
2018-12-14 14:42:24 +00:00
Pedro Alvarez
9380d56bbf
Changing prints in S1AP and SPGW.
2018-12-14 14:28:25 +00:00
Pedro Alvarez
7fd6ae4c40
Changing NAS printing.
2018-12-14 14:16:41 +00:00
Pedro Alvarez
983ba4a3ab
Strating to change prints in the HSS.
2018-12-14 14:10:49 +00:00
yagoda
94ec379f68
Small commit to test changes in prints.
2018-12-14 13:37:08 +00:00
rubund
b801c3dd4e
Fix some spelling errors detected by lintian ( #271 )
2018-12-03 10:36:15 +01:00
Pedro Alvarez
0320d475e9
Fix Uninitialized QoS options in attach accept.
2018-11-28 11:16:50 +00:00
David Rupprecht
c480e57721
Config based security algorithm selection
2018-11-19 15:34:57 +01:00
David Rupprecht
3b7eeb5909
Do security (integrity checks in case of NAS UL message
2018-11-19 14:38:44 +01:00
David Rupprecht
1442606ee1
Encryption for ESM request
2018-11-19 14:11:33 +01:00
David Rupprecht
82f69d66dc
ul_nas_count increment tau request
2018-11-19 13:40:54 +01:00
David Rupprecht
4a2c563f85
increase uplink ul nas count
2018-11-19 13:40:16 +01:00
David Rupprecht
2543a84aa4
Minor changes in nas uplink transport and increase uplink count
2018-11-19 13:39:30 +01:00
David Rupprecht
718262eaaf
restucture NAS uplink message: todo security of message
2018-11-18 22:29:32 +01:00
David Rupprecht
894471e326
restructure handle_initial_ue_message
2018-11-18 21:36:36 +01:00
David Rupprecht
0dfa6426dd
restructure handle_initial_ue_message
2018-11-18 21:35:55 +01:00
David Rupprecht
e5e091b0c9
Minor fixes and code clean up
2018-11-18 21:18:17 +01:00
David Rupprecht
e547883a8f
Wrapper functions for integrity generate
2018-11-18 20:30:22 +01:00
Andre Puschmann
cd7008a269
fix typo
2018-11-16 14:56:43 +01:00
David Rupprecht
7eef2c1c4b
start with decryption function
2018-11-15 23:02:30 +01:00
Andre Puschmann
23836a8ab3
Merge branch 'next' into nas_cleanup
2018-10-22 11:26:00 +02:00
Andre Puschmann
15d439761a
log build info in eNB/EPC logs
2018-10-05 14:58:09 +02:00
Pedro Alvarez
3cddad79cc
Adding ability to configure names of TUN interfaces. ( #277 )
...
* added config option for tun dev names vs fixed names added config option for M1-U interface addr
* Added options to sgi_mb tun name.
* Added some comments to mbms.conf.example
* Added some comments to example configs to explain the new values.
2018-10-05 11:12:31 +02:00
Pedro Alvarez
35ca9ffd34
Adding TTL option
2018-10-04 14:44:26 +02:00
Pedro Alvarez
3ecacdf3a6
Adding selection of local interface at the MBMS-GW.
2018-10-04 14:44:26 +02:00
Pedro Alvarez
d443604661
Merge next into gtp_cleanup_sn. Fixed some conflicts.
2018-10-04 12:09:13 +01:00
Andre Puschmann
0deda67930
print build-info during epc startup
2018-10-01 21:44:16 +02:00
Pedro Alvarez
c1f633c5c7
Dropping bitfields for now. Using #defines and uint8_t for the flags.
2018-10-01 15:17:26 +01:00
Pedro Alvarez
e320c33aef
Fixed last compilation issues.
2018-09-28 15:42:28 +01:00
Pedro Alvarez
ee04639337
Changed gtpu header flags to use a bitfield. Fixing compilation issues.
2018-09-28 13:46:13 +01:00
Pedro Alvarez
8072aaa091
Fixed minor mistake in resolving conflict.
2018-09-25 19:11:56 +01:00
Pedro Alvarez
8dc029cc47
Merging next into NAS cleanup.
2018-09-25 18:56:03 +01:00
Andre Puschmann
b27ff06e79
Merge remote-tracking branch 'origin/issue_178' into next
2018-09-25 15:10:38 +02:00
Pedro Alvarez
b4f9fb06dd
Changing EPC to use uint32_to_uint8 function
2018-09-25 12:09:18 +01:00
Andre Puschmann
860d8af911
Merge branch 'master' into next
2018-09-24 15:50:10 +02:00
Zhe Huang
8b526e1c20
Fix SQN incrementation arithmetic ( #212 )
...
* Fix SQN incrementation arithmetic
Current implementation of increment_sqn function increments the 48 bits
SQN directly by 1 which is incorrect according to 3GPP TS 33.102 version
11.5.1 Annex C. This bug causes commercial UEs to report AUTHENTICATION
FAILURE EMM cause #21 "synch failure" when SQN is out of sync.
According to 3GPP TS 33.102 version 11.5.1 Annex C, 48 bits SQN consists
of 43 bits SEQ and 5 bits IND parts where SEQ are incremented during
generation of authentication vector or resync procedure. A
new IND value is also assigned when an authentication vector is
generated. However, resync procedure will use the same IND value.
This patch implements the increment_sqn function according to 3GPP TS
33.102 version 11.5.1 Annex C. A new function increment_seq_after_resync
is added to handle the special case of SQN arithmetic during SQN
resynchronization.
This patch is tested with two comercial UEs (Oneplus One and Oneplus 3T).
* Fix the maximum value of SEQ value to be 2^43-1
The SEQ value is 43 bits long and previous maximum value has a typo (one
extra F) which allows SEQ value to be 2^47-1. This patch corrects the typo.
2018-09-24 11:28:07 +02:00
Andre Puschmann
a9d46cbad3
Merge branch 'master' into next_test_after_merge
2018-09-20 13:01:43 +02:00