Commit Graph

1332 Commits

Author SHA1 Message Date
Sukchan Lee 2b2c51722f fix the 5GC test program 2020-07-29 23:26:12 -04:00
Sukchan Lee 94b44a3dd0 Fix the AMF bug for double free 2020-07-28 22:35:43 -04:00
Sukchan Lee 7071d32518 Message Wait Timer default set to 2 seconds [#512] 2020-07-27 00:20:01 -04:00
Sukchan Lee 24a4df3691 fix SMF crash [#512] 2020-07-26 23:10:53 -04:00
Sukchan Lee 0cabf9de11 Synchronize all timers [#512] 2020-07-26 21:02:40 -04:00
Sukchan Lee 1d61c94f54 Oops! change debug level 2020-07-26 14:56:34 -04:00
Sukchan Lee 06a5566128 Add NRF debug/trace for finding crash [#512] 2020-07-26 14:54:30 -04:00
Sukchan Lee ff56388b3e [#510] fix the PFD management request 2020-07-23 13:47:41 -04:00
Sukchan Lee 96396739af [#511] 5GC Re-registration bug is fixed 2020-07-23 11:21:29 -04:00
Sukchan Lee 661da4e034 5GC UPF selection is added 2020-07-19 21:42:58 -04:00
Sukchan Lee 9b3176ca4a QFI is added 2020-07-17 23:29:45 -04:00
Sukchan Lee 4dd113ac7b Add git version 2020-07-13 00:18:29 -04:00
Sukchan Lee fdfce08b68 Fix the compile error [#499] 2020-07-10 14:59:29 -04:00
Sukchan Lee f78ca3c483 remove unnecessary ASN 2020-07-09 18:43:55 -04:00
Harald Welte f42b45a061
fix compilation warnings/errrors with microhttpd >= v0.97.1 (#498)
Unfortunately upstream microhttpd has changed their callback function
prototypes in an API-incompatible way.  At least if you build with
-Werror, gcc will fail due to non-matching prototypes.

Work around this by using a typedef which uses the proper return type
depending on the microhttpd version used.

Closes: #497

Co-authored-by: Harald Welte <laforge@osmocom.org>
2020-07-09 17:56:48 -04:00
Sukchan Lee 7bb1c7055f Remove ACK in configuration update [#487] 2020-07-09 17:34:41 -04:00
Sukchan Lee 997b716cda Change asn1c from velichkov to mounse07410 [#492] 2020-07-09 16:43:56 -04:00
Sukchan Lee a71d2ee3db refine SGW/UPF selection code 2020-07-09 01:38:09 -04:00
Sukchan Lee c7d87c9180 Fix the SMF crash bug [#487] 2020-07-03 23:14:48 -04:00
Sukchan Lee 3b0db8c384 Fix the bug for Release-16 2020-07-03 01:03:13 -04:00
Sukchan Lee d9743286c5 Add PDU Session Release [#488] 2020-07-02 01:50:23 -04:00
Sukchan Lee fae342ecce Apply Release-16 in 4G EPC(S1AP,NAS,GTP) 2020-07-01 00:22:55 -04:00
Sukchan Lee 5eabfc8275 Fix to decode configuration update complete [#487] 2020-06-30 08:29:18 -04:00
Sukchan Lee 3c6711c9c8 If HSS/UDR gets MSISDN, AMF/MME -> SMF/SGW [#464] 2020-06-29 22:12:24 -04:00
Sukchan Lee ca4ee27e84 more bug is fixed 2020-06-27 00:46:06 -04:00
Sukchan Lee 01b69e046f Bug Fixed for 5GC 2020-06-25 22:44:28 -04:00
Sukchan Lee 6e84ac670d Bug fixed for 5G core 2020-06-25 00:37:29 -04:00
Sukchan Lee d652075ab9 a couple of bug is fixed 2020-06-24 00:33:10 -04:00
Sukchan Lee a7280c2fcb Add a guide if SMF/PGW cannot find subnet [#480] 2020-06-23 12:50:23 -04:00
Sukchan Lee 300123d990 Bug fixed for 5GC 2020-06-23 00:35:41 -04:00
Sukchan Lee b35c2277be simple 5GC registration is done 2020-06-21 23:10:54 -04:00
Kenny Barlee bcd02b1f33
MME: select SGW by RR,TAC,ENB_ID || SMF: select PFCP associated UPF by RR,TAC,APN,ENB_ID (re-worked) (#470)
* MME: select SGW by RR,TAC,ENB_ID
and enable round robin inside each option

* SMF: select PFCP associated UPF by RR,TAC,APN,ENB_ID
and enable round robin inside each option
2020-06-19 00:36:02 -04:00
Sukchan Lee c54e85c5c0 Session-AMBR changes required field in WebUI 2020-06-17 21:43:16 -04:00
Sukchan Lee dbee687a75 Add only one 5GC scenario (call-flow) 2020-06-17 01:22:28 -04:00
Sukchan Lee 72370ff0b2 Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
Sukchan Lee 6ef5a746e5 NGSetup is added 2020-05-25 12:15:22 -04:00
Sukchan Lee 6f6800b52e NGAP is added 2020-05-22 22:24:48 -04:00
Sukchan Lee 3c3aec340e Fix the compile error [#442] 2020-05-21 23:11:27 -04:00
Sukchan Lee a9eaed18aa NAS-5GS is added 2020-05-21 21:24:21 -04:00
Sukchan Lee 1fd3f48860 Squashed commit of the following:
Fix the wrong format in nf-instance GET method
2020-05-18 23:07:41 -04:00
Sukchan Lee d0673e3066 Added NRF 2020-05-18 17:00:37 -04:00
Sukchan Lee 4e01d270eb Use ogs_pool_alloc in diameter state #420 2020-04-27 13:08:24 -04:00
Sukchan Lee ae75f43a88 Initial proposal CUPS using PFCP 2020-04-26 15:36:05 -04:00
Sukchan Lee f0a405f17c Change MIT License for NAS message (#411) 2020-04-24 08:52:14 -04:00
Sukchan Lee c6ea286fe2 fix the PGW segfault on DeleteSessionRequest (#417) 2020-04-19 12:27:52 -04:00
Sukchan Lee 5009876c16 P-GW respond to DIAMETER error from PCRF(#403) 2020-04-18 13:07:06 -04:00
Sukchan Lee 3feddd5424 Fix P-GW crashed without PCRF (#402) 2020-04-17 21:36:26 -04:00
Sukchan Lee a1569e5d86 Add optional function for TAI or ECGI(#399) 2020-04-09 10:52:21 -04:00
Sukchan Lee 557d9532b0 Add GTPv2 ECHO REQ/RSP Message (#378)
This is only handling ECHO REQ/RSP message.
The related function is not implemented at this point.
2020-03-25 17:43:02 -04:00
Sukchan Lee 1e56141d1e Add socknode_add() [#367] 2020-02-28 20:26:32 +09:00
Sukchan Lee 5d99df4036 Support all TFT code (#358) 2020-01-28 18:26:10 +09:00
Sukchan Lee f3dd605c67 Not to delete transaction for GTP retry [#342] 2020-01-07 20:01:36 +09:00
Sukchan Lee e35bc4cc0d Fix the bug the GTP xact during Request Duplicated 2020-01-01 13:02:22 +09:00
Sukchan Lee d191a5135e Add Bearer Resource Modification feature (#336) 2019-12-28 21:46:30 +09:00
Spencer Sevilla 324f3d158f add PCO options as TODOs. Closes #7 (#324) 2019-12-13 13:45:29 +09:00
Sukchan Lee 896ca50253 PFCP interface added, but not tested. 2019-12-07 13:17:00 +09:00
Sukchan Lee 4e2d7bf708 Add an initial code for PFCP 2019-12-01 21:40:52 +09:00
Sukchan Lee ce6d2c5889 Before CUPS, move GTP-TLV to core library
TLV library will be shared in GTP and PFCP
2019-12-01 20:46:53 +09:00
Sukchan Lee ed701ce90e [#314] further refined 2019-12-01 20:14:47 +09:00
Sukchan Lee 636170e0da Review ogs_expect() (#314) 2019-11-30 16:45:09 +09:00
Sukchan Lee 7b7acea59b Add IMEISV(MEI) in Create Session Request 2019-11-18 20:21:20 +09:00
Sukchan Lee 552305afe2 Add IMEISV Request 2019-11-18 19:34:28 +09:00
Sukchan Lee f3ccd71db0 [#263] map S6a diameter codes to EMM codes 2019-11-18 10:20:48 +09:00
Sukchan Lee 835b3c9851 [#306] Refine static IP addresses 2019-11-17 17:43:36 +09:00
Sukchan Lee c8bcfffe2e [#258] All GTP message is fixed not to crash 2019-11-15 23:56:55 +09:00
Spencer Sevilla b994a8efbf Adding support for static IP assignment in HSS (#306) 2019-11-14 14:30:19 +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 e55c7f9174 Upgrade freeDiameter version to 1.3.2 2019-11-02 15:52:48 +09:00
Sukchan Lee f2831ff1fd freediameter name changes 2019-11-01 13:17:49 +09:00
Sukchan Lee 9f1a5d19a4 Build with usrsctp source using MESON Subproject 2019-10-31 14:17:43 +09:00
Sukchan Lee 28f6d16ce2 refine usrsctp 2019-10-30 09:48:38 +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 2eac6d860a Merge branch 'laforge/fd-debug' of https://github.com/laf0rge/nextepc 2019-09-19 22:26:22 +09:00
Sukchan Lee 766c9ee36f link ogslib 2019-09-14 12:05:04 +09:00
Sulchan Lee d15365a398 fix the debian package error 2019-09-13 13:55:19 +00:00
Sulchan Lee 0acece1570 update it 2019-09-13 13:30:50 +00:00
Sukchan Lee 3c8af69805 Re-factoring the all library 2019-09-13 21:07:47 +09:00
Sukchan Lee b3f8bbb964 [#264] rollback ogs_expect_or_return() 2019-08-28 00:14:19 +09:00
Sukchan Lee 9c5f1334cb Use ogs_expect() 2019-08-27 22:51:30 +09:00
Sukchan Lee 848140bc90 [#264] change ogs_expect() 2019-08-27 22:47:06 +09:00
Sukchan Lee 6088be18c0 For linking OGSLib 2019-08-26 23:27:00 +09:00
Sukchan Lee 0aae608c5c Use the process interface instead of fork()
- CommandLine Options is also changed
 - PID File removed (Old-style daemon)
2019-08-25 20:15:20 +09:00
Sukchan Lee 3bd5ce8505 [#257] Add test code for s1ap_copy_ie 2019-08-24 23:49:29 +09:00
Sukchan Lee dff916551f [#256] Increse T3450 timeout to 6 sec 2019-08-18 00:35:04 +09:00
Harald Welte d575c32358 fd: Log source file name and line in all log messages 2019-08-15 18:49:06 +02:00
Sukchan Lee 929826218e Relink ogslib 2019-08-11 22:51:00 +09:00
Sukchan Lee a6f9ad52cb [#245] Add Configurable Memory Pool Size 2019-08-09 23:28:58 +09:00
Sukchan Lee 4eb26c4012 Merge branch 'master' of https://github.com/open5gs/nextepc 2019-08-04 14:12:40 +09:00
Sukchan Lee 4b7721ba48 Relink ogslib 2019-08-04 14:12:25 +09:00
Sukchan Lee 197a16bca8 [#243] freeDiameter build fail for bison+flex 2019-08-03 23:14:17 +09:00
Sukchan Lee 56ff495e7b [#236] Fix the number of PCO 2019-08-02 20:41:33 +09:00
Sukchan Lee 8813e0a175 [#236] MME does mandate Subscribed-RAU-TAU-Timer 2019-07-30 20:58:45 +09:00
Sukchan Lee a3c5dcd190 [#231] Fix the NextEPC die in MT-Fallback 2019-07-28 15:09:23 +00:00
Sukchan Lee 50e2872ff4 [#234] Set SCTP PPID to 46
At this point, SCTP encryption is not supported.
So, PPID 46 is hard-corded.
2019-07-28 22:43:54 +09:00
Sukchan Lee 2109d7f9de [#235] Oops! Diameter SCTP is now enabled in Test 2019-07-28 22:32:44 +09:00
Sukchan Lee dba1fcac5c Use asn1c library interface(CALLOC) for s1ap memory 2019-07-24 21:03:36 +09:00
Sukchan Lee 8cf28d6e16 fix indentation 2019-07-20 15:20:52 +09:00
Sukchan Lee a96398357f Update New OGSLib commit 2019-07-20 11:20:09 +09:00
Sukchan Lee f20a1a6e2b Add ErrorIndication for S1AP decode error (#218) 2019-07-12 16:22:40 +09:00
Sukchan Lee 80199a3c87 Update Document 2019-07-12 00:13:07 +09:00
Sukchan Lee 16a8bea96b [CSFB] MT in idle-mode 2019-07-08 18:15:19 +09:00
Sukchan Lee bc9cf078a5 [CSFB] Add MO-CSFB-Indication 2019-07-07 09:47:32 +09:00
Sukchan Lee 0bbc5124e7 rename filename 2019-07-06 22:52:09 +09:00
Sukchan Lee 4f7aa2d5b7 [SGsAP] Location Update Reject 2019-07-05 15:55:07 +09:00
Sukchan Lee 334c678995 Fix the Security Command Reject (#214) 2019-07-04 22:48:26 +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
Harald Welte 95091210ff freeDiameter: Fix compilation on Linux without SCTP_SEND_FAILED_EVENT
The fallback to the old SCTP API must be made if either SCTP_SEND_FAILED_EVENT
or SCTP_NOTIFICATIONS_STOPPED_EVENT are undeclared.

This fixes building nextepc on e.g. Debian unstable.

Closes: #208
2019-07-02 13:42:33 +08:00
Sukchan Lee 79cbd8fb24 Update document for Release v0.4.3 2019-06-22 16:51:28 +09:00
Sukchan Lee 712b9c8334 [SGsAP] Add TMSI-REALLOCATION-COMPLETE 2019-06-22 12:11:07 +09:00
Sukchan Lee 693afa922f [SGsAP] Location Update process is done 2019-06-22 11:16:22 +09:00
Sukchan Lee 058ebc747d Follow OGSlib updates 2019-06-22 10:14:01 +09:00
Sukchan Lee bbc594330b [SGsAP] update it 2019-06-21 18:23:29 +09:00
Sukchan Lee 4013d9203c [SGsAP] Add linger option in usrsctp 2019-06-17 21:40:34 +09:00
Sukchan Lee 6816400247 [SGsAP] continue to work 2019-06-16 21:26:22 +09:00
Sukchan Lee ec7d9f2917 [SGsAP] continue to implement it 2019-06-16 17:33:45 +09:00
Sukchan Lee bcd784b1f0 Apply ogslib changes 2019-06-15 16:54:49 +09:00
Sukchan Lee 3d154cc423 Apply ogslib changes 2019-06-15 15:21:34 +09:00
Sukchan Lee 9e3ebf9a16 fix the bug (#195), But more work is needed 2019-06-14 14:24:17 +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 71f1b1cfa4 SGW packet buffer is changed to 65536 2019-06-09 00:03:53 +09:00
Sukchan Lee 60dc4402c6 gtp_path interface changes 2019-06-08 23:42:12 +09:00
Sukchan Lee d4f00da662 continue to add a buffer configuration 2019-06-08 08:44:22 +09:00
Sukchan Lee 0ff388fb19 apply configuration related to MAX number 2019-06-07 15:19:09 +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 10675caf89 Add SGsAP configuration 2019-06-02 21:55:24 +09:00
Sukchan Lee 282936f215 support usrsctp 2019-06-01 16:59:38 +09:00
Sukchan Lee 60bfaa2c41 fix to compile MacOSX 2019-06-01 08:38:57 +09:00
Sukchan Lee 937f0319e3 handler type changes 2019-05-31 23:30:46 +09:00
Sukchan Lee 32c9c512d8 socknode includes pollset 2019-05-31 23:22:22 +09:00
Sukchan Lee 163bc4a040 update it 2019-05-31 13:55:05 +00:00
Sukchan Lee 58faa7bcac apply ogslib changes 2019-05-31 12:05:35 +00:00
Sukchan Lee 61d0573686 ogs_sockopt_t is added 2019-05-31 16:33:09 +09:00
Sukchan Lee d597912abb sctp configuration update 2019-05-31 11:34:49 +09:00
Sukchan Lee 34e2b4d44a add sctp configuration interface 2019-05-31 11:20:30 +09:00
Sukchan Lee 335e8513e9 fix the MacOSX 2019-05-30 21:51:25 +09:00
Sukchan Lee cbb819f6b9 apply ogslib changes 2019-05-30 21:30:31 +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 cdffdcaa78 update it 2019-05-26 15:27:09 +09:00
Sukchan Lee 0f892f6e84 Support a different APN for each PGW (#183) 2019-05-19 00:24:15 +09:00
Sukchan Lee 6c99b7c187 Release Notes - v0.4.1 2019-05-18 19:32:14 +09:00
Sukchan Lee 0291d97dd5 Update document for changing debian repository 2019-05-01 18:13:21 +09:00
Sukchan Lee bf1c6c00fe change fedora latest version 2019-05-01 17:24:59 +09:00
Sukchan Lee e5523342d4 Set submodule to ogslib master 2019-05-01 00:22:43 +09:00
Sukchan Lee 1e2ca81ae3 update ogslib changeset 2019-04-29 23:37:32 +09:00
Sukchan Lee 16ea21d4a0 update document 2019-04-29 22:26:52 +09:00
Sukchan Lee 59cd4aaa2e Set OGSLib master 2019-04-28 20:19:39 +09:00
Sukchan Lee 3ff9c6bbb5 add gitsubmodule 2019-04-28 00:00:02 +09:00
Sukchan Lee 0ebd85f364 Integration with OGSLib 2019-04-27 23:54:30 +09:00
Sukchan Lee 8fea12643a nas_plmn_id_t structure for NAS message. (#166)
/**********************************
 * NAS PLMN_ID Structure             */
typedef struct _nas_plmn_id_t {
ED2(uint8_t mcc2:4;,
    uint8_t mcc1:4;)
ED2(uint8_t mnc3:4;,
    uint8_t mcc3:4;)
ED2(uint8_t mnc2:4;,
    uint8_t mnc1:4;)
} __attribute__ ((packed)) nas_plmn_id_t;

/**********************************
 * PLMN_ID Structure             */
typedef struct _plmn_id_t {
ED2(c_uint8_t mcc2:4;,
    c_uint8_t mcc1:4;)
ED2(c_uint8_t mnc1:4;,
    c_uint8_t mcc3:4;)
ED2(c_uint8_t mnc3:4;,
    c_uint8_t mnc2:4;)
} __attribute__ ((packed)) plmn_id_t;
2019-03-31 14:26:18 +09:00
Sukchan Lee c964d1df3c Increase packet memory buffer (#161) 2019-03-22 16:59:37 +09:00
Sukchan Lee e1ad9c43d7 Fix the source code (#159) 2019-03-17 01:58:14 +00:00
Harald Welte 653701abdb nas_message.py: Fix copy+paste error
Files are not generated by gtpv2c_tlv.py but by nas_message.py
2019-03-16 20:55:54 +01: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 3b66bf09aa Renew freeDiameter Certification #93, #94 2018-08-17 10:00:15 +09:00
James Park 0a93c886ad Merge branch 'master' of https://github.com/acetcom/cellwire 2018-08-10 17:09:39 -07:00
James Park f91b872d0b Do not resolve remote peer, which may results in the failure of running
nextepcd.
2018-08-10 17:04:34 -07:00
Sukchan Lee c3e5bdba53 fix the indentation 2018-07-04 18:05:30 +09:00
Sukchan Lee 271949ad86
Merge pull request #73 from giuliol/master
fixed TLV uint32 bug
2018-07-04 18:04:08 +09:00
Sukchan Lee 06e56a4509 fix the compile error in MacOSX 2018-06-23 22:10:39 +09:00
Sukchan Lee 8f9219bef0 fix the compile error for GCC 8.1 2018-06-23 12:59:40 +00:00
giuliol 51fde0acd8 fixed TLV uint32 bug 2018-06-18 10:34:17 +01:00
Sukchan Lee 3b9b1108b1 Configure Outbound streams on SCTP_COMM_UP 2018-05-30 21:49:17 +09:00
Sukchan Lee 9aed43075c SCTP recv interface will be changed. (Progressing...) 2018-05-30 17:45:14 +09:00
Sukchan Lee f5c203d3ac remove redundant code 2018-05-18 17:32:56 +09:00
Sukchan Lee 9a0afe035a Negociate SCTP stream ID with eNodeB (#63) 2018-05-18 17:14:29 +09:00
Sukchan Lee 550a606306 Update error message if SGW is not running (#59) 2018-05-14 21:46:19 +09:00
Sukchan Lee 157dab73c7 fix the linux for SCTP streams 2018-05-13 18:31:01 +09:00
Sukchan Lee 7dba30b1e6 S1AP sends SCTP packet with stream id (#54) 2018-05-13 18:02:24 +09:00
Sukchan Lee 55fa0115e8 Merge branch 'master' into stream 2018-05-13 17:01:36 +09:00
Sukchan Lee 9d84d4d43a Fix the timezone error 2018-05-13 16:45:49 +09:00
Sukchan Lee e18467889c Introduce new configuration for SCTP streams
SCTP initmsg
 - Number of output streams : configured(default:30)
 - Maximum input streams : 65535
 - Maximum attempts : 4
 - Maximum initial timeout : 8 seconds
2018-05-09 22:11:25 +09:00
Sukchan Lee 539d0c7bc5 fix the bug about wrong size value when calling core_calloc 2018-04-11 06:47:28 +09:00
James Park a1e06c919f Fix bug : wrong size vlaue when calling core_calloc 2018-04-10 14:35:18 -07:00
Sukchan Lee 6ff80f4457 Apply velichkov's s1ap branch update 2018-03-22 15:55:52 +09:00
Sukchan Lee f3b4a9b70f Move new S1AP encoder/decoder 2018-03-22 14:12:03 +09:00
Sukchan Lee db1d139364 add debug message for s1ap(trace_level:25) 2018-03-21 21:15:01 +09:00
Sukchan Lee 13ece7f4d4 Merge branch 'master' into s1ap 2018-03-21 14:06:20 +09:00
Sukchan Lee a9e5283db3 fix compile error trusty 32bit 2018-03-20 15:12:24 +09:00
Sukchan Lee 8a2699b81f increase recv buffer size to 8192 (#35) 2018-03-15 21:54:50 +09:00
Sukchan Lee 4b32d7f448 Merge branch 'master' into s1ap 2018-03-15 14:14:43 +09:00
Sukchan Lee 25c90c0e96 Increase SCTP recv buffer from 2048 to 4096 2018-03-15 10:50:32 +09:00
Sukchan Lee 637d8613ba fix the 32bit S1AP problem 2018-03-14 13:40:45 +09:00
Sukchan Lee 99a8e06ccf Oops. rollback 2018-03-13 17:52:00 +09:00
Sukchan Lee a11f6e431c S1AP handover is added. (Not tested) 2018-03-13 17:50:11 +09:00
Sukchan Lee 49fba95ebb update README 2018-03-12 20:58:31 +09:00
Sukchan Lee 74834c0eb4 change s1ap asn1c to velichkov 2018-03-12 11:55:44 +00:00
Sukchan Lee 308c6f1e66 all attach test is successful 2018-03-11 16:36:51 +09:00
Sukchan Lee d40bf0463d continue to move new s1ap library 2018-03-10 12:21:02 +09:00
Sukchan Lee bb844434f2 MME Configuration Transfer is added (#29) 2018-03-08 23:29:02 +09:00
Sukchan Lee c31dfb507d eNB Configuration Transfer is added (#29) 2018-03-07 21:53:53 +09:00
Sukchan Lee 1c8d10a696 remove s1ap2 2018-03-05 23:33:29 +09:00
Sukchan Lee c5689b3f66 update it 2018-03-05 23:01:07 +09:00
Sukchan Lee 0c9b034f12 move s1ap3 to s1ap 2018-03-05 22:17:22 +09:00
Sukchan Lee 16b69865ac remove s1ap 2018-03-05 22:14:38 +09:00
Sukchan Lee fa981b8028 update it 2018-03-04 23:34:40 +09:00
Sukchan Lee 0628b76296 update it 2018-03-04 23:23:35 +09:00
Sukchan Lee 0d8928ff05 re-add s1ap 2018-03-04 16:30:03 +09:00
Sukchan Lee da04290a62 encoder/decoder sample code is added 2018-03-04 13:35:06 +09:00
Sukchan Lee 8ab602e6d2 update it 2018-02-27 18:35:57 +09:00
Sukchan Lee 6df88862f9 mistypo 2018-02-26 22:36:51 +09:00
Sukchan Lee f49a66dfc5 script update 2018-02-26 14:59:51 +09:00
Sukchan Lee 7e8718e346 update it 2018-02-26 11:57:49 +09:00
Sukchan Lee 888cbfbdb8 S1-reset encoder/decoder is added 2018-02-22 22:52:59 +09:00
Sukchan Lee d74afc5bc7 for old version gcc compiler, we fix the size of child_desc in TLV message library 2018-02-21 14:48:41 +00:00
Sukchan Lee 05cfcf4cc3 Override configuration if DB_URI environment variable is existed 2018-02-21 03:25:48 +00:00
Sukchan Lee 598b711c01 make check is added. 2018-02-05 23:21:37 +09:00
Sukchan Lee 831b3e8985 Error Indication is added 2018-02-03 11:48:15 +09:00
Sukchan Lee c3afd65ff3 fix the bug for FSM library 2018-02-01 11:56:01 +09:00
Sukchan Lee b704e94efa fix the memory leak t3413 paging timer in MME_UE Context 2018-01-29 16:47:07 +09:00
Sukchan Lee 7b2355a40f MME_UE Context is not deleted even thought Detach Request(switch-off case) 2018-01-28 13:50:21 +09:00
Sukchan Lee 20efdd5639 update the GTP TLV trace 2018-01-24 14:17:24 +09:00
Sukchan Lee e31976e505 fix the linux compile error 2018-01-24 02:54:56 +00:00
Sukchan Lee 94145fec62 fix the bug for finding indirect tunnel 2018-01-24 11:32:46 +09:00
Sukchan Lee bba98cf066 s1ap_encoder/s1ap_decoder module use d_trace() instead of printf() 2018-01-24 10:17:50 +09:00
Sukchan Lee 9503c8efdc chage debug buffer size to HUGE_STRING_LEN(8192) for avoiding buffer overflow 2018-01-24 10:08:59 +09:00
Sukchan Lee 02a11b6c50 Oops! check the trace level 2018-01-23 08:52:10 +00:00
Sukchan Lee 859322cb22 fix the freediameter logger from d_trace() to printf() 2018-01-23 08:49:33 +00: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 b37a74416a trace name gtp -> gtpv2, others -> app 2018-01-23 16:02:35 +09:00
Sukchan Lee 35a95fd4ac update trace level 2018-01-23 15:38:07 +09:00
Sukchan Lee d66e25dda3 refine tun error log 2018-01-23 14:36:52 +09:00
Sukchan Lee f35aa2178f fix the abort-cause value 2018-01-19 01:32:01 +09:00
Sukchan Lee 46f85d9fc8 Volte QoS is basically derived by IMS instead of EPC.
If the QoS informaton is provided from IMS, we'll use WEBUI QoS value
2018-01-19 01:23:13 +09:00
Sukchan Lee 8025f10586 diameter log level is fixed 2018-01-17 23:08:20 +09:00
Sukchan Lee e2f1872ea7 loglevel is adjusted 2018-01-17 22:55:52 +09:00
Sukchan Lee d13b735d26 rx_sess_data is changed to list structure 2018-01-17 20:31:49 +09:00
Sukchan Lee fffd654391 NAS modify bearer request/accept is done 2018-01-17 15:41:45 +09:00
Sukchan Lee f1e41050c3 re-factoring Gx/Rx diameter to apply modification 2018-01-17 12:41:57 +09:00
Sukchan Lee 4acc21093b add time information to the d_trace() 2018-01-17 10:09:06 +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 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 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 8c3d4ca0de core_free -> CORE_FREE. We need to know which function raise this
exception
2018-01-13 22:03:30 +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 b424213768 add ErrorIndication(Proceduer ID : 15, initiating message) decoder 2018-01-11 22:33:36 +09:00
Sukchan Lee 1498f6c015 GTP ECHO-REQ/RSP log level chaged to 5 2018-01-11 14:39:12 +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 95aaf2f8f1 AAR is done 2018-01-10 19:56:10 +09:00
Sukchan Lee e24856eb0e GX RAR/RAA(PGW-PCRF) is added 2018-01-10 16:06:19 +09:00
James Park 81a957172b Merge branch 'master' of https://github.com/acetcom/cellwire 2018-01-09 18:09:08 -08:00
James Park a5057c1488 Change the number of cluster 2018-01-09 18:08:33 -08: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 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 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 64268232b1 Session-Id diameter encoder is added 2018-01-07 21:29:53 +09:00
Sukchan Lee 7e63ab488d fix the gcc 7.2.0 compile warning 2018-01-06 22:50:56 +09:00
Sukchan Lee d2e54482c1 Update S1P ASN for GUMMEIType in InitialUEMessage 2018-01-06 12:36:47 +09:00
Sukchan Lee a630830f0c P-CSCF simualtor is mostly done 2018-01-06 00:23:26 +09:00
Sukchan Lee b166adf3bd fix the memory leak in the fd_config 2018-01-05 22:46:02 +09:00
Sukchan Lee 9cca50b7c7 missing files 2018-01-05 17:01:28 +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 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 b8ef9e9e2a Header Refactoring 2018-01-04 20:38:22 +09:00
Sukchan Lee fe1c368577 move 3gpp_test to core library 2018-01-04 18:02:56 +09:00
Sukchan Lee 1a3f5cf86e add AA Request/Answer Sample code 2018-01-04 12:57:00 +09:00
Sukchan Lee e4bec187fd add Diameter Rx Interface (PCRF - P-CSCF) 2018-01-03 21:45:14 +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 c81e2beee6 fix the error for SCTP Kernel Extension on Mac OS X 10.11(El Capital) 2017-12-19 20:19:50 +09:00
Sukchan Lee a864b36f44 Default APN is added 2017-12-19 17:05:54 +09:00
Sukchan Lee 649fd75b14 Authentication failure(Resynch failure) is added 2017-12-18 00:01:07 +09:00
Sukchan Lee 8f1df48a95 refine error log 2017-12-17 20:29: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 a102864428 Oops! update it 2017-12-18 00:54:29 +09:00
Sukchan Lee a5cc4f7a43 update it 2017-12-18 00:50:10 +09:00
Sukchan Lee 73fb7e1c30 Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6 2017-12-18 00:48:34 +09:00
Sukchan Lee fa6bb86e3d Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6 2017-12-17 20:23:41 +09:00
Sukchan Lee 8d3330cb79 multiple device is added 2017-12-17 06:36:50 +00:00
Sukchan Lee 7ea5f3d910 Merge branch 'ipv6' of https://github.com/acetcom/nextepc into ipv6 2017-12-16 23:22:56 +09:00
Sukchan Lee f38587595f SLAAC is added 2017-12-16 09:06:34 +00:00
Sukchan Lee 9d4afbba97 update test code 2017-12-16 05:53:30 +00:00
Sukchan Lee 70286b3fd0 parameter.multicast, parameter.no_slaac is added 2017-12-16 09:24:27 +09:00
Sukchan Lee d0530877c2 TFT rule for IPv6 is added 2017-12-15 20:53:53 +09: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 1864509cbb ICMPv6 is implemented. But kernel didn't send ping6 reply. Sigh! 2017-12-14 04:01:56 +00:00
Sukchan Lee 79ec7d8bc0 default configuration is changed for packaging.
Even though nextepc can support link-local address, User may not want to
setup link-local address automatically. So we remove link-link address
in default configuration
2017-12-14 10:33:03 +09:00
Sukchan Lee cb59525ca4 FreeBSD IPv6 TUN is not working. IPv6 IP/Rount Setting is all rollbacked 2017-12-14 07:26:32 +09:00
Sukchan Lee fc9b182e55 delete reduant routing table 2017-12-13 21:43:13 +09:00
Sukchan Lee bd94d695be IPv6 setting done.. but IPv6 routining table update is not working. 2017-12-13 20:22:52 +09:00
Sukchan Lee b7fb6c6117 temporal update 2017-12-13 16:07:12 +09:00
Sukchan Lee 6cd9e965a1 Tun IPv4 is done 2017-12-13 12:20:02 +09:00
Sukchan Lee 54636e1843 IPv4 Pool done 2017-12-12 23:50:38 +09:00
Sukchan Lee 989de209d0 configuration is updated 2017-12-12 17:00:32 +09:00
Sukchan Lee 85f6bd6826 fix the warning for freeDiameter 2017-12-11 21:44:27 +09:00
Sukchan Lee 0347f05f9b rollback 2017-12-11 21:30:32 +09:00
Sukchan Lee 31dd8b0f8c add -Wno-format-truncate CFLAGS in freeDiameter library 2017-12-11 21:01:01 +09:00
Sukchan Lee 95b2f5a951 minor update 2017-12-11 09:00:44 +00: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 ce801ee218 `dev` is added in the configuration 2017-12-09 23:07:19 +09:00
Sukchan Lee b04c7393f2 fix the bug 2017-12-09 09:50:12 +00:00
Sukchan Lee 15c3827ca9 improve test code for no_ipv4 flags 2017-12-09 18:21:22 +09:00
Sukchan Lee fc4a89b678 fix the memory lean when auto-detect interface case 2017-12-09 04:02:00 +00:00
Sukchan Lee d70701361f refine test program for testing dual ipv4/v6 stack 2017-12-09 12:30:46 +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 9b5234bd5f change link local address 2017-12-08 20:25:34 +09:00
Sukchan Lee 23c5e1040a Merge branch 'ipv6' of http://github.com/acetcom/nextepc into ipv6 2017-12-08 07:17:08 +00:00
Sukchan Lee 26fc43f6cb add mutex 2017-12-08 07:16:43 +00:00
Sukchan Lee f4c4dbe55d ignore unknown message 2017-12-08 15:48:25 +09:00
Sukchan Lee 681a488ade Merge branch 'ipv6-mac' into ipv6 2017-12-08 05:36:03 +00:00
Sukchan Lee a0599f7c2d S1AP MAC is done 2017-12-08 14:29:35 +09:00
Sukchan Lee 126c8b4e11 fix the bug 2017-12-07 11:45:54 +00: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 9d3049de00 remove POINTTOPOINT interface in probe ip address 2017-12-05 14:30:09 +00:00
Sukchan Lee 5ebc0c0b0d add script 2017-12-05 22:51:50 +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 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 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