Commit graph

63 commits

Author SHA1 Message Date
Sukchan Lee
4eb314d781 In emm_state_attached state, if NAS MAC is failed, service reject is sent out 2018-01-21 17:36:59 +09:00
Sukchan Lee
1d947c5698 M-TMSI is generated by Random Number for protecting security attach 2018-01-21 16:53:39 +09:00
Sukchan Lee
05f631f0ac change service_request test packet 2018-01-21 15:44:30 +09:00
Sukchan Lee
f93d367eee update EMM state machine 2018-01-20 15:09:30 +09:00
Sukchan Lee
734ac953a7 Oops! remove comment out 2018-01-20 09:57:24 +09:00
Sukchan Lee
56dd6b6a28 fix the memory leak when SGW cannot find tunnel 2018-01-20 09:35:03 +09:00
Sukchan Lee
862571c8ed rollback state machine 2018-01-20 04:29:58 +09:00
Sukchan Lee
baf273c06e add simulator for verifying NAS MAC 2018-01-20 03:11:20 +09:00
Sukchan Lee
e4c189fec2 if TAU_REJECT or SERVICE_REJECT, MME UE Context is removed. 2018-01-19 16:29:21 +09:00
Sukchan Lee
2701add779 if EMM_STATUS is received, EMM state will be recovered to an initial state 2018-01-19 15:37:25 +09:00
Sukchan Lee
47dc5eec38 change UE context release command/complete interface.
- Before : Based on EMM state, we decided call mme_ue_remove() or not
- After : Explictly, user should set about calling the mme_ue_remove().
2018-01-11 22:12:48 +09:00
Sukchan Lee
b8ef9e9e2a Header Refactoring 2018-01-04 20:38:22 +09:00
Sukchan Lee
a864b36f44 Default APN is added 2017-12-19 17:05:54 +09:00
Sukchan Lee
d85f546de2 use zero amf in re-synch 2017-12-18 17:28:22 +09:00
Sukchan Lee
fdebe90f7c test scenario is added for debug re-synch failure 2017-12-18 17:10:44 +09:00
Sukchan Lee
649fd75b14 Authentication failure(Resynch failure) is added 2017-12-18 00:01:07 +09:00
Sukchan Lee
f38587595f SLAAC is added 2017-12-16 09:06:34 +00:00
Sukchan Lee
9d4afbba97 update test code 2017-12-16 05:53:30 +00:00
Sukchan Lee
ae57423eab IPv6 Loopback TUN done 2017-12-14 13:47:13 +00:00
Sukchan Lee
c4b4a6850d default APN profile is changed from IPv4 only to IPv4 and IPv6 2017-12-14 17:14:33 +09:00
Sukchan Lee
bd9f1a74a4 IPv6 loopback is tested 2017-12-14 06:23:23 +00:00
Sukchan Lee
c5abd526d6 remove icmpv6 data 2017-12-14 06:07:06 +00:00
Sukchan Lee
e4f100055c ICMPv6 send done 2017-12-14 05:31:00 +00:00
Sukchan Lee
1864509cbb ICMPv6 is implemented. But kernel didn't send ping6 reply. Sigh! 2017-12-14 04:01:56 +00:00
Sukchan Lee
cb4893c36b Multiple TAI List done 2017-12-11 16:55:11 +09:00
Sukchan Lee
d70701361f refine test program for testing dual ipv4/v6 stack 2017-12-09 12:30:46 +09:00
Sukchan Lee
7108d8cd7f eNB S1U IPv6 test done 2017-12-09 00:58:16 +09:00
Sukchan Lee
e8e6836ab8 add initial context setup response encoder for generating IPv6 packet 2017-12-08 23:58:50 +09:00
Sukchan Lee
e4fd5ad70f GTP-U is tested 2017-12-07 20:11:22 +09:00
Sukchan Lee
e7d3d2f4da pgw is done 2017-11-29 14:24:55 +09:00
Sukchan Lee
23fa36bc23 name changes 2017-11-24 15:04:45 +00:00
Sukchan Lee
cb63c2b1ea remove mme->s1ap_addr and mme->s1ap_port 2017-11-24 13:02:40 +00: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
2f49e6024d gtp's net_sock_t to sock_id. GTP-U is failed 2017-11-23 00:19:28 +09:00
Sukchan Lee
8a6b602836 New SCTP library is initially applied in test program 2017-11-19 08:31:18 +00:00
Sukchan Lee
90a50d999d sleep is needed in test code 2017-11-10 02:31:32 +00:00
Sukchan Lee
12ae140185 reduant code 2017-11-10 11:23:55 +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
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
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
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
20800c611b HSS update for supporting OPc 2017-10-25 14:37:12 +09:00
Sukchan Lee
074b7b41e8 fix the bug GTP-U testing code 2017-10-20 18:01:47 +09:00
Sukchan Lee
2223dfef0e remove hard-corded code 2017-10-20 17:19:27 +09:00
Sukchan Lee
3bf6326763 create testsctp.c and testusrsctp.c 2017-10-20 16:15:32 +09:00
Sukchan Lee
d971a9c9ae testepc is passed in Userland SCTP 2017-10-20 15:14:14 +09:00
Sukchan Lee
d486e84816 improve netconfig
modify GTP packet sending function interface
2017-10-17 13:53:55 +09:00
Sukchan Lee
cdbc8d1ab0 MAC OSX ping loopback test done 2017-10-17 00:56:00 +09:00
Sukchan Lee
86908cdbe9 ping src:45.45.0.2 dst:45.45.0.1 is only enabled in Linux platform
Linux Kernel reply the icmp message.
FreeBSD/MacOSX is not working.
More study is needed about TUN
2017-10-15 20:43:05 +09:00