Commit graph

831 commits

Author SHA1 Message Date
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
5361934469 change the libbase to lib3gpp 2017-11-07 14:20:35 +00:00
Sukchan Lee
6e00fd349c seperate libbase to the libapp 2017-11-07 14:01:27 +00: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
e63fa44fff all library is changed to shared library 2017-11-06 13:32:37 +00: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
8b916d15f4 move fd/extensions to freeDiameter-1.2.1/extensions 2017-11-06 10:14:14 +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
bfbb98fc1f fix the dependency error 2017-11-06 00:08:06 +09: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
0d13c26307 change the freeDiameter library from static to the shared library 2017-11-05 16:20:52 +09:00
Sukchan Lee
cd2df5d894 add dlopen library search 2017-11-04 11:03:18 +09:00
Sukchan Lee
d87383be69 Oops! remove dependpency lib 2017-11-04 10:34:02 +09:00
Sukchan Lee
d851d03925 Merge branch 'dep' of https://github.com/acetcom/nextepc into dep
fix the conflict
2017-11-04 10:24:24 +09:00
Sukchan Lee
d092c329da rollback..Mac OSX is not working if we link libfdore/proto to the shared
object.
2017-11-04 10:23:07 +09:00
Sukchan Lee
4345398ca2 fix the warning of dh_shdeplibs 2017-11-03 15:36:24 +00:00
Sukchan Lee
d2cf6821b8 fix the library dependency 2017-11-03 21:55:20 +09:00
Sukchan Lee
081f8c8808 MongoDB re-connect using systemd 2017-10-31 12:29:39 +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
9e27685cd0 disable test code. will be fixed later. 2017-10-30 02:14:33 +00:00
Sukchan Lee
a0eb08a2fa PID command line option(-p) is added 2017-10-29 20:48:17 +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
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
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
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
Sukchan Lee
0888f49c48 HO cancel done 2017-09-15 12:06:26 +09:00
Sukchan Lee
c6967648fa update it 2017-09-14 21:46:56 +09:00
Sukchan Lee
7a324ec8e9 delete indirect tunnel done.. 2017-09-14 14:18:47 +09:00
Sukchan Lee
dadadc5179 fix the s1ap encoding bug 2017-09-13 23:27:02 +09:00
Sukchan Lee
feef9c7236 tunnel context is added 2017-09-13 16:41:47 +09:00
Sukchan Lee
0bdd02227c add Create Indirect Data Forward Tunnel Request 2017-09-13 16:22:39 +09:00
Sukchan Lee
b65256152c add 32768 packet buffer for create indirect data forward message 2017-09-13 12:46:51 +09:00
Sukchan Lee
ee72b5e938 S1AP STORE/CLEAR DATA is added 2017-09-13 11:57:17 +09:00
Sukchan Lee
42b34d0f19 update it 2017-09-12 14:16:22 +09:00
Sukchan Lee
287a7ca76c HO message is added 2017-09-12 13:54:55 +09:00
Sukchan Lee
fc9857b3f0 add s1ap encoder/decoder function for path switch 2017-09-11 19:20:40 +09:00
Sukchan Lee
0022e62991 fix the bug dedicated beraer 2017-09-08 12:11:44 +09:00
Sukchan Lee
b0be746292 add PDN disconnect 2017-09-07 23:41:05 +09:00
Sukchan Lee
fb7ae93b07 fix the bug for ping.
gtpv2c_header_t and gtp_header_t(v1) is merged to gtp_header_t.
In this case, sizeof(gtp_header_t) is 12 because the structure has an
attribute of gtpv2c header something like sequence number.

As such, we should not use sizeof(gtp_header_t) directly.
Use GTPV1U_HEADER_LEN and GTPV2C_HEADER_LEN.
2017-09-07 14:10:52 +09:00
Sukchan Lee
229d04c284 Multiple PDN ..done! 2017-09-07 00:37:16 +09:00
Sukchan Lee
5b2728babd STORE/CLEAR_DATA is introduced to move data betwwen NAS and GTP 2017-09-06 20:29:55 +09:00
Sukchan Lee
886ef5a747 add TFT(Packet Filter) in Create Bearer Request 2017-09-06 15:02:43 +09:00
Sukchan Lee
d1056a06c8 add default bearer MBR/GBR parameter if User want to set 2017-09-05 14:52:19 +09:00
Sukchan Lee
257c6f2115 Create Bearer Response (MME->SGW) 2017-09-05 01:17:24 +09:00
Sukchan Lee
41262d50fa dedicated bearer(MME->UE) 2017-09-05 00:04:05 +09:00
Sukchan Lee
1c8a59d3b4 Create Bearer Request (SGW->MME) 2017-09-04 20:06:54 +09:00
Sukchan Lee
abbd8fa869 Create Bearer Request (PGW->SGW) 2017-09-04 19:20:06 +09:00
Sukchan Lee
af4cf2a4e1 improve EMM SM 2017-09-04 13:04:35 +09:00
Sukchan Lee
87b0897602 design EMM state machine initially. 2017-09-04 00:06:39 +09:00
Sukchan Lee
47722bad31 pdn connectivity request stored in context. and then will be handled
later
2017-09-03 11:48:41 +09:00
Sukchan Lee
af8b6ff212 missing 2017-09-02 01:49:37 +09:00
Sukchan Lee
3bef0ac82f All GTP re-archi done 2017-09-02 01:48:09 +09:00
Sukchan Lee
6ddaa2a91e socket descriptor is in GTP Node structure for simple interface 2017-09-02 00:11:49 +09:00
Sukchan Lee
1dddde1d74 fix the bug core_buffer_to_bcd 2017-09-01 22:03:52 +09:00
Sukchan Lee
021e3ee963 MME-SGW GTP-C TEID is assigned per-UE 2017-09-01 21:35:45 +09:00
Sukchan Lee
c44dc0a4c4 update it 2017-09-01 13:51:31 +09:00
Sukchan Lee
b89779a301 update it 2017-09-01 09:36:55 +09:00
Sukchan Lee
55855e4570 update it 2017-09-01 00:46:07 +09:00
Sukchan Lee
4539a64c91 mostly done 2017-09-01 00:29:56 +09:00
Sukchan Lee
8af8d063d7 continue.. 2017-08-31 20:48:15 +09:00
Sukchan Lee
8db2513234 continue... 2017-08-31 14:03:00 +09:00
Sukchan Lee
4ce91553af contine GTP 2017-08-31 12:06:11 +09:00
Sukchan Lee
faf8268a3d contine to re-archi GTP 2017-08-31 10:48:14 +09:00
Sukchan Lee
b8504073dd add S6A(MME-HSS) Interface for PGW IPv4 Address 2017-08-28 20:32:25 +09:00
Sukchan Lee
6e60d3213e fix the bug diameter gx message if there is no pcc rule 2017-08-27 17:38:57 +09:00
Sukchan Lee
7c08127622 adjust parameter for the number of Session/Bearer 2017-08-27 13:00:16 +09:00
Sukchan Lee
8d1a5e2d35 fix the bug not to access mme_ue context in freediameter thread 2017-08-26 00:11:46 +09:00
Sukchan Lee
0ecc05e9d3 update it 2017-08-25 20:31:08 +09:00
Sukchan Lee
7cae17562d PGW-PCRF done for default bearer 2017-08-25 19:40:49 +09:00
Sukchan Lee
ee7d3cbef6 PCRF done 2017-08-24 23:10:36 +09:00
Sukchan Lee
995a2d2320 PCRF DB interface done 2017-08-24 17:05:10 +09:00
Sukchan Lee
0e7196c9c1 GX-CCR message build done 2017-08-23 00:51:57 +09:00
Sukchan Lee
17dc308aa2 change variable name to align database attribute name 2017-08-22 14:07:37 +09:00
Sukchan Lee
c922e97520 fix the QoS param bug 2017-08-20 19:04:23 +09:00
Sukchan Lee
eb8f9c66ed Fix APN message build/parse bugs 2017-08-19 20:16:00 +09:00
Sukchan Lee
9b523b043f fix the APN bug 2017-08-19 16:49:44 +09:00
Sukchan Lee
3a36d458e5 initial code for CCR/CCA for Diameter Gx 2017-08-19 13:29:09 +09:00
Sukchan Lee
1d32eaead8 update it 2017-08-18 23:54:44 +09:00
Sukchan Lee
94c8c66fe3 update it 2017-08-18 20:43:28 +09:00
Sukchan Lee
8c5d884402 use my own extension for freeDiameter 2017-08-17 15:13:03 +09:00
Sukchan Lee
f6636453b6 add initial code for PCRF 2017-08-17 14:15:08 +09:00
Sukchan Lee
64d03a8cf1 remove all local config related freeDiameter 2017-08-17 09:43:33 +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
4156a7ee1c move gx to extension 2017-08-13 13:44:23 +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
4587288f5d initial code for diameter gx 2017-08-12 21:51:02 +09:00
Sukchan Lee
114e6927c1 update it 2017-08-11 19:34:27 +09:00
Sukchan Lee
9946846494 update it 2017-08-11 17:16:35 +09:00
Sukchan Lee
e52c79fb79 try to remove pdn_t 2017-08-11 16:40:50 +09:00
Sukchan Lee
7aa1ff55f0 warn -> error for memory pool 2017-08-11 13:11:13 +09:00
Sukchan Lee
e6e2183801 Add Diameter Error if IMSI is not found 2017-08-09 14:48:44 +09:00
Sukchan Lee
d8fad33169 update it 2017-08-09 12:52:11 +09:00
Sukchan Lee
574a229e42 Experimental-Result is added in FD library.
if IMSI is not found, we need to add the Experimental-Result-Code
2017-08-08 23:45:11 +09:00
Sukchan Lee
9782363f2b update it 2017-08-05 16:21:07 +09:00
Sukchan Lee
27e9a8e7da name changes 2017-08-05 16:07:52 +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
James Park
8905728287 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-08-04 14:36:09 -07:00
James Park
790885e426 Send S1AP_Paging after receving downlink data notification 2017-08-04 14:34:52 -07: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
08f260f6d9 Logger changes from process to thread 2017-08-04 18:02:19 +09:00
Sukchan Lee
9a91870324 add memory check tool 2017-08-04 12:06:56 +09:00
Sukchan Lee
2e6f9f7a34 suppress pkbuf memory leak log 2017-08-04 00:09:28 +09:00
Sukchan Lee
d1d223b815 fix the memory leak for proc library 2017-08-03 23:54:36 +09:00
Sukchan Lee
59999dcb4f add HIDDEN configuration for developer.
...
    GTP: 1,
    OTHERS: 1,
  }

  HIDDEN:
  {
    DISABLE_HSS: 0,
    DISABLE_SGW: 0,
    DISABLE_PGW: 0,
  }

  HSS :
  {

if epcd or testepc, DISABLE_HSS/SGW/PGW is applied.
2017-08-03 19:50:20 +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
James Park
061605047c Fix bug 2017-08-02 17:49:27 -07:00
James Park
420953fa32 Update downlink data notification 2017-08-02 17:32:50 -07:00
Sukchan Lee
18739296fa initialize/terminate done..
let me know if you have found zombie process.
2017-08-03 00:11:09 +09:00
Sukchan Lee
8fdb177c04 mostly done..initialize/terminate.
more test is needed.
2017-08-02 23:03:34 +09:00
Sukchan Lee
484b4ff024 fix the logger bug 2017-08-02 22:24:41 +09:00
Sukchan Lee
fae9cad5dc update it 2017-08-02 21:11:22 +09:00
Sukchan Lee
13175e9e41 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-08-02 20:04:02 +09:00
Sukchan Lee
4c124cb540 update trace code 2017-08-02 19:33:57 +09:00
Sukchan Lee
bcbb08acf5 fix the testcode bug
Previously, test code could be executed although HSS-MME is not
connected.
As such, I've fixed test code is executed right after HSS-MME is connected
2017-08-02 19:15:30 +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
341dc3d1f5 add process management library 2017-08-01 23:43:05 +09:00
Sukchan Lee
91f1d9adc5 add NAS trace message 2017-08-01 11:34:15 +09:00
Sukchan Lee
7646eb7e93 refine trace message 2017-08-01 10:16:06 +09:00
Sukchan Lee
873f2bdb95 add S1AP encoding/decoding trace 2017-07-31 23:12:13 +09:00
Sukchan Lee
f7ec3c7c6e Configuration for TRACE is added 2017-07-31 22:35:25 +09:00
Sukchan Lee
2749a864ab refine intiialization routine to remove zombie process 2017-07-31 00:02:04 +09:00
Sukchan Lee
a30bfa7321 HSS IP address is added. 10.1.35.214.
You need to add ip alias for HSS
2017-07-30 23:08:10 +09:00
Sukchan Lee
abf87a0673 intermediate 2017-07-30 22:29:27 +09:00
Sukchan Lee
d3234014f7 IP Pool is allocated per PDN 2017-07-29 00:53:54 +09:00
Sukchan Lee
eee1537f5f update it 2017-07-28 23:07:57 +09:00
Sukchan Lee
0a8f389839 GTP message is added for paging and handover 2017-07-27 00:10:10 +09:00
Sukchan Lee
b302928bf3 ue context release implemented for idle-mode 2017-07-25 21:15:25 +09:00
Sukchan Lee
86e272c4cf add Release Access GTP message 2017-07-25 10:59:20 +09:00
Sukchan Lee
3e10a8b5e4 add Bearer related GTP message 2017-07-25 10:48:27 +09:00
Sukchan Lee
9abe442348 add Delete Bearer Request/Response in GTP 2017-07-25 10:11:05 +09:00
Sukchan Lee
85801b6aef porting to linux 2017-07-22 13:05:43 +09:00
Sukchan Lee
cc8edc0c7a update it 2017-07-21 20:28:33 +09:00
Sukchan Lee
fb6519721a update it 2017-07-21 17:12:02 +09:00
Sukchan Lee
c547d7ce5b add mongo DB client 2017-07-20 23:07:37 +09:00
Sukchan Lee
1fe12dae1c update it 2017-07-14 20:04:11 +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
c055811c10 update it 2017-07-13 15:46:27 +09:00
Sukchan Lee
a7cd93f39e update it 2017-07-13 14:12:30 +09:00
Sukchan Lee
6a98afbb1a update it 2017-07-13 13:36:16 +09:00
Sukchan Lee
e9cee2b420 update it 2017-07-13 10:31:07 +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
Sukchan Lee
32d53729e5 missing changes for cellwire -> nextepc 2017-07-10 14:43:03 +09:00
Sukchan Lee
2f4a8b4d63 cellwire -> nextepc 2017-07-10 14:33:46 +09:00
Brandon
141d241411 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-04-28 15:30:28 +09:00
Brandon
0e410f5620 added missing IE for S11 delete session request 2017-04-28 15:30:04 +09:00
James Park
65b5378c91 Split ue_context into two context(enb_ue_t, mme_ue_t) 2017-04-28 13:43:42 +09:00
Sukchan Lee
b95e40a851 Delete Session Request/Response is added 2017-04-27 13:36:25 +09:00
Sukchan Lee
9000cc395c all NAS message done 2017-04-26 16:07:27 +09:00
Sukchan Lee
5937025754 esm is added 2017-04-26 15:45:46 +09:00
Sukchan Lee
1f2c813461 esm added 2017-04-26 15:40:46 +09:00
Sukchan Lee
520bd03f68 all NAS EMM message is implemented 2017-04-26 15:14:56 +09:00
Sukchan Lee
880eee1a16 service request message is tested.
You can find the usage nas_message_test8 in test/nas_message_test.c
2017-04-26 12:33:31 +09:00
Sukchan Lee
f48bbbd35b security header type is fixed to meet standard 2017-04-26 11:59:05 +09:00
Sukchan Lee
e0a2758dd0 service request is implemented. 2017-04-26 09:49:37 +09:00
Sukchan Lee
cca339eff4 service request is initially added 2017-04-26 09:33:26 +09:00
Sukchan Lee
0bdc7de4d0 merge FROM_UE and TO_UE to ONE macro 2017-04-26 09:19:13 +09:00
Sukchan Lee
19b164b575 implement nas_types 2017-04-25 20:08:12 +09:00
Sukchan Lee
4694a0b75f update generated files 2017-04-25 20:08:03 +09:00
Sukchan Lee
0aa5660479 fix the Office Document errata
update nas_message.py for supporting detach message
2017-04-25 20:03:40 +09:00
Sukchan Lee
fe4ae96109 add DETACH REQUEST FROM/TO UE 2017-04-25 18:28:46 +09:00
Sukchan Lee
63ed72ed91 1. update office document
2. modify nas_message.py
3. store generated cache file
2017-04-25 16:31:31 +09:00
Sukchan Lee
e186436098 For testing, the following command is needed for the first time
- sudo ip tuntap add name pgwtun mode tun
 - sudo ./scripts/netconfig.sh

After then,
 - ./test/testcellwire

The above regression test is executed with 10.1.35.215 ip
2017-04-18 20:21:53 +09:00
James Park
3acb4d612d Merge branch 'master' of https://github.com/acetcom/cellwire
Conflicts:
	src/pgw/pgw_context.c
	src/pgw/pgw_path.c
2017-04-18 18:35:26 +09:00
James Park
20e6a2c9a5 Now ping works 2017-04-18 18:24:37 +09:00
Sukchan Lee
c2d5ab0d20 remove LINUX==1 macro in the pgw directory 2017-04-18 16:06:44 +09:00
Sukchan Lee
7dc8afd70c port to OSX 2017-04-18 14:16:32 +09:00
Sukchan Lee
a332d46800 fix to compile other OS 2017-04-18 14:01:43 +09:00
James Park
4b9e499ea7 Add tuntap interface to PGW 2017-04-18 10:22:55 +09:00
Sukchan Lee
dbcee4966f fix the pkbuf test code since core_realloc function is changed
from : if (size > (p->clbuf->size - headroom))
to : if (size >= (p->clbuf->size - headroom))
2017-04-14 21:39:07 +09:00
Sukchan Lee
3098af0cfe add current time in EMM information NAS mssage 2017-04-14 21:18:32 +09:00
Sukchan Lee
7036ea329d EMM Status(NAS Message) is added 2017-04-14 18:09:39 +09:00
Sukchan Lee
98ff2241eb update it 2017-04-14 12:42:00 +09:00
Sukchan Lee
ea014944c2 update it 2017-04-14 01:26:50 +09:00
Sukchan Lee
d9114c9702 update it 2017-04-14 00:17:56 +09:00
Sukchan Lee
12a12fb222 update it 2017-04-13 17:18:46 +09:00
Sukchan Lee
2b2b34027c update it 2017-04-13 14:46:27 +09:00
Sukchan Lee
a1688bc4e3 update it 2017-04-13 13:54:39 +09:00
Sukchan Lee
493729850d update it 2017-04-13 12:21:47 +09:00
Sukchan Lee
184c226f79 update it 2017-04-13 10:06:58 +09:00
Sukchan Lee
ee3c09506c update it 2017-04-13 09:57:11 +09:00
Sukchan Lee
fa287c8f5b update it 2017-04-13 00:08:12 +09:00