Sukchan Lee
611986794b
Squashed commit of the following:
...
commit 183d8b8344122f25f77be79b1b698c71f48c1656
Author: Sukchan Lee <acetcom@gmail.com>
Date: Fri May 28 23:44:26 2021 +0900
[SMF] introduce new list API [#1019 ]
Sometimes we may need two lists for same node.
To do this, I created a new list API, and applied it this pull request.
2021-05-28 23:46:48 +09:00
Josh Bailey
caa73e1f5e
Support TAP interfaces, with ARP/ND.
2021-05-28 05:59:03 +00:00
Sukchan Lee
873cf398c7
[ALL] Add protection of message encoding ( #991 )
...
All process will be forcely exited if it failed to encode the S1AP/NGAP/GTP/PFCP message. It is to make sure there was no problem with the encoding of open5gs.
2021-05-16 12:22:10 +09:00
Sukchan Lee
3df75e37df
[GTP/PFCP] Remove SO_REUSEADDR in UDP (#986,#992)
...
In case of IP conflict, it has been modified to automatically shut down with an error message so that users can easily recognize it.
2021-05-15 20:37:15 +09:00
Sukchan Lee
f861919507
[AMF] asn1c decode error for APC_EXTENSIBLE ( #994 )
2021-05-14 16:46:08 +09:00
Sukchan Lee
257f398a11
[AMF] Add more buffer for 5GMM capability ( #959 )
2021-05-13 19:55:00 +09:00
Sukchan Lee
3b19190f56
[AMF] fix crash due to malformed NGAP ( #960 )
2021-05-08 15:09:10 +09:00
Sukchan Lee
5ea9b22209
[AMF] security protection (UERANSIM-issues316)
...
1. Allocate ngKSI other than the value already used.
2. Add the protection of Service request
3. fix SBI convert error ng_ap_cause
2021-05-08 13:24:17 +09:00
Sukchan Lee
b0e8dbb31a
[NAS] Protection for malformed NAS message ( #959 )
...
Add the protection code to avoid AMF/MME crash due to malformed NAS
message
2021-05-07 23:04:48 +09:00
Sukchan Lee
182a61dc0b
[IPFilter] Assert if getprotobyname() problem ( #977 )
2021-05-07 10:47:10 +09:00
Sukchan Lee
dc870cc839
[SMF/UPF] fix the bug for decoding IPFilter (977)
2021-05-06 21:15:32 +09:00
Sukchan Lee
5901582281
[GTPv2] fix incorrect formatting PLMN-ID ( #969 )
2021-05-05 22:51:50 +09:00
Sukchan Lee
e5a0dfb444
[SBI] fix the compile warning in MacOSX
2021-05-05 22:04:17 +09:00
Sukchan Lee
0b063a57c8
[MME] fix the NAS encoding for AMBR ( #967 )
2021-05-05 21:16:31 +09:00
Sukchan Lee
cea1dff5a1
[Alpine] remove GLIBC macro ( #957 )
2021-04-30 22:16:07 +09:00
Sukchan Lee
002e3c7ae9
[Alpine] Add Dockerfile and Document
2021-04-30 22:13:04 +09:00
Venkata Pilla
27b25b8993
Added support for musl libc, to support compilation on Alpine Linux and other musl libc based systems. ( #957 )
2021-04-30 22:07:20 +09:00
Sukchan Lee
3b1ebfa9ed
[MME] Fix the Invalid AMBR Unit ( #967 )
2021-04-30 11:58:02 +09:00
Sukchan Lee
959bc6a248
[PFCP] DNS delay during PFCP association ( #891 )
...
1. Remove ogs_getnameinfo().
2. Modify to check a valid IP address by using ogs_inet_pton() in order not to use DNS query
2021-04-30 10:17:01 +09:00
Sukchan Lee
49d7fe3b82
fix compilation error in FreeBSD
2021-04-30 00:17:26 +00:00
Sukchan Lee
a58214da76
[5GC/EPC] tested with concurrent 500 UEs ( #949 )
...
Fix the memory problem in many simulatneous connections test
2021-04-29 22:01:34 +09:00
Sukchan Lee
fc27f7499b
[SMF/SGW-C] fix the PFCP RR selection ( #953 )
...
The configuration has changed. PFCP node rr=0 is removed as shown below.
sgwc:
pfcp
rr: 0 <-- Removed
Introduced a new configuration method for SMF/SGW-C
parameter:
no_pfcp_rr_select: true
By default, PFCP round robin selection is allowed.
The above parameters prohibit selecting PFCP in a round robin manner.
2021-04-24 20:56:14 +09:00
Sukchan Lee
793a82020f
[ALL] Init updated for an Invalid IP ( #938 )
2021-04-21 17:24:17 +09:00
Sukchan Lee
83720fff9a
fix: mobilty -> mobility ( #930 )
2021-04-13 10:02:52 +09:00
Sukchan Lee
745ea41096
[AMF] increase SBI memory pool ( #925 )
2021-04-09 13:52:19 +09:00
Sukchan Lee
26066bb0ca
[Cx] LIR/LIA is added ( #921 )
2021-04-07 21:46:05 +09:00
Sukchan Lee
d3eaaff430
[Cx] fix the Cx integration bug ( #919 )
...
- Now security is verified.
2021-04-06 21:36:08 +09:00
Sukchan Lee
d40348c00c
[SBI] Unknown timezone offset ( #914 )
...
add a debug message for unknown timezone offset
2021-04-05 21:16:52 +09:00
Sukchan Lee
41c6bb4681
new: HSS Cx interface is added
2021-04-05 17:09:39 +09:00
Sukchan Lee
bb38c01229
fix : Allow NSSAI in Registration accept ( #910 )
...
Always Present Allow NSSAI in Registration accept
2021-04-03 14:07:44 +09:00
Sukchan Lee
5f9785af52
sctp: Add sack_delay in sctp configuration ( #895 )
2021-04-01 15:40:46 +09:00
Sukchan Lee
68724c6ec1
fix: Support many simultaneous connections ( #886 )
2021-03-31 17:29:20 +09:00
Sukchan Lee
829123dad0
fix: managing multiple calls ( #869 )
...
If PCRF sends RAR, it generates different Charging-Rule-Name.
2021-03-29 10:28:08 +09:00
Sukchan Lee
6ab5c41af5
conf: Add ignore_requested_nssai parameter ( #859 )
...
If parameter.ignore_requsted_nssai is true,
AMF will ignore the UE Requested NSSAI and create an allowed-NSSAI
based on the Default S-NSSAI in the Subscription DB.
2021-03-26 23:12:43 +09:00
Sukchan Lee
b21dc65741
fix: Ignore Unknown TLV type in PFCP/GTP ( #871 )
2021-03-24 09:36:22 +09:00
Sukchan Lee
ebb48ede53
Freeze usrsctp version to 0.9.5.0
2021-03-21 20:06:24 +09:00
Sukchan Lee
54f1ccbb6b
Upgrade freeDiameter from v1.3.2 to v1.5.0
2021-03-21 17:44:42 +09:00
Sukchan Lee
182a680d51
feat: advertise address for 5G NFs ( #825 )
2021-03-19 21:01:38 +09:00
Sukchan Lee
d0eec31f5c
upf/sgwu: fix the PDR creation bug ( #860 )
...
When PDR is created without deleting session, there is a bug to create
new PDR.
2021-03-19 10:08:37 +09:00
Sukchan Lee
37e0a714f9
Fixes UE IPv6 BUG ( #808 )
2021-03-15 10:01:55 +09:00
Sukchan Lee
9af4268bab
arch: DB schema Changes ( #796 )
...
- New function : NSSF
- New feature : SMF selection
2021-03-08 21:25:09 +09:00
Sukchan Lee
c6bfbed922
Modify not to limit the length of DB URI ( #827 )
2021-03-03 23:13:20 +09:00
Charlie Lewis
0790674c14
mask mongo credentials when logging ( #827 )
2021-03-03 23:06:31 +09:00
Sukchan Lee
b6bcbac3e3
fix: Add the exception handling ( #804 )
...
When UE/gNB repeatedly sends NGAP message repeatedly, AMF crashed.
Exception routines have been added to resolve this issue.
2021-02-15 12:17:33 -05:00
Sukchan Lee
094d40b073
fix: 256 pool num increased to 16,384 ( #753 )
2021-02-08 14:32:04 -05:00
Sukchan Lee
852756f902
test: Porting FreeBSD
2021-02-08 14:25:40 -05:00
Sukchan Lee
7901a1164f
mac: Support Apple M1 chips
...
See https://open5gs.org/open5gs/docs/platform/05-macosx-apple-silicon/
2021-02-06 00:13:48 -05:00
Sukchan Lee
e7cb25ac9b
asn1c: MME crash is resolved ( #783 )
2021-02-02 14:27:03 -05:00
Sukchan Lee
f47f65a51c
fix: asn1c decode problem for NGReset ( #773 )
2021-02-02 13:33:09 -05:00
Sukchan Lee
ff5236f3e0
feat: Indirect Data Forwarding in N2-Handover
2021-01-31 23:01:15 -05:00
Sukchan Lee
49a9e58efe
feat: Add N2-Handover
2021-01-28 14:23:54 -05:00
smartVan
19014a3a25
modify udr smf selection subscription data ( #778 )
2021-01-28 14:18:02 -05:00
Sukchan Lee
ada01fca8f
spec: S1AP/NGAP update to v16.4.0(2021-01-04)
2021-01-24 23:43:42 -05:00
Sukchan Lee
9eac90252e
fix: AMF/SMF/UDM crash issues resolved (#770/#771)
2021-01-22 22:17:01 -05:00
Sukchan Lee
c9363b1320
5gc: Paging was added
2021-01-18 11:48:35 -05:00
Supreeth Herle
1c13d7f5ec
Legacy support for pre-release LTE 11 devices while performing VoLTE call ( #757 )
...
* AAR Media-Sub-Component modification for more UEs support
* Introduce parameter for legacy support for pre-release LTE 11 devices to do calling
IE (IPV4-local-addr field ) is not supported on
the LTE pre release-11 UEs. In order for the call
to work the local address in packet filter must
be replaced by any.
Parameter: no_ipv4v6_local_addr_in_packet_filter
2021-01-11 08:03:52 -05:00
Sukchan Lee
5fb0611cb2
fix: Derive ESM cause from GTP-Cause ( #755 )
2021-01-10 23:36:12 -05:00
Sukchan Lee
f15d2c96fe
remove math library for time string conversion
2021-01-08 23:16:54 -05:00
Sukchan Lee
e531ccab5a
fix: The SBI time string converting error in 32bit
2021-01-08 10:42:51 -05:00
Sukchan Lee
31cc259ee4
fix: release error
2021-01-08 00:24:00 -05:00
Sukchan Lee
7b29cdf898
Handling UEContextRequest of InitialUEMessage
2021-01-07 22:26:06 -05:00
Sukchan Lee
7dd4609c0f
fix: increase mempool to support 1024UEs ( #753 )
2021-01-07 13:18:45 -05:00
smartVan
060d2a08f5
remove repeated qer in handling create pdr ( #749 )
2021-01-06 23:32:12 -05:00
Sukchan Lee
c9cfc4cf6e
etc: update debug message
2021-01-04 23:24:22 -05:00
Sukchan Lee
70a7bac6b2
feat: Add 5G Core Xn Handover ( #726 )
2021-01-03 00:50:59 -05:00
Sukchan Lee
88346c0141
fix: SBI heartbeat timer usage changed ( #741 )
2021-01-01 15:56:46 -05:00
Sukchan Lee
b35eb9fcf4
fix: Receive HTTP2 message up to 8192bytes ( #738 )
2020-12-31 22:36:33 -05:00
Sukchan Lee
79b0552bb0
test: for checking issues #736
2020-12-31 21:55:11 -05:00
Sukchan Lee
235a041b8d
feat: Add dedicated QoS flow
2020-12-31 21:07:08 -05:00
Sukchan Lee
65aea5ebf2
test: Use milliseconds in RFC3339 ( #727 )
2020-12-29 13:26:36 -05:00
Sukchan Lee
4115799c2a
fix: NRF notification send all information ( #737 )
2020-12-28 23:36:02 -05:00
Sukchan Lee
efd1780745
fix: update NRF issues (#727,#728,#729,#730)
2020-12-24 15:41:31 -05:00
Tim Gates
171f15f684
docs: fix simple typo, speciic -> specific ( #724 )
...
There is a small typo in lib/asn1c/common/constr_TYPE.h.
Should read `specific` rather than `speciic`.
2020-12-19 16:10:00 -05:00
Sukchan Lee
2392f23d7f
fix: the unexpected PDN type error ( #721 )
2020-12-16 22:44:32 -05:00
Sukchan Lee
198abc6e8b
Add PCF(Policy Control Function)
2020-12-11 14:03:20 -05:00
Sukchan Lee
41fd851b7f
fix: SCTP workaround for PEER_ADDR_PARAMS ( #707 )
2020-12-06 17:34:22 -05:00
Sukchan Lee
33edd12335
fix: UPF is not working with Landslide ( #685 )
...
* Flow-Description use 'to assigned' in Gx Interface
* Support SDF Filter ID
* Support F-TEID's Choose
* BAR(Buffering) is added in PFCP session
* Default Apply Action uses NOCP|BUFF
2020-12-03 01:16:57 -05:00
Sukchan Lee
2c2b6dfcaf
Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI
2020-11-26 21:44:37 -05:00
Sukchan Lee
f0b9a35962
[ #672 ] Fix DL data is not working in 5G Core
2020-11-19 07:47:26 -05:00
Sukchan Lee
d7c188dc00
License update
2020-11-12 20:58:08 -05:00
Sukchan Lee
6f11a78079
If SCTP use SOCK_STREAM, Use BUFFERING method.
...
Most of the time, an application wants to perform some amount of data buffering
in addition to just responding to events. When we want to write data,
for example, the usual pattern runs something like:
1. Decide that we want to write some data to a connection;
put that data in a buffer.
2. Wait for the connection to become writable
3. Write as much of the data as we can
4. Remember how much we wrote, and if we still have more data to write,
wait for the connection to become writable again.
Now, Open5GS implements the above method by default when transmitting data
in a stream type socket.
2020-11-11 13:21:32 -05:00
Sukchan Lee
9a1824f6aa
Openair UE workaround for HashMME #651 , #584
2020-11-10 10:04:09 -05:00
Sukchan Lee
23e8e6577c
Update ogs_pollset library
...
- Fix the ogs_pollset_remove() bug in select(WIN32), kqueue(MacOSX)
- Modify to enable ogs_pollset_remove() in pollset callback handler
2020-11-09 22:57:14 -05:00
Sukchan Lee
f1a207fd9b
Support VoLTE service in ECM-IDLE
2020-11-07 17:27:12 -05:00
Sukchan Lee
621145d8b0
Add rpath to required shared library #535 , #595
2020-11-03 20:11:30 -05:00
Sukchan Lee
ad85c12513
checking for APN/DNN in case insensitive #617
2020-11-02 11:45:14 -05:00
Sukchan Lee
22e98d612a
fix the compile error
2020-11-01 01:44:59 -04:00
Sukchan Lee
f137d1947f
Last Modification for releasing v2.0.19
...
1. SCTP event size workaround - stolen code from libosmo-netif
2. Remove PFCP User Plane IP resource information
3. Fix the bug when building Initial Context Setup Request with EMM NAS message.
2020-10-31 00:30:42 -04:00
Sukchan Lee
3cbec5f2e6
License update
2020-10-26 22:43:47 -04:00
Sukchan Lee
a470131489
Now, F-TEID is allocated in the UP function.
2020-10-25 22:43:53 -04:00
Sukchan Lee
15e42bc4a9
Fix MME crash when VoLTE is enabled [ #619 ]
2020-10-22 17:53:13 -04:00
Sukchan Lee
bdeea7ce8b
Add troubleshoot for #621
2020-10-21 22:54:40 -04:00
Sukchan Lee
1bed0d5872
[ #568 ] Add GTP-U Error Indication Handling
...
So far, no operation was performed when Error Indication was received
from eNodeB. For that reason, I solved #568 issues by controlling
the MME to prevent this from happening.
Now, when GTP-U Error Indication is received, MME and SGW are implemented
to do what they have to do. I hope that the network can be restored
by responding appropriately even if Error Indication occurs.
2020-10-20 20:00:02 -04:00
Sukchan Lee
437cc92bf9
change the error message
2020-10-08 23:00:54 -04:00
Sukchan Lee
8d55964bcc
Change buffering instead of deleting [ #592 ]
2020-10-08 22:54:13 -04:00
Sukchan Lee
cabef6afa9
fix build failure for sysctl() deprecation [ #600 ]
2020-10-08 19:50:14 +00:00
Sukchan Lee
0eb68eefe2
Clarify configuration for multiple APN [#597,#598]
2020-10-07 09:22:10 -04:00
Sukchan Lee
30b7f7669e
rollback v2.0.11
2020-10-05 14:06:17 -04:00
Sukchan Lee
71fa610a8e
Add assert for not supporting feature
2020-10-02 10:52:02 -04:00
Sukchan Lee
8ba3d89b8d
rollback it
2020-10-01 22:06:36 -04:00
Sukchan Lee
d58024247c
for supporting Ubuntu(focal/groovy)
2020-10-02 01:35:31 +00:00
Sukchan Lee
88399da5b6
Fix release access bearer #592
2020-10-01 13:27:58 -04:00
Sukchan Lee
cb1bb8b2c5
change number of packet buffer in SGW-U/UPF
2020-09-24 21:39:34 -04:00
Sukchan Lee
07a38791b9
remove STATIC_ASSERT
2020-09-24 21:31:40 -04:00
Sukchan Lee
3554419d97
Fix the connection refused bug [ #568 , #551 ]
2020-09-24 21:29:48 -04:00
Sukchan Lee
b63073cd56
Fix the typo error #577
2020-09-23 08:59:52 -04:00
Kenny Barlee
ede4282389
fix for SMF nr_cell_id selection ( #574 )
2020-09-22 13:31:13 -04:00
Sukchan Lee
9c773014b0
Fix the more bug
2020-09-21 23:07:08 -04:00
Sukchan Lee
b12af9275f
Fix the bug for various assert [ #551 ]
2020-09-21 22:26:55 -04:00
Sukchan Lee
65d1ac1718
Fix TFT bug in Bearer resource modification [ #338 ]
2020-09-21 00:33:36 -04:00
Sukchan Lee
f5601a95f7
Fix semantic error in packet filter [ #338 ]
...
<DOWNLINK>
RX : permit out from <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> to <UE_IP> <UE_PORT>
GX : permit out from <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> to <UE_IP> <UE_PORT>
PFCP : permit out from <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> to <UE_IP> <UE_PORT>
RULE : Source <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> Destination <UE_IP> <UE_PORT>
TFT : Local <UE_IP> <UE_PORT> REMOTE <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT>
<UPLINK>
RX : permit in from <UE_IP> <UE_PORT> to <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT>
GX : permit out from <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> to <UE_IP> <UE_PORT>
PFCP : permit out from <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT> to <UE_IP> <UE_PORT>
RULE : Source <UE_IP> <UE_PORT> Destination <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT>
TFT : Local <UE_IP> <UE_PORT> REMOTE <P-CSCF_RTP_IP> <P-CSCF_RTP_PORT>
2020-09-20 23:35:10 -04:00
Sukchan Lee
4acb333e68
suppress socket error message if EAGAIN [ #568 ]
2020-09-18 21:46:49 -04:00
Sukchan Lee
7ae1600e04
Add exception handling for #568
...
If packet buffer is exhausted, the packet is sliently discarded
2020-09-18 19:39:02 -04:00
Sukchan Lee
818f3139d4
memory optimization [ #549 ]
...
1. number of packet buffer : 65,536 -> 32,768
2. Packet SDU Size : 8,192 -> 2,048
3. Stabilize test program
2020-09-13 22:06:13 -04:00
Sukchan Lee
edf83b37fa
Add debug message for issues [ #551 ]
2020-09-10 21:50:20 -04:00
Sukchan Lee
feaec0eaa9
fix the coding within 80 columns
2020-09-09 18:18:39 -04:00
Kenny Barlee
242a352a1c
Change PFCP node search order, fix typo, add feature to disable RR for a node ( #560 )
...
* change search order to APN/cellID/TAC
* typo in SGWC default config
* Feature to disable RR for particular node
2020-09-09 18:13:58 -04:00
Sukchan Lee
7f9f6fc3f2
rollback ogs_expect() [ #551 ]
2020-09-08 22:17:13 -04:00
Sukchan Lee
160490483a
Fix the many UEs issues [ #551 ]
2020-09-07 22:02:45 -04:00
Sukchan Lee
4d023d0de0
fix overflow bug in the packet memory pool
2020-09-06 23:53:38 -04:00
Sukchan Lee
0ef1769583
ogs_exepct() calls abort() temporarily [ #472 ]
2020-09-05 14:25:05 -04:00
Sukchan Lee
d02aa8b21b
Attempt to fix #548 problem
2020-09-04 23:36:51 -04:00
Sukchan Lee
887a0a10d3
Fixing the problem of the test program
2020-09-01 23:04:35 -04:00
Sukchan Lee
111536ea9a
Fix the test program [ #536 ]
2020-08-31 22:41:39 -04:00
Sukchan Lee
bc476c2e0e
Instead of OGS_NEXT_ID, Use memory pool-index
2020-08-29 23:27:54 -04:00
Sukchan Lee
015a462ce9
Fix the bug for multiple Video Call ( #535 )
2020-08-29 10:53:02 -04:00
Sukchan Lee
0d676c4057
Fix UPF/SGW-U selection bug
2020-08-26 21:03:15 -04:00
Sukchan Lee
18c483950c
Change Number of UEs usage [ #533 ]
...
- Set the number of UEs in units of AMF/MME instead of gNB/eNB.
- See default value as shown below
Number of UEs per AMF/MME : 4,096
Number of gNB/eNB per AMF/MME : 32
2020-08-25 23:05:01 -04:00
Sukchan Lee
8e048be082
Release v2.0.0
2020-08-21 23:33:45 -04:00
Sukchan Lee
19b9360687
Split SGW into SGW-C/SGW-U
2020-08-12 20:31:22 -04:00
Sukchan Lee
9f24b7f295
Fix the AMF bug and add TLV log [ #521 ]
2020-08-07 11:57:17 -04:00
Sukchan Lee
bcffdd823e
Re-factoring 5GC for solving crash issue
2020-08-02 23:22:41 -04:00
Sukchan Lee
4d5b38c8f4
Fix the AMF crash [ #521 ]
2020-07-30 22:10:20 -04:00
Sukchan Lee
2b2c51722f
fix the 5GC test program
2020-07-29 23:26:12 -04:00
Sukchan Lee
94b44a3dd0
Fix the AMF bug for double free
2020-07-28 22:35:43 -04:00
Sukchan Lee
7071d32518
Message Wait Timer default set to 2 seconds [ #512 ]
2020-07-27 00:20:01 -04:00
Sukchan Lee
24a4df3691
fix SMF crash [ #512 ]
2020-07-26 23:10:53 -04:00
Sukchan Lee
0cabf9de11
Synchronize all timers [ #512 ]
2020-07-26 21:02:40 -04:00
Sukchan Lee
1d61c94f54
Oops! change debug level
2020-07-26 14:56:34 -04:00
Sukchan Lee
06a5566128
Add NRF debug/trace for finding crash [ #512 ]
2020-07-26 14:54:30 -04:00
Sukchan Lee
ff56388b3e
[ #510 ] fix the PFD management request
2020-07-23 13:47:41 -04:00
Sukchan Lee
96396739af
[ #511 ] 5GC Re-registration bug is fixed
2020-07-23 11:21:29 -04:00
Sukchan Lee
661da4e034
5GC UPF selection is added
2020-07-19 21:42:58 -04:00
Sukchan Lee
9b3176ca4a
QFI is added
2020-07-17 23:29:45 -04:00
Sukchan Lee
4dd113ac7b
Add git version
2020-07-13 00:18:29 -04:00
Sukchan Lee
fdfce08b68
Fix the compile error [ #499 ]
2020-07-10 14:59:29 -04:00
Sukchan Lee
f78ca3c483
remove unnecessary ASN
2020-07-09 18:43:55 -04:00
Harald Welte
f42b45a061
fix compilation warnings/errrors with microhttpd >= v0.97.1 ( #498 )
...
Unfortunately upstream microhttpd has changed their callback function
prototypes in an API-incompatible way. At least if you build with
-Werror, gcc will fail due to non-matching prototypes.
Work around this by using a typedef which uses the proper return type
depending on the microhttpd version used.
Closes : #497
Co-authored-by: Harald Welte <laforge@osmocom.org>
2020-07-09 17:56:48 -04:00
Sukchan Lee
7bb1c7055f
Remove ACK in configuration update [ #487 ]
2020-07-09 17:34:41 -04:00
Sukchan Lee
997b716cda
Change asn1c from velichkov to mounse07410 [ #492 ]
2020-07-09 16:43:56 -04:00
Sukchan Lee
a71d2ee3db
refine SGW/UPF selection code
2020-07-09 01:38:09 -04:00
Sukchan Lee
c7d87c9180
Fix the SMF crash bug [ #487 ]
2020-07-03 23:14:48 -04:00
Sukchan Lee
3b0db8c384
Fix the bug for Release-16
2020-07-03 01:03:13 -04:00
Sukchan Lee
d9743286c5
Add PDU Session Release [ #488 ]
2020-07-02 01:50:23 -04:00
Sukchan Lee
fae342ecce
Apply Release-16 in 4G EPC(S1AP,NAS,GTP)
2020-07-01 00:22:55 -04:00
Sukchan Lee
5eabfc8275
Fix to decode configuration update complete [ #487 ]
2020-06-30 08:29:18 -04:00
Sukchan Lee
3c6711c9c8
If HSS/UDR gets MSISDN, AMF/MME -> SMF/SGW [ #464 ]
2020-06-29 22:12:24 -04:00
Sukchan Lee
ca4ee27e84
more bug is fixed
2020-06-27 00:46:06 -04:00
Sukchan Lee
01b69e046f
Bug Fixed for 5GC
2020-06-25 22:44:28 -04:00
Sukchan Lee
6e84ac670d
Bug fixed for 5G core
2020-06-25 00:37:29 -04:00
Sukchan Lee
d652075ab9
a couple of bug is fixed
2020-06-24 00:33:10 -04:00
Sukchan Lee
a7280c2fcb
Add a guide if SMF/PGW cannot find subnet [ #480 ]
2020-06-23 12:50:23 -04:00
Sukchan Lee
300123d990
Bug fixed for 5GC
2020-06-23 00:35:41 -04:00
Sukchan Lee
b35c2277be
simple 5GC registration is done
2020-06-21 23:10:54 -04:00
Kenny Barlee
bcd02b1f33
MME: select SGW by RR,TAC,ENB_ID || SMF: select PFCP associated UPF by RR,TAC,APN,ENB_ID (re-worked) ( #470 )
...
* MME: select SGW by RR,TAC,ENB_ID
and enable round robin inside each option
* SMF: select PFCP associated UPF by RR,TAC,APN,ENB_ID
and enable round robin inside each option
2020-06-19 00:36:02 -04:00
Sukchan Lee
c54e85c5c0
Session-AMBR changes required field in WebUI
2020-06-17 21:43:16 -04:00
Sukchan Lee
dbee687a75
Add only one 5GC scenario (call-flow)
2020-06-17 01:22:28 -04:00
Sukchan Lee
72370ff0b2
Add AUSF, UDM, and UDR
2020-06-04 14:12:05 -04:00
Sukchan Lee
6ef5a746e5
NGSetup is added
2020-05-25 12:15:22 -04:00
Sukchan Lee
6f6800b52e
NGAP is added
2020-05-22 22:24:48 -04:00
Sukchan Lee
3c3aec340e
Fix the compile error [ #442 ]
2020-05-21 23:11:27 -04:00
Sukchan Lee
a9eaed18aa
NAS-5GS is added
2020-05-21 21:24:21 -04:00
Sukchan Lee
1fd3f48860
Squashed commit of the following:
...
Fix the wrong format in nf-instance GET method
2020-05-18 23:07:41 -04:00
Sukchan Lee
d0673e3066
Added NRF
2020-05-18 17:00:37 -04:00
Sukchan Lee
4e01d270eb
Use ogs_pool_alloc in diameter state #420
2020-04-27 13:08:24 -04:00
Sukchan Lee
ae75f43a88
Initial proposal CUPS using PFCP
2020-04-26 15:36:05 -04:00
Sukchan Lee
f0a405f17c
Change MIT License for NAS message ( #411 )
2020-04-24 08:52:14 -04:00
Sukchan Lee
c6ea286fe2
fix the PGW segfault on DeleteSessionRequest ( #417 )
2020-04-19 12:27:52 -04:00
Sukchan Lee
5009876c16
P-GW respond to DIAMETER error from PCRF( #403 )
2020-04-18 13:07:06 -04:00
Sukchan Lee
3feddd5424
Fix P-GW crashed without PCRF ( #402 )
2020-04-17 21:36:26 -04:00
Sukchan Lee
a1569e5d86
Add optional function for TAI or ECGI( #399 )
2020-04-09 10:52:21 -04:00
Sukchan Lee
557d9532b0
Add GTPv2 ECHO REQ/RSP Message ( #378 )
...
This is only handling ECHO REQ/RSP message.
The related function is not implemented at this point.
2020-03-25 17:43:02 -04:00
Sukchan Lee
1e56141d1e
Add socknode_add() [ #367 ]
2020-02-28 20:26:32 +09:00
Sukchan Lee
5d99df4036
Support all TFT code ( #358 )
2020-01-28 18:26:10 +09:00
Sukchan Lee
f3dd605c67
Not to delete transaction for GTP retry [ #342 ]
2020-01-07 20:01:36 +09:00
Sukchan Lee
e35bc4cc0d
Fix the bug the GTP xact during Request Duplicated
2020-01-01 13:02:22 +09:00
Sukchan Lee
d191a5135e
Add Bearer Resource Modification feature ( #336 )
2019-12-28 21:46:30 +09:00
Spencer Sevilla
324f3d158f
add PCO options as TODOs. Closes #7 ( #324 )
2019-12-13 13:45:29 +09:00
Sukchan Lee
896ca50253
PFCP interface added, but not tested.
2019-12-07 13:17:00 +09:00
Sukchan Lee
4e2d7bf708
Add an initial code for PFCP
2019-12-01 21:40:52 +09:00
Sukchan Lee
ce6d2c5889
Before CUPS, move GTP-TLV to core library
...
TLV library will be shared in GTP and PFCP
2019-12-01 20:46:53 +09:00
Sukchan Lee
ed701ce90e
[ #314 ] further refined
2019-12-01 20:14:47 +09:00
Sukchan Lee
636170e0da
Review ogs_expect() ( #314 )
2019-11-30 16:45:09 +09:00
Sukchan Lee
7b7acea59b
Add IMEISV(MEI) in Create Session Request
2019-11-18 20:21:20 +09:00
Sukchan Lee
552305afe2
Add IMEISV Request
2019-11-18 19:34:28 +09:00
Sukchan Lee
f3ccd71db0
[ #263 ] map S6a diameter codes to EMM codes
2019-11-18 10:20:48 +09:00
Sukchan Lee
835b3c9851
[ #306 ] Refine static IP addresses
2019-11-17 17:43:36 +09:00
Sukchan Lee
c8bcfffe2e
[ #258 ] All GTP message is fixed not to crash
2019-11-15 23:56:55 +09:00
Spencer Sevilla
b994a8efbf
Adding support for static IP assignment in HSS ( #306 )
2019-11-14 14:30:19 +09:00
Sukchan Lee
cdbbbc500b
[ #258 ] Test done for receiving unknown TEID
2019-11-11 23:09:35 +09:00
Sukchan Lee
b65d76d0b2
[ #258 ] Support for receiving unknown TEID
2019-11-07 23:07:29 +09:00
Sukchan Lee
e55c7f9174
Upgrade freeDiameter version to 1.3.2
2019-11-02 15:52:48 +09:00
Sukchan Lee
f2831ff1fd
freediameter name changes
2019-11-01 13:17:49 +09:00
Sukchan Lee
9f1a5d19a4
Build with usrsctp source using MESON Subproject
2019-10-31 14:17:43 +09:00
Sukchan Lee
28f6d16ce2
refine usrsctp
2019-10-30 09:48:38 +09:00
Sukchan Lee
142763c280
Rename Project to Open5GS
...
- Change BuildTool to Meson
- Many BUGS Fixed
2019-10-27 17:41:14 +09:00
Sukchan Lee
2eac6d860a
Merge branch 'laforge/fd-debug' of https://github.com/laf0rge/nextepc
2019-09-19 22:26:22 +09:00
Sukchan Lee
766c9ee36f
link ogslib
2019-09-14 12:05:04 +09:00
Sulchan Lee
d15365a398
fix the debian package error
2019-09-13 13:55:19 +00:00
Sulchan Lee
0acece1570
update it
2019-09-13 13:30:50 +00:00
Sukchan Lee
3c8af69805
Re-factoring the all library
2019-09-13 21:07:47 +09:00
Sukchan Lee
b3f8bbb964
[ #264 ] rollback ogs_expect_or_return()
2019-08-28 00:14:19 +09:00
Sukchan Lee
9c5f1334cb
Use ogs_expect()
2019-08-27 22:51:30 +09:00
Sukchan Lee
848140bc90
[ #264 ] change ogs_expect()
2019-08-27 22:47:06 +09:00
Sukchan Lee
6088be18c0
For linking OGSLib
2019-08-26 23:27:00 +09:00
Sukchan Lee
0aae608c5c
Use the process interface instead of fork()
...
- CommandLine Options is also changed
- PID File removed (Old-style daemon)
2019-08-25 20:15:20 +09:00
Sukchan Lee
3bd5ce8505
[ #257 ] Add test code for s1ap_copy_ie
2019-08-24 23:49:29 +09:00
Sukchan Lee
dff916551f
[ #256 ] Increse T3450 timeout to 6 sec
2019-08-18 00:35:04 +09:00
Harald Welte
d575c32358
fd: Log source file name and line in all log messages
2019-08-15 18:49:06 +02:00
Sukchan Lee
929826218e
Relink ogslib
2019-08-11 22:51:00 +09:00
Sukchan Lee
a6f9ad52cb
[ #245 ] Add Configurable Memory Pool Size
2019-08-09 23:28:58 +09:00
Sukchan Lee
4eb26c4012
Merge branch 'master' of https://github.com/open5gs/nextepc
2019-08-04 14:12:40 +09:00
Sukchan Lee
4b7721ba48
Relink ogslib
2019-08-04 14:12:25 +09:00
Sukchan Lee
197a16bca8
[ #243 ] freeDiameter build fail for bison+flex
2019-08-03 23:14:17 +09:00
Sukchan Lee
56ff495e7b
[ #236 ] Fix the number of PCO
2019-08-02 20:41:33 +09:00
Sukchan Lee
8813e0a175
[ #236 ] MME does mandate Subscribed-RAU-TAU-Timer
2019-07-30 20:58:45 +09:00
Sukchan Lee
a3c5dcd190
[ #231 ] Fix the NextEPC die in MT-Fallback
2019-07-28 15:09:23 +00:00
Sukchan Lee
50e2872ff4
[ #234 ] Set SCTP PPID to 46
...
At this point, SCTP encryption is not supported.
So, PPID 46 is hard-corded.
2019-07-28 22:43:54 +09:00
Sukchan Lee
2109d7f9de
[ #235 ] Oops! Diameter SCTP is now enabled in Test
2019-07-28 22:32:44 +09:00
Sukchan Lee
dba1fcac5c
Use asn1c library interface(CALLOC) for s1ap memory
2019-07-24 21:03:36 +09:00
Sukchan Lee
8cf28d6e16
fix indentation
2019-07-20 15:20:52 +09:00
Sukchan Lee
a96398357f
Update New OGSLib commit
2019-07-20 11:20:09 +09:00
Sukchan Lee
f20a1a6e2b
Add ErrorIndication for S1AP decode error ( #218 )
2019-07-12 16:22:40 +09:00
Sukchan Lee
80199a3c87
Update Document
2019-07-12 00:13:07 +09:00
Sukchan Lee
16a8bea96b
[CSFB] MT in idle-mode
2019-07-08 18:15:19 +09:00
Sukchan Lee
bc9cf078a5
[CSFB] Add MO-CSFB-Indication
2019-07-07 09:47:32 +09:00
Sukchan Lee
0bbc5124e7
rename filename
2019-07-06 22:52:09 +09:00
Sukchan Lee
4f7aa2d5b7
[SGsAP] Location Update Reject
2019-07-05 15:55:07 +09:00
Sukchan Lee
334c678995
Fix the Security Command Reject ( #214 )
2019-07-04 22:48:26 +09:00
Harald Welte
6fc412dba7
fix 'no rule to make target "-L/usr/local/lib" compilation errors
...
When building (at least) on Debian unstable, I get the following type of errors:
make[4]: Entering directory '/space/home/laforge/projects/git/nextepc/lib/base'
make[4]: *** No rule to make target '-L/usr/local/lib', needed by 'libbase.la'. Stop.
The cause seems to be that some target_DEPENDENCIES includes
@OGSCORE_LIBS@ or @OGSCRYPT_LIBS@, whcih both expand to "-L${libdir}
-lpthread -logscore-1.0" as per the pkg-config files.
I believe DEPENDENCIES should not list external library dependencies,
but only dependencies inside the repository.
Closes : #210
2019-07-02 13:58:40 +08:00
Harald Welte
95091210ff
freeDiameter: Fix compilation on Linux without SCTP_SEND_FAILED_EVENT
...
The fallback to the old SCTP API must be made if either SCTP_SEND_FAILED_EVENT
or SCTP_NOTIFICATIONS_STOPPED_EVENT are undeclared.
This fixes building nextepc on e.g. Debian unstable.
Closes : #208
2019-07-02 13:42:33 +08:00
Sukchan Lee
79cbd8fb24
Update document for Release v0.4.3
2019-06-22 16:51:28 +09:00
Sukchan Lee
712b9c8334
[SGsAP] Add TMSI-REALLOCATION-COMPLETE
2019-06-22 12:11:07 +09:00
Sukchan Lee
693afa922f
[SGsAP] Location Update process is done
2019-06-22 11:16:22 +09:00
Sukchan Lee
058ebc747d
Follow OGSlib updates
2019-06-22 10:14:01 +09:00
Sukchan Lee
bbc594330b
[SGsAP] update it
2019-06-21 18:23:29 +09:00
Sukchan Lee
4013d9203c
[SGsAP] Add linger option in usrsctp
2019-06-17 21:40:34 +09:00
Sukchan Lee
6816400247
[SGsAP] continue to work
2019-06-16 21:26:22 +09:00
Sukchan Lee
ec7d9f2917
[SGsAP] continue to implement it
2019-06-16 17:33:45 +09:00
Sukchan Lee
bcd784b1f0
Apply ogslib changes
2019-06-15 16:54:49 +09:00