Projects
osmocom:nightly
open5gs
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 132
View file
open5gs_2.5.4.202211040002.tar.xz/docs/_posts/2022-11-01-release-v2.5.4.md
Deleted
@@ -1,96 +0,0 @@ ---- -title: "v2.5.4 - SCP for Indirect Communication" -date: 2022-11-01 21:07:00 +0900 -categories: - - Release -tags: - - News - - Release -head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>" ---- - -#### New Feature - -SCP(Service Communication Proxy) is added to support Indirect Communication based on TS29.500. The default Open5GS configuration is provided as an indirect communication using SCP. - -- amf.yaml If NFs are configured to use Delegated Discovery through the SCP, you do not need to set up NRF. - -``` -amf: - sbi: - - addr: 127.0.0.5 - port: 7777 - -scp: - sbi: - - addr: 127.0.1.10 - port: 7777 - -#nrf: -# sbi: -# - addr: -# - 127.0.0.10 -# - ::1 -# port: 7777 -``` - -- scp.yaml NRF is needed for Delegated Discovery in SCP configuration. - -``` -scp: - sbi: - - addr: 127.0.1.10 - port: 7777 - -# -# next_scp: -# sbi: -# addr: 127.0.1.11 -# port: 7777 -# - -nrf: - sbi: - - addr: - - 127.0.0.10 - - ::1 - port: 7777 -``` - -- nrf.yaml If there is an SCP in the NRF configuration, a notification(nnrf-nfm/nf-status-notify) is sent through an indirect communication. - -``` -nrf: - sbi: - addr: - - 127.0.0.10 - - ::1 - port: 7777 - -scp: - sbi: - - addr: 127.0.1.10 - port: 7777 -``` - - -#### Enhancements -- WebUI/DB Fixed the WebUI to Support MongoDB 6.0 (#1824(https://github.com/open5gs/open5gs/issues/1824)) -- bmeglicit(https://github.com/bmeglicit) -- NAS Discard NAS message if integrity is failed (#1848(https://github.com/open5gs/open5gs/pull/1848)) -- jmasterfunk84(https://github.com/jmasterfunk84) -- AMF Support REREGISTRATION_REQUIRED in dereg notify (#1858(https://github.com/open5gs/open5gs/pull/1858)) -- mitmitmitm(https://github.com/mitmitmitm) -- SMF Support Security Indication IE for 5G-SA UP integrity and confidentiality(#1851(https://github.com/open5gs/open5gs/discussions/1851)) -- irazairspan(https://github.com/irazairspan) -- DBI Disable Changes Streams with mongo Version (#1833(https://github.com/open5gs/open5gs/pull/1833)) -- jmasterfunk84(https://github.com/jmasterfunk84) -- SBI Added 3gpp-Sbi-Sender-Timestamp and 3gpp-Sbi-Max-Rsp-Time -- 7c8722d(https://github.com/open5gs/open5gs/commit/7c8722d9d4d2db13d889be1e5e37bc062f069396) -- MME Cancel Location while Idle (#1797(https://github.com/open5gs/open5gs/pull/1797)) -- jmasterfunk84(https://github.com/jmasterfunk84) -- MME Support for Insert Subscriber Data (#1794(https://github.com/open5gs/open5gs/pull/1794)) -- jmasterfunk84(https://github.com/jmasterfunk84) - -#### Bug Fixes -- SGW-C Fixed the bug of SGW-C session deletion (#1825(https://github.com/open5gs/open5gs/pull/1825)) -- dai9000(https://github.com/dai9000), cmmacneill53(https://github.com/cmmacneill53) -- AMF Reject registration requests when pool for UE context is empty (#1828(https://github.com/open5gs/open5gs/pull/1828)) -- bmeglicit(https://github.com/bmeglicit) -- AMF Increase size of TMSI pool (#1827(https://github.com/open5gs/open5gs/pull/1827)) -- bmeglicit(https://github.com/bmeglicit) -- AMF/UDM Added support to subscribe to SDM changes (#1820(https://github.com/open5gs/open5gs/pull/1820)) -- bmeglicit(https://github.com/bmeglicit) -- PFCP Do not check qos_flow in PFCP Report message (#1819(https://github.com/open5gs/open5gs/pull/1819)) -- ssafaorhan(https://github.com/ssafaorhan) -- PFCP Fixed invalid message of Dropped DL Traffic threshold (#1817(https://github.com/open5gs/open5gs/pull/1817)) -- ssafaorhan(https://github.com/ssafaorhan) - -Download -- v2.5.4.tar.gz(https://github.com/open5gs/open5gs/archive/v2.5.4.tar.gz) -{: .notice--info}
View file
open5gs_2.5.4.202211040002.dsc -> open5gs_2.5.5.202211050002.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.4.202211040002 +Version: 2.5.5.202211050002 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: - 13aa833f7979a622309456d2207517a0c5783eac 11489568 open5gs_2.5.4.202211040002.tar.xz + 6008f06017b8b4c9215d6977b511a9604aca3da7 11489292 open5gs_2.5.5.202211050002.tar.xz Checksums-Sha256: - d052d648b3bc6fc8a66c7f1f20e735048a1897ae0544a51bc5e12d20ddb4ab51 11489568 open5gs_2.5.4.202211040002.tar.xz + c48b0cddee56e954d35dd1ce0aa0644ecee3a5af84a7edb52db4e8943c2d0d74 11489292 open5gs_2.5.5.202211050002.tar.xz Files: - 1136e1520eca3f62777f75ae78556dca 11489568 open5gs_2.5.4.202211040002.tar.xz + 1e93bbafeb5721cd38c638358a99acf9 11489292 open5gs_2.5.5.202211050002.tar.xz
View file
open5gs_2.5.4.202211040002.tar.xz/.tarball-version -> open5gs_2.5.5.202211050002.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.5.4.202211040002 +2.5.5.202211050002
View file
open5gs_2.5.4.202211040002.tar.xz/debian/changelog -> open5gs_2.5.5.202211050002.tar.xz/debian/changelog
Changed
@@ -1,158 +1,38 @@ -open5gs (2.5.4.202211040002) unstable; urgency=medium +open5gs (2.5.5.202211050002) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 04 Nov 2022 00:04:31 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sat, 05 Nov 2022 00:04:32 +0000 -open5gs (2.5.4) unstable; urgency=medium +open5gs (2.5.5) unstable; urgency=medium * New NF - SCP(Service Communication Proxy) - -- Sukchan Lee <acetcom@gmail.com> Tue, 01 Nov 2022 21:14:56 +0900 + -- Sukchan Lee <acetcom@gmail.com> Fri, 04 Nov 2022 20:32:51 +0900 -open5gs (2.5.4~kinetic) kinetic; urgency=medium +open5gs (2.5.5~kinetic) kinetic; urgency=medium * New NF - SCP(Service Communication Proxy) - -- Sukchan Lee <acetcom@gmail.com> Tue, 01 Nov 2022 21:12:25 +0900 + -- Sukchan Lee <acetcom@gmail.com> Fri, 04 Nov 2022 20:31:19 +0900 -open5gs (2.5.4~jammy) jammy; urgency=medium +open5gs (2.5.5~jammy) jammy; urgency=medium * New NF - SCP(Service Communication Proxy) - -- Sukchan Lee <acetcom@gmail.com> Tue, 01 Nov 2022 21:11:03 +0900 + -- Sukchan Lee <acetcom@gmail.com> Fri, 04 Nov 2022 20:29:55 +0900 -open5gs (2.5.4~focal) focal; urgency=medium +open5gs (2.5.5~focal) focal; urgency=medium * New NF - SCP(Service Communication Proxy) - -- Sukchan Lee <acetcom@gmail.com> Tue, 01 Nov 2022 21:09:21 +0900 + -- Sukchan Lee <acetcom@gmail.com> Fri, 04 Nov 2022 20:28:28 +0900 -open5gs (2.5.4~bionic) bionic; urgency=medium +open5gs (2.5.5~bionic) bionic; urgency=medium * New NF - SCP(Service Communication Proxy) - -- Sukchan Lee <acetcom@gmail.com> Tue, 01 Nov 2022 21:07:58 +0900 - -open5gs (2.5.3) unstable; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Mon, 31 Oct 2022 07:25:06 +0900 - -open5gs (2.5.3~kinetic) kinetic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Mon, 31 Oct 2022 07:23:45 +0900 - -open5gs (2.5.3~jammy) jammy; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Mon, 31 Oct 2022 07:22:25 +0900 - -open5gs (2.5.3~focal) focal; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Mon, 31 Oct 2022 07:20:57 +0900 - -open5gs (2.5.3~bionic) bionic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Mon, 31 Oct 2022 07:19:26 +0900 - -open5gs (2.5.2) unstable; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sun, 30 Oct 2022 14:18:50 +0900 - -open5gs (2.5.2~kinetic) kinetic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sun, 30 Oct 2022 14:15:19 +0900 - -open5gs (2.5.2~jammy) jammy; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sun, 30 Oct 2022 14:13:53 +0900 - -open5gs (2.5.2~focal) focal; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sun, 30 Oct 2022 14:12:34 +0900 - -open5gs (2.5.2~bionic) bionic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sun, 30 Oct 2022 14:11:04 +0900 - -open5gs (2.5.1) unstable; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sat, 29 Oct 2022 12:37:52 +0900 - -open5gs (2.5.1~kinetic) kinetic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sat, 29 Oct 2022 12:36:17 +0900 - -open5gs (2.5.1~jammy) jammy; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sat, 29 Oct 2022 12:34:51 +0900 - -open5gs (2.5.1~focal) focal; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sat, 29 Oct 2022 12:32:53 +0900 - -open5gs (2.5.1~bionic) bionic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Sat, 29 Oct 2022 12:31:01 +0900 - -open5gs (2.5.0) unstable; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Tue, 25 Oct 2022 22:46:32 +0900 - -open5gs (2.5.0~kinetic2) kinetic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Tue, 25 Oct 2022 22:45:05 +0900 - -open5gs (2.5.0~jammy2) jammy; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Tue, 25 Oct 2022 22:43:33 +0900 - -open5gs (2.5.0~focal2) focal; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Tue, 25 Oct 2022 22:41:49 +0900 - -open5gs (2.5.0~bionic2) bionic; urgency=medium - - * New NF - SCP(Service Communication Proxy) - - -- Sukchan Lee <acetcom@gmail.com> Tue, 25 Oct 2022 22:40:16 +0900 + -- Sukchan Lee <acetcom@gmail.com> Fri, 04 Nov 2022 20:26:31 +0900 open5gs (2.4.11) unstable; urgency=medium
View file
open5gs_2.5.4.202211040002.tar.xz/docker/build/Dockerfile -> open5gs_2.5.5.202211050002.tar.xz/docker/build/Dockerfile
Changed
@@ -9,4 +9,7 @@ COPY docker/build/setup.sh /root COPY ./ /open5gs +ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait +RUN chmod +x /wait + RUN meson build && ninja -C build install
View file
open5gs_2.5.4.202211040002.tar.xz/docker/check.sh -> open5gs_2.5.5.202211050002.tar.xz/docker/check.sh
Changed
@@ -1,9 +1,9 @@ #!/bin/sh -docker-compose run --rm test -TAG=focal docker-compose run --rm test -DIST=fedora docker-compose run --rm test -DIST=debian docker-compose run --rm test -#DIST=alpine docker-compose run --rm test +docker compose run --rm test +TAG=focal docker compose run --rm test +DIST=fedora docker compose run --rm test +DIST=debian docker compose run --rm test +#DIST=alpine docker compose run --rm test docker rm $(docker ps -qa --no-trunc --filter "status=exited")
View file
open5gs_2.5.4.202211040002.tar.xz/docker/docker-compose.yml -> open5gs_2.5.5.202211050002.tar.xz/docker/docker-compose.yml
Changed
@@ -6,8 +6,10 @@ container_name: open5gs-mongodb ports: - "27017:27017" + restart: unless-stopped volumes: - mongodb:/data/db + - ../docs/assets/webui/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro webui: build: webui @@ -17,10 +19,9 @@ - mongodb ports: - "3000:3000" - depends_on: - - mongodb environment: - DB_URI: mongodb://mongodb/open5gs + - DB_URI=mongodb://mongodb/open5gs + - WAIT_HOSTS=mongodb:27017 base: build: @@ -67,7 +68,8 @@ - mongodb - build environment: - DB_URI: mongodb://mongodb/open5gs + - DB_URI=mongodb://mongodb/open5gs + - WAIT_HOSTS=mongodb:27017 cap_add: - NET_ADMIN devices: @@ -75,7 +77,7 @@ sysctls: - net.ipv6.conf.all.disable_ipv6=0 hostname: open5gs-test - command: /bin/bash -c "/root/setup.sh; cd /open5gs/build && meson test -v" + command: /bin/bash -c "/root/setup.sh; cd /open5gs/build && /wait && meson test -v" dev: build:
View file
open5gs_2.5.4.202211040002.tar.xz/docker/webui/Dockerfile -> open5gs_2.5.5.202211050002.tar.xz/docker/webui/Dockerfile
Changed
@@ -3,7 +3,7 @@ MAINTAINER Sukchan Lee <acetcom@gmail.com> ARG PACKAGE=open5gs -ARG VERSION=2.5.4 +ARG VERSION=2.5.5 RUN set -e; \ cd /usr/src; \ @@ -16,6 +16,9 @@ RUN npm clean-install && \ npm run build -CMD npm run start +ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait +RUN chmod +x /wait + +CMD /wait && npm run start EXPOSE 3000
View file
open5gs_2.5.5.202211050002.tar.xz/docs/_posts/2022-11-04-release-v2.5.5.md
Added
@@ -0,0 +1,97 @@ +--- +title: "v2.5.5 - SCP for Indirect Communication" +date: 2022-11-04 20:37:00 +0900 +categories: + - Release +tags: + - News + - Release +head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>" +--- + +#### New Feature + +SCP(Service Communication Proxy) is added to support Indirect Communication based on TS29.500. The default Open5GS configuration is provided as an indirect communication using SCP. + +- amf.yaml If NFs are configured to use Delegated Discovery through the SCP, you do not need to set up NRF. + +``` +amf: + sbi: + - addr: 127.0.0.5 + port: 7777 + +scp: + sbi: + - addr: 127.0.1.10 + port: 7777 + +#nrf: +# sbi: +# - addr: +# - 127.0.0.10 +# - ::1 +# port: 7777 +``` + +- scp.yaml NRF is needed for Delegated Discovery in SCP configuration. + +``` +scp: + sbi: + - addr: 127.0.1.10 + port: 7777 + +# +# next_scp: +# sbi: +# addr: 127.0.1.11 +# port: 7777 +# + +nrf: + sbi: + - addr: + - 127.0.0.10 + - ::1 + port: 7777 +``` + +- nrf.yaml If there is an SCP in the NRF configuration, a notification(nnrf-nfm/nf-status-notify) is sent through an indirect communication. + +``` +nrf: + sbi: + addr: + - 127.0.0.10 + - ::1 + port: 7777 + +scp: + sbi: + - addr: 127.0.1.10 + port: 7777 +``` + + +#### Enhancements +- WebUI/DB Fixed the WebUI to Support MongoDB 6.0 (#1824(https://github.com/open5gs/open5gs/issues/1824)) -- bmeglicit(https://github.com/bmeglicit) +- NAS Discard NAS message if integrity is failed (#1848(https://github.com/open5gs/open5gs/pull/1848)) -- jmasterfunk84(https://github.com/jmasterfunk84) +- AMF Support REREGISTRATION_REQUIRED in dereg notify (#1858(https://github.com/open5gs/open5gs/pull/1858)) -- mitmitmitm(https://github.com/mitmitmitm) +- SMF Support Security Indication IE for 5G-SA UP integrity and confidentiality(#1851(https://github.com/open5gs/open5gs/discussions/1851)) -- irazairspan(https://github.com/irazairspan) +- DBI Disable Changes Streams with mongo Version (#1833(https://github.com/open5gs/open5gs/pull/1833)) -- jmasterfunk84(https://github.com/jmasterfunk84) +- SBI Added 3gpp-Sbi-Sender-Timestamp and 3gpp-Sbi-Max-Rsp-Time -- 7c8722d(https://github.com/open5gs/open5gs/commit/7c8722d9d4d2db13d889be1e5e37bc062f069396) +- MME Cancel Location while Idle (#1797(https://github.com/open5gs/open5gs/pull/1797)) -- jmasterfunk84(https://github.com/jmasterfunk84) +- MME Support for Insert Subscriber Data (#1794(https://github.com/open5gs/open5gs/pull/1794)) -- jmasterfunk84(https://github.com/jmasterfunk84) + +#### Bug Fixes +- SBI Do not send empty arrays in NRF/PCF (#1876(https://github.com/open5gs/open5gs/pull/1876)) -- bmeglicit(https://github.com/bmeglicit) +- SGW-C Fixed the bug of SGW-C session deletion (#1825(https://github.com/open5gs/open5gs/pull/1825)) -- dai9000(https://github.com/dai9000), cmmacneill53(https://github.com/cmmacneill53) +- AMF Reject registration requests when pool for UE context is empty (#1828(https://github.com/open5gs/open5gs/pull/1828)) -- bmeglicit(https://github.com/bmeglicit) +- AMF Increase size of TMSI pool (#1827(https://github.com/open5gs/open5gs/pull/1827)) -- bmeglicit(https://github.com/bmeglicit) +- AMF/UDM Added support to subscribe to SDM changes (#1820(https://github.com/open5gs/open5gs/pull/1820)) -- bmeglicit(https://github.com/bmeglicit) +- PFCP Do not check qos_flow in PFCP Report message (#1819(https://github.com/open5gs/open5gs/pull/1819)) -- ssafaorhan(https://github.com/ssafaorhan) +- PFCP Fixed invalid message of Dropped DL Traffic threshold (#1817(https://github.com/open5gs/open5gs/pull/1817)) -- ssafaorhan(https://github.com/ssafaorhan) + +Download -- v2.5.5.tar.gz(https://github.com/open5gs/open5gs/archive/v2.5.5.tar.gz) +{: .notice--info}
View file
open5gs_2.5.4.202211040002.tar.xz/docs/assets/webui/install -> open5gs_2.5.5.202211050002.tar.xz/docs/assets/webui/install
Changed
@@ -10,7 +10,7 @@ # PACKAGE="open5gs" -VERSION="2.5.4" +VERSION="2.5.5" print_status() { echo @@ -93,18 +93,23 @@ PRE_INSTALL_PKGS="" -if ! -x /usr/bin/lsb_release ; then - PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} lsb-release" +# Check that HTTPS transport is available to APT +# (Check snaked from: https://get.docker.io/ubuntu/) + +if ! -e /usr/lib/apt/methods/https ; then + PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} apt-transport-https" fi -if ! -x /usr/bin/node && ! -x /usr/bin/wget ; then - PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} nodejs" +if ! -x /usr/bin/lsb_release ; then + PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} lsb-release" fi if ! -x /usr/bin/curl && ! -x /usr/bin/wget ; then PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} curl" fi +# Used by apt-key to add new keys + if ! -x /usr/bin/gpg ; then PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} gnupg" fi @@ -114,9 +119,17 @@ if "X${PRE_INSTALL_PKGS}" != "X" ; then print_status "Installing packages required for setup:${PRE_INSTALL_PKGS}..." + # This next command needs to be redirected to /dev/null or the script will bork + # in some environments exec_cmd "apt-get install -y${PRE_INSTALL_PKGS} > /dev/null 2>&1" fi +IS_PRERELEASE=$(lsb_release -d | grep 'Ubuntu .*development' >& /dev/null; echo $?) +if $IS_PRERELEASE -eq 0 ; then + print_status "Your distribution, identified as \"$(lsb_release -d -s)\", is a pre-release version of Ubuntu. NodeSource does not maintain official support for Ubuntu versions until they are formally released. You can try using the manual installation instructions available at https://github.com/nodesource/distributions and use the latest supported Ubuntu version name as the distribution identifier, although this is not guaranteed to work." + exit 1 +fi + DISTRO=$(lsb_release -c -s) check_alt() { @@ -128,54 +141,76 @@ fi } -check_alt "SolydXK" "solydxk-9" "Debian" "stretch" -check_alt "Kali" "sana" "Debian" "jessie" -check_alt "Kali" "kali-rolling" "Debian" "jessie" -check_alt "Sparky Linux" "Tyche" "Debian" "stretch" -check_alt "Sparky Linux" "Nibiru" "Debian" "buster" -check_alt "MX Linux 17" "Horizon" "Debian" "stretch" -check_alt "MX Linux 18" "Continuum" "Debian" "stretch" -check_alt "MX Linux 19" "patito feo" "Debian" "buster" -check_alt "Linux Mint" "maya" "Ubuntu" "precise" -check_alt "Linux Mint" "qiana" "Ubuntu" "trusty" -check_alt "Linux Mint" "rafaela" "Ubuntu" "trusty" -check_alt "Linux Mint" "rebecca" "Ubuntu" "trusty" -check_alt "Linux Mint" "rosa" "Ubuntu" "trusty" -check_alt "Linux Mint" "sarah" "Ubuntu" "xenial" -check_alt "Linux Mint" "serena" "Ubuntu" "xenial" -check_alt "Linux Mint" "sonya" "Ubuntu" "xenial" -check_alt "Linux Mint" "sylvia" "Ubuntu" "xenial" -check_alt "Linux Mint" "tara" "Ubuntu" "bionic" -check_alt "Linux Mint" "tessa" "Ubuntu" "bionic" -check_alt "Linux Mint" "tina" "Ubuntu" "bionic" -check_alt "Linux Mint" "tricia" "Ubuntu" "bionic" -check_alt "LMDE" "betsy" "Debian" "jessie" -check_alt "LMDE" "cindy" "Debian" "stretch" -check_alt "elementaryOS" "luna" "Ubuntu" "precise" -check_alt "elementaryOS" "freya" "Ubuntu" "trusty" -check_alt "elementaryOS" "loki" "Ubuntu" "xenial" -check_alt "elementaryOS" "juno" "Ubuntu" "bionic" -check_alt "elementaryOS" "hera" "Ubuntu" "bionic" -check_alt "Trisquel" "toutatis" "Ubuntu" "precise" -check_alt "Trisquel" "belenos" "Ubuntu" "trusty" -check_alt "Trisquel" "flidas" "Ubuntu" "xenial" -check_alt "Uruk GNU/Linux" "lugalbanda" "Ubuntu" "xenial" -check_alt "BOSS" "anokha" "Debian" "wheezy" -check_alt "BOSS" "anoop" "Debian" "jessie" -check_alt "BOSS" "drishti" "Debian" "stretch" -check_alt "bunsenlabs" "bunsen-hydrogen" "Debian" "jessie" -check_alt "bunsenlabs" "helium" "Debian" "stretch" -check_alt "Tanglu" "chromodoris" "Debian" "jessie" -check_alt "PureOS" "green" "Debian" "sid" -check_alt "Devuan" "jessie" "Debian" "jessie" -check_alt "Devuan" "ascii" "Debian" "stretch" -check_alt "Devuan" "beowulf" "Debian" "buster" -check_alt "Devuan" "ceres" "Debian" "sid" -check_alt "Deepin" "panda" "Debian" "sid" -check_alt "Deepin" "unstable" "Debian" "sid" -check_alt "Deepin" "stable" "Debian" "buster" -check_alt "Pardus" "onyedi" "Debian" "stretch" -check_alt "Liquid Lemur" "lemur-3" "Debian" "stretch" +check_alt "Astra Linux" "orel" "Debian" "stretch" +check_alt "BOSS" "anokha" "Debian" "wheezy" +check_alt "BOSS" "anoop" "Debian" "jessie" +check_alt "BOSS" "drishti" "Debian" "stretch" +check_alt "BOSS" "unnati" "Debian" "buster" +check_alt "BOSS" "urja" "Debian" "bullseye" +check_alt "bunsenlabs" "bunsen-hydrogen" "Debian" "jessie" +check_alt "bunsenlabs" "helium" "Debian" "stretch" +check_alt "bunsenlabs" "lithium" "Debian" "buster" +check_alt "Devuan" "jessie" "Debian" "jessie" +check_alt "Devuan" "ascii" "Debian" "stretch" +check_alt "Devuan" "beowulf" "Debian" "buster" +check_alt "Devuan" "chimaera" "Debian" "bullseye" +check_alt "Devuan" "ceres" "Debian" "sid" +check_alt "Deepin" "panda" "Debian" "sid" +check_alt "Deepin" "unstable" "Debian" "sid" +check_alt "Deepin" "stable" "Debian" "buster" +check_alt "Deepin" "apricot" "Debian" "buster" +check_alt "elementaryOS" "luna" "Ubuntu" "precise" +check_alt "elementaryOS" "freya" "Ubuntu" "trusty" +check_alt "elementaryOS" "loki" "Ubuntu" "xenial" +check_alt "elementaryOS" "juno" "Ubuntu" "bionic" +check_alt "elementaryOS" "hera" "Ubuntu" "bionic" +check_alt "elementaryOS" "odin" "Ubuntu" "focal" +check_alt "elementaryOS" "jolnir" "Ubuntu" "focal" +check_alt "Kali" "sana" "Debian" "jessie" +check_alt "Kali" "kali-rolling" "Debian" "bullseye" +check_alt "Linux Mint" "maya" "Ubuntu" "precise" +check_alt "Linux Mint" "qiana" "Ubuntu" "trusty" +check_alt "Linux Mint" "rafaela" "Ubuntu" "trusty" +check_alt "Linux Mint" "rebecca" "Ubuntu" "trusty" +check_alt "Linux Mint" "rosa" "Ubuntu" "trusty" +check_alt "Linux Mint" "sarah" "Ubuntu" "xenial" +check_alt "Linux Mint" "serena" "Ubuntu" "xenial" +check_alt "Linux Mint" "sonya" "Ubuntu" "xenial" +check_alt "Linux Mint" "sylvia" "Ubuntu" "xenial" +check_alt "Linux Mint" "tara" "Ubuntu" "bionic" +check_alt "Linux Mint" "tessa" "Ubuntu" "bionic" +check_alt "Linux Mint" "tina" "Ubuntu" "bionic" +check_alt "Linux Mint" "tricia" "Ubuntu" "bionic" +check_alt "Linux Mint" "ulyana" "Ubuntu" "focal" +check_alt "Linux Mint" "ulyssa" "Ubuntu" "focal" +check_alt "Linux Mint" "uma" "Ubuntu" "focal" +check_alt "Linux Mint" "una" "Ubuntu" "focal" +check_alt "Linux Mint" "vanessa" "Ubuntu" "jammy" +check_alt "Liquid Lemur" "lemur-3" "Debian" "stretch" +check_alt "LMDE" "betsy" "Debian" "jessie" +check_alt "LMDE" "cindy" "Debian" "stretch" +check_alt "LMDE" "debbie" "Debian" "buster" +check_alt "LMDE" "elsie" "Debian" "bullseye" +check_alt "MX Linux 17" "Horizon" "Debian" "stretch" +check_alt "MX Linux 18" "Continuum" "Debian" "stretch" +check_alt "MX Linux 19" "patito feo" "Debian" "buster" +check_alt "MX Linux 21" "wildflower" "Debian" "bullseye" +check_alt "Pardus" "onyedi" "Debian" "stretch" +check_alt "Parrot" "ara" "Debian" "bullseye" +check_alt "PureOS" "green" "Debian" "sid" +check_alt "PureOS" "amber" "Debian" "buster" +check_alt "PureOS" "byzantium" "Debian" "bullseye" +check_alt "SolydXK" "solydxk-9" "Debian" "stretch" +check_alt "Sparky Linux" "Tyche" "Debian" "stretch" +check_alt "Sparky Linux" "Nibiru" "Debian" "buster" +check_alt "Sparky Linux" "Po-Tolo" "Debian" "bullseye" +check_alt "Tanglu" "chromodoris" "Debian" "jessie" +check_alt "Trisquel" "toutatis" "Ubuntu" "precise" +check_alt "Trisquel" "belenos" "Ubuntu" "trusty" +check_alt "Trisquel" "flidas" "Ubuntu" "xenial" +check_alt "Trisquel" "etiona" "Ubuntu" "bionic" +check_alt "Ubilinux" "dolcetto" "Debian" "stretch" +check_alt "Uruk GNU/Linux" "lugalbanda" "Ubuntu" "xenial" if "X${DISTRO}" == "Xdebian" ; then print_status "Unknown Debian-based distribution, checking /etc/debian_version..." @@ -188,31 +223,25 @@ fi fi -if "X${DISTRO}" == "Xbuster" ; then - if -f "/etc/apt/sources.list.d/mongodb-org.list" ; then - print_status 'Removing Launchpad PPA Repository for MongoDB...' - exec_cmd "rm -f /etc/apt/sources.list.d/mongodb-org.list" - fi +print_status 'Removing Launchpad PPA Repository for MongoDB...' +for i in /etc/apt/sources.list.d/mongodb-org*; do + exec_cmd "rm -f $i" +done - print_status 'Adding the MongoDB signing key to your keyring...' +print_status 'Adding the MongoDB signing key to your keyring...' - if -x /usr/bin/curl ; then - exec_cmd 'curl -s https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -' - else - exec_cmd 'wget -qO- https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -' - fi +if -x /usr/bin/curl ; then + exec_cmd_nobail "curl -sLf -o /dev/null 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -" +else + exec_cmd_nobail "wget -qO /dev/null -o /dev/null 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -" +fi - print_status "Creating apt sources list file for the MongoDB repo..." +print_status "Creating apt sources list file for the MongoDB repo..." - exec_cmd "echo 'deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main' > /etc/apt/sources.list.d/mongodb-org.list" +exec_cmd "echo 'deb arch=amd64,arm64 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse' > /etc/apt/sources.list.d/mongodb-org-6.0.list" - if ! -x /usr/bin/mongod ; then - MONGODB_INSTALL_PKGS="${MONGODB_INSTALL_PKGS} mongodb-org" - fi -else - if ! -x /usr/bin/mongod ; then - MONGODB_INSTALL_PKGS="${MONGODB_INSTALL_PKGS} mongodb" - fi +if ! -x /usr/bin/mongod ; then + MONGODB_INSTALL_PKGS="${MONGODB_INSTALL_PKGS} mongodb-org" fi if "X${MONGODB_INSTALL_PKGS}" != "X" ; then @@ -240,7 +269,7 @@ fi print_status "Build the Open5GS WebUI..." -exec_cmd "cd ./${PACKAGE}-${VERSION}/webui && npm ci && npm run build" +exec_cmd "cd ./${PACKAGE}-${VERSION}/webui && npm clean-install && npm run build" print_status "Install the Open5GS WebUI..." exec_cmd "mv ./${PACKAGE}-${VERSION}/webui /usr/lib/node_modules/${PACKAGE}" @@ -267,23 +296,14 @@ exec_cmd_nobail "systemctl daemon-reload" exec_cmd "systemctl enable open5gs-webui" exec_cmd "deb-systemd-invoke start open5gs-webui" - -exec_cmd "rm -rf ./${PACKAGE}-${VERSION}" } postinstall() { print_status "Default Administrator Account Username:admin, Password:1423..." +exec_cmd "mongosh open5gs ./${PACKAGE}-${VERSION}/docs/assets/webui/mongo-init.js" -exec_cmd "cat << EOF > ./account.js -db = db.getSiblingDB('open5gs') -cursor = db.accounts.find() -if ( cursor.count() == 0 ) { - db.accounts.insert({ salt: 'f5c15fa72622d62b6b790aa8569b9339729801ab8bda5d13997b5db6bfc1d997', hash: '402223057db5194899d2e082aeb0802f6794622e1cbc47529c419e5a603f2cc592074b4f3323b239ffa594c8b756d5c70a4e1f6ecd3f9f0d2d7328c4cf8b1b766514effff0350a90b89e21eac54cd4497a169c0c7554a0e2cd9b672e5414c323f76b8559bc768cba11cad2ea3ae704fb36abc8abc2619231ff84ded60063c6e1554a9777a4a464ef9cfdfa90ecfdacc9844e0e3b2f91b59d9ff024aec4ea1f51b703a31cda9afb1cc2c719a09cee4f9852ba3cf9f07159b1ccf8133924f74df770b1a391c19e8d67ffdcbbef4084a3277e93f55ac60d80338172b2a7b3f29cfe8a36738681794f7ccbe9bc98f8cdeded02f8a4cd0d4b54e1d6ba3d11792ee0ae8801213691848e9c5338e39485816bb0f734b775ac89f454ef90992003511aa8cceed58a3ac2c3814f14afaaed39cbaf4e2719d7213f81665564eec02f60ede838212555873ef742f6666cc66883dcb8281715d5c762fb236d72b770257e7e8d86c122bb69028a34cf1ed93bb973b440fa89a23604cd3fefe85fbd7f55c9b71acf6ad167228c79513f5cfe899a2e2cc498feb6d2d2f07354a17ba74cecfbda3e87d57b147e17dcc7f4c52b802a8e77f28d255a6712dcdc1519e6ac9ec593270bfcf4c395e2531a271a841b1adefb8516a07136b0de47c7fd534601b16f0f7a98f1dbd31795feb97da59e1d23c08461cf37d6f2877d0f2e437f07e25015960f63', username: 'admin', roles: 'admin' , "__v" : 0}) -} -EOF" -exec_cmd "mongo open5gs ./account.js" -exec_cmd "rm -f ./account.js" +exec_cmd "rm -rf ./${PACKAGE}-${VERSION}" } ## Defer setup until we have the complete script
View file
open5gs_2.5.5.202211050002.tar.xz/docs/assets/webui/mongo-init.js
Added
@@ -0,0 +1,5 @@ +db = db.getSiblingDB('open5gs') +cursor = db.accounts.find() +if ( cursor.count() == 0 ) { + db.accounts.insertOne({ salt: 'f5c15fa72622d62b6b790aa8569b9339729801ab8bda5d13997b5db6bfc1d997', hash: '402223057db5194899d2e082aeb0802f6794622e1cbc47529c419e5a603f2cc592074b4f3323b239ffa594c8b756d5c70a4e1f6ecd3f9f0d2d7328c4cf8b1b766514effff0350a90b89e21eac54cd4497a169c0c7554a0e2cd9b672e5414c323f76b8559bc768cba11cad2ea3ae704fb36abc8abc2619231ff84ded60063c6e1554a9777a4a464ef9cfdfa90ecfdacc9844e0e3b2f91b59d9ff024aec4ea1f51b703a31cda9afb1cc2c719a09cee4f9852ba3cf9f07159b1ccf8133924f74df770b1a391c19e8d67ffdcbbef4084a3277e93f55ac60d80338172b2a7b3f29cfe8a36738681794f7ccbe9bc98f8cdeded02f8a4cd0d4b54e1d6ba3d11792ee0ae8801213691848e9c5338e39485816bb0f734b775ac89f454ef90992003511aa8cceed58a3ac2c3814f14afaaed39cbaf4e2719d7213f81665564eec02f60ede838212555873ef742f6666cc66883dcb8281715d5c762fb236d72b770257e7e8d86c122bb69028a34cf1ed93bb973b440fa89a23604cd3fefe85fbd7f55c9b71acf6ad167228c79513f5cfe899a2e2cc498feb6d2d2f07354a17ba74cecfbda3e87d57b147e17dcc7f4c52b802a8e77f28d255a6712dcdc1519e6ac9ec593270bfcf4c395e2531a271a841b1adefb8516a07136b0de47c7fd534601b16f0f7a98f1dbd31795feb97da59e1d23c08461cf37d6f2877d0f2e437f07e25015960f63', username: 'admin', roles: 'admin' , "__v" : 0}) +}
View file
open5gs_2.5.4.202211040002.tar.xz/lib/sbi/nnrf-build.c -> open5gs_2.5.5.202211050002.tar.xz/lib/sbi/nnrf-build.c
Changed
@@ -137,7 +137,7 @@ NFProfile->is_load = true; NFProfile->load = nf_instance->load; - NFProfile->ipv4_addresses = Ipv4AddrList = OpenAPI_list_create(); + Ipv4AddrList = OpenAPI_list_create(); if (!Ipv4AddrList) { ogs_error("No Ipv4AddrList"); ogs_nnrf_nfm_free_nf_profile(NFProfile); @@ -155,13 +155,19 @@ if (!ipstr) { ogs_error("No ipstr"); ogs_nnrf_nfm_free_nf_profile(NFProfile); + OpenAPI_list_free(Ipv4AddrList); return NULL; } OpenAPI_list_add(Ipv4AddrList, ipstr); } } - NFProfile->ipv6_addresses = Ipv6AddrList = OpenAPI_list_create(); + if (Ipv4AddrList->count) + NFProfile->ipv4_addresses = Ipv4AddrList; + else + OpenAPI_list_free(Ipv4AddrList); + + Ipv6AddrList = OpenAPI_list_create(); if (!Ipv6AddrList) { ogs_error("No IPv6AddrList"); ogs_nnrf_nfm_free_nf_profile(NFProfile); @@ -178,13 +184,19 @@ if (!ipstr) { ogs_error("No ipstr"); ogs_nnrf_nfm_free_nf_profile(NFProfile); + OpenAPI_list_free(Ipv6AddrList); return NULL; } OpenAPI_list_add(Ipv6AddrList, ipstr); } } - NFProfile->allowed_nf_types = AllowedNfTypeList = OpenAPI_list_create(); + if (Ipv6AddrList->count) + NFProfile->ipv6_addresses = Ipv6AddrList; + else + OpenAPI_list_free(Ipv6AddrList); + + AllowedNfTypeList = OpenAPI_list_create(); if (!AllowedNfTypeList) { ogs_error("No AllowedNfTypeList"); ogs_nnrf_nfm_free_nf_profile(NFProfile); @@ -196,6 +208,11 @@ (void *)(uintptr_t)nf_instance->allowed_nf_typei); } + if (AllowedNfTypeList->count) + NFProfile->allowed_nf_types = AllowedNfTypeList; + else + OpenAPI_list_free(AllowedNfTypeList); + NFServiceList = OpenAPI_list_create(); if (!NFServiceList) { ogs_error("No nf_service_list"); @@ -434,7 +451,7 @@ return NULL; } - NFService->versions = VersionList = OpenAPI_list_create(); + VersionList = OpenAPI_list_create(); if (!VersionList) { ogs_error("No VersionList"); free_nf_service(NFService); @@ -448,6 +465,7 @@ if (!NFServiceVersion) { ogs_error("No NFServiceVersion"); free_nf_service(NFService); + OpenAPI_list_free(VersionList); return NULL; } if (nf_service->versioni.in_uri) { @@ -458,6 +476,7 @@ if (NFServiceVersion) ogs_free(NFServiceVersion); free_nf_service(NFService); + OpenAPI_list_free(VersionList); return NULL; } } @@ -472,6 +491,7 @@ ogs_free(NFServiceVersion); } free_nf_service(NFService); + OpenAPI_list_free(VersionList); return NULL; } } @@ -488,6 +508,7 @@ ogs_free(NFServiceVersion); } free_nf_service(NFService); + OpenAPI_list_free(VersionList); return NULL; } } @@ -495,13 +516,16 @@ OpenAPI_list_add(VersionList, NFServiceVersion); } + ogs_assert(VersionList->count); + NFService->versions = VersionList; + NFService->scheme = nf_service->scheme; NFService->nf_service_status = nf_service->status; if (nf_service->fqdn) NFService->fqdn = ogs_strdup(nf_service->fqdn); - NFService->ip_end_points = IpEndPointList = OpenAPI_list_create(); + IpEndPointList = OpenAPI_list_create(); if (!IpEndPointList) { ogs_error("No IpEndPointList"); free_nf_service(NFService); @@ -522,6 +546,7 @@ if (!IpEndPoint) { ogs_error("No IpEndPoint"); free_nf_service(NFService); + OpenAPI_list_free(IpEndPointList); return NULL; } if (ipv4) { @@ -531,6 +556,7 @@ if (IpEndPoint) ogs_free(IpEndPoint); free_nf_service(NFService); + OpenAPI_list_free(IpEndPointList); return NULL; } } @@ -544,6 +570,7 @@ ogs_free(IpEndPoint); } free_nf_service(NFService); + OpenAPI_list_free(IpEndPointList); return NULL; } } @@ -553,7 +580,12 @@ } } - NFService->allowed_nf_types = AllowedNfTypeList = OpenAPI_list_create(); + if (IpEndPointList->count) + NFService->ip_end_points = IpEndPointList; + else + OpenAPI_list_free(IpEndPointList); + + AllowedNfTypeList = OpenAPI_list_create(); if (!AllowedNfTypeList) { ogs_error("No AllowedNfTypeList"); free_nf_service(NFService); @@ -565,6 +597,11 @@ (void *)(uintptr_t)nf_service->allowed_nf_typei); } + if (AllowedNfTypeList->count) + NFService->allowed_nf_types = AllowedNfTypeList; + else + OpenAPI_list_free(AllowedNfTypeList); + NFService->is_priority = true; NFService->priority = nf_service->priority; NFService->is_capacity = true; @@ -640,7 +677,7 @@ return NULL; } - SmfInfo->s_nssai_smf_info_list = sNssaiSmfInfoList = OpenAPI_list_create(); + sNssaiSmfInfoList = OpenAPI_list_create(); if (!sNssaiSmfInfoList) { ogs_error("No sNssaiSmfInfoList"); free_smf_info(SmfInfo); @@ -652,6 +689,7 @@ if (!DnnSmfInfoList) { ogs_error("No DnnSmfInfoList"); free_smf_info(SmfInfo); + OpenAPI_list_free(sNssaiSmfInfoList); return NULL; } @@ -668,6 +706,7 @@ OpenAPI_list_free(DnnSmfInfoList); free_smf_info(SmfInfo); + OpenAPI_list_free(sNssaiSmfInfoList); return NULL; } @@ -686,7 +725,12 @@ OpenAPI_list_add(sNssaiSmfInfoList, sNssaiSmfInfoItem); } - SmfInfo->tai_list = TaiList = OpenAPI_list_create(); + if (sNssaiSmfInfoList->count) + SmfInfo->s_nssai_smf_info_list = sNssaiSmfInfoList; + else + OpenAPI_list_free(sNssaiSmfInfoList); + + TaiList = OpenAPI_list_create(); if (!TaiList) { ogs_error("No TaiList"); free_smf_info(SmfInfo); @@ -698,6 +742,7 @@ if (!TaiItem) { ogs_error("No TaiItem"); free_smf_info(SmfInfo); + OpenAPI_list_free(TaiList); return NULL; } TaiItem->plmn_id = ogs_sbi_build_plmn_id( @@ -707,6 +752,7 @@ if (TaiItem) ogs_free(TaiItem); free_smf_info(SmfInfo); + OpenAPI_list_free(TaiList); return NULL; } TaiItem->tac = @@ -719,13 +765,19 @@ ogs_free(TaiItem); } free_smf_info(SmfInfo); + OpenAPI_list_free(TaiList); return NULL; } OpenAPI_list_add(TaiList, TaiItem); } - SmfInfo->tai_range_list = TaiRangeList = OpenAPI_list_create(); + if (TaiList->count) + SmfInfo->tai_list = TaiList; + else + OpenAPI_list_free(TaiList); + + TaiRangeList = OpenAPI_list_create(); if (!TaiRangeList) { ogs_error("No TaiRangeList"); free_smf_info(SmfInfo); @@ -737,6 +789,7 @@ if (!TacRangeList) { ogs_error("No TacRangeList"); free_smf_info(SmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -762,6 +815,7 @@ OpenAPI_list_free(TacRangeList); free_smf_info(SmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -778,6 +832,11 @@ OpenAPI_list_add(TaiRangeList, TaiRangeItem); } + if (TaiRangeList->count) + SmfInfo->tai_range_list = TaiRangeList; + else + OpenAPI_list_free(TaiRangeList); + return SmfInfo; } @@ -817,7 +876,7 @@ return NULL; } - AmfInfo->guami_list = guamiAmfInfoList = OpenAPI_list_create(); + guamiAmfInfoList = OpenAPI_list_create(); if (!guamiAmfInfoList) { ogs_error("No guamiAmfInfoList"); free_amf_info(AmfInfo); @@ -830,6 +889,7 @@ if (!guamiAmfInfoItem) { ogs_error("guamiAmfInfoItem"); free_amf_info(AmfInfo); + OpenAPI_list_free(guamiAmfInfoList); return NULL; } @@ -840,6 +900,7 @@ if (guamiAmfInfoItem) ogs_free(guamiAmfInfoItem); free_amf_info(AmfInfo); + OpenAPI_list_free(guamiAmfInfoList); return NULL; } guamiAmfInfoItem->amf_id = @@ -852,13 +913,19 @@ ogs_free(guamiAmfInfoItem); } free_amf_info(AmfInfo); + OpenAPI_list_free(guamiAmfInfoList); return NULL; } OpenAPI_list_add(guamiAmfInfoList, guamiAmfInfoItem); } - AmfInfo->tai_list = TaiList = OpenAPI_list_create(); + if (guamiAmfInfoList->count) + AmfInfo->guami_list = guamiAmfInfoList; + else + OpenAPI_list_free(guamiAmfInfoList); + + TaiList = OpenAPI_list_create(); if (!TaiList) { ogs_error("No TaiList"); free_amf_info(AmfInfo); @@ -870,6 +937,7 @@ if (!TaiList) { ogs_error("No TaiItem"); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiList); return NULL; } TaiItem->plmn_id = ogs_sbi_build_plmn_id( @@ -879,6 +947,7 @@ if (TaiItem) ogs_free(TaiItem); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiList); return NULL; } TaiItem->tac = @@ -891,13 +960,19 @@ ogs_free(TaiItem); } free_amf_info(AmfInfo); + OpenAPI_list_free(TaiList); return NULL; } OpenAPI_list_add(TaiList, TaiItem); } - AmfInfo->tai_range_list = TaiRangeList = OpenAPI_list_create(); + if (TaiList->count) + AmfInfo->tai_list = TaiList; + else + OpenAPI_list_free(TaiList); + + TaiRangeList = OpenAPI_list_create(); if (!TaiRangeList) { ogs_error("No TaiRangeList"); free_amf_info(AmfInfo); @@ -909,6 +984,7 @@ if (!TacRangeList) { ogs_error("No TacRangeList"); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -934,6 +1010,7 @@ OpenAPI_list_free(TacRangeList); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -942,6 +1019,7 @@ if (!TaiRangeItem) { ogs_error("No TaiRangeItem"); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -951,6 +1029,7 @@ ogs_error("No TaiRangeItem->plmn_id"); ogs_free(TaiRangeItem); free_amf_info(AmfInfo); + OpenAPI_list_free(TaiRangeList); return NULL; } @@ -959,6 +1038,11 @@ OpenAPI_list_add(TaiRangeList, TaiRangeItem); } + if (TaiRangeList->count) + AmfInfo->tai_range_list = TaiRangeList; + else + OpenAPI_list_free(TaiRangeList); + return AmfInfo; }
View file
open5gs_2.5.4.202211040002.tar.xz/meson.build -> open5gs_2.5.5.202211050002.tar.xz/meson.build
Changed
@@ -16,7 +16,7 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. project('open5gs', 'c', 'cpp', - version : '2.5.4', + version : '2.5.5', license : 'AGPL-3.0-or-later', meson_version : '>= 0.43.0', default_options : @@ -24,7 +24,7 @@ , ) -libogslib_version = '2.5.4' +libogslib_version = '2.5.5' prefix = get_option('prefix') bindir = join_paths(prefix, get_option('bindir'))
View file
open5gs_2.5.4.202211040002.tar.xz/src/pcf/nbsf-build.c -> open5gs_2.5.5.202211050002.tar.xz/src/pcf/nbsf-build.c
Changed
@@ -75,7 +75,7 @@ if (nf_service->fqdn) PcfBinding.pcf_fqdn = ogs_strdup(nf_service->fqdn); - PcfBinding.pcf_ip_end_points = PcfIpEndPointList = OpenAPI_list_create(); + PcfIpEndPointList = OpenAPI_list_create(); if (!PcfIpEndPointList) { ogs_error("No PcfIpEndPointList"); goto end; @@ -127,6 +127,11 @@ ogs_error("No SST"); goto end; } + if (PcfIpEndPointList->count) + PcfBinding.pcf_ip_end_points = PcfIpEndPointList; + else + OpenAPI_list_free(PcfIpEndPointList); + memset(&sNssai, 0, sizeof(sNssai)); sNssai.sst = sess->s_nssai.sst; sNssai.sd = ogs_s_nssai_sd_to_string(sess->s_nssai.sd);
View file
open5gs_2.5.4.202211040002.tar.xz/webui/package-lock.json -> open5gs_2.5.5.202211050002.tar.xz/webui/package-lock.json
Changed
@@ -1,12 +1,12 @@ { "name": "open5gs", - "version": "2.5.4", + "version": "2.5.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "open5gs", - "version": "2.5.4", + "version": "2.5.5", "license": "AGPL-3.0", "dependencies": { "axios": "^0.27.2",
View file
open5gs_2.5.4.202211040002.tar.xz/webui/package.json -> open5gs_2.5.5.202211050002.tar.xz/webui/package.json
Changed
@@ -1,6 +1,6 @@ { "name": "open5gs", - "version": "2.5.4", + "version": "2.5.5", "description": "Open5gs", "main": "index.js", "repository": "https://github.com/open5gs/open5gs/webui",
View file
open5gs_2.5.4.202211040002.tar.xz/webui/server/routes/auth.js -> open5gs_2.5.5.202211050002.tar.xz/webui/server/routes/auth.js
Changed
@@ -29,8 +29,10 @@ passport.authenticate('local', { successRedirect: '/' })); router.post('/logout', (req, res) => { - req.logout(); - res.redirect('/'); + req.logout(function(err) { + if (err) { return next(err); } + res.redirect('/'); + }); }); -module.exports = router; \ No newline at end of file +module.exports = router;
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
.