Commit graph

407 commits

Author SHA1 Message Date
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
Sukchan Lee
235c2212ae rename it 2017-03-05 11:29:15 +09:00
Sukchan Lee
1f187f5de9 update it 2017-03-04 23:48:04 +09:00
Sukchan Lee
b3a51df778 update it 2017-03-04 23:26:22 +09:00
Sukchan Lee
4882496313 auth-vector verified 2017-03-03 23:35:17 +09:00
Sukchan Lee
0f39f3295d update it 2017-03-03 18:25:04 +09:00
Sukchan Lee
f6652e69a9 move plmn_id structure to 3gpp 2017-03-03 17:33:41 +09:00
Sukchan Lee
86d2ebd90c move directory 2017-02-28 10:20:02 +09:00
Sukchan Lee
3a76d1fc1a initialization done 2017-02-27 15:09:41 +09:00
Sukchan Lee
95857bc9bc update it 2017-02-27 14:55:35 +09:00
Sukchan Lee
ad44d2ab58 update it 2017-02-27 14:25:37 +09:00
Sukchan Lee
f7d116ef40 signal handler updated 2017-02-26 13:09:40 +09:00
Sukchan Lee
91046feb0e s6a_initialize added 2017-02-21 15:35:54 +09:00
Sukchan Lee
4058df8f43 freediameter extension load 2017-02-21 12:53:51 +09:00
Sukchan Lee
66c9a25f67 AC_CHECK_LIB is added 2017-02-20 20:20:31 +09:00
Sukchan Lee
87f2acada1 rename filename 2017-02-20 19:46:58 +09:00
Sukchan Lee
aeaa9a1144 accept(accept/complete/reject/request) NAS message done 2017-02-17 00:49:09 +09:00
Sukchan Lee
a9c26b60a3 attach accept encoding done 2017-02-16 23:55:53 +09:00
Sukchan Lee
2a6d570d69 fix the NAS encoding bug 2017-02-16 22:25:12 +09:00
Sukchan Lee
d55ea75638 intermediate 2017-02-16 21:47:48 +09:00
Sukchan Lee
d8eec46c03 NAS encoding 2017-02-16 18:11:01 +09:00
Sukchan Lee
a951e59436 name changes 2017-02-15 20:16:50 +09:00
Sukchan Lee
1ba7813378 missing files 2017-02-15 15:33:39 +09:00
Sukchan Lee
2f4126ea47 initial code for nas encoding/decoding 2017-02-15 15:28:38 +09:00
Sukchan Lee
c75744899c more directory re-arrange 2017-02-15 10:04:53 +09:00
Sukchan Lee
99ccedcbf3 directory re-arrange 2017-02-15 09:55:17 +09:00
Sukchan Lee
224d5ba3f9 rollback 2017-02-15 09:17:44 +09:00
Sukchan Lee
4da3365767 msgq empty status is checked when thread needs to be stopped 2017-02-15 09:05:34 +09:00
Sukchan Lee
7d25de280a remove size checking 2017-02-14 22:39:04 +09:00
Sukchan Lee
1641bba934 spec study 2017-02-14 09:09:01 +09:00
Sukchan Lee
232a078fe9 rollback test eNB number is set to 32 2017-02-13 22:40:42 +09:00
Sukchan Lee
f653e4ad78 64 eNB connection is tested 2017-02-13 21:56:03 +09:00
Sukchan Lee
9c2f2ba026 refined 2017-02-13 21:31:03 +09:00
Sukchan Lee
fb04d034a8 test enb number is set to 4 2017-02-13 20:54:22 +09:00
Sukchan Lee
b635c2466d test framework is improved to support multiple test-eNB 2017-02-13 20:49:58 +09:00
Sukchan Lee
6a05d4e69f S1SetupFailure is implemented 2017-02-13 20:10:05 +09:00
Sukchan Lee
d4d0548694 name changes 2017-02-13 19:14:04 +09:00
Sukchan Lee
31e4aa6237 encode size error is fixed 2017-02-13 18:11:09 +09:00
Sukchan Lee
9c182f9697 missing file 2017-02-13 16:26:07 +09:00
Sukchan Lee
c94b80e097 enb s1 setup request/response test 2017-02-13 16:25:36 +09:00
Sukchan Lee
ee34fcbb35 intermediate 2017-02-13 16:03:12 +09:00
Sukchan Lee
aa31d54b2f fix the memory leak bug in the unit test module(abts) 2017-02-12 19:26:11 +09:00
Sukchan Lee
084c256bbe fix memory leak in the abts unit test library 2017-02-12 19:00:06 +09:00
Sukchan Lee
93fe0f7704 encoder message print is added 2017-02-10 22:16:22 +09:00
Sukchan Lee
32db40e300 update it 2017-02-10 21:55:26 +09:00
Sukchan Lee
a199a7528f s1ap_conv is added to convert ASN1C structure 2017-02-10 21:51:56 +09:00
Sukchan Lee
d1cecfb589 pkbuf leak is fixed 2017-02-10 13:26:48 +09:00
Sukchan Lee
fa7b4fef58 s1ap_free_pdu() is added 2017-02-09 23:15:08 +09:00
Sukchan Lee
fc48bcde95 free routine is added using python script 2017-02-09 22:06:15 +09:00
Sukchan Lee
5e1b768b92 intermediate 2017-02-09 20:22:44 +09:00
Sukchan Lee
d60ccdbb2d rename calloc to CALLOC provided from asn1c 2017-02-09 18:42:17 +09:00
Sukchan Lee
70e70dc5a6 FIX all memory leak. Next, script is improved to provide
s1ap_decode_free function
2017-02-09 17:43:49 +09:00
Sukchan Lee
2d38a99060 fix the memory leak for decoding.
more work is needed
2017-02-09 16:33:41 +09:00
Sukchan Lee
f0e2dbafb7 update it 2017-02-07 13:52:34 +09:00
Sukchan Lee
e35c45934e fix memory leak bugs 2017-02-07 13:40:30 +09:00
Sukchan Lee
1892c02b96 refine S1AP encoding 2017-02-06 21:52:20 +09:00
Sukchan Lee
687daafd3f encode S1AP example 2017-02-06 20:54:31 +09:00
Sukchan Lee
37b99ef99e move ./lib/asn/test to ./test 2017-02-06 19:12:10 +09:00