Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 797
View file
open5gs_2.7.2.4483.19f6.202408252026.dsc
Deleted
@@ -1,39 +0,0 @@ -Format: 3.0 (native) -Source: open5gs -Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-sepp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg -Architecture: any -Version: 2.7.2.4483.19f6.202408252026 -Maintainer: Harald Welte <laforge@gnumonks.org> -Uploaders: Sukchan Lee <acetcom@gmail.com> -Homepage: https://open5gs.org -Standards-Version: 4.3.0 -Vcs-Browser: https://github.com/open5gs/open5gs -Vcs-Git: git://github.com/open5gs/open5gs -Build-Depends: debhelper (>= 11), git, pkg-config, meson (>= 0.43.0), cmake, flex, bison, libgnutls28-dev, libgcrypt-dev, libssl-dev, libidn11-dev, libmongoc-dev, libbson-dev, libsctp-dev, libyaml-dev, libmicrohttpd-dev, libcurl4-gnutls-dev, libnghttp2-dev, libtins-dev, libtalloc-dev -Package-List: - open5gs deb net optional arch=any - open5gs-amf deb net optional arch=any - open5gs-ausf deb net optional arch=any - open5gs-bsf deb net optional arch=any - open5gs-common deb net optional arch=any - open5gs-dbg deb net optional arch=any - open5gs-hss deb net optional arch=any - open5gs-mme deb net optional arch=any - open5gs-nrf deb net optional arch=any - open5gs-nssf deb net optional arch=any - open5gs-pcf deb net optional arch=any - open5gs-pcrf deb net optional arch=any - open5gs-scp deb net optional arch=any - open5gs-sepp deb net optional arch=any - open5gs-sgwc deb net optional arch=any - open5gs-sgwu deb net optional arch=any - open5gs-smf deb net optional arch=any - open5gs-udm deb net optional arch=any - open5gs-udr deb net optional arch=any - open5gs-upf deb net optional arch=any -Checksums-Sha1: - 337035ddaec232b6e3198d85ee004d00d42a3323 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz -Checksums-Sha256: - 3c58752e8e63df6f568b782b4d48ef3295ef8161d31ccd4248eb3ba887aab7b7 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz -Files: - 6c93c0dde2c2591ff25282c3a987ac60 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz
View file
open5gs_2.7.2.4485.561a.202408262026.dsc
Added
@@ -0,0 +1,39 @@ +Format: 3.0 (native) +Source: open5gs +Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-sepp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg +Architecture: any +Version: 2.7.2.4485.561a.202408262026 +Maintainer: Harald Welte <laforge@gnumonks.org> +Uploaders: Sukchan Lee <acetcom@gmail.com> +Homepage: https://open5gs.org +Standards-Version: 4.3.0 +Vcs-Browser: https://github.com/open5gs/open5gs +Vcs-Git: git://github.com/open5gs/open5gs +Build-Depends: debhelper (>= 11), git, pkg-config, meson (>= 0.43.0), cmake, flex, bison, libgnutls28-dev, libgcrypt-dev, libssl-dev, libidn11-dev, libmongoc-dev, libbson-dev, libsctp-dev, libyaml-dev, libmicrohttpd-dev, libcurl4-gnutls-dev, libnghttp2-dev, libtins-dev, libtalloc-dev +Package-List: + open5gs deb net optional arch=any + open5gs-amf deb net optional arch=any + open5gs-ausf deb net optional arch=any + open5gs-bsf deb net optional arch=any + open5gs-common deb net optional arch=any + open5gs-dbg deb net optional arch=any + open5gs-hss deb net optional arch=any + open5gs-mme deb net optional arch=any + open5gs-nrf deb net optional arch=any + open5gs-nssf deb net optional arch=any + open5gs-pcf deb net optional arch=any + open5gs-pcrf deb net optional arch=any + open5gs-scp deb net optional arch=any + open5gs-sepp deb net optional arch=any + open5gs-sgwc deb net optional arch=any + open5gs-sgwu deb net optional arch=any + open5gs-smf deb net optional arch=any + open5gs-udm deb net optional arch=any + open5gs-udr deb net optional arch=any + open5gs-upf deb net optional arch=any +Checksums-Sha1: + 288773c61a0ebad62e6ff5bdd6bdfb779c76eb23 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz +Checksums-Sha256: + 40ba57fa2dfce6c6a3498ca522c6b94ec8a07355bf2211bca7e9f506fec50c74 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz +Files: + 443bfdc095223efc0c6064d608954954 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz
View file
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/.tarball-version -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.7.2.4483-19f6.202408252026 +2.7.2.4485-561a.202408262026
View file
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/debian/changelog -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.7.2.4483.19f6.202408252026) unstable; urgency=medium +open5gs (2.7.2.4485.561a.202408262026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Sun, 25 Aug 2024 20:27:56 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 26 Aug 2024 20:28:03 +0000 open5gs (2.7.2) unstable; urgency=medium
View file
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/src/mme/mme-fd-path.c -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/src/mme/mme-fd-path.c
Changed
@@ -134,14 +134,14 @@ } /* AVP: '3GPP-Charging-Characteristics'(13) - * For GGSN, it contains the charging characteristics for - * this PDP Context received in the Create PDP Context - * Request Message (only available in R99 and later releases). - * For PGW, it contains the charging characteristics for the + * For GGSN, it contains the charging characteristics for + * this PDP Context received in the Create PDP Context + * Request Message (only available in R99 and later releases). + * For PGW, it contains the charging characteristics for the * IP-CAN bearer. * Reference: 3GPP TS 29.061 16.4.7.2 13 */ - ret = fd_avp_search_avp(avp, ogs_diam_s6a_3gpp_charging_characteristics, + ret = fd_avp_search_avp(avp, ogs_diam_s6a_3gpp_charging_characteristics, &avpch1); ogs_assert(ret == 0); if (avpch1) { @@ -343,14 +343,14 @@ } /* AVP: '3GPP-Charging-Characteristics'(13) - * For GGSN, it contains the charging characteristics for - * this PDP Context received in the Create PDP Context - * Request Message (only available in R99 and later releases). - * For PGW, it contains the charging characteristics for the + * For GGSN, it contains the charging characteristics for + * this PDP Context received in the Create PDP Context + * Request Message (only available in R99 and later releases). + * For PGW, it contains the charging characteristics for the * IP-CAN bearer. * Reference: 3GPP TS 29.061 16.4.7.2 13 */ - ret = fd_avp_search_avp(avpch2, + ret = fd_avp_search_avp(avpch2, ogs_diam_s6a_3gpp_charging_characteristics, &avpch3); ogs_assert(ret == 0); if (avpch3) { @@ -363,7 +363,7 @@ buf, OGS_CHRGCHARS_LEN); session->charging_characteristics_presence = true; } else { - memcpy(session->charging_characteristics, + memcpy(session->charging_characteristics, (uint8_t *)"\x00\x00", OGS_CHRGCHARS_LEN); session->charging_characteristics_presence = false; } @@ -600,7 +600,7 @@ ogs_error("Unknown AVP-Code:%d", hdr->avp_code); error++; - break; + break; } fd_msg_browse(avpch4, MSG_BRW_NEXT, &avpch4, NULL); @@ -717,7 +717,7 @@ /* Create a new session */ #define OGS_DIAM_S6A_APP_SID_OPT "app_s6a" - ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, + ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, CONSTSTRLEN(OGS_DIAM_S6A_APP_SID_OPT)); ogs_assert(ret == 0); ret = fd_msg_sess_get(fd_g_config->cnf_dict, req, &session, NULL); @@ -806,7 +806,7 @@ ret = ogs_diam_message_vendor_specific_appid_set( req, OGS_DIAM_S6A_APPLICATION_ID); ogs_assert(ret == 0); - + ret = clock_gettime(CLOCK_REALTIME, &sess_data->ts); ogs_assert(ret == 0); @@ -833,7 +833,7 @@ static void mme_s6a_aia_cb(void *data, struct msg **msg) { int ret; - + struct sess_state *sess_data = NULL; struct timespec ts; struct session *session; @@ -852,7 +852,7 @@ ogs_diam_e_utran_vector_t *e_utran_vector = NULL; ogs_debug("MME Authentication-Information-Answer"); - + ret = clock_gettime(CLOCK_REALTIME, &ts); ogs_assert(ret == 0); @@ -866,7 +866,7 @@ ogs_error("fd_msg_sess_get() failed"); return; } - + ret = fd_sess_state_retrieve(mme_s6a_reg, session, &sess_data); if (ret != 0) { ogs_error("fd_sess_state_retrieve() failed"); @@ -902,7 +902,7 @@ ogs_assert(aia_message); e_utran_vector = &aia_message->e_utran_vector; ogs_assert(e_utran_vector); - + /* Value of Result Code */ ret = fd_msg_search_avp(*msg, ogs_diam_result_code, &avp); ogs_assert(ret == 0); @@ -1071,11 +1071,11 @@ /* Free the message */ ogs_assert(pthread_mutex_lock(&ogs_diam_logger_self()->stats_lock) == 0); - dur = ((ts.tv_sec - sess_data->ts.tv_sec) * 1000000) + + dur = ((ts.tv_sec - sess_data->ts.tv_sec) * 1000000) + ((ts.tv_nsec - sess_data->ts.tv_nsec) / 1000); if (ogs_diam_logger_self()->stats.nb_recv) { /* Ponderate in the avg */ - ogs_diam_logger_self()->stats.avg = (ogs_diam_logger_self()->stats.avg * + ogs_diam_logger_self()->stats.avg = (ogs_diam_logger_self()->stats.avg * ogs_diam_logger_self()->stats.nb_recv + dur) / (ogs_diam_logger_self()->stats.nb_recv + 1); /* Min, max */ @@ -1090,21 +1090,21 @@ } if (error) ogs_diam_logger_self()->stats.nb_errs++; - else + else ogs_diam_logger_self()->stats.nb_recv++; ogs_assert(pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0); - + /* Display how long it took */ if (ts.tv_nsec > sess_data->ts.tv_nsec) - ogs_trace("in %d.%06ld sec", + ogs_trace("in %d.%06ld sec", (int)(ts.tv_sec - sess_data->ts.tv_sec), (long)(ts.tv_nsec - sess_data->ts.tv_nsec) / 1000); else - ogs_trace("in %d.%06ld sec", + ogs_trace("in %d.%06ld sec", (int)(ts.tv_sec + 1 - sess_data->ts.tv_sec), (long)(1000000000 + ts.tv_nsec - sess_data->ts.tv_nsec) / 1000); - + ret = fd_msg_free(*msg); ogs_assert(ret == 0); *msg = NULL; @@ -1149,7 +1149,7 @@ /* Create a new session */ #define OGS_DIAM_S6A_APP_SID_OPT "app_s6a" - ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, + ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, CONSTSTRLEN(OGS_DIAM_S6A_APP_SID_OPT)); ogs_assert(ret == 0); ret = fd_msg_sess_get(fd_g_config->cnf_dict, req, &session, NULL); @@ -1265,7 +1265,7 @@ svg = sess_data; /* Store this value in the session */ - ret = fd_sess_state_store(mme_s6a_reg, session, &sess_data); + ret = fd_sess_state_store(mme_s6a_reg, session, &sess_data); ogs_assert(ret == 0); ogs_assert(sess_data == 0); @@ -1315,7 +1315,7 @@ ogs_error("fd_msg_sess_get() failed"); return; } - + ret = fd_sess_state_retrieve(mme_s6a_reg, session, &sess_data); if (ret != 0) { ogs_error("fd_sess_state_retrieve() failed"); @@ -1459,7 +1459,7 @@ "PACKET_AND_CIRCUIT (0)"); } if (!(subdatamask & OGS_DIAM_S6A_SUBDATA_CC)) { - memcpy(mme_ue->charging_characteristics, (uint8_t *)"\x00\x00", + memcpy(mme_ue->charging_characteristics, (uint8_t *)"\x00\x00", OGS_CHRGCHARS_LEN); mme_ue->charging_characteristics_presence = false; } @@ -1523,7 +1523,7 @@ } if (error) ogs_diam_logger_self()->stats.nb_errs++; - else + else ogs_diam_logger_self()->stats.nb_recv++; ogs_assert(pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0); @@ -1870,12 +1870,12 @@ struct session *session, void *opaque, enum disp_action *act)
View file
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/src/smf/nudm-handler.c -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/src/smf/nudm-handler.c
Changed
@@ -84,7 +84,7 @@ OGS_5GSM_CAUSE_MISSING_OR_UNKNOWN_DNN); ogs_assert(n1smbuf); - ogs_warn("%s", strerror); + ogs_error("%s", strerror); smf_sbi_send_sm_context_create_error(stream, OGS_SBI_HTTP_STATUS_NOT_FOUND, OGS_SBI_APP_ERRNO_NULL, strerror, NULL, n1smbuf); @@ -119,6 +119,12 @@ continue; } + sessionAmbr = dnnConfiguration->session_ambr; + if (!sessionAmbr) { + ogs_error("No Session-AMBR"); + continue; + } + if (sess->session.name && ogs_strcasecmp(sess->session.name, dnnConfigurationMap->key) != 0) @@ -171,12 +177,6 @@ continue; } - sessionAmbr = dnnConfiguration->session_ambr; - if (!sessionAmbr) { - ogs_error("No Session-AMBR"); - continue; - } - sess->session.ambr.uplink = ogs_sbi_bitrate_from_string(sessionAmbr->uplink); sess->session.ambr.downlink = @@ -301,9 +301,39 @@ } if (!sess->session.name) { - strerror = ogs_msprintf("%s:%d No dnnConfiguration", + strerror = ogs_msprintf("%s:%d No DNN", smf_ue->supi, sess->psi); + ogs_assert(strerror); + + n1smbuf = gsm_build_pdu_session_establishment_reject(sess, + OGS_5GSM_CAUSE_MISSING_OR_UNKNOWN_DNN_IN_A_SLICE); + ogs_assert(n1smbuf); + + ogs_error("%s", strerror); + smf_sbi_send_sm_context_create_error(stream, + OGS_SBI_HTTP_STATUS_FORBIDDEN, + OGS_SBI_APP_ERRNO_DNN_DENIED, + strerror, NULL, n1smbuf); + ogs_free(strerror); + + return false; + } + + if (!sess->session.ssc_mode) { + strerror = ogs_msprintf("%s:%d SSCMode is not allowed", smf_ue->supi, sess->psi); ogs_assert(strerror); + + n1smbuf = gsm_build_pdu_session_establishment_reject(sess, + OGS_5GSM_CAUSE_NOT_SUPPORTED_SSC_MODE); + ogs_assert(n1smbuf); + + ogs_error("%s", strerror); + smf_sbi_send_sm_context_create_error(stream, + OGS_SBI_HTTP_STATUS_FORBIDDEN, + OGS_SBI_APP_ERRNO_SSC_DENIED, + strerror, NULL, n1smbuf); + ogs_free(strerror); + return false; } @@ -319,7 +349,7 @@ OGS_5GSM_CAUSE_INSUFFICIENT_RESOURCES_FOR_SPECIFIC_SLICE_AND_DNN); ogs_assert(n1smbuf); - ogs_warn("%s", strerror); + ogs_error("%s", strerror); smf_sbi_send_sm_context_create_error(stream, OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, OGS_SBI_APP_ERRNO_NULL, strerror, NULL, n1smbuf);
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
.