b1u3s
08e02c9a5b
add length check on emergency number list
2022-11-04 13:16:44 +01:00
Matan Perelman
0c1a7018ec
lib: Minor reformat
2022-07-27 17:49:40 +02:00
Matan Perelman
6fc1a638da
lib,nas: Fix packing and unpacking add_info in generic_nas_transport
2022-07-27 17:49:40 +02:00
Zishuai CHENG
2e4b1aceaf
Parse tmsi type of mobile id and fixed the content length of network feature support
2022-07-21 09:55:38 +02:00
Ali_UBUNTU18.04
3fdec57a47
liblte_mme: Added sec_hdr_type check in liblte_mme_pack_deactivate_eps_bearer_context_request_msg
2022-04-27 09:28:06 +02:00
Alejandro Leal Conejos
ca7a377878
Fixes coverity 262740
2021-10-27 19:47:45 +02:00
faluco
edf0926a2f
Batch of LGTM fixes.
2021-10-26 21:49:17 +02:00
Ismael Gomez
d972fb368c
Some LGTM fixes ( #3564 )
...
* Fix LGTM issues
* ue: add logging to switch on function
* Fix new LGTM issues
2021-10-26 21:15:36 +02:00
Codebot
4523ee6087
rename srsLTE to srsRAN
2021-03-21 21:47:01 +01:00
Xavier Arteaga
81cc8de2b7
Protect NAS unbounded message read
2021-03-03 23:06:47 +01:00
Francisco
c2dfe615e7
fixed alignment of LIBLTE_BYTE_MSG_STRUCT to reflect the one of byte_buffer. Add bzero in liblte packers
2021-02-11 13:09:06 +00:00
Francisco
4188b5146e
fix uninitialized memory access in gtpu_test and liblte_mme unpacking
2021-02-11 13:09:06 +00:00
David Rupprecht
020d0dacc8
add the additional sec cap to NAS attach request
...
use same capabilities that are signaled for EUTRA
2021-01-08 17:20:08 +01:00
Andre Puschmann
c02aa8f124
liblte_mme: add DCNR UE capabilties packing
2021-01-08 17:20:08 +01:00
Andre Puschmann
00a6e16c14
update license header for liblte_*.{h,cc} files
...
user license-agnostic text to refer to license file.
make sure copyrights/years are correct.
2020-12-12 15:59:26 +01:00
Daniel Willmann
925225dbeb
Implement Close UE Test Loop/Complete messages
...
This commit implements support for the CLOSE_UE_TEST_LOOP message.
Currently the mode is not saved and looping the data is not implemented.
Only the *_COMPLETE message is sent back as a response.
2020-04-04 22:51:43 +02:00
Andre Puschmann
476f970ee1
replace FIXME with TODO
2019-12-18 11:25:56 +01:00
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
2019-12-16 16:04:22 +01:00
Andre Puschmann
50999d8116
allow integrity protection for identity response
2019-10-01 20:59:00 +02:00
Pedro Alvarez
9597cc4c14
Clang-formated liblte_*
2019-07-13 14:41:04 +02:00
Andre Puschmann
62a4fa1c93
fix various potential buffer overruns
...
this is based on suggested fixes by Dirk Grabinski and David who
have fuzzed various parts of srsLTE using afl
2019-07-04 14:43:59 +02:00
Andre Puschmann
f357c995fc
liblte_mme: fix packing and unpacking of modify EPS bearer context
...
this just skips the security bits but the packing/unpacking of
the values, i.e. new TFT may still be wrong
2019-06-05 17:41:46 +02:00
Andre Puschmann
76b84a9b61
fix unpacking of deactivate eps bearer context
2019-05-30 13:05:02 +02:00
Pedro Alvarez
69b1a2319e
Fix error in the TFT parameter list size unpacking
2019-05-30 13:05:02 +02:00
Pedro Alvarez
82828a699b
Fixed bug in transaction identifier and radio prio unpacking in NAS.
2019-05-30 13:05:02 +02:00
Pedro Alvarez
02beeefdbd
Fix header unpacking error in the Activate EPS dedicated bearer context request message
2019-05-30 13:05:02 +02:00
Andre Puschmann
1c749ad559
add basic handling for deactivating eps bearer
2019-05-30 13:05:02 +02:00
Andre Puschmann
f000e36f21
liblte_mme: fix dedicated bearer handling, add handling for UE testmode
2019-05-30 13:05:02 +02: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
e88e1bb4d2
Fixed TMSI packing length (was giving trouble with Xperia).
2018-12-07 10:28:05 +00:00
Pedro Alvarez
1fba7f0afa
Moved function that gets NAS type string to liblte_mme.cc
2018-08-14 18:42:48 +01:00
Andre Puschmann
9b894799f0
add support for ciphered authentication response
2018-07-10 12:34:25 +02:00
Andre Puschmann
a30ad8952c
fix indent and simplify auth request packing
2018-05-15 12:40:29 +02:00
Andre Puschmann
4fe5258a23
fix packing/unpacking of esm info request msg
2018-05-15 12:40:29 +02:00
Andre Puschmann
4dc2951d59
perform initial attach with ESM info transfer
2018-05-15 12:40:29 +02:00
Andre Puschmann
9f71051696
fix parsing of attach accept PDN address to find protocol options
2018-05-15 12:40:29 +02:00
Andre Puschmann
455d4491c5
make RES length variable when packing auth response
2018-05-15 12:40:29 +02:00
Ismael Gomez
208871b251
Changed liblte structs to simple structs and initialized nas/rrc uses.
2018-04-25 18:01:37 +02:00
Pedro Alvarez
57220bd6a8
Fixed compiler warnings.
2018-03-26 11:25:13 +01:00
Pedro Alvarez
669ef9816f
Added packing of TMSI to mobile station identity IE.
2018-02-26 10:39:40 +00:00
Pedro Alvarez
042552491b
Merging next into epc branch.
2018-01-08 14:45:13 +00:00
Pedro Alvarez
a4e1707835
Fixed bug in packing ESM information request.
2017-12-17 16:05:52 +00:00
Paul Sutton
84724d2ab1
NAS-plane encryption working (thanks to David Rupprecht)
2017-11-30 17:09:12 +00:00
Paul Sutton
d9b9ae9454
Fix for GUTI pack bug, add support for integrity with attach req
2017-11-23 18:42:08 +00:00
Andre Puschmann
5898af3d0b
add srslte_asn1 lib
...
- remove extra subfolder containing liblte
- add asn1 lib containing rrc msg packing and unpacking
- add security related bits to common
2017-05-30 15:06:24 +02:00