622 Commits (942c28881d1d368ec2dcc7adb1b115b8d70c7b99)

Author SHA1 Message Date
faluco 0b127fa8c7 - Fixed several errors that could sent uninitialized data through the network. 4 years ago
faluco a4f0ecba36 - Fixed a heap corruption where recvfrom could write past the buffer end. 4 years ago
faluco 47953f4ef4 - Prefer addrlen initialization for each call to recvfrom. 4 years ago
faluco f604506858 - Fixed missing initialization issues in nas that caused several jumps in liblte_mme to use uninitialized memory.
- Fixed missing initialization in spgw that caused recvfrom to use an unitialized argument.
4 years ago
faluco 8d1705d6c6 - Fixed a leak in mme_gtpc where the singleton instance was not freed.
- Rewritten the class to be self manage its lifetime.
4 years ago
faluco b5b726ed48 - Fixed a memory leak in s1ap_paging. The static instance was not getting freed.
- Rewrite the singleton to self manage its lifetime.
4 years ago
Pedro Alvarez f85fe1c5ac Don't allow S1 setup with mis-matched TA codes between eNB and EPC. 4 years ago
Pedro Alvarez aafd2cd81c Fix order of discription in user_db.csv.example. 4 years ago
Francisco Paisana 841b884796 remove extern C flags from common_helper.h 4 years ago
faluco cfd3f51931
Import of srslog into srsepc and srsenb. (#1574)
* - Import of srslog into srsepc and srsenb.
* - Removed logger_file and logger_stdout files.
4 years ago
Andre Puschmann 2012fdcbae gtpu: remove unused vars 5 years ago
Pedro Alvarez 5746375b05 srsEPC: Deleted unsued bool in ue context removal interface 5 years ago
Pedro Alvarez 163c078c42 srsEPC: Using bearer state to decide weather to send release bearer request or not. 5 years ago
Pedro Alvarez 10050d2651 srsEPC: Fix sending release bearers request uncessarly on dettach request. 5 years ago
Andre Puschmann 8512c10286 create simple helper method to log command line arguments 5 years ago
Francisco Paisana 0b701022a3 added ue nr mac 5 years ago
Andre Puschmann 63fd12a705 epc,s1ap: fix loop counter that is narrower than size_t 5 years ago
faluco 080ef5ae9a Fix for 1480090. 5 years ago
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 5 years ago
Francisco Paisana 38f848ecdf fix type name deducing for clang 5 years ago
Pedro Alvarez 8c52839599 Disable SIGPIPE when sending S1AP messages in the EPC. 5 years ago
Pedro Alvarez 9680f42925 Fix premature release of UE context on the MME. 5 years ago
Xavier Arteaga 89dcd6339f More LGTM fixes 5 years ago
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 5 years ago
Andre Puschmann 9f4e1ba62d srsepc: use received NAS count to calculate MAC
this is according to 24.301 Sec 4.4.3.3 which says the receiver
should use the sequence number included in the received message
rather a local estimate
5 years ago
Francisco Paisana 344eaf49ec use logmap in the whole enb and ue 5 years ago
Andre Puschmann ac17ec6452 add common signal_handler for srsUE/srsENB/srsEPC
the signal handler is the same for all three apps. The "running" flag
as well as the file_logger object are in the common header in order
to allow the signal handler to flush the file if the alarm goes off.
5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
David Lin be7c5a009d Fixed typo in invalid ip header length
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
5 years ago
Pedro Alvarez bd3598f774 Moved srsEPC to the new S1AP library. Deleted liblte_s1ap.cc and liblte_s1ap.h. 5 years ago
Andre Puschmann a8bbe551ac move thread class into srslte namespace to avoid ambiguity between std::thread 5 years ago
Pedro Alvarez 746de79859 Adding const to some setters (adressing Francisco's comments). 5 years ago
Pedro Alvarez 126e6126fa Removed unused function. 5 years ago
Pedro Alvarez 1be699ce32 Removed unused variable in HSS. 5 years ago
Pedro Alvarez 38411a8417 Clang-formated the EPC in preperation for PR. 5 years ago
Pedro Alvarez 3d4f300b6f Moved some helper setters/getters to hss_ue_ctx_t to remove more useless lookups. 5 years ago
Pedro Alvarez 88c7988813 Fix bug in re-sync procedure. 5 years ago
Pedro Alvarez 469c3ad273 Removed more useless lookups. 5 years ago
Pedro Alvarez 93fbf741d7 Remove unecessary context lookup in increment_ue_sqn 5 years ago
Pedro Alvarez 4f62e6c08c Started to remove unecesssary lookups in gen_auth_info_answer_milenage 5 years ago
Pedro Alvarez a99ce1fc51 Started to remove unecesssary lookups in gen_auth_info_answer_xor 5 years ago
Pedro Alvarez 98400f65e2 Changed hss ue_ctx map to use unique pointers. 5 years ago
Pedro Alvarez 58bd5631e3 Starting to change map in HSS to use uinque_ptr. 5 years ago
Ismael Gomez a5b7dcdf16
Remove boost string (#936)
* Remove boost string

* Make sure that int/enc algos can be specified in capital case in the MME.

* Use == instead of compare for comparing strings with const chars

Co-authored-by: Pedro Alvarez <pedro.alvarez@softwareradiosystems.com>
5 years ago
Andre Puschmann cccabdaf4f removing unneeded install targets for static libs (reported by Filipe) 5 years ago
Pau Espin Pedrol 4949df257e Proper shutdown on SIGHUP
If a process exits and has a controlling terminal, everything under
it gets a SIGHUP by the kernel. That's the case for instance when
running a srsUE over ssh with some specific parameters. As a result,
when the ssh client is killed, SIGHUP is sent to srsUE, which will be
killed immediatelly without proper release, which means in turn that log
buffers are not flushed.
Let's do proper shutdown when SIGHUP is received so that everyone can
get log files.
5 years ago
Pau Espin Pedrol 64de92183b epc: Drop signal(SIGKILL) calls
SIGKILL cannot be intercepted by apps, so it's useless adding a signal
handler for them. I'm pretty sure the signal() function is erroring in
this scenarios. From signal() man page:
"The signals SIGKILL and SIGSTOP cannot be caught or ignored."
5 years ago
Merlin Chlosta c2e95b1e2a Reject TAU to force UE to reconnect 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Xavier Arteaga b48bb0d754 Removed atof, atoll and atoi calls 5 years ago