Commit Graph

873 Commits

Author SHA1 Message Date
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