Commit Graph

994 Commits

Author SHA1 Message Date
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
4e33365bf4 debian packaging is initially done.
network script is added
move testscript in debian/rules
2017-10-27 16:15:14 +00:00
Sukchan Lee
e367b00d2c do debian packaging (stage-1) 2017-10-27 03:15:14 +00:00
Sukchan Lee
df1f35e92b Logrotate is added. But more test is needed 2017-10-24 19:14:09 +09:00
Sukchan Lee
6f5ec19388 PID file is created for logrotate 2017-10-24 15:55:28 +09:00
Sukchan Lee
6eb05495aa change test configuration directory to /tmp 2017-10-24 11:00:58 +09:00
Sukchan Lee
81a8b00d78 Merge branch 'master' into r0.2 2017-10-24 09:54:47 +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
Harald Welte
e8071fa544 freeDiameter: Allow bind to loopback, link-local and site-lcoal addrs
Why would it be illegal to configure/operate freeDiameter to bind to
loopback, link-local or site-local addresses?  Loopback is used a lot
in testing.  link-local and site-local adresses can very well be used
in non-public applications/use cases that don't involve public IPv6
networks.
2017-10-22 18:42:20 +02: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
83a21c5840 configuration is changed 2017-10-17 13:04:45 +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
02773eff40 FreeBSD Porting done. 2017-10-13 18:12:15 +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
Sukchan Lee
dac66d0b80 BUILT_SOURCE is missing.
fdd.tab.h is a file generated from lex & yacc. If we do not tell it to
automake, the dependency issue occurs in `make -j 8`.
2017-10-11 06:25:21 +00:00
Lee Sukchan
7a28df160a fix the compile error for Ubuntu 17.04(Zesty) 2017-09-29 12:55:12 +00:00
Lee Sukchan
22ec19066b Porting Done for CentOS 2017-09-29 12:22:03 +00:00
Lee Sukchan
1cd496f158 add _DEFAULT_SOURCE for glibc >= 2.20 2017-09-29 10:12:42 +00:00
Sukchan Lee
1d13fcbb02 GLIBC >= 2.20, BSD_SOURCES is deprecated 2017-09-29 06:31:17 +00:00
Sukchan Lee
ed50132064 fix the compile error for Ubuntu 17.04 2017-09-29 06:08:14 +00:00
Sukchan Lee
c61a704676 done for freeDiameter using autotools 2017-09-29 10:10:55 +09:00
Sukchan Lee
68a8e94dfa fix the SCTP including in Linux 2017-09-28 23:55:13 +09:00
Sukchan Lee
c92833fba3 freediameter add 2017-09-28 23:26:50 +09:00
Sukchan Lee
bf1f0f3a2b porting to Linux for freeDiameter autotools 2017-09-28 20:14:35 +09:00
Sukchan Lee
02c6cb1b4b finish to setup autotools for freeDiameter 2017-09-28 19:36:43 +09:00
Sukchan Lee
1fb67ba1e7 lex and yacc compile done.
For multiple support CMAKE and Autotools, I'd simply add link file
2017-09-28 17:43:52 +09:00
Sukchan Lee
8f40fc97a9 update configure.ac 2017-09-28 17:27:24 +09:00
Sukchan Lee
fab91a6b16 add autoconf & automake for freediameter 2017-09-28 17:00:27 +09:00
Sukchan Lee
e0e35f477f re-add freediameter sources 2017-09-28 14:53:02 +09:00
Lee Sukchan
94f3cb8fd0 fix the compile error in Ubuntu 16.04 2017-09-26 06:59:24 +00:00
Sukchan Lee
37ca1dd606 remove freeDiameter 2017-09-26 13:40:27 +09:00
Sukchan Lee
2f4b47355e set the default flag for our project 2017-09-26 12:04:13 +09:00
Sukchan Lee
625c301dae add freeDiameter 2017-09-26 11:54:46 +09:00
Sukchan Lee
36dba9ddf9 supports old version mongoc library such like 1.3.1 2017-09-26 09:19:22 +09: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
Sukchan Lee
5663f64cbb timer library update 2017-09-18 16:18:01 +09:00
James Park
bd6d78a2f8 Read data from socket though pkbuf_alloc failed to exit from infinite
select()
2017-09-15 17:26:21 -07:00
Sukchan Lee
d0fd6c4a73 add ho failure and ho prep failure... All done 2017-09-15 13:28:07 +09:00