Commit Graph

1335 Commits

Author SHA1 Message Date
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 a25de7b287 fix the PGW installation 2017-10-31 04:44:11 +00: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 abdcbe7b7a change names of ubuntu package version 2017-10-30 07:10:43 +00:00
Sukchan Lee 377f725f26 update debian changelog
add Ubuntu Zesty(Ubuntu 17.04-amd64, i586)
add Ubuntu Artful(Ubuntu 17.10-amd64)
2017-10-30 05:46:42 +00:00
Sukchan Lee ff31858a81 update debian changelog 2017-10-30 04:50:11 +00:00
Sukchan Lee 9e27685cd0 disable test code. will be fixed later. 2017-10-30 02:14:33 +00:00
Sukchan Lee c09483b540 at this point, I'm not sure how to handle this file.
I'll just rollback it.
2017-10-29 13:03:39 +00:00
Sukchan Lee 44f0155f5a add metapackage 2017-10-29 12:54:03 +00:00
Sukchan Lee a0eb08a2fa PID command line option(-p) is added 2017-10-29 20:48:17 +09: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 52080092b6 GTP-U is re-enabled in test program.
I'll use src : 45.45.0.2 dst ip : 45.45.0.1 for data plane loopback test
2017-10-25 19:49:28 +09:00
Sukchan Lee 88b5560a2a change test packet to loopback address 2017-10-25 19:33:18 +09:00
Sukchan Lee 6d99061b17 permit even though SGW fails to send gtp end marker 2017-10-25 19:04:35 +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 67827d5ea4 change assert to d_error for log file permission problem 2017-10-25 14:43:54 +09:00
Sukchan Lee 20800c611b HSS update for supporting OPc 2017-10-25 14:37:12 +09:00
Sukchan Lee 6c8d4328fb fix the bug when profile is changes 2017-10-25 12:45:08 +09:00
Sukchan Lee 588a6ba012 add OPc field to Subscriber and Profile Document 2017-10-25 12:17:52 +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 4ae9673935 Merge branch 'r0.2' of https://github.com/acetcom/nextepc into r0.2
Conflicts:
	test/checkepc.sh
2017-10-24 21:00:10 +09:00
Sukchan Lee cd36e9a334 update .gitignore 2017-10-24 20:58:22 +09:00
Sukchan Lee 0897c36947 logrotate is now working. 2017-10-24 20:52:58 +09:00
Sukchan Lee 6989a8ae91 to permit 'make install' in user privilege for developer. 2017-10-24 19:40:47 +09: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 382c909ffc Merge pull request #10 from laf0rge/laforge/pending
Allow loopback/link-local/site-local addresses
2017-10-24 09:53:59 +09:00
Sukchan Lee 92ba86f1fd update script for Non-GNU sed 2017-10-24 01:40:01 +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
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 32b7183483 thread delete location is changed.
See [the issue discussion](https://github.com/sctplab/usrsctp/issues/179)
2017-10-21 07:34:12 +09:00