Commit Graph

289 Commits

Author SHA1 Message Date
Sukchan Lee 636170e0da Review ogs_expect() (#314) 2019-11-30 16:45:09 +09:00
Sukchan Lee c8bcfffe2e [#258] All GTP message is fixed not to crash 2019-11-15 23:56:55 +09:00
Sukchan Lee cdbbbc500b [#258] Test done for receiving unknown TEID 2019-11-11 23:09:35 +09:00
Sukchan Lee b65d76d0b2 [#258] Support for receiving unknown TEID 2019-11-07 23:07:29 +09:00
Sukchan Lee 142763c280 Rename Project to Open5GS
- Change BuildTool to Meson
 - Many BUGS Fixed
2019-10-27 17:41:14 +09:00
Sukchan Lee 3c8af69805 Re-factoring the all library 2019-09-13 21:07:47 +09:00
Sukchan Lee 8cf28d6e16 fix indentation 2019-07-20 15:20:52 +09:00
Sukchan Lee 0bbc5124e7 rename filename 2019-07-06 22:52:09 +09:00
Harald Welte 6fc412dba7 fix 'no rule to make target "-L/usr/local/lib" compilation errors
When building (at least) on Debian unstable, I get the following type of errors:

make[4]: Entering directory '/space/home/laforge/projects/git/nextepc/lib/base'
make[4]: *** No rule to make target '-L/usr/local/lib', needed by 'libbase.la'.  Stop.

The cause seems to be that some target_DEPENDENCIES includes
@OGSCORE_LIBS@ or @OGSCRYPT_LIBS@, whcih both expand to "-L${libdir}
-lpthread -logscore-1.0" as per the pkg-config files.

I believe DEPENDENCIES should not list external library dependencies,
but only dependencies inside the repository.

Closes: #210
2019-07-02 13:58:40 +08:00
Sukchan Lee 058ebc747d Follow OGSlib updates 2019-06-22 10:14:01 +09:00
Sukchan Lee 75a18a30cf Add missing files 2019-06-11 18:28:57 +09:00
Sukchan Lee a32465ed07 Rename library 2019-06-11 18:28:25 +09:00
Sukchan Lee 57af70fab9 refine GTP interface (#190) 2019-06-09 00:50:02 +09:00
Sukchan Lee 60dc4402c6 gtp_path interface changes 2019-06-08 23:42:12 +09:00
Sukchan Lee d41ce4d8b1 ogs_socknode_new() interface changed 2019-06-05 22:07:37 +09:00
Sukchan Lee 8dc5211448 update it 2019-06-05 21:21:19 +09:00
Sukchan Lee 24da20bdc8 GTP interface changes 2019-06-05 21:13:18 +09:00
Sukchan Lee 32c9c512d8 socknode includes pollset 2019-05-31 23:22:22 +09:00
Sukchan Lee 2267a59cc3 UDP interface is changed 2019-05-30 21:14:54 +09:00
Sukchan Lee 338f359285 apply new ogslib interface 2019-05-30 19:58:27 +09:00
Sukchan Lee 3da632dd1e rename sa_family and sin_port 2019-05-30 13:50:53 +09:00
Sukchan Lee bd1c505024 apply socknode interface changes 2019-05-29 21:05:42 +09:00
Sukchan Lee 581f4feb97 struct name update 2019-05-28 17:46:19 +09:00
Sukchan Lee 7c1c320141 gtp interface update 2019-05-28 14:47:06 +09:00
Sukchan Lee 9be8d1fd00 change new struct definition 2019-05-26 16:10:06 +09:00
Sukchan Lee 0ebd85f364 Integration with OGSLib 2019-04-27 23:54:30 +09:00
Sukchan Lee 8c68560ccd fix the timezone in EMM & GTP encoding 2019-01-20 15:36:11 +09:00
Sukchan Lee aea1d83026 Create mme_sgw_t and mme_pgw_t for configuration (#100) 2018-09-23 13:16:40 +09:00
Sukchan Lee 550a606306 Update error message if SGW is not running (#59) 2018-05-14 21:46:19 +09:00
Sukchan Lee 94145fec62 fix the bug for finding indirect tunnel 2018-01-24 11:32:46 +09:00
Sukchan Lee ed92c30b26 adjust trace_level 2018-01-23 17:11:21 +09:00
Sukchan Lee 610292fb5c dp log added 2018-01-23 16:48:40 +09:00
Sukchan Lee 66d71924ce update trace level 2018-01-23 16:10:46 +09:00
Sukchan Lee 35a95fd4ac update trace level 2018-01-23 15:38:07 +09:00
Sukchan Lee e2f1872ea7 loglevel is adjusted 2018-01-17 22:55:52 +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 1498f6c015 GTP ECHO-REQ/RSP log level chaged to 5 2018-01-11 14:39:12 +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
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 d0530877c2 TFT rule for IPv6 is added 2017-12-15 20:53:53 +09:00
Sukchan Lee b04c7393f2 fix the bug 2017-12-09 09:50:12 +00:00
Sukchan Lee 9b5234bd5f change link local address 2017-12-08 20:25:34 +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 717439cafa remove old_addr 2017-12-07 13:47:07 +09:00
Sukchan Lee 03a6bb7902 SGW/PGW GTP-U is added 2017-12-07 13:27:17 +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 82b84d760c refine it 2017-12-06 17:58:38 +09:00
Sukchan Lee 1c587edff5 no_ipv4, no_ipv6, prefer_ipv4 is tested 2017-12-06 12:13:56 +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 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 410133bf68 core_copyaddrinfo is introduced 2017-12-04 19:45:02 +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 17b6a013b8 parameter.prefer_ipv4 is implemented 2017-12-03 16:31:53 +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 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 40c99a8c13 name changes done 2017-11-25 23:41:00 +09:00
Sukchan Lee 92fc35861f name changes 2017-11-25 23:28:34 +09:00
Sukchan Lee 61432a3070 mme->s1ap_sock is removed 2017-11-25 00:52:07 +09:00
Sukchan Lee 685272fce8 improve usrsctp 2017-11-23 23:01:49 +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 5361934469 change the libbase to lib3gpp 2017-11-07 14:20:35 +00:00
Sukchan Lee 3778e47bdc add version-info in shared library
I'll just set all version to 1:0:0 at this point
2017-11-07 12:41:20 +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 1b0536dca0 change all library from static to shared library 2017-11-05 17:13:50 +09:00
Sukchan Lee 5663f64cbb timer library update 2017-09-18 16:18:01 +09:00
James Park bd6d78a2f8 Read data from socket though pkbuf_alloc failed to exit from infinite
select()
2017-09-15 17:26:21 -07:00
Sukchan Lee c6967648fa update it 2017-09-14 21:46:56 +09:00
Sukchan Lee 7a324ec8e9 delete indirect tunnel done.. 2017-09-14 14:18:47 +09:00
Sukchan Lee 0bdd02227c add Create Indirect Data Forward Tunnel Request 2017-09-13 16:22:39 +09:00
Sukchan Lee b65256152c add 32768 packet buffer for create indirect data forward message 2017-09-13 12:46:51 +09:00
Sukchan Lee fb7ae93b07 fix the bug for ping.
gtpv2c_header_t and gtp_header_t(v1) is merged to gtp_header_t.
In this case, sizeof(gtp_header_t) is 12 because the structure has an
attribute of gtpv2c header something like sequence number.

As such, we should not use sizeof(gtp_header_t) directly.
Use GTPV1U_HEADER_LEN and GTPV2C_HEADER_LEN.
2017-09-07 14:10:52 +09:00
Sukchan Lee 886ef5a747 add TFT(Packet Filter) in Create Bearer Request 2017-09-06 15:02:43 +09:00
Sukchan Lee 1c8a59d3b4 Create Bearer Request (SGW->MME) 2017-09-04 20:06:54 +09:00
Sukchan Lee abbd8fa869 Create Bearer Request (PGW->SGW) 2017-09-04 19:20:06 +09:00
Sukchan Lee af8b6ff212 missing 2017-09-02 01:49:37 +09:00
Sukchan Lee 3bef0ac82f All GTP re-archi done 2017-09-02 01:48:09 +09:00
Sukchan Lee 6ddaa2a91e socket descriptor is in GTP Node structure for simple interface 2017-09-02 00:11:49 +09:00
Sukchan Lee 021e3ee963 MME-SGW GTP-C TEID is assigned per-UE 2017-09-01 21:35:45 +09:00
Sukchan Lee c44dc0a4c4 update it 2017-09-01 13:51:31 +09:00
Sukchan Lee b89779a301 update it 2017-09-01 09:36:55 +09:00