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
Sukchan Lee
cd59df5011
just minor update
2017-11-09 14:56:03 +09:00
Sukchan Lee
11df912058
remove jsmn library.
...
jsmn library is very simple, but it is difficult to handle configuration
josn.
I changed json to libbson library. I think it is more maintainable.
2017-11-09 00:05:18 +09:00
Sukchan Lee
4e0abf8775
remove static object in library
2017-11-08 00:00:57 +09:00
Sukchan Lee
3778e47bdc
add version-info in shared library
...
I'll just set all version to 1:0:0 at this point
2017-11-07 12:41:20 +00:00
Sukchan Lee
f4a47e30c7
support relative path of freeDiameter
2017-11-06 13:02:36 +00:00
Sukchan Lee
4ef15728a0
merge libcore/libcoreunix to libcore
...
merge libfd/libfdx/libfds6a to libfd
2017-11-06 08:32:19 +00:00
Sukchan Lee
5cc56ab353
change shared library
2017-11-05 14:57:19 +00:00
Sukchan Lee
1b0536dca0
change all library from static to shared library
2017-11-05 17:13:50 +09:00
Sukchan Lee
d2cf6821b8
fix the library dependency
2017-11-03 21:55:20 +09:00
Sukchan Lee
46b403c43d
all running error is fixed
2017-10-31 09:32:18 +09:00
James Park
b060ea1714
Add sleep so that server is ready to accept connection.
2017-10-30 15:26:30 -07:00
Sukchan Lee
f627565696
Upload Launchpad PPA for Ubuntu 17.10 i386
2017-10-30 13:34:17 +00:00
Sukchan Lee
badc1f2da3
fix compile error
2017-10-30 10:39:05 +00:00
Sukchan Lee
10cda2cfd7
exclude TCP test in testnetlib because sometimes this test is failed as
...
follows.
OpenSUSE OBS
- Ubuntu 17.04 i586 failed
[ 542s] testnetlib : Line 262: expected <0>, but saw <-1>
[ 542s] [10/30 07:48:38.730] ERRR: connect error(111:Connection refused)(proto:6 remote:127.0.0.1 dport:5121 lport:0) (net_lib.c:353)
[ 542s] [10/30 07:48:38.730] ERRR: connect error(111:Connection refused)(proto:6 remote:127.0.0.1 dport:5121 lport:0) (net_lib.c:353)
[ 542s] [10/30 07:48:38.730] ERRR: connect error(111:Connection refused)(proto:6 remote:127.0.0.1 dport:5121 lport:0) (net_lib.c:353)
[ 542s] [10/30 07:48:38.730] ERRR: connect error(111:Connection refused)(proto:6 remote:127.0.0.1 dport:5121 lport:0) (net_lib.c:353)
[ 542s] [10/30 07:48:38.730] ASSERT: !(net_sock && buffer). Invalid params
[ 542s] (net_lib.c:590)
[ 542s] [10/30 07:48:38.730] ASSERT: !(net_sock). net_sock is NULL
[ 542s] (net_lib.c:408)
[ 542s] [10/30 07:48:38.730] ASSERT: !(net_sock). net_sock is NULL
2017-10-30 10:37:33 +00:00
Sukchan Lee
9e27685cd0
disable test code. will be fixed later.
2017-10-30 02:14:33 +00:00
Sukchan Lee
baf6af79d6
LOG configuration is changed.
...
We'll juse file log as a default log.
Older logger name is changed socket logger and default configuration is
disabled
2017-10-29 10:22:22 +00:00
Sukchan Lee
2d1983cfb0
/var/run bug is fixed
...
For systemd environment, we define runtime directory like the follwings
MME : /var/run/nextepc-mmed
SGW : /var/run/nextepc-sgwd
PGW : /var/run/nextepc-pgwd
HSS : /var/run/nextepc-hssd
PCRF : /var/run/nextepc-pcrfd
In each directory, PID File is created as follows.
MME : /var/run/nextepc-mmed/pid
SGW : /var/run/nextepc-sgwd/pid
PGW : /var/run/nextepc-pgwd/pid
HSS : /var/run/nextepc-hssd/pid
PCRF : /var/run/nextepc-pcrfd/pid
2017-10-29 10:57:15 +09:00
Sukchan Lee
5c4c4498d2
logging disunite to each individual
2017-10-29 00:44:09 +09:00
Sukchan Lee
6f5ec19388
PID file is created for logrotate
2017-10-24 15:55:28 +09:00
Sukchan Lee
adcc473d6e
'make check` before 'make install'
...
checkepc.sh script is created.
this script generates necessary configuration file before `make
install`. And then, execute `./testepc -f ./etc/nextepc.conf`
2017-10-24 01:03:25 +09:00
Sukchan Lee
7b1949da6c
Merge branch 'r0.2' of https://github.com/acetcom/nextepc into r0.2
2017-10-20 13:19:20 +09:00
Sukchan Lee
da1a50e9d3
Merge branch 'master' into r0.2
2017-10-19 10:15:13 +09:00
Harald Welte
1c64000431
net_accept(): Inherit PPID from listening socket
...
When we call accept() on a listening socket, we need to inherit
the sctp PPID from the master socket to the new socket of the
just-accepted connection. Otherwise any sent packets (such as S1AP)
will be sent to PPID=0 rather than the configured PPID (e.g. 18 for
S1AP).
2017-10-18 23:18:53 +02:00
Sukchan Lee
1df4fc9a41
continue to porting Userland SCTP
...
connection is done.
will implement send/recv function
2017-10-19 01:09:06 +09:00
Sukchan Lee
bb806e492e
Finally, I've remove net_sock_t->app_index in core_net.h
...
Now, we are done to porting SCTP using Userland SCTP
2017-10-18 14:36:12 +09:00
Sukchan Lee
10b23bb64e
fix compile error for usrsctp
2017-10-17 22:18:48 +09:00
Sukchan Lee
ea253016fc
autoconf update for supporting Userland SCTP(libusrsctp)
2017-10-17 20:44:05 +09:00
Sukchan Lee
291a5ce514
merge MacOSX and FreeBSD code related tun ip config
2017-10-17 01:03:34 +09:00
Sukchan Lee
cdbc8d1ab0
MAC OSX ping loopback test done
2017-10-17 00:56:00 +09:00
Sukchan Lee
689c3b95e7
routing table is automatically added in FreeBSD
2017-10-17 08:24:30 +09:00
Sukchan Lee
b8a37b0ea1
net_tun library is updated for supporting FreeBSD and MacOSX
...
In FreeBSD and MacOSX, tun driver is automatically configured.
2017-10-17 07:03:37 +09:00
Sukchan Lee
172266b0c5
GTP Loopback Test Module is Added.
...
1. ping(src:45.45.0.1, dst:45.45.0.1)
2. MME emulates GTP-U instead of eNB, and send GTP-U to the SGW
3. SGW relay to PGW using GTP-U
4. PGW TUN reponse ping reply
5. PGW sends GTP-U to the SGW
6. SGW sends GTP-U to the MME
7. GTP-U decapsulates and sends ping packet to the kernel
2017-10-15 00:45:49 +09:00
Sukchan Lee
ee4dd7732e
Porting to FreeBSD (Stage-1)
...
I'd just fix the compile error at this point.
2017-10-12 23:01:51 +09:00
Lee Sukchan
22ec19066b
Porting Done for CentOS
2017-09-29 12:22:03 +00:00
Sukchan Lee
3375325436
fix the warning-error in Ubuntu 64 bit
2017-09-25 10:45:09 +00:00
Sukchan Lee
8862741a8d
change s1ap_send_ue_release_command with delay parameter
2017-09-18 19:30:03 +09:00