Commit Graph

200 Commits

Author SHA1 Message Date
Sukchan Lee e424e554d7 ipv6 address is changed 2017-12-08 15:05:50 +09:00
Sukchan Lee 126c8b4e11 fix the bug 2017-12-07 11:45:54 +00:00
Sukchan Lee e4fd5ad70f GTP-U is tested 2017-12-07 20:11:22 +09:00
Sukchan Lee 1c587edff5 no_ipv4, no_ipv6, prefer_ipv4 is tested 2017-12-06 12:13:56 +09:00
Sukchan Lee 5ebc0c0b0d add script 2017-12-05 22:51:50 +09:00
Sukchan Lee f86839eb7b configuration is changed from the discussions 2017-12-03 12:02:56 +09:00
Sukchan Lee 6a90caaf8f update configuration 2017-11-29 20:46:13 +09:00
Sukchan Lee c58d3d64f3 remove old json configuration file 2017-11-29 20:40:02 +09:00
Sukchan Lee bb343cb8e4 YAML is updated 2017-11-29 15:17:35 +09:00
Sukchan Lee dd15dacb18 YAML project is done 2017-11-29 14:44:14 +09:00
Sukchan Lee e7d3d2f4da pgw is done 2017-11-29 14:24:55 +09:00
Sukchan Lee e1e907bad7 gummei is finished with YAML 2017-11-29 00:32:46 +09:00
Sukchan Lee 0b78387d7f sample code. 2017-11-27 20:23:16 +09:00
Sukchan Lee 8b5ae91547 context uses YAML config. 2017-11-27 14:58:53 +09:00
Sukchan Lee 8e40a0eb64 initial code for moving configuration file format to the YAML 2017-11-27 10:35:08 +09:00
Sukchan Lee 7d7e9f154b Mac OS X IPv6 bug is fixed 2017-11-25 09:58:04 +09:00
Sukchan Lee b34d8b931e configuration is updated 2017-11-24 16:08:26 +00:00
Sukchan Lee 61432a3070 mme->s1ap_sock is removed 2017-11-25 00:52:07 +09:00
Sukchan Lee 8fb2e0ba3b change default IP : 127.76.0.x -> 127.0.0.x 2017-11-24 13:52:22 +09:00
Sukchan Lee f4a47e30c7 support relative path of freeDiameter 2017-11-06 13:02:36 +00:00
Sukchan Lee 1941c8b729 freediameter extensions installation path is changed to
'${libdir}/nextepc/freeDiameter'
2017-11-06 11:36:07 +00:00
Sukchan Lee f35eea1634 add favicon in Web User Interface 2017-11-03 10:48:38 +09:00
Sukchan Lee 2f43079fc6 update pgw.postinstall
introduce systemctl.sh
2017-11-01 01:11:55 +00:00
Sukchan Lee 081f8c8808 MongoDB re-connect using systemd 2017-10-31 12:29:39 +00:00
Sukchan Lee a9dd6be8e8 Ubuntu artful update 2017-10-31 05:54:13 +00:00
Sukchan Lee 8c289c6d6e update logrotate and newsyslog following previous modification 2017-10-29 20:16:18 +09: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 f72aa7a468 systemd update 2017-10-28 19:50:50 +09:00
Sukchan Lee c8ec3702d0 update debian rule for override_dh_auto_test
VM(like OBS) may not support SCTP
At this point, I disabled SCTP-needed test code.
2017-10-28 10:09:44 +00: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 fdae399c74 debian packaging (stage 2)
make check re-enabled, but data plane is disabled at this point
user(nextepc/nextec) created
pgwtun interface is created when PGW-preinstall script
2017-10-27 06:01:59 +00:00
Sukchan Lee e367b00d2c do debian packaging (stage-1) 2017-10-27 03:15:14 +00:00
Sukchan Lee b08c91190a remove to install systemd, logrotate, newsyslog
I'm not sure where is good things for this system file.
We need to decide when these stuffs are installed in Debian package or `make install`

At this point, I'll remove to install them for other developer.
Later, I'll fix it!
2017-10-26 13:26:10 +09:00
Sukchan Lee f624adf540 change default configuration using loopback addresses
mme : 127.76.0.1
sgw : 127.76.0.2
pgw : 127.76.0.3
hss : 127.76.0.4
pcrf : 127.76.0.5

If you would like to connect internet, you need to change MME.S1AP_IPV4
and SGW.GTPU_IPV4 with external IP address
2017-10-25 16:30:19 +09:00
Sukchan Lee d4dd8bb72d missing files for newsyslog 2017-10-24 22:48:29 +09:00
Sukchan Lee 6d25211f3b add newsyslog for Mac OS X 2017-10-24 22:46:09 +09:00
Sukchan Lee 0897c36947 logrotate is now working. 2017-10-24 20:52:58 +09:00
Sukchan Lee df1f35e92b Logrotate is added. But more test is needed 2017-10-24 19:14:09 +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 5314bcb687 change @localstatedir@/@sysconfdir@ to the LOCALESTATE_DIR and SYSCONF_DIR in nextepc.conf.in 2017-10-23 15:00:07 +09:00
Sukchan Lee 30e7beb84c Merge branch 'laforge/debian-packaging' of https://github.com/laf0rge/nextepc into debian-packaging 2017-10-23 14:22:07 +09:00
Sukchan Lee f6f1720fee update netconfig.sh 2017-10-20 23:51:54 +09:00
Sukchan Lee 6b8cdafbbd Now, we'll use loopback interface for internal socket 2017-10-20 19:15:58 +09:00
Harald Welte ae6f1001f8 Add systemd service files for nextepc daemons 2017-10-18 12:27:53 +02:00
Harald Welte ec91b9e8da Fix directory mix-up. @prefix@ vs. @sysconfdir@ vs @libdir@ vs @localstatedir@
Installing to @prefix@/etc is wrong, this will end up in /usr/etc
on most linux distributions, where /etc (@sysconfdir@) would be correct.

The same is true for /var (@localstatedir@), we don't want log files
suddenly to be in /usr/var/log rather than /var/log

However, this is further complicated by the fact that @libdir@ is not
recursively resolved but could expand to "${prefix}/lib" which
of course makes no sense inside a config file.  So instead, let's
introduce adl_RECURSIVE_EVAL and define @LIB_DIR@ and @SYSCONF_DIR@
with recursively-expanded versions of those variables.
2017-10-17 23:43:51 +02:00
Sukchan Lee d486e84816 improve netconfig
modify GTP packet sending function interface
2017-10-17 13:53:55 +09:00
Sukchan Lee 83a21c5840 configuration is changed 2017-10-17 13:04:45 +09:00
Sukchan Lee b9f4dcf4ea MAC OSX is needed to enable IP fowwarding 2017-10-17 07:44:48 +09:00
Sukchan Lee cdbc8d1ab0 MAC OSX ping loopback test done 2017-10-17 00:56:00 +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 3613b27ca7 MME/PGW Configuration is also changed to support One SGW IP assign
Control Plane Test Done.
Data Plan Test is Needed.
2017-10-13 21:31:49 +09:00
Sukchan Lee 420171fc57 move INSTALL file and remove binary package 2017-09-29 23:33:01 +09:00
Sukchan Lee e1948f572c update config 2017-09-29 10:57:00 +09:00
Sukchan Lee 811cd72866 add freediameter binary package 2017-09-27 18:57:56 +09:00
Sukchan Lee f177379673 rename docker directory name 2017-09-27 18:34:58 +09:00
Gwangseok Kim 8c48b2f705 Refactoring docker for freediameter. 2017-09-27 17:10:30 +09:00
Gwangseok Kim e9638058be Added the build framework of freeDiameter debian package, using docker. 2017-09-26 23:43:59 +09:00
Sukchan Lee 15368ffe18 remove freeDiameter source 2017-09-26 16:43:29 +09:00
Sukchan Lee d5e229f077 re-add freeDiameter 1.2.6 2017-09-26 13:43:49 +09:00
Sukchan Lee 4b359000c0 configuration changed
_ADDR => _IPV4
2017-09-22 21:54:01 +09:00
Sukchan Lee aa40eb24a0 update suppression 2017-08-17 16:01:17 +09:00
Sukchan Lee 8c5d884402 use my own extension for freeDiameter 2017-08-17 15:13:03 +09:00
Sukchan Lee d32c4b9743 PGW freeDiameter is added. more test is needed 2017-08-16 23:40:35 +09:00
Sukchan Lee 75cdc9c077 add cert and key for pgw/pcrf 2017-08-16 22:58:12 +09:00
Sukchan Lee fccfb1aa2b re-archi freediameter 2017-08-16 22:03:36 +09:00
Sukchan Lee 2746199b73 add initial code for diameter gx 2017-08-13 22:26:58 +09:00
Sukchan Lee c4f6ce6daf move dict_s6a to extensions 2017-08-13 10:29:14 +09:00
Sukchan Lee ddd4c12a58 now we should use freediameter configuration file 2017-08-13 00:35:11 +09:00
Sukchan Lee 578af98788 fix the suppressions for freediameter 2017-08-05 22:20:59 +09:00
Sukchan Lee 9782363f2b update it 2017-08-05 16:21:07 +09:00
Sukchan Lee 1ca937ae4b update it 2017-08-05 16:17:10 +09:00
Sukchan Lee 262cc871da conf name changes..
TRACE_LEVEL.S6A -> TRACE_LEVEL.FD
2017-08-05 14:37:53 +09:00
Sukchan Lee 63d29714e2 libs6a -> libfd for adding other interface such as Gx 2017-08-05 14:23:37 +09:00
Sukchan Lee ec3391f531 rollback 2017-08-05 11:25:19 +09:00
Sukchan Lee 2e9ac4370e testepc memory leak is fixed 2017-08-04 23:37:08 +09:00
Sukchan Lee 772aefec7d initial routine re-architecture to remove memory leak and improve
stability
2017-08-04 21:29:49 +09:00
Sukchan Lee 9a91870324 add memory check tool 2017-08-04 12:06:56 +09:00
Sukchan Lee f4bd03d96d Fix the diameter duplicated port problem.
SCTP is disabled with 'No_SCTP' option
2017-08-03 15:53:59 +09:00
Sukchan Lee 47c4638c62 fix the bug 2017-08-03 15:15:00 +09:00
Sukchan Lee be36979e1e ip changes for freeDiameter configuration 2017-08-03 15:03:30 +09:00
Sukchan Lee 5ced50785f add sample configuration for freeDiameter 2017-08-03 14:09:14 +09:00
Sukchan Lee faa05ed5e1 move port number for capturing wireshark 2017-08-03 00:30:43 +09:00
Sukchan Lee 432626628c add s6a trace for message context
And this is a changed.
  TRACE.CONTEXT, TRACE.SM is removed in configuration files
  TRACE.OTHERS is added

See the support/nextepc.conf.in

Even though, you don't have to apply this changes to your current
configuration. TRACE.CONTEXT/SM/OTHERS will be ignored.
2017-08-02 15:11:08 +09:00
Sukchan Lee 67003aef5a add S6A_TLS_PORT 2017-08-02 02:16:30 +09:00
Sukchan Lee f7ec3c7c6e Configuration for TRACE is added 2017-07-31 22:35:25 +09:00
Sukchan Lee abf87a0673 intermediate 2017-07-30 22:29:27 +09:00
Sukchan Lee 85801b6aef porting to linux 2017-07-22 13:05:43 +09:00
Sukchan Lee 54301bce3e tunnel dev name is added in configuration 2017-07-18 16:27:22 +09:00
Sukchan Lee ed0ea2f214 ip pool is implemented 2017-07-18 16:15:28 +09:00
Sukchan Lee c5eeffae47 update it 2017-07-15 00:27:22 +09:00
Sukchan Lee df371f3b66 update it 2017-07-14 20:46:15 +09:00
Sukchan Lee 020602b42d update it 2017-07-14 19:00:26 +09:00
Sukchan Lee 2e33ece64f update it 2017-07-14 14:09:31 +09:00
Sukchan Lee 7c0efed3f8 update it 2017-07-14 09:31:53 +09:00
Sukchan Lee 050f852f04 update it 2017-07-13 16:05:56 +09:00
Sukchan Lee c055811c10 update it 2017-07-13 15:46:27 +09:00
Sukchan Lee a9c3e2f8ad update it 2017-07-12 23:41:43 +09:00
Sukchan Lee aea8814bdb add config library : jsmn 2017-07-12 21:25:10 +09:00