Commit graph

407 commits

Author SHA1 Message Date
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
Sukchan Lee
d9114c9702 update it 2017-04-14 00:17:56 +09:00
Sukchan Lee
f19673d935 update it 2017-04-13 23:30:56 +09:00
Sukchan Lee
1b98807ec8 update it 2017-04-13 23:14:59 +09:00
Sukchan Lee
3b95dd22bc update it 2017-04-13 15:19:16 +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
fa287c8f5b update it 2017-04-13 00:08:12 +09:00
Sukchan Lee
cabd8d6ad0 update it 2017-04-12 15:35:03 +09:00
Sukchan Lee
258cc29454 update it 2017-04-12 10:05:23 +09:00
Sukchan Lee
19fc153f00 update it 2017-04-11 23:25:33 +09:00
Sukchan Lee
d53b30449f update it 2017-04-11 20:44:38 +09:00
Sukchan Lee
9161a61669 update it 2017-04-11 18:59:10 +09:00
Sukchan Lee
a8665d6160 update it 2017-04-11 15:02:39 +09:00
Sukchan Lee
8ab3dead0b update it 2017-04-11 14:26:54 +09:00
Sukchan Lee
aab0732178 update it 2017-04-10 21:05:28 +09:00
Sukchan Lee
d9307d3187 update it 2017-04-10 00:27:19 +09:00
Sukchan Lee
450b04a4d3 update it 2017-04-09 22:01:54 +09:00
Sukchan Lee
8c2c204278 update it 2017-04-09 17:24:24 +09:00
Sukchan Lee
67533ec1de update it 2017-04-09 16:34:31 +09:00
Sukchan Lee
5a9081a5ae update it 2017-04-09 14:26:19 +09:00
Sukchan Lee
9ea0bb10c1 update it 2017-04-08 13:02:07 +09:00
Sukchan Lee
73306674d9 update it 2017-04-08 10:50:29 +09:00
Sukchan Lee
9b5721dafc update it 2017-04-07 22:23:38 +09:00
Sukchan Lee
87acd05c2d update it 2017-04-06 23:29:20 +09:00
Sukchan Lee
677ffa480f update it 2017-04-06 20:44:52 +09:00
Sukchan Lee
4720ecb8b7 update it 2017-04-06 20:10:00 +09:00
Sukchan Lee
96156ea66b update it 2017-04-06 19:20:33 +09:00
Sukchan Lee
6ae1c6dda4 update it 2017-04-06 17:23:18 +09:00
Sukchan Lee
e121488fa5 update it 2017-04-06 17:10:26 +09:00
Sukchan Lee
2c7223eb86 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-04-05 22:51:05 +09:00
Sukchan Lee
2ff8dbde8a update it 2017-04-05 22:50:44 +09:00
Sukchan Lee
333468f6f8 update it 2017-04-05 20:10:46 +09:00
Sukchan Lee
6a19a926e0 sgw context is added 2017-04-05 20:09:13 +09:00
Sukchan Lee
50714909ea update it 2017-04-04 11:08:32 +09:00
Sukchan Lee
67fb7cf8f2 rename 2017-04-04 10:49:19 +09:00
Sukchan Lee
0f2f802dbf update it 2017-03-27 01:50:01 +09:00
Sukchan Lee
814e3f7e94 update it 2017-03-27 00:48:33 +09:00
Sukchan Lee
b588104b58 update it 2017-03-26 01:29:41 +09:00
Sukchan Lee
466222cb43 GTP encoder test 2017-03-26 01:19:44 +09:00
Sukchan Lee
6146e33a51 update it 2017-03-25 12:10:08 +09:00
Sukchan Lee
810da83b3b update it 2017-03-25 11:16:18 +09:00
Sukchan Lee
18e78913b6 interface changes 2017-03-25 10:45:49 +09:00
Sukchan Lee
c9c1b6c5f0 update it 2017-03-25 01:07:59 +09:00
Sukchan Lee
857dde66cd update it 2017-03-24 23:01:44 +09:00
Sukchan Lee
7685e8a72c update it 2017-03-24 22:52:55 +09:00
Sukchan Lee
a6512e7a6c update it 2017-03-24 22:24:09 +09:00
Sukchan Lee
577b865aa2 update it 2017-03-24 21:19:24 +09:00
Sukchan Lee
d7fc04c800 update it 2017-03-24 21:10:13 +09:00
Sukchan Lee
52ae136923 update it 2017-03-23 23:05:40 +09:00
Sukchan Lee
e1f06e5cb0 update it 2017-03-21 21:11:48 +09:00
Sukchan Lee
3facb91b1e Identity Request/Response is added 2017-03-21 15:02:16 +09:00
Sukchan Lee
d2446308c8 update it 2017-03-20 17:07:27 +09:00
Sukchan Lee
bfb3fdcae3 add initial code for NAS message generating script 2017-03-18 00:11:57 +09:00
Sukchan Lee
2ee434b30f gtpv2c encoding/decoding done 2017-03-15 22:28:04 +09:00
Sukchan Lee
0574623286 update it 2017-03-15 21:20:26 +09:00
Sukchan Lee
d448a92d49 update it 2017-03-15 20:37:54 +09:00
Sukchan Lee
b0497920bf gtpv2c message generation done! 2017-03-15 19:18:24 +09:00
Sukchan Lee
fbafeaec99 update it 2017-03-15 17:12:41 +09:00
Sukchan Lee
0261f4c018 add test code for tlv_more, instance 2017-03-13 13:02:42 +09:00
Sukchan Lee
aa83604ccc update it 2017-03-13 11:32:21 +09:00
Sukchan Lee
cc73a4ebe4 update it 2017-03-12 23:13:03 +09:00
Sukchan Lee
a9b6bb2c34 udpate it 2017-03-12 23:07:17 +09:00
Sukchan Lee
35bac5a6ff update it 2017-03-12 22:59:45 +09:00
Sukchan Lee
8a0f311889 update it 2017-03-12 22:52:14 +09:00
Sukchan Lee
461a684eb7 update it 2017-03-12 22:41:29 +09:00
Sukchan Lee
8f49df94fa update it 2017-03-12 22:20:04 +09:00
Sukchan Lee
a103d9941e update it 2017-03-12 10:50:09 +09:00
Sukchan Lee
3b62f60cfa fix the memory leak in the test code 2017-03-12 10:37:42 +09:00
Sukchan Lee
6fb3ebc9c9 update it 2017-03-12 10:23:49 +09:00
Sukchan Lee
ff3ebab8ba update it 2017-03-10 15:40:45 +09:00
Sukchan Lee
2473d69d11 add test code for verifying endian 2017-03-09 00:14:39 +09:00
Sukchan Lee
512c0fbd5c update it 2017-03-08 23:04:35 +09:00
Sukchan Lee
0d1e3b63c8 update it 2017-03-08 22:39:28 +09:00
Sukchan Lee
d64fed59d2 NAS MAC verified 2017-03-08 21:39:49 +09:00
Sukchan Lee
bcb275dadc NAS MAC is added, but not verified 2017-03-08 19:10:01 +09:00
Sukchan Lee
d62a467057 nas security wrapper is added 2017-03-08 15:27:48 +09:00
Sukchan Lee
7b5ea8b1a5 remove debugging message in test 2017-03-08 12:31:11 +09:00
Sukchan Lee
4f5920600a all security alogrithm is verified. 2017-03-08 12:21:59 +09:00
Sukchan Lee
ae2b415c6d aes ctr128 is verified 2017-03-08 12:10:39 +09:00
Sukchan Lee
17890be353 update it 2017-03-08 09:52:40 +09:00
Sukchan Lee
32e4f217fa zuc cipher is verified 2017-03-08 09:31:09 +09:00
Sukchan Lee
f2f94c5eef zuc integrity is verified 2017-03-08 08:12:08 +09:00
Sukchan Lee
d199d0bb00 update it 2017-03-08 00:21:54 +09:00
Sukchan Lee
844dbf445e update it 2017-03-07 23:46:59 +09:00
Sukchan Lee
c925707f23 aes cmac is verified 2017-03-07 22:43:46 +09:00
Sukchan Lee
79a6bd43f4 snow 3g is verified 2017-03-07 21:21:39 +09:00
Sukchan Lee
f18dab702e update it 2017-03-07 20:45:09 +09:00
Sukchan Lee
c589a196f1 update it 2017-03-07 20:43:37 +09:00
Sukchan Lee
199c9f8327 fix the bug for memory leak 2017-03-07 16:19:18 +09:00
Sukchan Lee
48bc61d06a security-mode complete 2017-03-07 14:47:17 +09:00
Sukchan Lee
118e7eb84d update it 2017-03-06 22:47:39 +09:00
Sukchan Lee
6fc3d16f7a update it 2017-03-06 21:45:41 +09:00
Sukchan Lee
7f3233327b update it 2017-03-06 09:07:59 +09:00
Sukchan Lee
6ddd15f1bd update it 2017-03-05 23:36:17 +09:00
Sukchan Lee
fbc6d9cb5f update it 2017-03-05 18:09:34 +09:00
Sukchan Lee
982dddc4de update it 2017-03-05 16:49:57 +09:00
Sukchan Lee
953d63c2db update it 2017-03-05 15:26:28 +09:00
Sukchan Lee
ab61064089 update it 2017-03-05 15:02:12 +09:00
Sukchan Lee
823f3c3a0f update it 2017-03-05 13:03:11 +09:00
Sukchan Lee
4f00585f90 update it 2017-03-05 11:46:42 +09:00