Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 38
View file
open5gs_2.4.9.202208030002.dsc -> open5gs_2.4.9.202208040002.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.4.9.202208030002 +Version: 2.4.9.202208040002 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -30,8 +30,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - 60498f2ba8284d8236f3fb89cad356da55bdebb3 11459928 open5gs_2.4.9.202208030002.tar.xz + 492a9ad795f78d607687b9bef872203e648b4ab3 11460376 open5gs_2.4.9.202208040002.tar.xz Checksums-Sha256: - 719d04430684f7b2f73c872820655a419892aa8d17dd494428e064f84bb44755 11459928 open5gs_2.4.9.202208030002.tar.xz + f6f5b12f80ac687b2982bb78793cdbdf409fbc67646ec3ae20a6f5453d640717 11460376 open5gs_2.4.9.202208040002.tar.xz Files: - fdd640e24462f2db60bec35402bb8f28 11459928 open5gs_2.4.9.202208030002.tar.xz + 645d716818906f348bea1113a4851198 11460376 open5gs_2.4.9.202208040002.tar.xz
View file
open5gs_2.4.9.202208030002.tar.xz/debian/changelog -> open5gs_2.4.9.202208040002.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.4.9.202208030002) UNRELEASED; urgency=medium +open5gs (2.4.9.202208040002) UNRELEASED; urgency=medium * Snapshot build - -- Sukchan Lee <acetcom@gmail.com> Wed, 03 Aug 2022 00:09:24 +0000 + -- Sukchan Lee <acetcom@gmail.com> Thu, 04 Aug 2022 00:09:24 +0000 open5gs (2.4.9) unstable; urgency=medium
View file
open5gs_2.4.9.202208030002.tar.xz/debian/control -> open5gs_2.4.9.202208040002.tar.xz/debian/control
Changed
@@ -31,7 +31,7 @@ Package: open5gs-common Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends} Description: 5G Core and EPC (Shared Files) Open5GS is a C-language implementation of 5G Core and EPC @@ -43,7 +43,7 @@ Package: open5gs-mme Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: MME (Mobility Management Entity) @@ -58,7 +58,7 @@ Package: open5gs-sgwc Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: SGW-C (Serving Gateway - Control Plane) @@ -72,7 +72,7 @@ Package: open5gs-smf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: SMF (Session Management Function) @@ -84,7 +84,7 @@ Package: open5gs-amf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: AMF (Access and Mobility Management Function) @@ -96,7 +96,7 @@ Package: open5gs-sgwu Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: SGW-U (Serving Gateway - User Plane) @@ -110,7 +110,7 @@ Package: open5gs-upf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, udev, open5gs-common (= ${binary:Version}) @@ -123,7 +123,7 @@ Package: open5gs-hss Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, mongodb-org | mongodb, open5gs-common (= ${binary:Version}) @@ -140,7 +140,7 @@ Package: open5gs-pcrf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, mongodb-org | mongodb, open5gs-common (= ${binary:Version}) @@ -156,7 +156,7 @@ Package: open5gs-nrf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: NRF (Network Repository Function) @@ -168,7 +168,7 @@ Package: open5gs-ausf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: AUSF (Authentication Server Function) @@ -180,7 +180,7 @@ Package: open5gs-udm Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: UDM (Unified Data Management) @@ -192,7 +192,7 @@ Package: open5gs-pcf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: PCF (Policy Control Function) @@ -204,7 +204,7 @@ Package: open5gs-nssf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: NSSF (Network Slice Selection Function) @@ -216,7 +216,7 @@ Package: open5gs-bsf Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: BSF (Binding Support Function) @@ -228,7 +228,7 @@ Package: open5gs-udr Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${shlibs:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${shlibs:Depends}, ${misc:Depends}, open5gs-common (= ${binary:Version}) Description: UDR (Unified Data Repository) @@ -240,7 +240,7 @@ Package: open5gs Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${misc:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${misc:Depends}, open5gs-common (= ${binary:Version}), open5gs-mme (= ${binary:Version}), open5gs-sgwc (= ${binary:Version}), @@ -266,7 +266,7 @@ Package: open5gs-dbg Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 1.0.0.202208030002), ${misc:Depends}, +Depends: osmocom-nightly (= 1.0.0.202208040002), ${misc:Depends}, open5gs (= ${binary:Version}) Description: Debug symbols for Open5GS Open5GS is a C-language implementation of 5G Core and EPC
View file
open5gs_2.4.9.202208030002.tar.xz/src/hss/hss-s6a-path.c -> open5gs_2.4.9.202208040002.tar.xz/src/hss/hss-s6a-path.c
Changed
@@ -370,28 +370,6 @@ ogs_assert(ret == 0); memcpy(&visited_plmn_id, hdr->avp_value->os.data, hdr->avp_value->os.len); - /* Set the Origin-Host, Origin-Realm, andResult-Code AVPs */ - ret = fd_msg_rescode_set(ans, (char*)"DIAMETER_SUCCESS", NULL, NULL, 1); - ogs_assert(ret == 0); - - /* Set the Auth-Session-State AVP */ - ret = fd_msg_avp_new(ogs_diam_auth_session_state, 0, &avp); - ogs_assert(ret == 0); - val.i32 = OGS_DIAM_AUTH_SESSION_NO_STATE_MAINTAINED; - ret = fd_msg_avp_setvalue(avp, &val); - ogs_assert(ret == 0); - ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); - ogs_assert(ret == 0); - - /* Set the ULA Flags */ - ret = fd_msg_avp_new(ogs_diam_s6a_ula_flags, 0, &avp); - ogs_assert(ret == 0); - val.i32 = OGS_DIAM_S6A_ULA_FLAGS_MME_REGISTERED_FOR_SMS; - ret = fd_msg_avp_setvalue(avp, &val); - ogs_assert(ret == 0); - ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); - ogs_assert(ret == 0); - ret = fd_msg_search_avp(qry, ogs_diam_s6a_ulr_flags, &avp); ogs_assert(ret == 0); ret = fd_msg_avp_hdr(avp, &hdr); @@ -817,6 +795,28 @@ ogs_assert(ret == 0); } + /* Set the Origin-Host, Origin-Realm, andResult-Code AVPs */ + ret = fd_msg_rescode_set(ans, (char*)"DIAMETER_SUCCESS", NULL, NULL, 1); + ogs_assert(ret == 0); + + /* Set the Auth-Session-State AVP */ + ret = fd_msg_avp_new(ogs_diam_auth_session_state, 0, &avp); + ogs_assert(ret == 0); + val.i32 = OGS_DIAM_AUTH_SESSION_NO_STATE_MAINTAINED; + ret = fd_msg_avp_setvalue(avp, &val); + ogs_assert(ret == 0); + ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); + ogs_assert(ret == 0); + + /* Set the ULA Flags */ + ret = fd_msg_avp_new(ogs_diam_s6a_ula_flags, 0, &avp); + ogs_assert(ret == 0); + val.i32 = OGS_DIAM_S6A_ULA_FLAGS_MME_REGISTERED_FOR_SMS; + ret = fd_msg_avp_setvalue(avp, &val); + ogs_assert(ret == 0); + ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); + ogs_assert(ret == 0); + /* Set Vendor-Specific-Application-Id AVP */ ret = ogs_diam_message_vendor_specific_appid_set( ans, OGS_DIAM_S6A_APPLICATION_ID);
View file
open5gs_2.4.9.202208030002.tar.xz/src/hss/hss-swx-path.c -> open5gs_2.4.9.202208040002.tar.xz/src/hss/hss-swx-path.c
Changed
@@ -428,34 +428,6 @@ goto out; } - /* Set Vendor-Specific-Application-Id AVP */ - ret = ogs_diam_message_vendor_specific_appid_set( - ans, OGS_DIAM_SWX_APPLICATION_ID); - ogs_assert(ret == 0); - - /* Set the Auth-Session-State AVP */ - ret = fd_msg_avp_new(ogs_diam_auth_session_state, 0, &avp); - ogs_assert(ret == 0); - val.i32 = OGS_DIAM_AUTH_SESSION_NO_STATE_MAINTAINED; - ret = fd_msg_avp_setvalue(avp, &val); - ogs_assert(ret == 0); - ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); - ogs_assert(ret == 0); - - /* Set the Origin-Host, Origin-Realm, and Result-Code AVPs */ - ret = fd_msg_rescode_set(ans, (char*)"DIAMETER_SUCCESS", NULL, NULL, 1); - ogs_assert(ret == 0); - - /* Set the User-Name AVP */ - ret = fd_msg_avp_new(ogs_diam_user_name, 0, &avp); - ogs_assert(ret == 0); - val.os.data = (uint8_t *)user_name; - val.os.len = strlen(user_name); - ret = fd_msg_avp_setvalue(avp, &val); - ogs_assert(ret == 0); - ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); - ogs_assert(ret == 0); - /* Get Server-Assignment-Type AVP (Mandatory) */ ret = fd_msg_search_avp(qry, ogs_diam_cx_server_assignment_type, &avp); @@ -840,6 +812,34 @@ ogs_assert(ret == 0); } + /* Set Vendor-Specific-Application-Id AVP */ + ret = ogs_diam_message_vendor_specific_appid_set( + ans, OGS_DIAM_SWX_APPLICATION_ID); + ogs_assert(ret == 0); + + /* Set the Auth-Session-State AVP */ + ret = fd_msg_avp_new(ogs_diam_auth_session_state, 0, &avp); + ogs_assert(ret == 0); + val.i32 = OGS_DIAM_AUTH_SESSION_NO_STATE_MAINTAINED; + ret = fd_msg_avp_setvalue(avp, &val); + ogs_assert(ret == 0); + ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); + ogs_assert(ret == 0); + + /* Set the Origin-Host, Origin-Realm, and Result-Code AVPs */ + ret = fd_msg_rescode_set(ans, (char*)"DIAMETER_SUCCESS", NULL, NULL, 1); + ogs_assert(ret == 0); + + /* Set the User-Name AVP */ + ret = fd_msg_avp_new(ogs_diam_user_name, 0, &avp); + ogs_assert(ret == 0); + val.os.data = (uint8_t *)user_name; + val.os.len = strlen(user_name); + ret = fd_msg_avp_setvalue(avp, &val); + ogs_assert(ret == 0); + ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); + ogs_assert(ret == 0); + /* Send the answer */ ret = fd_msg_send(msg, NULL, NULL); ogs_assert(ret == 0);
View file
open5gs_2.4.9.202208030002.tar.xz/src/mme/mme-fd-path.c -> open5gs_2.4.9.202208040002.tar.xz/src/mme/mme-fd-path.c
Changed
@@ -1410,8 +1410,7 @@ static int mme_ogs_diam_s6a_clr_cb( struct msg **msg, struct avp *avp, struct session *session, void *opaque, enum disp_action *act) { - int ret; - int error = 0; + int ret, rv; mme_event_t *e = NULL; mme_ue_t *mme_ue = NULL; @@ -1457,7 +1456,7 @@ if (!mme_ue) { ogs_error("Cancel Location for Unknown IMSI%s", imsi_bcd); result_code = OGS_DIAM_S6A_ERROR_USER_UNKNOWN; - error++; + goto out; } ret = fd_msg_search_avp(qry, ogs_diam_s6a_cancellation_type, &avp); @@ -1502,26 +1501,44 @@ ogs_diam_logger_self()->stats.nb_echoed++; ogs_assert( pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0); - if (!error) { - int rv; - e = mme_event_new(MME_EVT_S6A_MESSAGE); - ogs_assert(e); - e->mme_ue = mme_ue; - e->s6a_message = s6a_message; - rv = ogs_queue_push(ogs_app()->queue, e); - if (rv != OGS_OK) { - ogs_error("ogs_queue_push() failed:%d", (int)rv); - ogs_free(s6a_message); - mme_event_free(e); - } else { - ogs_pollset_notify(ogs_app()->pollset); - } + e = mme_event_new(MME_EVT_S6A_MESSAGE); + ogs_assert(e); + e->mme_ue = mme_ue; + e->s6a_message = s6a_message; + rv = ogs_queue_push(ogs_app()->queue, e); + if (rv != OGS_OK) { + ogs_error("ogs_queue_push() failed:%d", (int)rv); + ogs_free(s6a_message); + mme_event_free(e); } else { - ret = ogs_diam_message_experimental_rescode_set(ans, result_code); - ogs_assert(ret == 0); + ogs_pollset_notify(ogs_app()->pollset); } return 0; + +out: + ret = ogs_diam_message_experimental_rescode_set(ans, result_code); + ogs_assert(ret == 0); + + /* Set the Auth-Session-State AVP */ + ret = fd_msg_avp_new(ogs_diam_auth_session_state, 0, &avp); + ogs_assert(ret == 0); + val.i32 = OGS_DIAM_AUTH_SESSION_NO_STATE_MAINTAINED; + ret = fd_msg_avp_setvalue(avp, &val); + ogs_assert(ret == 0); + ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp); + ogs_assert(ret == 0); + + /* Set Vendor-Specific-Application-Id AVP */ + ret = ogs_diam_message_vendor_specific_appid_set( + ans, OGS_DIAM_S6A_APPLICATION_ID); + ogs_assert(ret == 0); + + /* Send the answer */ + ret = fd_msg_send(msg, NULL, NULL); + ogs_assert(ret == 0); + + return 0; } int mme_fd_init(void)
View file
open5gs_2.4.9.202208030002.tar.xz/src/nrf/nnrf-build.c -> open5gs_2.4.9.202208040002.tar.xz/src/nrf/nnrf-build.c
Changed
@@ -54,7 +54,7 @@ memset(&header, 0, sizeof(header)); header.service.name = (char *)OGS_SBI_SERVICE_NAME_NNRF_NFM; header.api.version = (char *)OGS_SBI_API_V1; - header.resource.component0 = (char *)OGS_SBI_SERVICE_NAME_NNRF_NFM; + header.resource.component0 = (char *)OGS_SBI_RESOURCE_NAME_NF_INSTANCES; header.resource.component1 = nf_instance->id; NotificationData->nf_instance_uri = ogs_sbi_server_uri(server, &header);
View file
open5gs_2.4.9.202208030002.tar.xz/src/smf/n4-handler.c -> open5gs_2.4.9.202208040002.tar.xz/src/smf/n4-handler.c
Changed
@@ -1098,7 +1098,6 @@ uint16_t pdr_id = 0; unsigned int i; - ogs_assert(sess); ogs_assert(pfcp_xact); ogs_assert(pfcp_req); @@ -1106,6 +1105,11 @@ cause_value = OGS_GTP2_CAUSE_REQUEST_ACCEPTED; + if (!sess) { + ogs_warn("No Context"); + cause_value = OGS_PFCP_CAUSE_SESSION_CONTEXT_NOT_FOUND; + } + if (pfcp_req->report_type.presence == 0) { ogs_error("No Report Type"); cause_value = OGS_GTP2_CAUSE_MANDATORY_IE_MISSING; @@ -1118,6 +1122,7 @@ return; } + ogs_assert(sess); report_type.value = pfcp_req->report_type.u8; if (report_type.downlink_data_report) {
View file
open5gs_2.4.9.202208030002.tar.xz/src/smf/pfcp-sm.c -> open5gs_2.4.9.202208040002.tar.xz/src/smf/pfcp-sm.c
Changed
@@ -222,19 +222,7 @@ case OGS_PFCP_SESSION_ESTABLISHMENT_RESPONSE_TYPE: if (!message->h.seid_presence) ogs_error("No SEID"); - if (!sess) { - ogs_gtp_xact_t *gtp_xact = xact->assoc_xact; - ogs_assert(gtp_xact); - if (gtp_xact->gtp_version == 1) - ogs_gtp1_send_error_message(gtp_xact, 0, - OGS_GTP1_CREATE_PDP_CONTEXT_RESPONSE_TYPE, - OGS_GTP1_CAUSE_CONTEXT_NOT_FOUND); - else - ogs_gtp2_send_error_message(gtp_xact, 0, - OGS_GTP2_CREATE_SESSION_RESPONSE_TYPE, - OGS_GTP2_CAUSE_CONTEXT_NOT_FOUND); - break; - } + ogs_assert(sess); ogs_fsm_dispatch(&sess->sm, e); break; @@ -253,21 +241,7 @@ case OGS_PFCP_SESSION_DELETION_RESPONSE_TYPE: if (!message->h.seid_presence) ogs_error("No SEID"); - if (!sess) { - ogs_gtp_xact_t *gtp_xact = xact->assoc_xact; - if (!gtp_xact) - break; - if (gtp_xact->gtp_version == 1) - ogs_gtp1_send_error_message(gtp_xact, 0, - OGS_GTP1_CREATE_PDP_CONTEXT_RESPONSE_TYPE, - OGS_GTP1_CAUSE_CONTEXT_NOT_FOUND); - else - ogs_gtp2_send_error_message(gtp_xact, 0, - OGS_GTP2_CREATE_SESSION_RESPONSE_TYPE, - OGS_GTP2_CAUSE_CONTEXT_NOT_FOUND); - break; - } - + ogs_assert(sess); ogs_fsm_dispatch(&sess->sm, e); break;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.