Sukchan Lee
b65d76d0b2
[ #258 ] Support for receiving unknown TEID
2019-11-07 23:07:29 +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
0ebd85f364
Integration with OGSLib
2019-04-27 23:54:30 +09:00
Sukchan Lee
8fea12643a
nas_plmn_id_t structure for NAS message. ( #166 )
...
/**********************************
* NAS PLMN_ID Structure */
typedef struct _nas_plmn_id_t {
ED2(uint8_t mcc2:4;,
uint8_t mcc1:4;)
ED2(uint8_t mnc3:4;,
uint8_t mcc3:4;)
ED2(uint8_t mnc2:4;,
uint8_t mnc1:4;)
} __attribute__ ((packed)) nas_plmn_id_t;
/**********************************
* PLMN_ID Structure */
typedef struct _plmn_id_t {
ED2(c_uint8_t mcc2:4;,
c_uint8_t mcc1:4;)
ED2(c_uint8_t mnc1:4;,
c_uint8_t mcc3:4;)
ED2(c_uint8_t mnc3:4;,
c_uint8_t mnc2:4;)
} __attribute__ ((packed)) plmn_id_t;
2019-03-31 14:26:18 +09:00
Sukchan Lee
c964d1df3c
Increase packet memory buffer ( #161 )
2019-03-22 16:59:37 +09:00
Sukchan Lee
aea1d83026
Create mme_sgw_t and mme_pgw_t for configuration ( #100 )
2018-09-23 13:16:40 +09:00
Sukchan Lee
c3e5bdba53
fix the indentation
2018-07-04 18:05:30 +09:00
Sukchan Lee
271949ad86
Merge pull request #73 from giuliol/master
...
fixed TLV uint32 bug
2018-07-04 18:04:08 +09:00
Sukchan Lee
06e56a4509
fix the compile error in MacOSX
2018-06-23 22:10:39 +09:00
Sukchan Lee
8f9219bef0
fix the compile error for GCC 8.1
2018-06-23 12:59:40 +00:00
giuliol
51fde0acd8
fixed TLV uint32 bug
2018-06-18 10:34:17 +01:00
Sukchan Lee
3b9b1108b1
Configure Outbound streams on SCTP_COMM_UP
2018-05-30 21:49:17 +09:00
Sukchan Lee
9aed43075c
SCTP recv interface will be changed. (Progressing...)
2018-05-30 17:45:14 +09:00
Sukchan Lee
f5c203d3ac
remove redundant code
2018-05-18 17:32:56 +09:00
Sukchan Lee
9a0afe035a
Negociate SCTP stream ID with eNodeB ( #63 )
2018-05-18 17:14:29 +09:00
Sukchan Lee
157dab73c7
fix the linux for SCTP streams
2018-05-13 18:31:01 +09:00
Sukchan Lee
7dba30b1e6
S1AP sends SCTP packet with stream id ( #54 )
2018-05-13 18:02:24 +09:00
Sukchan Lee
55fa0115e8
Merge branch 'master' into stream
2018-05-13 17:01:36 +09:00
Sukchan Lee
9d84d4d43a
Fix the timezone error
2018-05-13 16:45:49 +09:00
Sukchan Lee
e18467889c
Introduce new configuration for SCTP streams
...
SCTP initmsg
- Number of output streams : configured(default:30)
- Maximum input streams : 65535
- Maximum attempts : 4
- Maximum initial timeout : 8 seconds
2018-05-09 22:11:25 +09:00
Sukchan Lee
539d0c7bc5
fix the bug about wrong size value when calling core_calloc
2018-04-11 06:47:28 +09:00
Sukchan Lee
8a2699b81f
increase recv buffer size to 8192 ( #35 )
2018-03-15 21:54:50 +09:00
Sukchan Lee
25c90c0e96
Increase SCTP recv buffer from 2048 to 4096
2018-03-15 10:50:32 +09:00
Sukchan Lee
d74afc5bc7
for old version gcc compiler, we fix the size of child_desc in TLV message library
2018-02-21 14:48:41 +00:00
Sukchan Lee
05cfcf4cc3
Override configuration if DB_URI environment variable is existed
2018-02-21 03:25:48 +00:00
Sukchan Lee
598b711c01
make check is added.
2018-02-05 23:21:37 +09:00
Sukchan Lee
c3afd65ff3
fix the bug for FSM library
2018-02-01 11:56:01 +09:00
Sukchan Lee
b704e94efa
fix the memory leak t3413 paging timer in MME_UE Context
2018-01-29 16:47:07 +09:00
Sukchan Lee
20efdd5639
update the GTP TLV trace
2018-01-24 14:17:24 +09:00
Sukchan Lee
9503c8efdc
chage debug buffer size to HUGE_STRING_LEN(8192) for avoiding buffer overflow
2018-01-24 10:08:59 +09:00
Sukchan Lee
ed92c30b26
adjust trace_level
2018-01-23 17:11:21 +09:00
Sukchan Lee
35a95fd4ac
update trace level
2018-01-23 15:38:07 +09:00
Sukchan Lee
d66e25dda3
refine tun error log
2018-01-23 14:36:52 +09:00
Sukchan Lee
46f85d9fc8
Volte QoS is basically derived by IMS instead of EPC.
...
If the QoS informaton is provided from IMS, we'll use WEBUI QoS value
2018-01-19 01:23:13 +09:00
Sukchan Lee
e2f1872ea7
loglevel is adjusted
2018-01-17 22:55:52 +09:00
Sukchan Lee
d13b735d26
rx_sess_data is changed to list structure
2018-01-17 20:31:49 +09:00
Sukchan Lee
f1e41050c3
re-factoring Gx/Rx diameter to apply modification
2018-01-17 12:41:57 +09:00
Sukchan Lee
4acc21093b
add time information to the d_trace()
2018-01-17 10:09:06 +09:00
Sukchan Lee
4b0565c2e9
refine code
2018-01-15 12:52:05 +09:00
Sukchan Lee
d1303a60e4
refine code
2018-01-15 11:54:22 +09:00
Sukchan Lee
ee770398c2
RAR/RAA is mostly done
2018-01-14 19:54:50 +09:00
Sukchan Lee
8c3d4ca0de
core_free -> CORE_FREE. We need to know which function raise this
...
exception
2018-01-13 22:03:30 +09:00
Sukchan Lee
4417578210
RS/RA bug is fixed.
...
RA dst IP address is dervied from RA's src IP address
RA prefix address is used subnet address instead of UE IPv6 address
2018-01-13 14:15:00 +09:00
James Park
a5057c1488
Change the number of cluster
2018-01-09 18:08:33 -08:00
Sukchan Lee
38e245d467
PCRF session state is added
2018-01-08 21:20:19 +09:00
Sukchan Lee
e4397176cf
support pcrf gx session maintained mode
2018-01-08 20:09:13 +09:00
Sukchan Lee
a630830f0c
P-CSCF simualtor is mostly done
2018-01-06 00:23:26 +09:00
Sukchan Lee
9d14f5e89d
fix the bug the unlimited loop.
...
if the system is not supported SCTP, mme daemon is to be unlimited loop.
2018-01-04 22:03:59 +09:00
Sukchan Lee
fe1c368577
move 3gpp_test to core library
2018-01-04 18:02:56 +09:00
Sukchan Lee
1a3f5cf86e
add AA Request/Answer Sample code
2018-01-04 12:57:00 +09:00
Sukchan Lee
9544a79c2c
P-CSCF IP address configuration is added in PGW
2018-01-03 15:29:48 +09:00
Sukchan Lee
4501a76d96
UE Time Zone is added in Create Session Request(GTP) and CCR(Gx)
...
I'm not sure where this value should be configured.
At this point, MME estimate UE Time Zone from MME's system.
From this, MME generates UE TIme Zone for Create Session Request.
PGW is just forward this value to the PCRF using CCR(Gx) Message.
2018-01-02 22:14:28 +09:00
Sukchan Lee
649fd75b14
Authentication failure(Resynch failure) is added
2017-12-18 00:01:07 +09:00
Sukchan Lee
8f1df48a95
refine error log
2017-12-17 20:29:07 +09:00
Sukchan Lee
487a4eb155
remove lock in select_loop dispatcher
2017-12-17 10:02:08 +00:00
Sukchan Lee
1131166988
remove sctp warning
2017-12-17 09:40:29 +00:00
Sukchan Lee
cdaf1c0468
router advertisement use link-local-address in source ip
2017-12-17 07:25:36 +00:00
Sukchan Lee
a102864428
Oops! update it
2017-12-18 00:54:29 +09:00
Sukchan Lee
a5cc4f7a43
update it
2017-12-18 00:50:10 +09:00
Sukchan Lee
73fb7e1c30
Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6
2017-12-18 00:48:34 +09:00
Sukchan Lee
fa6bb86e3d
Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6
2017-12-17 20:23:41 +09:00
Sukchan Lee
8d3330cb79
multiple device is added
2017-12-17 06:36:50 +00:00
Sukchan Lee
7ea5f3d910
Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6
2017-12-16 23:22:56 +09:00
Sukchan Lee
f38587595f
SLAAC is added
2017-12-16 09:06:34 +00:00
Sukchan Lee
9d4afbba97
update test code
2017-12-16 05:53:30 +00:00
Sukchan Lee
70286b3fd0
parameter.multicast, parameter.no_slaac is added
2017-12-16 09:24:27 +09:00
Sukchan Lee
cc762f3c00
WebUI PGW IP setting is added
2017-12-15 13:47:57 +09:00
Sukchan Lee
634de8c788
IPv6 DNS is added
2017-12-15 10:46:58 +09:00
Sukchan Lee
94c2c6ca7d
message format creation bug is fixed related prefixlen
2017-12-15 09:41:54 +09:00
Sukchan Lee
ae57423eab
IPv6 Loopback TUN done
2017-12-14 13:47:13 +00:00
Sukchan Lee
46c699143a
IPv6 Control Plane done
2017-12-14 21:42:19 +09:00
Sukchan Lee
1864509cbb
ICMPv6 is implemented. But kernel didn't send ping6 reply. Sigh!
2017-12-14 04:01:56 +00:00
Sukchan Lee
79ec7d8bc0
default configuration is changed for packaging.
...
Even though nextepc can support link-local address, User may not want to
setup link-local address automatically. So we remove link-link address
in default configuration
2017-12-14 10:33:03 +09:00
Sukchan Lee
cb59525ca4
FreeBSD IPv6 TUN is not working. IPv6 IP/Rount Setting is all rollbacked
2017-12-14 07:26:32 +09:00
Sukchan Lee
fc9b182e55
delete reduant routing table
2017-12-13 21:43:13 +09:00
Sukchan Lee
bd94d695be
IPv6 setting done.. but IPv6 routining table update is not working.
2017-12-13 20:22:52 +09:00
Sukchan Lee
b7fb6c6117
temporal update
2017-12-13 16:07:12 +09:00
Sukchan Lee
6cd9e965a1
Tun IPv4 is done
2017-12-13 12:20:02 +09:00
Sukchan Lee
54636e1843
IPv4 Pool done
2017-12-12 23:50:38 +09:00
Sukchan Lee
989de209d0
configuration is updated
2017-12-12 17:00:32 +09:00
Sukchan Lee
95b2f5a951
minor update
2017-12-11 09:00:44 +00:00
Sukchan Lee
521d7877b4
Multiple TAI list
...
Configuration Parer, Message Build is added
2017-12-11 00:01:02 +09:00
Sukchan Lee
ce801ee218
`dev` is added in the configuration
2017-12-09 23:07:19 +09:00
Sukchan Lee
fc4a89b678
fix the memory lean when auto-detect interface case
2017-12-09 04:02:00 +00:00
Sukchan Lee
9b5234bd5f
change link local address
2017-12-08 20:25:34 +09:00
Sukchan Lee
26fc43f6cb
add mutex
2017-12-08 07:16:43 +00:00
Sukchan Lee
681a488ade
Merge branch 'ipv6-mac' into ipv6
2017-12-08 05:36:03 +00:00
Sukchan Lee
a0599f7c2d
S1AP MAC is done
2017-12-08 14:29:35 +09:00
Sukchan Lee
126c8b4e11
fix the bug
2017-12-07 11:45:54 +00:00
Sukchan Lee
3e05717180
transport layer convertor is added
2017-12-07 16:51:21 +09:00
Sukchan Lee
590630b839
ip_t is introduced
2017-12-07 15:04:35 +09:00
Sukchan Lee
6d412139ef
update gtp_f_teid_t
2017-12-07 14:48:25 +09:00
Sukchan Lee
48cdb1e390
merge 3gpp library to core library
2017-12-07 14:37:58 +09:00
Sukchan Lee
03a6bb7902
SGW/PGW GTP-U is added
2017-12-07 13:27:17 +09:00
Sukchan Lee
9d3049de00
remove POINTTOPOINT interface in probe ip address
2017-12-05 14:30:09 +00:00
Sukchan Lee
5ebc0c0b0d
add script
2017-12-05 22:51:50 +09:00
Sukchan Lee
a7690e395b
refine it
2017-12-05 20:39:15 +09:00
Sukchan Lee
c4c03da77f
refine
2017-12-05 14:27:24 +09:00
Sukchan Lee
fe921e0c2f
refine ipv6
2017-12-05 10:50:31 +09:00
Sukchan Lee
63fb6625b3
multiple addresss is added
2017-12-05 00:16:34 +09:00
Sukchan Lee
410133bf68
core_copyaddrinfo is introduced
2017-12-04 19:45:02 +09:00
Sukchan Lee
17b6a013b8
parameter.prefer_ipv4 is implemented
2017-12-03 16:31:53 +09:00
Sukchan Lee
ce5b65b4df
gtp node is added
2017-12-02 14:17:32 +09:00
Sukchan Lee
4a2604b52c
name changes
2017-12-02 10:50:24 +09:00
Sukchan Lee
8287db900c
update it
2017-12-01 22:04:51 +09:00
Sukchan Lee
7e0ce073fb
mme gtp config is added
2017-12-01 21:47:15 +09:00
Sukchan Lee
b6b39c9dad
socknode_filter_family is added
2017-12-01 20:27:56 +09:00
Sukchan Lee
71b58e7724
tcp/udp interface is changed
2017-12-01 17:39:28 +09:00
Sukchan Lee
d874ec5b48
remove type
2017-12-01 16:30:14 +09:00
Sukchan Lee
5cebb48bc6
socknode_getifaddrs_to_list is added
2017-12-01 15:56:56 +09:00
Sukchan Lee
c6623a277a
fix the bug
2017-12-01 20:59:57 +09:00
Sukchan Lee
fee05d3764
socknode is added
2017-12-01 11:34:34 +09:00
Sukchan Lee
4baf7ece46
core_getifaddrs is introduced.
...
IP address of all interfaces is automatically retrived.
But, some interface will be discarded.
- unspcified IP address
- loopback address
- IPv6 multicast
- IPv6 link-local
- IPv6 site-local
2017-11-29 22:04:56 +09:00
Sukchan Lee
aaa57d3008
name changes
2017-11-27 15:45:33 +09:00
Sukchan Lee
4f722f2807
update it
2017-11-26 08:54:47 +09:00
Sukchan Lee
82112f5678
update it
2017-11-25 14:47:33 +00:00
Sukchan Lee
7eceefb0f2
update it
2017-11-25 14:46:31 +00:00
Sukchan Lee
40c99a8c13
name changes done
2017-11-25 23:41:00 +09:00
Sukchan Lee
92fc35861f
name changes
2017-11-25 23:28:34 +09:00
Sukchan Lee
23fa36bc23
name changes
2017-11-24 15:04:45 +00:00
Sukchan Lee
b2620caf26
set the hostname is NULL
2017-11-24 11:48:24 +00:00
Sukchan Lee
5a8d169ba1
remove AI_PASSIVE if hostname is NULL
2017-11-24 20:45:51 +09:00
Sukchan Lee
62afe724ed
Oops! mistake
2017-11-24 19:02:19 +09:00
Sukchan Lee
685272fce8
improve usrsctp
2017-11-23 23:01:49 +09:00
Sukchan Lee
859d6427fd
enb->addr is changes to pointer
2017-11-23 21:05:55 +09:00
Sukchan Lee
227cae5762
S1AP changes from net_lib to new socket library
2017-11-23 02:53:33 +00:00
Sukchan Lee
65b7008378
fix the tun driver bugs
2017-11-23 00:42:28 +09:00
Sukchan Lee
2f49e6024d
gtp's net_sock_t to sock_id. GTP-U is failed
2017-11-23 00:19:28 +09:00
Sukchan Lee
b1023fac1d
port to linux
2017-11-22 14:11:47 +00:00
Sukchan Lee
cfc352ea0d
remove c_sa_len
2017-11-22 22:55:28 +09:00
Sukchan Lee
a27f294f74
TUN driver is added
2017-11-22 22:32:57 +09:00
Sukchan Lee
1928da0557
c_sa_len, c_sa_family, c_sa_port is introduced
2017-11-22 06:21:26 +00:00
Sukchan Lee
9c593a2757
Oops! mistake.. Use sock library for connect/bind socket function
2017-11-22 15:09:21 +09:00
Sukchan Lee
0fb47c499f
fix the freebsd segmenation fault error
2017-11-22 01:56:51 +09:00
Sukchan Lee
5bf84f3b62
local_addr/remote_addr is added
2017-11-21 15:28:23 +09:00
Sukchan Lee
5778fb6cbc
core_inet_pton is added
2017-11-19 12:56:48 +00:00
Sukchan Lee
ef3bb2e368
sctp_connect is added
2017-11-19 07:21:29 +00:00
Sukchan Lee
376f7c1304
udp connect function is added for bind & connect behavior
2017-11-19 08:27:20 +09:00
Sukchan Lee
1238f31178
update getaddrinfo if hostname is NULL
2017-11-19 07:57:41 +09:00
Sukchan Lee
f186ec93dd
previous archi is failed in FreeBSD OS
...
re-architecture socket library
2017-11-18 12:55:44 +00:00
Sukchan Lee
113cbd0e9e
minor fix
2017-11-16 13:45:49 +00:00
Sukchan Lee
6db21f54c1
c_sockaddr_t is created for supporting both IPv4 and IPv6 address.
2017-11-16 12:49:07 +00:00
Sukchan Lee
a4d1bae083
SCTP library is initially added
2017-11-16 10:46:25 +00:00
Sukchan Lee
7c505f917a
minor update
2017-11-16 01:51:05 +00:00
Sukchan Lee
e521d75e7a
tcp/udp bug is fixed
2017-11-15 15:17:55 +00:00
Sukchan Lee
221fd81bb2
fix the linux compile error
2017-11-15 14:38:51 +00:00
Sukchan Lee
068d049a9f
IPv6 project is started.
...
1. Remove thread lock in select loop.
2. Nonblocking will be used in select loop for good performance.
3. Connection mode for UDP socket & SCTP(SEQPACKET)
More test is needed.
2017-11-15 22:59:30 +09:00
Sukchan Lee
12ae140185
reduant code
2017-11-10 11:23:55 +09:00
Sukchan Lee
f839fd93b7
Control Plane and Data Plane Thread is merged to One thread in SGW/PGW
...
- for protecting context, SGW/PGW is implemented with only one thread.
- In PGW, processing control plane could be delayed +10ms when diameter
thread sends message queue to the PGW control plane.
- In other case, all performance may be same with previous architecture.
2017-11-10 00:38:05 +00:00