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
d49404ad2d
loopback address is changes from 127.76.0.1 to 127.0.0.1
2017-11-25 04:16:18 +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
6412231f29
all remove core_net.h
2017-11-24 11:49:37 +09:00
Sukchan Lee
685272fce8
improve usrsctp
2017-11-23 23:01:49 +09:00
Sukchan Lee
859d6427fd
enb->addr is changes to pointer
2017-11-23 21:05:55 +09:00
Sukchan Lee
65fb2d280f
enodeb's s1ap_addr types changes from c_uint32_t to c_sockaddr_t
2017-11-23 19:44:49 +09:00
Sukchan Lee
5d0bc98f8d
Oops! mistake
2017-11-23 14:19:38 +09:00
Sukchan Lee
227cae5762
S1AP changes from net_lib to new socket library
2017-11-23 02:53:33 +00: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
a27f294f74
TUN driver is added
2017-11-22 22:32:57 +09:00
Sukchan Lee
e44e613ff2
s1ap structure changes from net_sock_t to sock_id
2017-11-22 21:50:08 +09:00
Sukchan Lee
38a5ad3c68
remove port from gtp_node_t
2017-11-22 20:35:45 +09:00
Sukchan Lee
ce827fe733
change address type from c_uint32_t to c_sockaddr_t
2017-11-22 19:51:06 +09:00
Sukchan Lee
21d2ca34f6
mac porting for new socket library
2017-11-19 22:07:44 +09:00
Sukchan Lee
1ad25fbc9c
s1setup test is done
2017-11-19 10:41:50 +00: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
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
5cc56ab353
change shared library
2017-11-05 14:57:19 +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
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
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
6eb05495aa
change test configuration directory to /tmp
2017-10-24 11:00:58 +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
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
34270825a7
fix the bug usrsctp_finish()
2017-10-20 15:46:06 +09:00
Sukchan Lee
d971a9c9ae
testepc is passed in Userland SCTP
2017-10-20 15:14:14 +09:00
Sukchan Lee
d40ba2a67c
Oops! re-add net_read() in testcode
2017-10-20 13:47:43 +09:00
Sukchan Lee
2a3fe018e8
S1Setup Test is passed in Userland SCTP
2017-10-20 13:18:58 +09:00
Sukchan Lee
36985520f9
send/recv function is tested for only 1 eNB.
2017-10-19 13:42:07 +09:00
Sukchan Lee
cca9f6d521
recv function is tested for Userland SCTP library
2017-10-19 12:50:39 +09: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
d486e84816
improve netconfig
...
modify GTP packet sending function interface
2017-10-17 13:53:55 +09:00
Sukchan Lee
b9f4dcf4ea
MAC OSX is needed to enable IP fowwarding
2017-10-17 07:44:48 +09:00
Sukchan Lee
a20c96bc21
fix the Makefile errata
2017-10-17 01:25:28 +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
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
Sukchan Lee
0f08c2a624
Ping loopback is added in Linux platform
2017-10-15 20:33:51 +09:00
Sukchan Lee
3bbbd1b5b1
fix the bug for One SGW IP assign
2017-10-15 01:07:27 +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
c61a704676
done for freeDiameter using autotools
2017-09-29 10:10:55 +09:00
Sukchan Lee
aabdc652ca
update test code for applying ESM information transfer flag
2017-09-24 01:13:51 +09:00
Sukchan Lee
bd9c8d467b
Change the sequence
...
BEFORE : Modify bearer -> Delete Indirect Tunnel -> UE Context Release
AFTER : Modify bearer -> Timer Expire -> UE Context Release -> Delete
Indirect Tunnel
2017-09-18 21:30:04 +09:00
Sukchan Lee
8862741a8d
change s1ap_send_ue_release_command with delay parameter
2017-09-18 19:30:03 +09:00
Sukchan Lee
c9e5386d99
fix the test code bug from Jinyoung's work
2017-09-16 06:37:28 +09:00
Sukchan Lee
0888f49c48
HO cancel done
2017-09-15 12:06:26 +09:00
Sukchan Lee
f783e2ffd0
fix the bug for memory leak of handover message(enb/mme status trasfer) encoding/decoding
2017-09-15 10:40:25 +09:00
Sukchan Lee
0b6657f501
Handover Test has Memory Leak!.
...
I'm not sure what happend in real environment.
2017-09-15 01:11:35 +09:00
Sukchan Lee
c6967648fa
update it
2017-09-14 21:46:56 +09:00
Sukchan Lee
18a2a91bdd
S1 Handover Done
2017-09-14 18:52:29 +09:00
Sukchan Lee
1ea7bea037
Use mme_ue->tai, mme_ue->e_cgi.
...
Do not access enb_ue->tai, enb_ue->e_cgi
2017-09-14 17:40:01 +09:00
Sukchan Lee
640d2efb07
update it
2017-09-14 17:29:34 +09:00
Sukchan Lee
345f055dd7
S1HO modify bearer request/response is done..
2017-09-14 11:12:02 +09:00
Sukchan Lee
d39fd987e4
add eNB status transfer handler
2017-09-13 23:49:31 +09:00
Sukchan Lee
dadadc5179
fix the s1ap encoding bug
2017-09-13 23:27:02 +09:00
Sukchan Lee
f53c4c5d7f
Handover Command Encoding...failed!
2017-09-13 21:51:02 +09:00
Sukchan Lee
ee72b5e938
S1AP STORE/CLEAR DATA is added
2017-09-13 11:57:17 +09:00
Sukchan Lee
0bc90a7829
gtp counter is newly proposed for checking multiple GTP transaction
2017-09-13 11:18:17 +09:00
Sukchan Lee
e45d1887a5
update it
2017-09-12 23:07:55 +09:00
Sukchan Lee
287a7ca76c
HO message is added
2017-09-12 13:54:55 +09:00
Sukchan Lee
26386703d3
X2 HO done
2017-09-12 10:41:00 +09:00
Sukchan Lee
f6a1944d36
X2 HO is added. but Security Context is not yet!
2017-09-12 00:49:15 +09:00
Sukchan Lee
b7c544c8db
add path_switch req/ack/failure encoder/decoder
2017-09-11 21:14:55 +09:00
Sukchan Lee
04b2e22bf1
add Handover test code
2017-09-11 18:41:14 +09:00
Sukchan Lee
97da327a61
add PDN connectivity reject
2017-09-08 18:50:27 +09:00
Sukchan Lee
4b5d6ba01b
missing
2017-09-08 17:54:59 +09:00
Sukchan Lee
b0be746292
add PDN disconnect
2017-09-07 23:41:05 +09:00
Sukchan Lee
ac51f9e0e6
change the test order for testing multiple delete session
2017-09-07 14:41:40 +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
a69760c689
reorder control plane flow
2017-09-05 13:15:04 +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
abbd8fa869
Create Bearer Request (PGW->SGW)
2017-09-04 19:20:06 +09:00
Sukchan Lee
87b0897602
design EMM state machine initially.
2017-09-04 00:06:39 +09:00
Sukchan Lee
faf8268a3d
contine to re-archi GTP
2017-08-31 10:48:14 +09:00
Sukchan Lee
829047f763
GTP re-archi(first phase)
2017-08-28 21:47:32 +09:00
Sukchan Lee
b8504073dd
add S6A(MME-HSS) Interface for PGW IPv4 Address
2017-08-28 20:32:25 +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
ee7d3cbef6
PCRF done
2017-08-24 23:10:36 +09:00
Sukchan Lee
6b9ec5c5d7
ambr, mbr, gbr downlink/uplink DB attribute changed from 32bit to 64bit
2017-08-24 19:51:16 +09:00
Sukchan Lee
5106e195cb
add volte_test code
2017-08-23 13:27:43 +09:00
Sukchan Lee
40fdcd82fa
apply Database changes
2017-08-22 13:47:20 +09:00
Sukchan Lee
c922e97520
fix the QoS param bug
2017-08-20 19:04:23 +09:00
Sukchan Lee
ac4571ed52
update it
2017-08-19 10:44:33 +09:00
Sukchan Lee
17b464b4c6
sends release command after attach reject sends
2017-08-11 14:51:05 +09:00
Sukchan Lee
b607a1c32c
add testcode for attach_reject
2017-08-11 14:14:55 +09:00
Sukchan Lee
f23d196aa1
update it
2017-08-11 13:19: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
d9d2d0a87a
fix the bug
2017-08-05 00:21:07 +09:00
Sukchan Lee
2e9ac4370e
testepc memory leak is fixed
2017-08-04 23:37:08 +09:00
Sukchan Lee
c397918b93
remove error checking in test code. It's redundant.
2017-08-03 20:07:56 +09:00
Sukchan Lee
9db7c1c21c
fix the bug for testepc
2017-08-03 20:01:01 +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
f569538bec
improve testcode terminate routine.
2017-08-03 10:18:45 +09:00
Sukchan Lee
fae9cad5dc
update it
2017-08-02 21:11:22 +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
f7ec3c7c6e
Configuration for TRACE is added
2017-07-31 22:35:25 +09:00
Sukchan Lee
9c41fbce61
fix the bug for test code
2017-07-30 23:26:28 +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
e7f68794d9
fix the test code
2017-07-29 00:33:48 +09:00
Sukchan Lee
916d8032dc
most function is implemeted related Attach Request
...
Except ATTACH_REQEST integrity check after NAS_Decode
2017-07-28 14:19:43 +09:00
Sukchan Lee
63cfc93819
GUTI handler is added
2017-07-28 12:48:49 +09:00
Sukchan Lee
345ef20934
intermediate..
...
We should decode NAS message, and then integrity is checked later.
Because, To get MME UE Context, at first, we need to know GUTI in NAS
message.
if S-TMSI is not available.. Sigh!
if NAS is ciphered, The seqence are 'Decrypt->Decode->Integrity Check'
if NAS is not cihpered, The sequence are 'Decode->Integrity Check'
2017-07-27 21:50:55 +09:00
Sukchan Lee
773d31a17e
auth process skip routine is added
2017-07-26 23:27:03 +09:00
Sukchan Lee
6d8af29f6e
intermidiate..spec study is needed
2017-07-26 21:58:14 +09:00
Sukchan Lee
396791f441
update it
2017-07-26 18:49:56 +09:00
Sukchan Lee
8c157dec08
detach request is done
2017-07-26 14:18:28 +09:00
Sukchan Lee
67630336cd
UE initiated idle-mode done
2017-07-26 11:28:43 +09:00
Sukchan Lee
d8646e10a0
test code is added
2017-07-25 23:42:16 +09:00
Sukchan Lee
b302928bf3
ue context release implemented for idle-mode
2017-07-25 21:15:25 +09:00
Sukchan Lee
b96f06b63a
add initial test code for idle-mode
2017-07-25 16:22:53 +09:00
Sukchan Lee
094a5c051d
GUTI is added
2017-07-23 12:25:01 +09:00
Sukchan Lee
e15348b089
done DB integration
2017-07-22 10:26:08 +09:00
Sukchan Lee
8e72d3af1d
update it
2017-07-22 02:18:53 +09:00
Sukchan Lee
5d433a13ec
update it
2017-07-22 01:01:54 +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
70dc633a96
update it
2017-07-15 00:00:08 +09:00
Sukchan Lee
df371f3b66
update it
2017-07-14 20:46:15 +09:00
Sukchan Lee
e9cee2b420
update it
2017-07-13 10:31:07 +09:00
Sukchan Lee
5fe3a0fcfb
update it
2017-07-11 23:38:52 +09:00
Sukchan Lee
c70eb89a24
update it
2017-07-11 18:44:25 +09:00
Sukchan Lee
62950382ae
update it
2017-07-11 14:16:15 +09:00
Sukchan Lee
2f4a8b4d63
cellwire -> nextepc
2017-07-10 14:33:46 +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
05f74087e0
remove 127.0.0.1
...
Now, we'll use 10.1.35.x network for loopback test
2017-04-18 21:27:07 +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
Sukchan Lee
1014a4079f
add check-routine for sending EMM/ESM message
2017-04-14 21:33:45 +09:00
Sukchan Lee
a3ead1361c
add attach test scenario from jinyoung's today work.
2017-04-14 20:20:00 +09:00
Sukchan Lee
98ff2241eb
update it
2017-04-14 12:42:00 +09:00
Sukchan Lee
31d978427c
update it
2017-04-14 10:27:31 +09:00
Sukchan Lee
a00ce328d7
update it
2017-04-14 01:51:51 +09:00
Sukchan Lee
d76d5d32a3
update it
2017-04-14 01:48:36 +09:00
Sukchan Lee
d2d8d6d962
update it
2017-04-14 01:37:16 +09:00
Sukchan Lee
ea014944c2
update it
2017-04-14 01:26:50 +09:00
Sukchan Lee
95dbe4c126
update it
2017-04-14 00:19:58 +09:00