Commit Graph

1051 Commits

Author SHA1 Message Date
Sukchan Lee 8537aaee1b ASR/ASA is done 2018-01-17 21:22:30 +09:00
Sukchan Lee d13b735d26 rx_sess_data is changed to list structure 2018-01-17 20:31:49 +09:00
Sukchan Lee d8f23bed1a mme_ue_remove() if detach request is switch-off 2018-01-17 16:53:49 +09:00
Sukchan Lee 131fb3ac79 modify dedicated bearer is done 2018-01-17 16:01:11 +09:00
Sukchan Lee fffd654391 NAS modify bearer request/accept is done 2018-01-17 15:41:45 +09:00
Sukchan Lee c12e76e32d Update Bearer Request is added in PGW 2018-01-17 13:49:08 +09:00
Sukchan Lee f1e41050c3 re-factoring Gx/Rx diameter to apply modification 2018-01-17 12:41:57 +09:00
James Park 543753d0d1 Merge branch 'master' of https://github.com/acetcom/cellwire 2018-01-16 16:33:46 -08:00
James Park 2bb9446fa2 Fix bug: Wrong assignment of teid 2018-01-16 16:33:06 -08:00
Sukchan Lee 73a352657d print raw packet if S1AP decoder is failed 2018-01-17 08:52:58 +09:00
Sukchan Lee 47407e4855 deactivate dedicated bearer is done 2018-01-16 22:14:59 +09:00
Sukchan Lee 60b59babe0 deactivate bearer context request is added 2018-01-16 20:49:39 +09:00
Sukchan Lee 733f598f24 PCC Rule Remove is added in RAR/RAA 2018-01-16 16:11:30 +09:00
Sukchan Lee 521b18ea2a STR/STA is added 2018-01-15 17:25:14 +09:00
Sukchan Lee 5457e4042e suppport P-CSCF session state maintained mode 2018-01-15 14:57:39 +09:00
Sukchan Lee 4b0565c2e9 refine code 2018-01-15 12:52:05 +09:00
Sukchan Lee d1303a60e4 refine code 2018-01-15 11:54:22 +09:00
Sukchan Lee 257d58d999 Add Detach Request Log 2018-01-14 23:02:16 +09:00
Sukchan Lee 059a71822c P-CSCF simulator is done(Only Call Initiating). Later we will implement 'Call Terminating' 2018-01-14 22:49:29 +09:00
Sukchan Lee d77be669a9 update it 2018-01-14 22:02:37 +09:00
Sukchan Lee c1848e03a1 update it 2018-01-14 21:31:16 +09:00
Sukchan Lee ee770398c2 RAR/RAA is mostly done 2018-01-14 19:54:50 +09:00
Sukchan Lee 11b4463ce4 continue to implement RAR 2018-01-14 18:15:38 +09:00
Sukchan Lee 4b1c4b598b Gx/Rx interface is changed 2018-01-14 13:51:35 +09:00
Sukchan Lee 2884430c57 remove Specific-Action/Abort-Cause in Gx message 2018-01-14 13:00:41 +09:00
Sukchan Lee 853913b31d fix the bug for initial context setup failure 2018-01-13 23:06:21 +09:00
Sukchan Lee 8c3d4ca0de core_free -> CORE_FREE. We need to know which function raise this
exception
2018-01-13 22:03:30 +09:00
Sukchan Lee 63562dd63a add log message 2018-01-13 21:19:43 +09:00
Sukchan Lee 4417578210 RS/RA bug is fixed.
RA dst IP address is dervied from RA's src IP address
RA prefix address is used subnet address instead of UE IPv6 address
2018-01-13 14:15:00 +09:00
Sukchan Lee 694c39c69e fix the bug related UE context release request(transport error) 2018-01-12 08:54:58 +09:00
Sukchan Lee 9675c3bf8c initiate GTP delete session request if EPC received initial context setup failure 2018-01-12 08:32:33 +09:00
Sukchan Lee 8753879a93 Oops! remove unneeded code 2018-01-12 08:29:25 +09:00
Sukchan Lee f41559c55f fix the bug releated the handler for UE context release request(transport:1) 2018-01-12 08:25:30 +09:00
Sukchan Lee 3503fda431 clarify attach/tau/service reject interface 2018-01-11 22:25:35 +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 1498f6c015 GTP ECHO-REQ/RSP log level chaged to 5 2018-01-11 14:39:12 +09:00
Sukchan Lee 7a771173bc refine log 2018-01-11 14:06:02 +09:00
Sukchan Lee 9ec0867941 log refine for GTP 2018-01-11 13:42:33 +09:00
Sukchan Lee f360d20f01 PCRF(RAR) message is done 2018-01-10 23:41:56 +09:00
Sukchan Lee 2059341d4f Diameter Gx Code Refine 2018-01-10 22:09:08 +09:00
Sukchan Lee 58f501d397 For IMS, WebUI behavior is changed.
If Flow is not added in PCC_Rule, this PCC_Rule will not be installed in PGW.
In this case, AF function will give the Flow Description.
If Rx(Media-Type) is set to "AUDIO" type, PCC_Rule(QCI=1) will be associated,
And then, the PCC_Rule will be installed in PGW
2018-01-10 21:44:23 +09:00
Sukchan Lee e24856eb0e GX RAR/RAA(PGW-PCRF) is added 2018-01-10 16:06:19 +09:00
Sukchan Lee 0a490cf819 MME/HSS diameter code refine 2018-01-10 14:15:00 +09:00
Sukchan Lee b25082cb06 PGW/PCRF diameter code refine 2018-01-10 12:45:58 +09:00
Sukchan Lee 60b82c75e6 fix linux compile error 2018-01-09 14:11:21 +00:00
Sukchan Lee 1f0452d37d add RAR handler in PGW 2018-01-09 23:06:48 +09:00
Sukchan Lee e9da026495 PCRF RX/GX session association 2018-01-09 22:53:09 +09:00
Sukchan Lee b99c266533 P-CSCF simulator adds Frame-IP-Address and Frame-IPv6-Prefix.
This is used to test PCRF Rx/Gx dimaeter session assoication
2018-01-09 21:25:52 +09:00
Sukchan Lee b80b295af4 if eNB initiated UE Context Release Request with Transport Error, MME sends NAS UE Context Release Command with NAS detach cause 2018-01-09 18:02:56 +09:00
Sukchan Lee a15b60024b ignore delete session in UEContextReleaseComplete
if MME re-started, there is no MME_UE context. In this case, we ignore
delete sessoin process in UEContextReleaseComplete
2018-01-09 17:38:06 +09:00
Sukchan Lee 1a9ba2680b change assert to warning when PGW cannot find subnet 2018-01-09 17:04:10 +09:00
Sukchan Lee 06a4a09d08 gtp code refine 2018-01-09 16:37:05 +09:00
Sukchan Lee 20f45a455e name changes for gtp_connect_to_node to gtp_add_node_with_teid 2018-01-09 15:25:49 +09:00
James Park 2406bf8d19 Fix bug : wrong assigment of gtp length in header 2018-01-08 20:14:59 -08:00
Sukchan Lee 13a06479a9 add hash for associating Gx/Rx interface by
Framed-IP-Address/Framed-IPv6-Address
2018-01-08 22:42:44 +09:00
Sukchan Lee 38e245d467 PCRF session state is added 2018-01-08 21:20:19 +09:00
Sukchan Lee e4397176cf support pcrf gx session maintained mode 2018-01-08 20:09:13 +09:00
Sukchan Lee 779d5e88d0 PCRF freeDiameter module disunite to Gx module and Rx module 2018-01-08 18:34:51 +09:00
Sukchan Lee e95dcf192d refine pgw freeDiameter code 2018-01-08 09:54:19 +09:00
Sukchan Lee 69a880b5fe support session state maintained mode in PGW freeDiameter 2018-01-07 21:56:44 +09:00
Sukchan Lee 64268232b1 Session-Id diameter encoder is added 2018-01-07 21:29:53 +09:00
Sukchan Lee 5ca708deab fix the bug for diameter session memory management 2018-01-07 15:26:17 +09:00
Sukchan Lee 229a56f85d for debugging subnet assert, add packet log in this situation 2018-01-06 14:25:05 +09:00
Sukchan Lee 5a96013bf8 Merge branch 'master' of https://github.com/acetcom/nextepc 2018-01-06 01:00:15 +00:00
Sukchan Lee 8e8d0c2978 add assert log 2018-01-06 00:59:42 +00:00
Jihoon Brandon Lee a13f21b115 bugfix on length check of GTP echo 2018-01-05 12:44:43 -07:00
Sukchan Lee a630830f0c P-CSCF simualtor is mostly done 2018-01-06 00:23:26 +09:00
Sukchan Lee cd45d6d2c5 remove AA-Request/Answer in PGW. All P-CSCF stuff is moving to testrx 2018-01-05 23:59:14 +09:00
Sukchan Lee 9e8ced5835 Apply new freeDiameter configuration to all other daemon(HSS, PGW, PCRF) 2018-01-05 23:31:30 +09:00
Sukchan Lee f945b483e8 MME freeDiameter configuration is done 2018-01-05 23:03:41 +09:00
Sukchan Lee add2145851 freeDiameter Config Re-factoring!
For P-CSCF simulation, it is not good if freeDiameter configuartion is
needed. As such, we merged this configuration is in the nextepc
configuration.
2018-01-05 16:25:02 +09:00
Sukchan Lee 65e1a8dbac fix the linux compile warning 2018-01-04 13:10:06 +00:00
Sukchan Lee 9d14f5e89d fix the bug the unlimited loop.
if the system is not supported SCTP, mme daemon is to be unlimited loop.
2018-01-04 22:03:59 +09:00
Sukchan Lee 9675c47a10 improve testrx code 2018-01-04 21:22:21 +09:00
Sukchan Lee b8ef9e9e2a Header Refactoring 2018-01-04 20:38:22 +09:00
Sukchan Lee 1a3f5cf86e add AA Request/Answer Sample code 2018-01-04 12:57:00 +09:00
Sukchan Lee 560204ab46 Router Advertisement Destination IP address changes
from ff::1 to UE IP Address(e.g. cafe::2)
2018-01-04 08:51:07 +09:00
Sukchan Lee 9544a79c2c P-CSCF IP address configuration is added in PGW 2018-01-03 15:29:48 +09:00
Sukchan Lee 4501a76d96 UE Time Zone is added in Create Session Request(GTP) and CCR(Gx)
I'm not sure where this value should be configured.
At this point, MME estimate UE Time Zone from MME's system.
From this, MME generates UE TIme Zone for Create Session Request.
PGW is just forward this value to the PCRF using CCR(Gx) Message.
2018-01-02 22:14:28 +09:00
Sukchan Lee 408ce293de if initial context setup failure is received, MME_UE context is deleted. 2018-01-02 18:30:17 +09:00
Sukchan Lee 18859c1203 if TAI list is not properly configured, MME sends Attach Reject or TAU
Rejct message.

Attach/TAU Reject contents
 - S1ap_CauseNas_unspecified
 - EMM_CAUSE_TRACKING_AREA_NOT_ALLOWED
 - ESM_CAUSE_PROTOCOL_ERROR_UNSPECIFIED if session is created.
2018-01-02 18:18:45 +09:00
Sukchan Lee 8081ea3044 fix the bug 2017-12-20 13:16:16 +09:00
Sukchan Lee a864b36f44 Default APN is added 2017-12-19 17:05:54 +09:00
Sukchan Lee 385d73e17a IND + 1 from Spec 33.102 C.3.4 2017-12-18 18:21:54 +09:00
Sukchan Lee d85f546de2 use zero amf in re-synch 2017-12-18 17:28:22 +09:00
Sukchan Lee 65088e690d fix the reboot bug in package scenario 2017-12-18 16:02:28 +09:00
Sukchan Lee 649fd75b14 Authentication failure(Resynch failure) is added 2017-12-18 00:01:07 +09:00
Sukchan Lee 487a4eb155 remove lock in select_loop dispatcher 2017-12-17 10:02:08 +00:00
Sukchan Lee 1131166988 remove sctp warning 2017-12-17 09:40:29 +00:00
Sukchan Lee cdaf1c0468 router advertisement use link-local-address in source ip 2017-12-17 07:25:36 +00:00
Sukchan Lee 8d3330cb79 multiple device is added 2017-12-17 06:36:50 +00:00
Sukchan Lee 60804c79d6 subnet is tested 2017-12-17 05:50:24 +00:00
Sukchan Lee 0cf2319b9c pgw dev/subnet context is added 2017-12-17 04:33:12 +00:00
Sukchan Lee f0f5a5ce31 refine code 2017-12-17 11:22:12 +09:00
Sukchan Lee 0c3054652d refine code 2017-12-17 02:07:04 +00:00
Sukchan Lee d7696f4fa6 fix the header type 2017-12-16 09:15:28 +00:00
Sukchan Lee f38587595f SLAAC is added 2017-12-16 09:06:34 +00:00
Sukchan Lee 04d3753f1c fix the jumbo frame bug 2017-12-16 13:26:34 +09:00
Sukchan Lee ba5687de1b fix the bug ipv6 header decoder 2017-12-16 13:25:09 +09:00
Sukchan Lee 52b2125538 IPv6 Header Length calculation 2017-12-16 12:44:19 +09:00
Sukchan Lee 70286b3fd0 parameter.multicast, parameter.no_slaac is added 2017-12-16 09:24:27 +09:00
Sukchan Lee 7898fb4ae3 IPv6 Multicast is added 2017-12-15 22:42:52 +09:00
Sukchan Lee b63f92fc20 Fix the bug for TFT IPv6 2017-12-15 12:51:51 +00:00
Sukchan Lee d0530877c2 TFT rule for IPv6 is added 2017-12-15 20:53:53 +09:00
Sukchan Lee 08b88eba73 IPv6 Classification is initially updated 2017-12-15 09:13:14 +00:00
Sukchan Lee cc762f3c00 WebUI PGW IP setting is added 2017-12-15 13:47:57 +09:00
Sukchan Lee 634de8c788 IPv6 DNS is added 2017-12-15 10:46:58 +09:00
Sukchan Lee 94c2c6ca7d message format creation bug is fixed related prefixlen 2017-12-15 09:41:54 +09:00
Sukchan Lee ae57423eab IPv6 Loopback TUN done 2017-12-14 13:47:13 +00:00
Sukchan Lee 46c699143a IPv6 Control Plane done 2017-12-14 21:42:19 +09:00
Sukchan Lee a74c9be2e6 PGW IP Pool bug is fixed 2017-12-14 18:30:12 +09:00
Sukchan Lee bd9f1a74a4 IPv6 loopback is tested 2017-12-14 06:23:23 +00:00
Sukchan Lee 6cd9e965a1 Tun IPv4 is done 2017-12-13 12:20:02 +09:00
Sukchan Lee 3fc397c9f2 pool allocation is changed with new method 2017-12-13 12:02:51 +09:00
Sukchan Lee 2f407de0d4 new pool structure is implemented for supporting IPv6 and APN 2017-12-13 11:14:00 +09:00
Sukchan Lee 54636e1843 IPv4 Pool done 2017-12-12 23:50:38 +09:00
Sukchan Lee 95b2f5a951 minor update 2017-12-11 09:00:44 +00:00
Sukchan Lee cb4893c36b Multiple TAI List done 2017-12-11 16:55:11 +09:00
Sukchan Lee 5551ecf6cd TAI List encoding done in Attach Accept 2017-12-11 16:08:17 +09:00
Sukchan Lee 521d7877b4 Multiple TAI list
Configuration Parer, Message Build is added
2017-12-11 00:01:02 +09:00
Sukchan Lee 178678c216 tai update 2017-12-09 23:25:29 +09:00
Sukchan Lee ce801ee218 `dev` is added in the configuration 2017-12-09 23:07:19 +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 bd424f3a08 trace update 2017-12-08 14:48:48 +09:00
Sukchan Lee a0599f7c2d S1AP MAC is done 2017-12-08 14:29:35 +09:00
Sukchan Lee 793b06ce33 Mac OS X S1AP improved 2017-12-08 12:43:35 +09:00
Sukchan Lee 44fed77ac4 all address format is changed to support IPv4/IPv6 dual stack 2017-12-07 17:40:15 +09:00
Sukchan Lee ceda682290 intermediate 2017-12-07 17:23:45 +09:00
Sukchan Lee 3e05717180 transport layer convertor is added 2017-12-07 16:51:21 +09:00
Sukchan Lee 590630b839 ip_t is introduced 2017-12-07 15:04:35 +09:00
Sukchan Lee 6d412139ef update gtp_f_teid_t 2017-12-07 14:48:25 +09:00
Sukchan Lee 48cdb1e390 merge 3gpp library to core library 2017-12-07 14:37:58 +09:00
Sukchan Lee 03a6bb7902 SGW/PGW GTP-U is added 2017-12-07 13:27:17 +09:00
Sukchan Lee f8f18eb6f5 change gtp_send to core_sendto for echo reponse 2017-12-06 23:48:54 +09:00
Sukchan Lee d2dcf4a877 GTP-U reomte done 2017-12-06 23:42:37 +09:00
Sukchan Lee 397f37cbb7 refine it 2017-12-06 20:52:32 +09:00
Sukchan Lee 35f35458c7 refine it 2017-12-06 20:44:30 +09:00
Sukchan Lee 82b84d760c refine it 2017-12-06 17:58:38 +09:00
Sukchan Lee 10becbb998 remove reduant variable in the context 2017-12-06 12:28:24 +09:00
Sukchan Lee 1c587edff5 no_ipv4, no_ipv6, prefer_ipv4 is tested 2017-12-06 12:13:56 +09:00
Sukchan Lee 9d3049de00 remove POINTTOPOINT interface in probe ip address 2017-12-05 14:30:09 +00:00
Sukchan Lee 4591209759 PGW GTP-C server is added 2017-12-05 21:34:17 +09:00
Sukchan Lee a747f91b39 SGW GTP-C server is added 2017-12-05 21:11:36 +09:00
Sukchan Lee 1ab90bcef4 name changes 2017-12-05 20:42:14 +09:00
Sukchan Lee a7690e395b refine it 2017-12-05 20:39:15 +09:00
Sukchan Lee 1a592f4d51 PGW GTP client is added 2017-12-05 14:56:47 +09:00
Sukchan Lee c4c03da77f refine 2017-12-05 14:27:24 +09:00
Sukchan Lee 5663cd87c1 SGW GTP-C Client is added 2017-12-05 13:28:34 +09:00
Sukchan Lee fe921e0c2f refine ipv6 2017-12-05 10:50:31 +09:00
Sukchan Lee 63fb6625b3 multiple addresss is added 2017-12-05 00:16:34 +09:00
Sukchan Lee 609aa4558f name changes 2017-12-03 22:25:31 +09:00
Sukchan Lee 97c7ad63b6 fix the PGW peer configuration bug 2017-12-03 21:34:39 +09:00
Sukchan Lee a6d23971cd All MME GTP configuration is done 2017-12-03 17:00:11 +09:00
Sukchan Lee 17b6a013b8 parameter.prefer_ipv4 is implemented 2017-12-03 16:31:53 +09:00
Sukchan Lee f86839eb7b configuration is changed from the discussions 2017-12-03 12:02:56 +09:00
Sukchan Lee 2c00f28b50 MME GTP Client is done 2017-12-02 15:49:03 +09:00
Sukchan Lee ce5b65b4df gtp node is added 2017-12-02 14:17:32 +09:00
Sukchan Lee 3ae058dc63 gtp_node_t memset is added 2017-12-02 12:01:43 +09:00
Sukchan Lee 4a2604b52c name changes 2017-12-02 10:50:24 +09:00
Sukchan Lee 8add407715 fix the bug 2017-12-02 00:49:58 +09:00
Sukchan Lee c300d2b99a MME GTPC Server done 2017-12-02 00:44:07 +09:00
Sukchan Lee 8287db900c update it 2017-12-01 22:04:51 +09:00
Sukchan Lee 7e0ce073fb mme gtp config is added 2017-12-01 21:47:15 +09:00
Sukchan Lee 5a818eb8cd gtp_node is added 2017-11-30 20:13:15 +09:00
Sukchan Lee d07b8f1e01 fix compile error 2017-11-29 05:58:26 +00:00
Sukchan Lee dd15dacb18 YAML project is done 2017-11-29 14:44:14 +09:00
Sukchan Lee e7d3d2f4da pgw is done 2017-11-29 14:24:55 +09:00
Sukchan Lee 60ac1dbfe6 hss/pcrf/sgw yaml is done 2017-11-29 09:51:34 +09:00
Sukchan Lee 17b360bc18 mme yaml config is done 2017-11-29 09:41:29 +09:00
Sukchan Lee f1ac8b853b continue to parsing YAML 2017-11-29 00:53:21 +09:00
Sukchan Lee e1e907bad7 gummei is finished with YAML 2017-11-29 00:32:46 +09:00
Sukchan Lee c4b86f5ee9 array is added 2017-11-28 13:44:44 +09:00
Sukchan Lee 1528568bb8 update it 2017-11-27 23:53:47 +09:00
Sukchan Lee 0b78387d7f sample code. 2017-11-27 20:23:16 +09:00
Sukchan Lee aaa57d3008 name changes 2017-11-27 15:45:33 +09:00
Sukchan Lee 8b5ae91547 context uses YAML config. 2017-11-27 14:58:53 +09:00
Sukchan Lee 8e40a0eb64 initial code for moving configuration file format to the YAML 2017-11-27 10:35:08 +09:00
Sukchan Lee 73fd1a8d99 update it 2017-11-25 14:52:02 +00:00
Sukchan Lee 40c99a8c13 name changes done 2017-11-25 23:41:00 +09:00
Sukchan Lee 1e68d47927 name changes 2017-11-25 23:30:47 +09:00
Sukchan Lee 92fc35861f name changes 2017-11-25 23:28:34 +09:00
Sukchan Lee 7d7e9f154b Mac OS X IPv6 bug is fixed 2017-11-25 09:58:04 +09:00
Sukchan Lee b34d8b931e configuration is updated 2017-11-24 16:08:26 +00:00
Sukchan Lee 61432a3070 mme->s1ap_sock is removed 2017-11-25 00:52:07 +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 7025491846 add sock type in enb context 2017-11-24 10:03:48 +00: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 227cae5762 S1AP changes from net_lib to new socket library 2017-11-23 02:53:33 +00:00
Sukchan Lee 65b7008378 fix the tun driver bugs 2017-11-23 00:42:28 +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 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 7151a98f41 GTP Peer Node finding method is changed.
Before : received IP address from UDP socket
After : Based on TEID. Initially, finding from Sender F-TEID
2017-11-21 14:52:07 +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 a0e6cc3996 Oops! missing files 2017-11-07 14:28:46 +00: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 53a86f30cc remove base 2017-11-06 13:42:34 +00:00
Sukchan Lee e63fa44fff all library is changed to shared library 2017-11-06 13:32:37 +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 5cc56ab353 change shared library 2017-11-05 14:57:19 +00:00
Sukchan Lee fbe3e3685f debug log change to trace 2017-11-02 16:07:40 +09:00
Sukchan Lee 081f8c8808 MongoDB re-connect using systemd 2017-10-31 12:29:39 +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 c8ec3702d0 update debian rule for override_dh_auto_test
VM(like OBS) may not support SCTP
At this point, I disabled SCTP-needed test code.
2017-10-28 10:09:44 +00:00
Sukchan Lee e367b00d2c do debian packaging (stage-1) 2017-10-27 03:15:14 +00:00
Sukchan Lee 6d99061b17 permit even though SGW fails to send gtp end marker 2017-10-25 19:04:35 +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 67827d5ea4 change assert to d_error for log file permission problem 2017-10-25 14:43:54 +09:00
Sukchan Lee 20800c611b HSS update for supporting OPc 2017-10-25 14:37:12 +09:00
Sukchan Lee 0897c36947 logrotate is now working. 2017-10-24 20:52:58 +09:00
Sukchan Lee 6f5ec19388 PID file is created for logrotate 2017-10-24 15:55:28 +09:00
Sukchan Lee 32b7183483 thread delete location is changed.
See [the issue discussion](https://github.com/sctplab/usrsctp/issues/179)
2017-10-21 07:34:12 +09:00
Sukchan Lee 2223dfef0e remove hard-corded code 2017-10-20 17:19:27 +09:00
Sukchan Lee 7b046c75b2 add usrsctp_finish 2017-10-20 16:32:57 +09:00
Sukchan Lee c2d962d4d1 rollback privous commit 2017-10-20 15:52:30 +09:00
Sukchan Lee 34270825a7 fix the bug usrsctp_finish() 2017-10-20 15:46:06 +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 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 c3ffd52771 mme_enb_t context structure is changed using hash table.
I'll remove net_sock_t->app_index if poosible.
2017-10-18 14:05:22 +09:00
Sukchan Lee 0eb9ae4792 fix the compile error 2017-10-17 23:04:24 +09:00
Sukchan Lee b287a3b022 fix the bug multiple tun driver 2017-10-17 13:14:10 +09:00
Sukchan Lee 83a21c5840 configuration is changed 2017-10-17 13:04:45 +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 47bad3794e PGW IP assign rule is updated 2017-10-15 20:33:20 +09:00
Sukchan Lee fb566fd94c fix the compile error for high GCC version 2017-10-15 01:18:45 +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 3613b27ca7 MME/PGW Configuration is also changed to support One SGW IP assign
Control Plane Test Done.
Data Plan Test is Needed.
2017-10-13 21:31:49 +09:00
Sukchan Lee 4672ee559f One IP assign for SGW
Configuration is changed
Remove S11_XXXX, S1U_XXXX, S5C_XXXX, S5U_XXXX

Introduce GTPC_IPV4, GTPU_IPV4
2017-10-13 21:13:39 +09:00
Sukchan Lee 5d6e63c20e Reduce SGW IP assign to One.
Initially, I've started to update Control Plane related to this issue.
Context Accessing is re-arraged based Thread for finding GTP Node Context.

[MME]
mme_sgw_t : SM thread(Control-Plane)

[SGW]
sgw_mme_t : Net thread(Data-Plane)
sgw_pgw_t : SM thread(Control-Plane)

[PGW]
pgw_sgw_t : Net thread(Data-Plane)
2017-10-13 14:41:55 +09:00
Sukchan Lee 4245502ae2 Fix the bug under mongo c driver v1.5
I misunderstand the interface when querying with projection
when the version of Mongo C Driver is lower than 1.5.

For reference, in case of Ubuntu 16.04, Mongo C Driver v1.3.1
will be installed, so when using 'Dedicated Bearer', v0.1.1
should be used because it does not work normally.
2017-10-11 06:08:19 +00:00
Lee Sukchan 22ec19066b Porting Done for CentOS 2017-09-29 12:22:03 +00:00
Sukchan Lee c61a704676 done for freeDiameter using autotools 2017-09-29 10:10:55 +09:00
Sukchan Lee 36dba9ddf9 supports old version mongoc library such like 1.3.1 2017-09-26 09:19:22 +09:00
James Park 87048f7ff4 Update pti of session when received pdn_connectivity_request 2017-09-25 13:59:08 -07:00