Projects
osmocom:nightly
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 662
View file
open5gs_2.7.0.140.cd76d.202404122026.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.0.140.cd76d.202404122026 -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: - ffccc538b4eefc18f3f9773c4be6e9429188f94d 14488852 open5gs_2.7.0.140.cd76d.202404122026.tar.xz -Checksums-Sha256: - 6eeb12b53d08e1d03a7879dbce79289d542f2d71866f82590903da7dec3ee0bc 14488852 open5gs_2.7.0.140.cd76d.202404122026.tar.xz -Files: - 1db1e3872312e2cbad77bc5a13799172 14488852 open5gs_2.7.0.140.cd76d.202404122026.tar.xz
View file
open5gs_2.7.0.143.a6830.202404132026.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.0.143.a6830.202404132026 +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: + 919bff379d39cd4255e6e5a20c9d85ef38d79e28 14492056 open5gs_2.7.0.143.a6830.202404132026.tar.xz +Checksums-Sha256: + ff13e63736c97cb3f29a2e8d3ed11c617775f0ff3a7972dde580a16bac45f930 14492056 open5gs_2.7.0.143.a6830.202404132026.tar.xz +Files: + dc5773dceed2e13ce331c402762b2bf5 14492056 open5gs_2.7.0.143.a6830.202404132026.tar.xz
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/.tarball-version -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.7.0.140-cd76d.202404122026 +2.7.0.143-a6830.202404132026
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/310014.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/310014.yaml.in
Changed
@@ -109,8 +109,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -189,8 +190,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/csfb.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/csfb.yaml.in
Changed
@@ -142,8 +142,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -219,8 +220,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-sepp1-999-70.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-sepp1-999-70.yaml.in
Changed
@@ -112,8 +112,9 @@ - address: 127.0.1.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -207,8 +208,9 @@ server: - address: 127.0.1.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.1.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-sepp2-001-01.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-sepp2-001-01.yaml.in
Changed
@@ -112,8 +112,9 @@ - address: 127.0.2.4 port: 9090 session: - - subnet: 10.46.0.1/16 - - subnet: 2001:db8:babe::1/48 + - subnet: 10.46.0.0/16 + gateway: 10.46.0.1 + - subnet: 2001:db8:babe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -207,9 +208,10 @@ server: - address: 127.0.2.7 session: - - subnet: 10.46.0.1/16 + - subnet: 10.46.0.0/16 + gateway: 10.46.0.1 dev: ogstun2 - - subnet: 2001:db8:babe::1/48 + - subnet: 2001:db8:babe::/48 dev: ogstun2 metrics: server:
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-sepp3-315-010.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-sepp3-315-010.yaml.in
Changed
@@ -112,8 +112,9 @@ - address: 127.0.3.4 port: 9090 session: - - subnet: 10.47.0.1/16 - - subnet: 2001:db8:face::1/48 + - subnet: 10.47.0.0/16 + gateway: 10.47.0.1 + - subnet: 2001:db8:face::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -207,9 +208,10 @@ server: - address: 127.0.3.7 session: - - subnet: 10.47.0.1/16 + - subnet: 10.47.0.0/16 + gateway: 10.47.0.1 dev: ogstun3 - - subnet: 2001:db8:face::1/48 + - subnet: 2001:db8:face::/48 dev: ogstun3 metrics: server:
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-tls-sepp1-999-70.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-tls-sepp1-999-70.yaml.in
Changed
@@ -113,8 +113,9 @@ - address: 127.0.1.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -208,8 +209,9 @@ server: - address: 127.0.1.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.1.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-tls-sepp2-001-01.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-tls-sepp2-001-01.yaml.in
Changed
@@ -113,8 +113,9 @@ - address: 127.0.2.4 port: 9090 session: - - subnet: 10.46.0.1/16 - - subnet: 2001:db8:babe::1/48 + - subnet: 10.46.0.0/16 + gateway: 10.46.0.1 + - subnet: 2001:db8:babe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -208,9 +209,10 @@ server: - address: 127.0.2.7 session: - - subnet: 10.46.0.1/16 + - subnet: 10.46.0.0/16 + gateway: 10.46.0.1 dev: ogstun2 - - subnet: 2001:db8:babe::1/48 + - subnet: 2001:db8:babe::/48 dev: ogstun2 metrics: server:
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/5gc-tls-sepp3-315-010.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/5gc-tls-sepp3-315-010.yaml.in
Changed
@@ -113,8 +113,9 @@ - address: 127.0.3.4 port: 9090 session: - - subnet: 10.47.0.1/16 - - subnet: 2001:db8:face::1/48 + - subnet: 10.47.0.0/16 + gateway: 10.47.0.1 + - subnet: 2001:db8:face::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -208,9 +209,10 @@ server: - address: 127.0.3.7 session: - - subnet: 10.47.0.1/16 + - subnet: 10.47.0.0/16 + gateway: 10.47.0.1 dev: ogstun3 - - subnet: 2001:db8:face::1/48 + - subnet: 2001:db8:face::/48 dev: ogstun3 metrics: server:
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-001-01-ue-001-01.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-001-01-ue-001-01.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-001-01-ue-315-010.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-001-01-ue-315-010.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-001-01-ue-999-70.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-001-01-ue-999-70.yaml.in
Changed
@@ -116,8 +116,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -198,8 +199,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-315-010-ue-001-01.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-315-010-ue-001-01.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-315-010-ue-315-010.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-315-010-ue-315-010.yaml.in
Changed
@@ -116,8 +116,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -198,8 +199,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-315-010-ue-999-70.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-315-010-ue-999-70.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-999-70-ue-001-01.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-999-70-ue-001-01.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-999-70-ue-315-010.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-999-70-ue-315-010.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/examples/gnb-999-70-ue-999-70.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/examples/gnb-999-70-ue-999-70.yaml.in
Changed
@@ -116,8 +116,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -198,8 +199,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/non3gpp.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/non3gpp.yaml.in
Changed
@@ -110,8 +110,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -192,8 +193,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/open5gs/smf.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/open5gs/smf.yaml.in
Changed
@@ -34,8 +34,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -327,23 +328,26 @@ # o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:db8:babe::1/48 # (If the UE has unknown DNN/APN(not internet/ims), SMF/UPF will crash.) # session: -# - subnet: 10.45.0.1/16 +# - subnet: 10.45.0.0/16 +# gateway: 10.45.0.1 # dnn: internet -# - subnet: 2001:db8:cafe::1/48 +# - subnet: 2001:db8:cafe::/48 # dnn: internet -# - subnet: 10.46.0.1/16 +# - subnet: 10.46.0.0/16 +# gateway: 10.46.0.1 # dnn: ims -# - subnet: 2001:db8:babe::1/48 +# - subnet: 2001:db8:babe::/48 # dnn: ims # # o Pool Range # session: -# - subnet: 10.45.0.1/16 +# - subnet: 10.45.0.0/16 +# gateway: 10.45.0.1 # range: # - 10.45.0.100-10.45.0.200 # - 10.45.1.100- # - -10.45.0.200 -# - subnet: 2001:db8:cafe::1/48 +# - subnet: 2001:db8:cafe::/48 # range: # - 2001:db8:cafe:a0::0-2001:db8:cafe:b0::0 # - 2001:db8:cafe:c0::0-2001:db8:cafe:d0::0
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/open5gs/upf.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/open5gs/upf.yaml.in
Changed
@@ -18,8 +18,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7 @@ -70,14 +71,16 @@ # $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun3 # # session: -# - subnet: 10.45.0.1/16 +# - subnet: 10.45.0.0/16 +# gateway: 10.45.0.1 # dnn: internet -# - subnet: 2001:db8:cafe::1/48 +# - subnet: 2001:db8:cafe::/48 # dnn: internet # dev: ogstun2 -# - subnet: 10.46.0.1/16 +# - subnet: 10.46.0.0/16 +# gateway: 10.46.0.1 # dnn: ims # dev: ogstun3 -# - subnet: 2001:db8:babe::1/48 +# - subnet: 2001:db8:babe::/48 # dnn: ims # dev: ogstun3
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/sample.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/sample.yaml.in
Changed
@@ -118,8 +118,9 @@ - address: 127.0.0.4 port: 9090 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -203,8 +204,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/slice.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/slice.yaml.in
Changed
@@ -110,8 +110,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -194,8 +195,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/srsenb.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/srsenb.yaml.in
Changed
@@ -107,8 +107,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -184,8 +185,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/volte.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/volte.yaml.in
Changed
@@ -107,8 +107,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -187,8 +188,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/configs/vonr.yaml.in -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/configs/vonr.yaml.in
Changed
@@ -110,8 +110,9 @@ server: - address: 127.0.0.4 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 dns: - 8.8.8.8 - 8.8.4.4 @@ -193,8 +194,9 @@ server: - address: 127.0.0.7 session: - - subnet: 10.45.0.1/16 - - subnet: 2001:db8:cafe::1/48 + - subnet: 10.45.0.0/16 + gateway: 10.45.0.1 + - subnet: 2001:db8:cafe::/48 metrics: server: - address: 127.0.0.7
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/debian/changelog -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.7.0.140.cd76d.202404122026) unstable; urgency=medium +open5gs (2.7.0.143.a6830.202404132026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 12 Apr 2024 20:27:42 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sat, 13 Apr 2024 20:27:38 +0000 open5gs (2.7.0) unstable; urgency=medium
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/lib/nas/5gs/types.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/lib/nas/5gs/types.c
Changed
@@ -483,35 +483,59 @@ ogs_assert(description); ogs_assert(descriptions); - ogs_assert(descriptions->length); + + if (descriptions->length == 0) { + ogs_error("Length is 0"); + goto cleanup; + } + if (descriptions->buffer == NULL) { + ogs_error("Buffer is NULL"); + goto cleanup; + } + length = descriptions->length; - ogs_assert(descriptions->buffer); buffer = descriptions->buffer; size = 0; while (size < length) { memset(description, 0, sizeof(*description)); - ogs_assert(size+3 <= length); + if (size+3 > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(description, buffer+size, 3); size += 3; for (i = 0; i < description->num_of_parameter && i < OGS_NAS_MAX_NUM_OF_QOS_FLOW_PARAMETER; i++) { - ogs_assert(size+sizeof(description->parami.identifier) <= length); + if (size+sizeof(description->parami.identifier) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&description->parami.identifier, buffer+size, sizeof(description->parami.identifier)); size += sizeof(description->parami.identifier); - ogs_assert(size+sizeof(description->parami.len) <= length); + if (size+sizeof(description->parami.len) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&description->parami.len, buffer+size, sizeof(description->parami.len)); size += sizeof(description->parami.len); switch(description->parami.identifier) { case OGS_NAX_QOS_FLOW_PARAMETER_ID_5QI: - ogs_assert(description->parami.len == 1); - ogs_assert(size+description->parami.len <= length); + if (description->parami.len != 1) { + ogs_error("Invalid len%d", description->parami.len); + goto cleanup; + } + if (size+description->parami.len > length) { + ogs_error("Overflow: len%d length%d", + description->parami.len, length); + goto cleanup; + } memcpy(&description->parami.qos_index, buffer+size, description->parami.len); size += description->parami.len; @@ -521,8 +545,15 @@ case OGS_NAX_QOS_FLOW_PARAMETER_ID_GFBR_DOWNLINK: case OGS_NAX_QOS_FLOW_PARAMETER_ID_MFBR_UPLINK: case OGS_NAX_QOS_FLOW_PARAMETER_ID_MFBR_DOWNLINK: - ogs_assert(description->parami.len == 3); - ogs_assert(size+description->parami.len <= length); + if (description->parami.len != 3) { + ogs_error("Invalid len%d", description->parami.len); + goto cleanup; + } + if (size+description->parami.len > length) { + ogs_error("Overflow: len%d length%d", + description->parami.len, length); + goto cleanup; + } memcpy(&description->parami.br, buffer+size, description->parami.len); description->parami.br.value = @@ -530,15 +561,17 @@ size += description->parami.len; break; default: - ogs_fatal("Unknown qos_flow parameter identifier %d", + ogs_error("Unknown qos_flow parameter identifier %d", description->parami.identifier); - ogs_assert_if_reached(); + goto cleanup; } } description++; } +cleanup: + return (int)(description-first); } @@ -777,28 +810,50 @@ ogs_assert(rule); ogs_assert(rules); - ogs_assert(rules->length); + + if (rules->length == 0) { + ogs_error("Length is 0"); + goto cleanup; + } + if (rules->buffer == NULL) { + ogs_error("Buffer is NULL"); + goto cleanup; + } + length = rules->length; - ogs_assert(rules->buffer); buffer = rules->buffer; size = 0; while (size < length) { memset(rule, 0, sizeof(*rule)); - ogs_assert(size+sizeof(rule->identifier) <= length); + if (size+sizeof(rule->identifier) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->identifier, buffer+size, sizeof(rule->identifier)); size += sizeof(rule->identifier); - ogs_assert(size+sizeof(rule->length) <= length); + if (size+sizeof(rule->length) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->length, buffer+size, sizeof(rule->length)); rule->length = be16toh(rule->length); size += sizeof(rule->length); - ogs_assert(size+sizeof(rule->flags) <= length); + if (size+sizeof(rule->flags) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->flags, buffer+size, sizeof(rule->flags)); size += sizeof(rule->flags); + if (rule->code == 0 || rule->code == 7) { /* Reserved */ + ogs_error("Reserved Rule Code %d", rule->code); + goto cleanup; + } + if (rule->code == OGS_NAS_QOS_CODE_DELETE_EXISTING_QOS_RULE || rule->code == OGS_NAS_QOS_CODE_MODIFY_EXISTING_QOS_RULE_WITHOUT_MODIFYING_PACKET_FILTERS) { if (rule->num_of_packet_filter != 0) { @@ -806,12 +861,16 @@ "and number of packet filter%d", rule->code, rule->num_of_packet_filter); rule->num_of_packet_filter = 0; + goto cleanup; } } for (i = 0; i < rule->num_of_packet_filter && i < OGS_MAX_NUM_OF_FLOW_IN_GTP; i++) { - ogs_assert(size+sizeof(rule->pfi.flags) <= length); + if (size+sizeof(rule->pfi.flags) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->pfi.flags, buffer+size, sizeof(rule->pfi.flags)); size += sizeof(rule->pfi.flags); @@ -819,24 +878,35 @@ OGS_NAS_QOS_CODE_MODIFY_EXISTING_QOS_RULE_AND_DELETE_PACKET_FILTERS) continue; - ogs_assert(size+sizeof(rule->pfi.content.length) <= length); + if (size+sizeof(rule->pfi.content.length) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->pfi.content.length, buffer+size, sizeof(rule->pfi.content.length)); size += sizeof(rule->pfi.content.length); j = 0; len = 0; while(len < rule->pfi.content.length) { - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.type) <= length); + if (size+len+ + sizeof(rule->pfi.content.componentj.type) > length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.type, buffer+size+len, sizeof(rule->pfi.content.componentj.type)); len += sizeof(rule->pfi.content.componentj.type); switch(rule->pfi.content.componentj.type) { case OGS_PACKET_FILTER_PROTOCOL_IDENTIFIER_NEXT_HEADER_TYPE: - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.proto) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.proto) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.proto, buffer+size+len, sizeof(rule->pfi.content.componentj.proto)); @@ -844,17 +914,25 @@ break; case OGS_PACKET_FILTER_IPV4_REMOTE_ADDRESS_TYPE: case OGS_PACKET_FILTER_IPV4_LOCAL_ADDRESS_TYPE: - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.ipv4.addr) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.ipv4.addr) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv4.addr, buffer+size+len, sizeof(rule->pfi.content.componentj.ipv4.addr)); len += sizeof(rule->pfi.content.componentj.ipv4.addr); - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.ipv4.mask) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.ipv4.mask) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv4.mask, buffer+size+len, sizeof(rule->pfi.content.componentj.ipv4.mask)); @@ -862,18 +940,26 @@ break; case OGS_PACKET_FILTER_IPV6_LOCAL_ADDRESS_PREFIX_LENGTH_TYPE: case OGS_PACKET_FILTER_IPV6_REMOTE_ADDRESS_PREFIX_LENGTH_TYPE: - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.ipv6.addr) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.ipv6.addr) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv6.addr, buffer+size+len, sizeof(rule->pfi.content.componentj.ipv6.addr)); len += sizeof(rule->pfi.content.componentj.ipv6.addr); - ogs_assert(size+len+ + if (size+len+ sizeof( - rule->pfi.content.componentj.ipv6.prefixlen) <= - length); + rule->pfi.content.componentj.ipv6.prefixlen) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv6.prefixlen, buffer+size+len, sizeof( @@ -883,10 +969,14 @@ break; case OGS_PACKET_FILTER_IPV6_LOCAL_ADDRESS_TYPE: case OGS_PACKET_FILTER_IPV6_REMOTE_ADDRESS_TYPE: - ogs_assert(size+len+ + if (size+len+ sizeof( - rule->pfi.content.componentj.ipv6_mask.addr) <= - length); + rule->pfi.content.componentj.ipv6_mask.addr) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv6_mask.addr, buffer+size+len, sizeof( @@ -894,10 +984,14 @@ len += sizeof( rule->pfi.content.componentj.ipv6_mask.addr); - ogs_assert(size+len+ + if (size+len+ sizeof( - rule->pfi.content.componentj.ipv6_mask.mask) <= - length); + rule->pfi.content.componentj.ipv6_mask.mask) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.ipv6_mask.mask, buffer+size+len, sizeof( @@ -907,9 +1001,13 @@ break; case OGS_PACKET_FILTER_SINGLE_LOCAL_PORT_TYPE: case OGS_PACKET_FILTER_SINGLE_REMOTE_PORT_TYPE: - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.port.low) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.port.low) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.port.low, buffer+size+len, sizeof(rule->pfi.content.componentj.port.low)); @@ -919,9 +1017,13 @@ break; case OGS_PACKET_FILTER_LOCAL_PORT_RANGE_TYPE: case OGS_PACKET_FILTER_REMOTE_PORT_RANGE_TYPE: - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.port.low) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.port.low) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.port.low, buffer+size+len, sizeof(rule->pfi.content.componentj.port.low)); @@ -929,9 +1031,13 @@ be16toh(rule->pfi.content.componentj.port.low); len += sizeof(rule->pfi.content.componentj.port.low); - ogs_assert(size+len+ - sizeof(rule->pfi.content.componentj.port.high) <= - length); + if (size+len+ + sizeof(rule->pfi.content.componentj.port.high) > + length) { + ogs_error("Overflow : size%d len%d length%d", + size, len, length); + goto cleanup; + } memcpy(&rule->pfi.content.componentj.port.high, buffer+size+len, sizeof(rule->pfi.content.componentj.port.high)); @@ -942,7 +1048,7 @@ default: ogs_error("Unknown Packet Filter Type(%d)", rule->pfi.content.componentj.type); - return -1; + goto cleanup; } j++; } @@ -954,11 +1060,17 @@ rule->code != OGS_NAS_QOS_CODE_MODIFY_EXISTING_QOS_RULE_AND_DELETE_PACKET_FILTERS && rule->code != OGS_NAS_QOS_CODE_MODIFY_EXISTING_QOS_RULE_WITHOUT_MODIFYING_PACKET_FILTERS) { - ogs_assert(size+sizeof(rule->precedence) <= length); + if (size+sizeof(rule->precedence) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->precedence, buffer+size, sizeof(rule->precedence)); size += sizeof(rule->precedence); - ogs_assert(size+sizeof(rule->flow.flags) <= length); + if (size+sizeof(rule->flow.flags) > length) { + ogs_error("Overflow : size%d length%d", size, length); + goto cleanup; + } memcpy(&rule->flow.flags, buffer+size, sizeof(rule->flow.flags)); size += sizeof(rule->flow.flags); } @@ -966,6 +1078,8 @@ rule++; } +cleanup: + return (int)(rule-first); }
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/lib/pfcp/context.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/lib/pfcp/context.c
Changed
@@ -743,6 +743,7 @@ do { ogs_pfcp_subnet_t *subnet = NULL; const char *ipstr = NULL; + const char *gateway = NULL; const char *mask_or_numbits = NULL; const char *dnn = NULL; const char *dev = self.tun_ifname; @@ -781,6 +782,8 @@ mask_or_numbits = (const char *)v; } } + } else if (!strcmp(subnet_key, "gateway")) { + gateway = ogs_yaml_iter_value(&subnet_iter); } else if (!strcmp(subnet_key, "apn") || !strcmp(subnet_key, "dnn")) { dnn = ogs_yaml_iter_value(&subnet_iter); @@ -825,7 +828,7 @@ } subnet = ogs_pfcp_subnet_add( - ipstr, mask_or_numbits, dnn, dev); + ipstr, mask_or_numbits, gateway, dnn, dev); ogs_assert(subnet); subnet->num_of_range = num; @@ -2150,7 +2153,7 @@ ogs_pfcp_subnet_t *ogs_pfcp_subnet_add( const char *ipstr, const char *mask_or_numbits, - const char *dnn, const char *ifname) + const char *gateway, const char *dnn, const char *ifname) { int rv; ogs_pfcp_dev_t *dev = NULL; @@ -2179,6 +2182,43 @@ subnet->family = subnet->gw.family; subnet->prefixlen = atoi(mask_or_numbits); + + if (memcmp(subnet->gw.sub, subnet->sub.sub, + sizeof(subnet->gw.sub)) != 0) { + char *subnet_string = NULL; + + if (subnet->family == AF_INET) { + subnet_string = ogs_ipv4_to_string(subnet->sub.sub0); + ogs_assert(subnet_string); + } else if (subnet->family == AF_INET6) { + subnet_string = ogs_ipv6addr_to_string( + (uint8_t*)&subnet->sub.sub0); + ogs_assert(subnet_string); + } + + ogs_warn("Please change the configuration files of " + "smf.yaml and upf.yaml as below."); + ogs_log_print(OGS_LOG_WARN, "\n<OLD Format>\n"); + ogs_log_print(OGS_LOG_WARN, "smf:\n"); + ogs_log_print(OGS_LOG_WARN, " session:\n"); + ogs_log_print(OGS_LOG_WARN, " - subnet: %s/%s\n", + ipstr, mask_or_numbits); + ogs_log_print(OGS_LOG_WARN, "\n<NEW Format>\n"); + ogs_log_print(OGS_LOG_WARN, "smf:\n"); + ogs_log_print(OGS_LOG_WARN, " session:\n"); + ogs_log_print(OGS_LOG_WARN, " - subnet: %s/%s\n", + subnet_string ? subnet_string : "Unknown", mask_or_numbits); + if (subnet->family == AF_INET) + ogs_log_print(OGS_LOG_WARN, " gateway: %s", ipstr); + ogs_log_print(OGS_LOG_WARN, "\n\n\n"); + + ogs_free(subnet_string); + } + } + + if (gateway) { + rv = ogs_ipsubnet(&subnet->gw, gateway, NULL); + ogs_assert(rv == OGS_OK); } if (dnn)
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/lib/pfcp/context.h -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/lib/pfcp/context.h
Changed
@@ -491,7 +491,7 @@ ogs_pfcp_subnet_t *ogs_pfcp_subnet_add( const char *ipstr, const char *mask_or_numbits, - const char *dnn, const char *ifname); + const char *gateway, const char *dnn, const char *ifname); ogs_pfcp_subnet_t *ogs_pfcp_subnet_next(ogs_pfcp_subnet_t *subnet); void ogs_pfcp_subnet_remove(ogs_pfcp_subnet_t *subnet); void ogs_pfcp_subnet_remove_all(void);
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/src/amf/ngap-path.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/src/amf/ngap-path.c
Changed
@@ -200,6 +200,7 @@ default: ogs_error("Not implemented(security header type:0x%x)", sh->security_header_type); + ran_ue_remove(ran_ue); return OGS_ERROR; } @@ -207,12 +208,39 @@ if (nas_5gs_security_decode(ran_ue->amf_ue, security_header_type, nasbuf) != OGS_OK) { ogs_error("nas_eps_security_decode failed()"); + ran_ue_remove(ran_ue); return OGS_ERROR; } } h = (ogs_nas_5gmm_header_t *)nasbuf->data; ogs_assert(h); + if (procedureCode == NGAP_ProcedureCode_id_InitialUEMessage) { + if (h->extended_protocol_discriminator != + OGS_NAS_EXTENDED_PROTOCOL_DISCRIMINATOR_5GMM) { + + ogs_error("Invalid extended_protocol_discriminator %d", + h->extended_protocol_discriminator); + + ogs_pkbuf_free(nasbuf); + ran_ue_remove(ran_ue); + + return OGS_ERROR; + } + + if (h->message_type != OGS_NAS_5GS_REGISTRATION_REQUEST && + h->message_type != OGS_NAS_5GS_SERVICE_REQUEST && + h->message_type != OGS_NAS_5GS_DEREGISTRATION_REQUEST_FROM_UE) { + + ogs_error("Invalid 5GMM message type %d", h->message_type); + + ogs_pkbuf_free(nasbuf); + ran_ue_remove(ran_ue); + + return OGS_ERROR; + } + } + if (h->extended_protocol_discriminator == OGS_NAS_EXTENDED_PROTOCOL_DISCRIMINATOR_5GMM) { e = amf_event_new(AMF_EVENT_5GMM_MESSAGE); @@ -247,7 +275,10 @@ } else { ogs_error("Unknown NAS Protocol discriminator 0x%02x", h->extended_protocol_discriminator); + ogs_pkbuf_free(nasbuf); + ran_ue_remove(ran_ue); + return OGS_ERROR; } }
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/src/mme/s1ap-handler.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/src/mme/s1ap-handler.c
Changed
@@ -586,10 +586,8 @@ enb_ue->enb_ue_s1ap_id, enb_ue->mme_ue_s1ap_id, enb_ue->saved.tai.tac, enb_ue->saved.e_cgi.cell_id); - r = s1ap_send_to_nas(enb_ue, - S1AP_ProcedureCode_id_initialUEMessage, NAS_PDU); - ogs_expect(r == OGS_OK); - ogs_assert(r != OGS_ERROR); + ogs_expect(OGS_OK == s1ap_send_to_nas( + enb_ue, S1AP_ProcedureCode_id_initialUEMessage, NAS_PDU)); } void s1ap_handle_uplink_nas_transport( @@ -777,10 +775,8 @@ ogs_error("No UE Context in UplinkNASTransport"); } - r = s1ap_send_to_nas(enb_ue, - S1AP_ProcedureCode_id_uplinkNASTransport, NAS_PDU); - ogs_expect(r == OGS_OK); - ogs_assert(r != OGS_ERROR); + ogs_expect(OGS_OK == s1ap_send_to_nas( + enb_ue, S1AP_ProcedureCode_id_uplinkNASTransport, NAS_PDU)); } void s1ap_handle_ue_capability_info_indication(
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/src/mme/s1ap-path.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/src/mme/s1ap-path.c
Changed
@@ -207,6 +207,7 @@ default: ogs_error("Not implemented(security header type:0x%x)", sh->security_header_type); + enb_ue_remove(enb_ue); return OGS_ERROR; } @@ -214,12 +215,42 @@ if (nas_eps_security_decode(enb_ue->mme_ue, security_header_type, nasbuf) != OGS_OK) { ogs_error("nas_eps_security_decode failed()"); + enb_ue_remove(enb_ue); return OGS_ERROR; } } h = (ogs_nas_emm_header_t *)nasbuf->data; ogs_assert(h); + + if (procedureCode == S1AP_ProcedureCode_id_initialUEMessage) { + if (h->protocol_discriminator != OGS_NAS_PROTOCOL_DISCRIMINATOR_EMM) { + + ogs_error("Invalid protocol_discriminator %d", + h->protocol_discriminator); + + ogs_pkbuf_free(nasbuf); + enb_ue_remove(enb_ue); + + return OGS_ERROR; + } + + if (h->security_header_type != + OGS_NAS_SECURITY_HEADER_FOR_SERVICE_REQUEST_MESSAGE && + h->message_type != OGS_NAS_EPS_ATTACH_REQUEST && + h->message_type != OGS_NAS_EPS_TRACKING_AREA_UPDATE_REQUEST && + h->message_type != OGS_NAS_EPS_EXTENDED_SERVICE_REQUEST && + h->message_type != OGS_NAS_EPS_DETACH_REQUEST) { + + ogs_error("Invalid EMM message type %d", h->message_type); + + ogs_pkbuf_free(nasbuf); + enb_ue_remove(enb_ue); + + return OGS_ERROR; + } + } + if (h->protocol_discriminator == OGS_NAS_PROTOCOL_DISCRIMINATOR_EMM) { int rv; e = mme_event_new(MME_EVENT_EMM_MESSAGE); @@ -255,7 +286,10 @@ } else { ogs_error("Unknown/Unimplemented NAS Protocol discriminator 0x%02x", h->protocol_discriminator); + ogs_pkbuf_free(nasbuf); + enb_ue_remove(enb_ue); + return OGS_ERROR; } }
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/src/smf/gsm-handler.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/src/smf/gsm-handler.c
Changed
@@ -229,7 +229,11 @@ int num_of_rule = 0; num_of_rule = ogs_nas_parse_qos_rules(qos_rule, requested_qos_rules); - ogs_assert(num_of_rule > 0); + if (!num_of_rule) { + ogs_error("%s:%d Invalid modification request", + smf_ue->supi, sess->psi); + goto cleanup; + } for (i = 0; i < num_of_rule; i++) { qos_flow = smf_qos_flow_find_by_qfi( @@ -430,7 +434,11 @@ num_of_description = ogs_nas_parse_qos_flow_descriptions( qos_flow_description, requested_qos_flow_descriptions); - ogs_assert(num_of_description > 0); + if (!num_of_description) { + ogs_error("%s:%d Invalid modification request", + smf_ue->supi, sess->psi); + goto cleanup; + } for (i = 0; i < num_of_description; i++) { qos_flow = smf_qos_flow_find_by_qfi( @@ -478,16 +486,7 @@ ogs_error("%s:%d Invalid modification request modify:%d", smf_ue->supi, sess->psi, ogs_list_count(&sess->qos_flow_to_modify_list)); - - n1smbuf = gsm_build_pdu_session_modification_reject(sess, - OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION); - ogs_assert(n1smbuf); - - smf_sbi_send_sm_context_update_error_n1_n2_message( - stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, - n1smbuf, OpenAPI_n2_sm_info_type_NULL, NULL); - - return OGS_ERROR; + goto cleanup; } if (pfcp_flags & OGS_PFCP_MODIFY_REMOVE) { @@ -522,4 +521,15 @@ OGS_PFCP_MODIFY_UE_REQUESTED|pfcp_flags, 0)); return OGS_OK; + +cleanup: + n1smbuf = gsm_build_pdu_session_modification_reject(sess, + OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION); + ogs_assert(n1smbuf); + + smf_sbi_send_sm_context_update_error_n1_n2_message( + stream, OGS_SBI_HTTP_STATUS_BAD_REQUEST, + n1smbuf, OpenAPI_n2_sm_info_type_NULL, NULL); + + return OGS_ERROR; }
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/tests/attach/issues-test.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/tests/attach/issues-test.c
Changed
@@ -1862,6 +1862,7 @@ test_ue_remove_all(); } +#if 0 /* Deprecated to resolve issue #3131 */ static void pull_3122_v270_func(abts_case *tc, void *data) { int rv; @@ -1973,6 +1974,7 @@ test_ue_remove(test_ue); } +#endif abts_suite *test_issues(abts_suite *suite) { @@ -1981,7 +1983,9 @@ abts_run_test(suite, issues_1431_func, NULL); abts_run_test(suite, issues_2287_v263_func, NULL); abts_run_test(suite, issues_2287_v264_func, NULL); +#if 0 /* Deprecated to resolve issue #3131 */ abts_run_test(suite, pull_3122_v270_func, NULL); +#endif return suite; }
View file
open5gs_2.7.0.140.cd76d.202404122026.tar.xz/tests/registration/identity-test.c -> open5gs_2.7.0.143.a6830.202404132026.tar.xz/tests/registration/identity-test.c
Changed
@@ -354,6 +354,7 @@ test_ue_remove(test_ue); } +#if 0 /* Deprecated to resolve issue #3131 */ static void pull_3122_v270_func(abts_case *tc, void *data) { int rv; @@ -469,13 +470,16 @@ /* Clear Test UE Context */ test_ue_remove(test_ue); } +#endif abts_suite *test_identity(abts_suite *suite) { suite = ADD_SUITE(suite) abts_run_test(suite, test1_func, NULL); +#if 0 /* Deprecated to resolve issue #3131 */ abts_run_test(suite, pull_3122_v270_func, NULL); +#endif return suite; }
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
.