Sukchan Lee
de2ecd6400
[GTP2] Fixed handling multi-bearer messages( #1498 )
2022-04-29 21:28:16 +09:00
Sukchan Lee
433d5f6bf3
Distinguish the type of session creation
2022-04-14 17:34:55 +09:00
Sukchan Lee
41553de7a4
[MME] Exception handle - APN duplicated ( #1431 )
2022-03-24 21:52:42 +09:00
Sukchan Lee
bf77318602
[MME] re-factor to check a piggybacked ESM ( #1431 )
2022-03-16 20:48:48 +09:00
Sukchan Lee
bcf53124d5
Improve the socket option configuration ( #1404 )
...
o GTP-C Option (Default)
- so_bindtodevice : NULL
gtpc:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o GTP-U Option (Default)
- so_bindtodevice : NULL
gtpu:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o PFCP Option (Default)
- so_bindtodevice : NULL
pfcp:
addr: 127.0.0.7
option:
so_bindtodevice: vrf-blue
o SBI Option (Default)
- tcp_nodelay : true
- so_linger.l_onoff : false
sbi:
addr: 127.0.0.10
option:
tcp_nodelay: false
so_linger:
l_onoff: true
l_linger: 10
o NGAP Option (Default)
- sctp_nodelay : true
- so_linger.l_onoff : false
ngap:
addr: 127.0.0.5
option:
stcp_nodelay: false
so_linger:
l_onoff: true
l_linger: 10
o NGAP SCTP Option (Default)
- spp_hbinterval : 5000 (5secs)
- spp_sackdelay : 200 (200ms)
- srto_initial : 3000 (3secs)
- srto_min : 1000 (1sec)
- srto_max : 5000 (5secs)
- sinit_num_ostreams : 30
- sinit_max_instreams : 65535
- sinit_max_attempts : 4
- sinit_max_init_timeo : 8000(8secs)
ngap:
addr: 127.0.0.5
option:
sctp:
spp_hbinterval : 5000
spp_sackdelay : 200
srto_initial : 3000
srto_min : 1000
srto_max : 5000
sinit_num_ostreams : 30
sinit_max_instreams : 65535
sinit_max_attempts : 4
sinit_max_init_timeo : 8000
2022-03-15 22:03:50 +09:00
Pau Espin
d06acc7f37
Fix trailing whitespace ( #1402 )
2022-03-01 17:13:40 +09:00
Sukchan Lee
83d56fe40d
[ALL] Fix the memory leak ( #1282 )
2022-01-31 22:58:52 +09:00
Sukchan Lee
3564fe5c8c
[SMF/UPF] Clarify FALLBACK SUBNET [ #1128 ]
2021-08-14 16:52:53 +09:00
Sukchan Lee
4537142929
[EPC] Support ePDG Interface ( #1039 )
2021-06-21 22:36:38 +09:00
Sukchan Lee
118d62d42d
Add more memory log
2021-06-06 22:35:46 +09: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
3b19190f56
[AMF] fix crash due to malformed NGAP ( #960 )
2021-05-08 15:09:10 +09:00
Sukchan Lee
cc03c91bdd
[AMF] 5G-GUTI generation changed ( #910 )
...
The AMF shall assign a new 5G-GUTI for a particular UE:
a) during a successful initial registration procedure;
b) during a successful registration procedure
for mobility registration update; and
c) after a successful service request procedure invoked as a response
to a paging request from the network and before the release
of the N1 NAS signalling connection as specified in subclause 5.4.4.1.
The AMF should assign a new 5G-GUTI for a particular UE
during a successful registration procedure
for periodic registration update. The AMF may assign a new 5G-GUTI
at any time for a particular UE by performing
the generic UE configuration update procedure.
2021-04-13 17:34:25 +09:00
Sukchan Lee
5f9785af52
sctp: Add sack_delay in sctp configuration ( #895 )
2021-04-01 15:40:46 +09:00
Sukchan Lee
cc30aa2a9a
fix: No S-TMSI in InitialUEMessage ( #890 )
2021-03-31 15:35:59 +09:00
Sukchan Lee
37e0a714f9
Fixes UE IPv6 BUG ( #808 )
2021-03-15 10:01:55 +09:00
Sukchan Lee
fc5c9b2af0
Try to fix the UE infinite attach ( #568 )
...
If both Delete-Session-Request/Response and
UEContextReleaseCommand/UEContextReleaseComplete are failed at the same time,
UE cannot attach to the EPC infinitely.
So, I've add the protection code
if timer expires when MME does not receive Delete-Session-Response.
2021-03-09 14:28:07 +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
49a9e58efe
feat: Add N2-Handover
2021-01-28 14:23:54 -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
5fb0611cb2
fix: Derive ESM cause from GTP-Cause ( #755 )
2021-01-10 23:36:12 -05:00
Sukchan Lee
c9cfc4cf6e
etc: update debug message
2021-01-04 23:24:22 -05:00
Sukchan Lee
235a041b8d
feat: Add dedicated QoS flow
2020-12-31 21:07: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
f1a207fd9b
Support VoLTE service in ECM-IDLE
2020-11-07 17:27:12 -05:00
Sukchan Lee
ad85c12513
checking for APN/DNN in case insensitive #617
2020-11-02 11:45:14 -05:00
Sukchan Lee
93312e8f3d
Fix the bug for S1-reset or eNB-restart( #627 )
2020-10-28 22:59:27 -04:00
Sukchan Lee
aa81bb2c89
Fix the bug #619
...
When missing Activate default EPS bearer context accept
between UE and eNB, MME's exception handler has a bug.
So I've fixed it!
2020-10-23 13:48:39 -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
60a6551f8a
Oops! change debug level
2020-10-08 22:57:19 -04:00
Sukchan Lee
8d55964bcc
Change buffering instead of deleting [ #592 ]
2020-10-08 22:54:13 -04:00
Sukchan Lee
d73ff77031
We cannot initialize the state in all cases. [ #569 ]
...
In TS24.501 Ch 5.5.1.3.8 Abnormal cases on the network side
d) REGISTRATION REQUEST with 5GS registration type IE set to
"mobility registration updating" or "periodic registration updating"
received after the REGISTRATION ACCEPT message has been sent and
before the REGISTRATION COMPLETE message is received.
Since, we have to do this special case, it is desirable
to handle it directly inside the state(gmm-sm.c).
2020-09-21 14:37:17 -04:00
Sukchan Lee
edf83b37fa
Add debug message for issues [ #551 ]
2020-09-10 21:50:20 -04:00
Sukchan Lee
519de9ef68
Fix the bug GUTI not present case [ #551 ]
2020-09-10 14:04:26 -04:00
Sukchan Lee
7f9f6fc3f2
rollback ogs_expect() [ #551 ]
2020-09-08 22:17:13 -04:00
Sukchan Lee
6bbc2047d0
Add exception handling for #551
...
09/07 00:43:07.545: [mme] FATAL: mme_bearer_find_or_add_by_message:
Assertion `sess' failed. (../src/mme/mmecontext.c:2998)
2020-09-06 21:34:17 -04:00
Sukchan Lee
d02aa8b21b
Attempt to fix #548 problem
2020-09-04 23:36:51 -04:00
Sukchan Lee
3c3bac6812
4G/EPC: Maintaining Old NAS signalling [ #546 ]
2020-09-03 19:59:00 -04:00
Sukchan Lee
887a0a10d3
Fixing the problem of the test program
2020-09-01 23:04:35 -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
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
a71d2ee3db
refine SGW/UPF selection code
2020-07-09 01:38:09 -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
72370ff0b2
Add AUSF, UDM, and UDR
2020-06-04 14:12:05 -04:00
Sukchan Lee
9bfb4591ea
Add MMEName in S1SetupResponse [ #444 ]
2020-05-25 12:34: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
dbf3e17fda
port configuration update [ #217 ]
2020-05-19 15:35:41 -04:00
Sukchan Lee
82eebc3b80
Rollback mme_enb_pool instead of ogs_calloc ( #423 )
2020-04-26 22:18:47 -04:00
Jamo
cde847c53d
Fix MME crash on eNB connection when maximum number of eNBs reached ( #423 )
...
* Remove mme_enb_t pool and use enb_list instead
* Refactor S1 Setup request handler
* Implement S1 Setup Failure response when maximum number of eNBs reached
2020-04-26 21:07:09 -04:00
Sukchan Lee
ae75f43a88
Initial proposal CUPS using PFCP
2020-04-26 15:36:05 -04:00
Sukchan Lee
235d61a2ea
Fix the crash in SGW selection mode
2020-04-08 19:27:54 -04:00
Sukchan Lee
1e56141d1e
Add socknode_add() [ #367 ]
2020-02-28 20:26:32 +09:00
Sukchan Lee
d191a5135e
Add Bearer Resource Modification feature ( #336 )
2019-12-28 21:46:30 +09:00
Sukchan Lee
8e26a9adf3
fix identation for 80 columns
2019-12-19 22:24:26 +09:00
Supreeth Herle
b8928ee849
Handling NAS Bearer Modification Request and VoLTE tutorial update ( #336 )
...
* Updated the docs for setting up a working VoLTE testbed
* Fixed docs formatting
* More formatting fixes of doc
* Handling NAS Bearer Resource Modification Request to prevent crashing of mme
* Corrected tutorial with right APN settings required in Mongo DB for VoLTE UE
2019-12-19 22:14:13 +09:00
Sukchan Lee
a86e296afc
Use uint32_t type instead of S1AP type ( #326 )
2019-12-13 13:49:20 +09:00
Spencer Sevilla
66f839592f
assign enb_ue_s1ap_id as a part of enb_ue_add function ( #326 )
2019-12-13 13:46:22 +09:00
Sukchan Lee
79bada897b
Minor bug fixed
2019-12-08 16:31:15 +09:00
Sukchan Lee
a622feac84
[ #256 ] Remove timer of NAS message related to S1AP
2019-11-18 09:04:10 +09:00
Sukchan Lee
c8bcfffe2e
[ #258 ] All GTP message is fixed not to crash
2019-11-15 23:56:55 +09:00
Sukchan Lee
b65d76d0b2
[ #258 ] Support for receiving unknown TEID
2019-11-07 23:07:29 +09:00
Sukchan Lee
f2e34dd7ff
[ #203 ] Now UE context is always single
2019-11-06 10:43:21 +09:00
Sukchan Lee
3743ef98a2
[ #203 ] Fix the bug for maintaining single mme_ue context
2019-11-06 10:22:34 +09:00
Sukchan Lee
4b8e2a5c97
[ #203 ] MME also maintains one session context like SGW/PGW
2019-11-05 23:15:57 +09:00
Sukchan Lee
c131295dfb
Fix the errata
2019-11-05 15:40:26 +09:00
Spencer Sevilla
ee80d1f996
Log and print UEs/eNBs/sessions stats ( #303 )
2019-11-05 15:23:33 +09:00
Sukchan Lee
9f1a5d19a4
Build with usrsctp source using MESON Subproject
2019-10-31 14:17:43 +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
3c8af69805
Re-factoring the all library
2019-09-13 21:07:47 +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
470e66d37d
[ #235 ] TCP enabled for MacOSX
2019-07-28 20:18:51 +09:00
Sukchan Lee
78eeb1ad45
[ #231 ] TAI-LAI configuration changed
2019-07-21 20:25:29 +09:00
Sukchan Lee
a40d1dd2af
[ #231 ] sgsap configuration is changed
...
sgsap:
addr: 127.0.0.2
map:
tai:
plmn_id:
mcc: 001
mnc: 01
tac: 4131
lai:
plmn_id:
mcc: 001
mnc: 01
lac: 43691
2019-07-21 20:06:08 +09:00
Sukchan Lee
9f4204ef8e
[ #227 ] Fix the crash when both EBT/PTI are 0
2019-07-21 12:20:26 +09:00
Sukchan Lee
ae3e59053d
[ #220 ] Timer for UE Context Release
2019-07-21 01:03:19 +09:00
Sukchan Lee
5ce04bcc6f
[ #220 ] T3489 done
2019-07-20 23:06:54 +09:00
Sukchan Lee
90290d236e
[ #220 ] T3460 done
2019-07-20 21:28:36 +09:00
Sukchan Lee
805869da4f
[ #220 ] Guard timer instance is created
2019-07-20 20:38:03 +09:00
Sukchan Lee
9565967517
[TIMER] Move timer expiration work to the FSM
2019-07-20 13:07:40 +09:00
Sukchan Lee
a96398357f
Update New OGSLib commit
2019-07-20 11:20:09 +09:00
Sukchan Lee
b642ca1491
Oops! Fix one more
2019-07-14 13:59:33 +09:00
Sukchan Lee
b9f7e9c409
fix new configuration ( #225 )
2019-07-14 13:48:14 +09:00
Sukchan Lee
3a5930650e
Merge pull request #224 from medeiros405/master
...
Change in the config to allow different MCC/MNC in the LAI for CSFB
2019-07-14 13:26:22 +09:00
Romeu Medeiros
18ef1f65c3
Change in the config to allow different MCC/MNC in the LAI for CSFB
2019-07-14 01:18:29 -03:00
Sukchan Lee
99d91da6eb
Clarify code for pull request ( #223 )
2019-07-14 11:00:11 +09:00
Sukchan Lee
942b9466ef
Attach Reject if UE indicates only EIA0 ( #222 )
2019-07-13 23:47:24 +09:00
Sukchan Lee
979fd96a84
[CSFB] Fix the MacOSX
2019-07-08 21:03:39 +09:00
Sukchan Lee
a6eb646b76
[SGsAP] MO CS fallback in idle-mode
2019-07-06 22:16:13 +09:00
Sukchan Lee
8e53e82913
fix identation
2019-06-30 20:46:15 +09:00
Sukchan Lee
db348156e2
fix indentation
2019-06-30 20:29:25 +09:00
Sukchan Lee
16fdc0d989
Update identation
2019-06-30 12:14:04 +09:00
Sukchan Lee
a4d18c2d96
Move enb_ostream_id from mme_ue to enb_ue ( #206 )
2019-06-28 18:11:16 +09:00
Sukchan Lee
6901278816
Fix the setting of the SCTP ostream-id ( #206 )
2019-06-26 23:06:31 +09:00
Sukchan Lee
693afa922f
[SGsAP] Location Update process is done
2019-06-22 11:16:22 +09:00