Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 183
View file
open5gs_2.5.5.70.1d93e.202212250007.dsc -> open5gs_2.5.5.72.8373d.202212260007.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-scp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.5.5.70.1d93e.202212250007 +Version: 2.5.5.72.8373d.202212260007 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -31,8 +31,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - 20f8b0ab13876050c15031bbab3a832a778fcb11 13605408 open5gs_2.5.5.70.1d93e.202212250007.tar.xz + f7dfcd3924a09df96d957646e25366e5bbd1df53 13605780 open5gs_2.5.5.72.8373d.202212260007.tar.xz Checksums-Sha256: - a102d530628796b22a2a66deafb82aae56c56eab681f07a15048cefdc0511f3f 13605408 open5gs_2.5.5.70.1d93e.202212250007.tar.xz + 37962ee853aa6e78ffa38984810c42d703cac124220561861bee28977b0f1541 13605780 open5gs_2.5.5.72.8373d.202212260007.tar.xz Files: - 277d9578b88f95b3e0761584c17728cc 13605408 open5gs_2.5.5.70.1d93e.202212250007.tar.xz + ef0ae7f6ef2f449c274e5965531fb2f4 13605780 open5gs_2.5.5.72.8373d.202212260007.tar.xz
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/.tarball-version -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.5.5.70-1d93e.202212250007 +2.5.5.72-8373d.202212260007
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/configs/open5gs/ausf.yaml.in -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/configs/open5gs/ausf.yaml.in
Changed
@@ -60,61 +60,6 @@ cert: @sysconfdir@/open5gs/tls/ausf.crt # -# o Generate the private key as below. -# $ openssl genpkey -algorithm X25519 -out /etc/open5gs/hnet/curve25519-1.key -# $ openssl ecparam -name prime256v1 -genkey -conv_form compressed -out /etc/open5gs/hnet/secp256r1-2.key -# -# o The private and public keys can be viewed with the command. -# The public key is used when creating the SIM. -# $ openssl pkey -in /etc/open5gs/hnet/curve25519-1.key -text -# $ openssl ec -in /etc/open5gs/hnet/secp256r1-2.key -conv_form compressed -text -# -# hnet: -# o Home network public key identifier(PKI) value : 1 -# Protection scheme identifier : ECIES scheme profile A -# - id: 1 -# scheme: 1 -# key: /etc/open5gs/hnet/curve25519-1.key -# -# o Home network public key identifier(PKI) value : 2 -# Protection scheme identifier : ECIES scheme profile B -# - id: 2 -# scheme: 2 -# key: /etc/open5gs/hnet/secp256r1-2.key -# -# o Home network public key identifier(PKI) value : 3 -# Protection scheme identifier : ECIES scheme profile A -# - id: 3 -# scheme: 1 -# key: /etc/open5gs/hnet/curve25519-1.key -# -# o Home network public key identifier(PKI) value : 4 -# Protection scheme identifier : ECIES scheme profile B -# - id: 4 -# scheme: 2 -# key: /etc/open5gs/hnet/secp256r1-2.key -# -hnet: - - id: 1 - scheme: 1 - key: @sysconfdir@/open5gs/hnet/curve25519-1.key - - id: 2 - scheme: 2 - key: @sysconfdir@/open5gs/hnet/secp256r1-2.key - - id: 3 - scheme: 1 - key: @sysconfdir@/open5gs/hnet/curve25519-3.key - - id: 4 - scheme: 2 - key: @sysconfdir@/open5gs/hnet/secp256r1-4.key - - id: 5 - scheme: 1 - key: @sysconfdir@/open5gs/hnet/curve25519-5.key - - id: 6 - scheme: 2 - key: @sysconfdir@/open5gs/hnet/secp256r1-6.key - -# # ausf: # # <SBI Server>
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/debian/changelog -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.5.5.70.1d93e.202212250007) unstable; urgency=medium +open5gs (2.5.5.72.8373d.202212260007) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Sun, 25 Dec 2022 00:09:18 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 26 Dec 2022 00:09:32 +0000 open5gs (2.5.6) unstable; urgency=medium
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/debian/open5gs-common.install -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/debian/open5gs-common.install
Changed
@@ -2,6 +2,4 @@ usr/lib/*/libfd*.so* usr/lib/*/freeDiameter/*.fdx configs/open5gs/tls/ca.crt /etc/open5gs/tls -configs/open5gs/hnet/curve25519-*.key /etc/open5gs/hnet -configs/open5gs/hnet/secp256r1-*.key /etc/open5gs/hnet configs/logrotate/open5gs /etc/logrotate.d
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/debian/open5gs-udm.install -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/debian/open5gs-udm.install
Changed
@@ -2,4 +2,6 @@ configs/open5gs/udm.yaml etc/open5gs configs/open5gs/tls/udm.key etc/open5gs/tls configs/open5gs/tls/udm.crt etc/open5gs/tls +configs/open5gs/hnet/curve25519-*.key /etc/open5gs/hnet +configs/open5gs/hnet/secp256r1-*.key /etc/open5gs/hnet configs/systemd/open5gs-udmd.service lib/systemd/system
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/ausf/context.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/ausf/context.c
Changed
@@ -137,10 +137,6 @@ ogs_assert(ausf_ue->suci); ogs_hash_set(self.suci_hash, ausf_ue->suci, strlen(ausf_ue->suci), ausf_ue); - ausf_ue->supi = ogs_supi_from_supi_or_suci(ausf_ue->suci); - ogs_assert(ausf_ue->supi); - ogs_hash_set(self.supi_hash, ausf_ue->supi, strlen(ausf_ue->supi), ausf_ue); - memset(&e, 0, sizeof(e)); e.ausf_ue = ausf_ue; ogs_fsm_init(&ausf_ue->sm, ausf_ue_state_initial, ausf_ue_state_final, &e); @@ -172,9 +168,11 @@ ogs_hash_set(self.suci_hash, ausf_ue->suci, strlen(ausf_ue->suci), NULL); ogs_free(ausf_ue->suci); - ogs_assert(ausf_ue->supi); - ogs_hash_set(self.supi_hash, ausf_ue->supi, strlen(ausf_ue->supi), NULL); - ogs_free(ausf_ue->supi); + if (ausf_ue->supi) { + ogs_hash_set(self.supi_hash, + ausf_ue->supi, strlen(ausf_ue->supi), NULL); + ogs_free(ausf_ue->supi); + } if (ausf_ue->auth_events_url) ogs_free(ausf_ue->auth_events_url);
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/ausf/nausf-handler.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/ausf/nausf-handler.c
Changed
@@ -36,7 +36,7 @@ ogs_error("%s No AuthenticationInfo", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, - recvmsg, "%s No AuthenticationInfo", ausf_ue->suci)); + recvmsg, "No AuthenticationInfo", ausf_ue->suci)); return false; } @@ -45,7 +45,7 @@ ogs_error("%s No servingNetworkName", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, - recvmsg, "%s No servingNetworkName", ausf_ue->suci)); + recvmsg, "No servingNetworkName", ausf_ue->suci)); return false; } @@ -79,7 +79,7 @@ ogs_error("%s No ConfirmationData", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, - recvmsg, "%s No ConfirmationData", ausf_ue->suci)); + recvmsg, "No ConfirmationData", ausf_ue->suci)); return false; } @@ -88,7 +88,7 @@ ogs_error("%s No ConfirmationData.resStar", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, - recvmsg, "%s No ConfirmationData.resStar", ausf_ue->suci)); + recvmsg, "No ConfirmationData.resStar", ausf_ue->suci)); return false; }
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/ausf/nudm-build.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/ausf/nudm-build.c
Changed
@@ -74,6 +74,7 @@ OpenAPI_auth_event_t *AuthEvent = NULL; ogs_assert(ausf_ue); + ogs_assert(ausf_ue->supi); memset(&message, 0, sizeof(message)); message.h.method = (char *)OGS_SBI_HTTP_METHOD_POST; @@ -127,6 +128,7 @@ OpenAPI_auth_event_t *AuthEvent = NULL; ogs_assert(ausf_ue); + ogs_assert(ausf_ue->supi); memset(&message, 0, sizeof(message)); message.h.method = (char *)OGS_SBI_HTTP_METHOD_PUT;
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/ausf/nudm-handler.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/ausf/nudm-handler.c
Changed
@@ -62,7 +62,7 @@ ogs_error("%s No AuthenticationInfoResult", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationInfoResult", ausf_ue->suci)); return false; } @@ -85,7 +85,7 @@ ogs_error("%s No AuthenticationVector", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationVector", ausf_ue->suci)); return false; } @@ -104,7 +104,7 @@ ogs_error("%s No AuthenticationVector.rand", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationVector.rand", ausf_ue->suci)); return false; } @@ -114,7 +114,7 @@ ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationVector.xresStar", ausf_ue->suci)); return false; } @@ -123,7 +123,7 @@ ogs_error("%s No AuthenticationVector.autn", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationVector.autn", ausf_ue->suci)); return false; } @@ -132,11 +132,31 @@ ogs_error("%s No AuthenticationVector.kausf", ausf_ue->suci); ogs_assert(true == ogs_sbi_server_send_error(stream, - OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, recvmsg, "No AuthenticationVector.kausf", ausf_ue->suci)); return false; } + if (!AuthenticationInfoResult->supi) { + ogs_error("%s No AuthenticationVector.supi", ausf_ue->suci); + ogs_assert(true == + ogs_sbi_server_send_error(stream, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, + recvmsg, "No AuthenticationVector.supi", ausf_ue->suci)); + return false; + } + + /* SUPI */ + if (ausf_ue->supi) { + ogs_hash_set(ausf_self()->supi_hash, + ausf_ue->supi, strlen(ausf_ue->supi), NULL); + ogs_free(ausf_ue->supi); + } + ausf_ue->supi = ogs_strdup(AuthenticationInfoResult->supi); + ogs_assert(ausf_ue->supi); + ogs_hash_set(ausf_self()->supi_hash, + ausf_ue->supi, strlen(ausf_ue->supi), ausf_ue); + ausf_ue->auth_type = AuthenticationInfoResult->auth_type; ogs_ascii_to_hex(
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/ausf/ue-sm.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/ausf/ue-sm.c
Changed
@@ -90,6 +90,16 @@ } break; CASE(OGS_SBI_HTTP_METHOD_PUT) + if (!ausf_ue->supi) { + ogs_error("%s No SUPI", ausf_ue->suci); + ogs_assert(true == + ogs_sbi_server_send_error(stream, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, + message, "%s No SUPI", ausf_ue->suci)); + OGS_FSM_TRAN(s, ausf_ue_state_exception); + break; + } + handled = ausf_nausf_auth_handle_authenticate_confirmation( ausf_ue, stream, message); if (!handled) { @@ -99,6 +109,16 @@ } break; CASE(OGS_SBI_HTTP_METHOD_DELETE) + if (!ausf_ue->supi) { + ogs_error("%s No SUPI", ausf_ue->suci); + ogs_assert(true == + ogs_sbi_server_send_error(stream, + OGS_SBI_HTTP_STATUS_BAD_REQUEST, + message, "%s No SUPI", ausf_ue->suci)); + OGS_FSM_TRAN(s, ausf_ue_state_exception); + break; + } + handled = ausf_nausf_auth_handle_authenticate_delete( ausf_ue, stream, message); if (!handled) {
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/smf/context.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/smf/context.c
Changed
@@ -2441,9 +2441,10 @@ ogs_assert(bearer); ogs_assert(bearer->sess); - smf_metrics_inst_by_5qi_add(&bearer->sess->plmn_id, - &bearer->sess->s_nssai, bearer->sess->session.qos.index, - SMF_METR_GAUGE_SM_QOSFLOWNBR, -1); + if (SMF_IS_QOF_FLOW(bearer)) + smf_metrics_inst_by_5qi_add(&bearer->sess->plmn_id, + &bearer->sess->s_nssai, bearer->sess->session.qos.index, + SMF_METR_GAUGE_SM_QOSFLOWNBR, -1); ogs_list_remove(&bearer->sess->bearer_list, bearer); @@ -2473,7 +2474,7 @@ smf_pf_identifier_pool_final(bearer); - if (bearer->qfi_node) + if (SMF_IS_QOF_FLOW(bearer)) ogs_pool_free(&bearer->sess->qfi_pool, bearer->qfi_node); ogs_pool_free(&smf_bearer_pool, bearer);
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/smf/context.h -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/smf/context.h
Changed
@@ -182,6 +182,7 @@ ogs_pfcp_urr_t *urr; ogs_pfcp_qer_t *qer; +#define SMF_IS_QOF_FLOW(__bEARER) ((__bEARER)->qfi_node) uint8_t *qfi_node; /* Pool-Node for 5GC-QFI */ uint8_t qfi; /* 5G Core QFI */ uint8_t ebi; /* EPC EBI */
View file
open5gs_2.5.5.70.1d93e.202212250007.tar.xz/src/udm/nudr-handler.c -> open5gs_2.5.5.72.8373d.202212260007.tar.xz/src/udm/nudr-handler.c
Changed
@@ -197,6 +197,7 @@ memset(&AuthenticationInfoResult, 0, sizeof(AuthenticationInfoResult)); + AuthenticationInfoResult.supi = udm_ue->supi; AuthenticationInfoResult.auth_type = udm_ue->auth_type; ogs_random(udm_ue->rand, OGS_RAND_LEN);
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
.