Changes of Revision 10

open5gs_2.5.5.tar.xz/docs/_posts/2022-09-09-release-v2.4.10.md Deleted
x
 
1
@@ -1,43 +0,0 @@
2
----
3
-title: "v2.4.10 - Service-name based NF Discovery"
4
-date: 2022-09-09 09:43:00 +0900
5
-categories:
6
-  - Release
7
-tags:
8
-  - News
9
-  - Release
10
-head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
11
----
12
-
13
-#### New Features
14
-- CONF Service-name based NF Discovery -- f020732(https://github.com/open5gs/open5gs/commit/f020732ce9f60217dfcd0b7e9ba5c8949db966d5), 9f98d42(https://github.com/open5gs/open5gs/commit/9f98d421a081a5edc3a525d1cf2504b8b6cf059e), 5295c10(https://github.com/open5gs/open5gs/commit/5295c108adc2fc5ae97ee5007760334ef7a6297b)
15
-
16
-#### Enhancements
17
-- SBI Move state machine from src to lib directory -- e6a14cb(https://github.com/open5gs/open5gs/commit/e6a14cb73debbdc21e91499b75dde3d71a5aa02b)
18
-- SBI Increased the MAX stream number from UE * 16 -- db37bc8(https://github.com/open5gs/open5gs/commit/db37bc894459df38661bdf98891938ec3513bc72), ec9fe7b(https://github.com/open5gs/open5gs/commit/ec9fe7b31d0253003244be498e8f963da63e7657), 603a746(https://github.com/open5gs/open5gs/commit/603a746f49c68b06ab5d8b3ceeca3afde987cab5)
19
-- Diameter Improve S6A interface (#1676(https://github.com/open5gs/open5gs/pull/1676), #1698(https://github.com/open5gs/open5gs/pull/1698), #1714(https://github.com/open5gs/open5gs/pull/1714)) -- jmasterfunk84(https://github.com/jmasterfunk84)
20
-
21
-#### Security Issues
22
-- PFCP Fixed security protection -- CVE-2022-39063(https://cve.report/CVE-2022-39063), d99491a(https://github.com/open5gs/open5gs/commit/d99491aca5304460d3929b37bf26e064efd86686), 444e182(https://github.com/open5gs/open5gs/commit/444e1822887a78d3c3ef1f0bcaad9ee10ac951c3)
23
-
24
-#### Bug Fixes
25
-- SBI Fixed memory leak and CPU usage 100% -- 7231daf(https://github.com/open5gs/open5gs/commit/7231dafbf12c2009ec6fe740686342e2c5d245a2), c716a12(https://github.com/open5gs/open5gs/commit/c716a1294a6120f4100ba2efa9039f6168d74ce7)
26
-- Metrics Fixed double-free on application exit load error (#1717(https://github.com/open5gs/open5gs/issues/1717)) -- bmeglicit(https://github.com/bmeglicit)
27
-- NRF Fixed library load error -- 9b10d70(https://github.com/open5gs/open5gs/commit/9b10d70c7730ba86800b85fe05260c5bb072d91e)
28
-- SMF Fixed abort on app exit when no diameter configuration -- (#1710(https://github.com/open5gs/open5gs/issues/1710)) -- bmeglicit(https://github.com/bmeglicit)
29
-- MME Fixed crash on sending SMS between UEs -- (#1701(https://github.com/open5gs/open5gs/issues/1701)) -- salibeh(https://github.com/salibeh)
30
-- MME Fixed GTP transaction crash if it has already been removed during paging-- (#1696(https://github.com/open5gs/open5gs/issues/1696)) -- vsbc2010(https://github.com/vsbc2010)
31
-
32
-#### Specification Compliance
33
-- 5GC Handle APN/DNN names as case-insensitive (#1747(https://github.com/open5gs/open5gs/pull/1747)) -- jmasterfunk84(https://github.com/jmasterfunk84)
34
-- AMF Accept Deregistration Notification from UDM only for registered UE -- (#1737(https://github.com/open5gs/open5gs/pull/1737)) -- bmeglicit(https://github.com/bmeglicit)
35
-- SBI Send NF discovery query with service-names delimited with comma -- (#1730(https://github.com/open5gs/open5gs/pull/1730)) -- bmeglicit(https://github.com/bmeglicit)
36
-- Gx Handle upCnxState=ACTIVATION by later replaying with 200 instead of 204 (#1729(https://github.com/open5gs/open5gs/pull/1729)) -- mitmitmitm(https://github.com/mitmitmitm)
37
-- MME Fixed buffer overflow in S6A IDR(#1728(https://github.com/open5gs/open5gs/pull/1728)) -- mitmitmitm(https://github.com/mitmitmitm)
38
-- Gx Added 3GPP-Charging-Characteristics if received on S5/8c (#1724(https://github.com/open5gs/open5gs/pull/1724)) -- lynxis(https://github.com/lynxis)
39
-- S5c/Gn Fix PCO IE sent in response its presence in request (#1691(https://github.com/open5gs/open5gs/pull/1691)) -- herlesupreeth(https://github.com/herlesupreeth)
40
-- Diameter Fixed the path of Nnrf_NFManagement Service (#1683(https://github.com/open5gs/open5gs/issues/1683)) -- s5uishida(https://github.com/s5uishida)
41
-- Diameter Fixed AVP Occurring Too Many Times (#1680(https://github.com/open5gs/open5gs/pull/1680)) -- jmasterfunk84(https://github.com/jmasterfunk84)
42
-
43
-Download -- v2.4.10.tar.gz(https://github.com/open5gs/open5gs/archive/v2.4.10.tar.gz)
44
-{: .notice--info}
45
open5gs_2.5.5.tar.xz/docs/_posts/2022-10-01-release-v2.4.11.md Deleted
35
 
1
@@ -1,33 +0,0 @@
2
----
3
-title: "v2.4.11 - Bug Fixes (critical: session deletion)"
4
-date: 2022-10-01 09:43:00 +0900
5
-categories:
6
-  - Release
7
-tags:
8
-  - News
9
-  - Release
10
-head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
11
----
12
-
13
-#### Bug Fixes
14
-- 5GC Session deletion was not properly worked in BSF(#1725(https://github.com/open5gs/open5gs/issues/1725)) -- prasenjitpdas(https://github.com/prasenjitpdas)
15
-- AMF In deregistration state, we use an invalid state-machine pointer. (#1805(https://github.com/open5gs/open5gs/pull/1805)) -- bmeglicit(https://github.com/bmeglicit)
16
-- SGWC Fixed crash because session context could be deleted before response message is not received from SMF (#1765(https://github.com/open5gs/open5gs/issues/1765)) -- dai9000(https://github.com/dai9000)
17
-- SMF Wait for both N1&N2 release signals before releasing session (#1753(https://github.com/open5gs/open5gs/pull/1753)) -- bmeglicit(https://github.com/bmeglicit)
18
-- UPF UL and DL URR usage Report was swapped (#1793(https://github.com/open5gs/open5gs/issues/1793)) -- dibasdas02(https://github.com/dibasdas02)
19
-- CORE Fixed timer overflow on 32bit systems (#1770(https://github.com/open5gs/open5gs/pull/1770)) -- spencersevilla(https://github.com/spencersevilla)
20
-
21
-#### Enhancements
22
-- MME Added protection code if no PDN-Type (#1756(https://github.com/open5gs/open5gs/pull/1756)) -- yar-or81(https://github.com/yar-or81)
23
-- Metric Move metrics configuration section under respective (#1754(https://github.com/open5gs/open5gs/pull/1754)) -- bmeglicit(https://github.com/bmeglicit)
24
-- Diameter Enable Change Streams (#1758(https://github.com/open5gs/open5gs/pull/1758)) -- jmasterfunk84(https://github.com/jmasterfunk84)
25
-- AMF Added amfInfoList to NFProfile (#1757(https://github.com/open5gs/open5gs/pull/1757)) -- gstaa(https://github.com/gstaa)
26
-- TLV Acceptable even if the TLV length is smaller than expected (#1780(https://github.com/open5gs/open5gs/discussions/1780)) -- infinitydon(https://github.com/infinitydon)
27
-- Diameter Introduce Cancel Location and Insert Subscription Data (#1744(https://github.com/open5gs/open5gs/pull/1744)) -- jmasterfunk84(https://github.com/jmasterfunk84)
28
-
29
-#### Security Issues
30
-- SBI Fixed HTTP2 crash from random JSON data (#1679(https://github.com/open5gs/open5gs/issues/1679)) -- Popvlvs(https://github.com/Popvlvs)
31
-- TLV UPF crashes after UDP port scan (#1767(https://github.com/open5gs/open5gs/issues/1767)) -- Popvlvs(https://github.com/Popvlvs)
32
-
33
-Download -- v2.4.11.tar.gz(https://github.com/open5gs/open5gs/archive/v2.4.11.tar.gz)
34
-{: .notice--info}
35
open5gs_2.5.5.tar.xz/docs/_posts/2022-11-04-release-v2.5.5.md Deleted
99
 
1
@@ -1,97 +0,0 @@
2
----
3
-title: "v2.5.5 - SCP for Indirect Communication"
4
-date: 2022-11-04 20:37:00 +0900
5
-categories:
6
-  - Release
7
-tags:
8
-  - News
9
-  - Release
10
-head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
11
----
12
-
13
-#### New Feature
14
-
15
-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.
16
-
17
-- amf.yaml If NFs are configured to use Delegated Discovery through the SCP, you do not need to set up NRF.
18
-
19
-```
20
-amf:
21
-    sbi:
22
-      - addr: 127.0.0.5
23
-        port: 7777
24
-
25
-scp:
26
-    sbi:
27
-      - addr: 127.0.1.10
28
-        port: 7777
29
-
30
-#nrf:
31
-#    sbi:
32
-#      - addr:
33
-#          - 127.0.0.10
34
-#          - ::1
35
-#        port: 7777
36
-```
37
-
38
-- scp.yaml NRF is needed for Delegated Discovery in SCP configuration.
39
-
40
-```
41
-scp:
42
-    sbi:
43
-      - addr: 127.0.1.10
44
-        port: 7777
45
-
46
-#
47
-# next_scp:
48
-#    sbi:
49
-#      addr: 127.0.1.11
50
-#      port: 7777
51
-#
52
-
53
-nrf:
54
-    sbi:
55
-      - addr:
56
-          - 127.0.0.10
57
-          - ::1
58
-        port: 7777
59
-```
60
-
61
-- nrf.yaml If there is an SCP in the NRF configuration, a notification(nnrf-nfm/nf-status-notify) is sent through an indirect communication.
62
-
63
-```
64
-nrf:
65
-    sbi:
66
-      addr:
67
-        - 127.0.0.10
68
-        - ::1
69
-      port: 7777
70
-
71
-scp:
72
-    sbi:
73
-      - addr: 127.0.1.10
74
-        port: 7777
75
-```
76
-
77
-
78
-#### Enhancements
79
-- WebUI/DB Fixed the WebUI to Support MongoDB 6.0 (#1824(https://github.com/open5gs/open5gs/issues/1824)) -- bmeglicit(https://github.com/bmeglicit)
80
-- NAS Discard NAS message if integrity is failed (#1848(https://github.com/open5gs/open5gs/pull/1848)) -- jmasterfunk84(https://github.com/jmasterfunk84)
81
-- AMF Support REREGISTRATION_REQUIRED in dereg notify (#1858(https://github.com/open5gs/open5gs/pull/1858)) -- mitmitmitm(https://github.com/mitmitmitm)
82
-- 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)
83
-- DBI Disable Changes Streams with mongo Version (#1833(https://github.com/open5gs/open5gs/pull/1833)) -- jmasterfunk84(https://github.com/jmasterfunk84)
84
-- SBI Added 3gpp-Sbi-Sender-Timestamp and 3gpp-Sbi-Max-Rsp-Time -- 7c8722d(https://github.com/open5gs/open5gs/commit/7c8722d9d4d2db13d889be1e5e37bc062f069396)
85
-- MME Cancel Location while Idle (#1797(https://github.com/open5gs/open5gs/pull/1797)) -- jmasterfunk84(https://github.com/jmasterfunk84)
86
-- MME Support for Insert Subscriber Data (#1794(https://github.com/open5gs/open5gs/pull/1794)) -- jmasterfunk84(https://github.com/jmasterfunk84)
87
-
88
-#### Bug Fixes
89
-- SBI Do not send empty arrays in NRF/PCF (#1876(https://github.com/open5gs/open5gs/pull/1876)) -- bmeglicit(https://github.com/bmeglicit)
90
-- 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)
91
-- AMF Reject registration requests when pool for UE context is empty (#1828(https://github.com/open5gs/open5gs/pull/1828)) -- bmeglicit(https://github.com/bmeglicit)
92
-- AMF Increase size of TMSI pool (#1827(https://github.com/open5gs/open5gs/pull/1827)) -- bmeglicit(https://github.com/bmeglicit)
93
-- AMF/UDM Added support to subscribe to SDM changes (#1820(https://github.com/open5gs/open5gs/pull/1820)) -- bmeglicit(https://github.com/bmeglicit)
94
-- PFCP Do not check qos_flow in PFCP Report message (#1819(https://github.com/open5gs/open5gs/pull/1819)) -- ssafaorhan(https://github.com/ssafaorhan)
95
-- PFCP Fixed invalid message of Dropped DL Traffic threshold (#1817(https://github.com/open5gs/open5gs/pull/1817)) -- ssafaorhan(https://github.com/ssafaorhan)
96
-
97
-Download -- v2.5.5.tar.gz(https://github.com/open5gs/open5gs/archive/v2.5.5.tar.gz)
98
-{: .notice--info}
99
open5gs_2.5.5.dsc -> open5gs_2.5.6.dsc Changed
22
 
1
@@ -2,7 +2,7 @@
2
 Source: open5gs
3
 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
4
 Architecture: any
5
-Version: 2.5.5
6
+Version: 2.5.6
7
 Maintainer: Harald Welte <laforge@gnumonks.org>
8
 Uploaders: Sukchan Lee <acetcom@gmail.com>
9
 Homepage: https://open5gs.org
10
@@ -31,8 +31,8 @@
11
  open5gs-udr deb net optional arch=any
12
  open5gs-upf deb net optional arch=any
13
 Checksums-Sha1:
14
- 2b17ef3077ee311195c151e6eae94c210cb1d939 11489588 open5gs_2.5.5.tar.xz
15
+ e11796bdff0e80849738c184b47d709e2acb4e9a 11490128 open5gs_2.5.6.tar.xz
16
 Checksums-Sha256:
17
- 1acb7890b1f9636e3d7ed591d523e24d765065e09bd0c8cba8b59a0090bab613 11489588 open5gs_2.5.5.tar.xz
18
+ 11ad4133b81e8526c9a1bec9eea0cc9587017688b2a021ac93937d6f6ed913ff 11490128 open5gs_2.5.6.tar.xz
19
 Files:
20
- b905a869a152c5b3b2db573f098101df 11489588 open5gs_2.5.5.tar.xz
21
+ a336b1049738ca0e9ba610289656ac21 11490128 open5gs_2.5.6.tar.xz
22
open5gs_2.5.5.tar.xz/.tarball-version -> open5gs_2.5.6.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.5.5
3
+2.5.6
4
open5gs_2.5.5.tar.xz/debian/changelog -> open5gs_2.5.6.tar.xz/debian/changelog Changed
44
 
1
@@ -1,32 +1,32 @@
2
-open5gs (2.5.5) unstable; urgency=medium
3
+open5gs (2.5.6) unstable; urgency=medium
4
 
5
   * New NF - SCP(Service Communication Proxy)
6
 
7
- -- Sukchan Lee <acetcom@gmail.com>  Fri, 04 Nov 2022 20:32:51 +0900
8
+ -- Sukchan Lee <acetcom@gmail.com>  Fri, 18 Nov 2022 23:24:32 +0900
9
 
10
-open5gs (2.5.5~kinetic) kinetic; urgency=medium
11
+open5gs (2.5.6~jammy5) jammy; urgency=medium
12
 
13
   * New NF - SCP(Service Communication Proxy)
14
 
15
- -- Sukchan Lee <acetcom@gmail.com>  Fri, 04 Nov 2022 20:31:19 +0900
16
+ -- Sukchan Lee <acetcom@gmail.com>  Fri, 18 Nov 2022 23:23:07 +0900
17
 
18
-open5gs (2.5.5~jammy) jammy; urgency=medium
19
+open5gs (2.5.6~kinetic3) kinetic; urgency=medium
20
 
21
   * New NF - SCP(Service Communication Proxy)
22
 
23
- -- Sukchan Lee <acetcom@gmail.com>  Fri, 04 Nov 2022 20:29:55 +0900
24
+ -- Sukchan Lee <acetcom@gmail.com>  Fri, 18 Nov 2022 23:21:16 +0900
25
 
26
-open5gs (2.5.5~focal) focal; urgency=medium
27
+open5gs (2.5.6~bionic3) bionic; urgency=medium
28
 
29
   * New NF - SCP(Service Communication Proxy)
30
 
31
- -- Sukchan Lee <acetcom@gmail.com>  Fri, 04 Nov 2022 20:28:28 +0900
32
+ -- Sukchan Lee <acetcom@gmail.com>  Fri, 18 Nov 2022 23:18:33 +0900
33
 
34
-open5gs (2.5.5~bionic) bionic; urgency=medium
35
+open5gs (2.5.6~focal3) focal; urgency=medium
36
 
37
   * New NF - SCP(Service Communication Proxy)
38
 
39
- -- Sukchan Lee <acetcom@gmail.com>  Fri, 04 Nov 2022 20:26:31 +0900
40
+ -- Sukchan Lee <acetcom@gmail.com>  Fri, 18 Nov 2022 23:17:05 +0900
41
 
42
 open5gs (2.4.11) unstable; urgency=medium
43
 
44
open5gs_2.5.5.tar.xz/docker/README.md -> open5gs_2.5.6.tar.xz/docker/README.md Changed
9
 
1
@@ -81,7 +81,6 @@
2
   
3
   ```
4
   $ cat ./meson.build
5
-  $ cat ./docker/webui/Dockerfile
6
   $ cat ./webui/package.json
7
   $ cat ./webui/package-lock.json
8
   $ cat ./docs/assets/webui/install
9
open5gs_2.5.5.tar.xz/docker/docker-compose.yml -> open5gs_2.5.6.tar.xz/docker/docker-compose.yml Changed
12
 
1
@@ -12,7 +12,9 @@
2
       - ../docs/assets/webui/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
3
 
4
   webui:
5
-    build: webui
6
+    build:
7
+      context: ../
8
+      dockerfile: docker/webui/Dockerfile
9
     image: ${USER}/open5gs-webui
10
     container_name: open5gs-webui
11
     depends_on:
12
open5gs_2.5.5.tar.xz/docker/webui/Dockerfile -> open5gs_2.5.6.tar.xz/docker/webui/Dockerfile Changed
18
 
1
@@ -2,15 +2,7 @@
2
 
3
 MAINTAINER Sukchan Lee <acetcom@gmail.com>
4
 
5
-ARG PACKAGE=open5gs
6
-ARG VERSION=2.5.5
7
-
8
-RUN set -e; \
9
-    cd /usr/src; \
10
-    rm -rf ./$PACKAGE; \
11
-    curl -SLO "https://github.com/open5gs/$PACKAGE/archive/v$VERSION.tar.gz"; \
12
-    tar -xvf v$VERSION.tar.gz; \
13
-    mv ./$PACKAGE-$VERSION/ ./$PACKAGE;
14
+COPY webui /usr/src/open5gs/webui
15
 
16
 WORKDIR /usr/src/open5gs/webui
17
 RUN npm clean-install && \
18
open5gs_2.5.5.tar.xz/docs/_docs/guide/01-quickstart.md -> open5gs_2.5.6.tar.xz/docs/_docs/guide/01-quickstart.md Changed
14
 
1
@@ -262,10 +262,10 @@
2
 +++ mme.yaml.new    2020-09-05 20:56:05.434484208 -0400
3
 @@ -253,20 +253,20 @@ mme:
4
      s1ap:
5
-       - addr: 127.0.0.2
6
-     gtpc:
7
 -      - addr: 127.0.0.2
8
 +      - addr: 10.10.0.2
9
+     gtpc:
10
+       - addr: 127.0.0.2
11
      metrics:
12
        addr: 127.0.0.2
13
        port: 9090
14
open5gs_2.5.5.tar.xz/docs/_docs/guide/02-building-open5gs-from-sources.md -> open5gs_2.5.6.tar.xz/docs/_docs/guide/02-building-open5gs-from-sources.md Changed
14
 
1
@@ -174,10 +174,10 @@
2
 +++ mme.yaml.new    2020-09-05 20:56:05.434484208 -0400
3
 @@ -253,20 +253,20 @@ mme:
4
      s1ap:
5
-       - addr: 127.0.0.2
6
-     gtpc:
7
 -      - addr: 127.0.0.2
8
 +      - addr: 10.10.0.2
9
+     gtpc:
10
+       - addr: 127.0.0.2
11
      metrics:
12
        addr: 127.0.0.2
13
        port: 9090
14
open5gs_2.5.5.tar.xz/docs/_docs/tutorial/01-your-first-lte.md -> open5gs_2.5.6.tar.xz/docs/_docs/tutorial/01-your-first-lte.md Changed
15
 
1
@@ -244,10 +244,10 @@
2
 +++ mme.yaml.new    2020-09-05 20:56:05.434484208 -0400
3
 @@ -253,20 +253,20 @@ mme:
4
      s1ap:
5
-       - addr: 127.0.0.2
6
+-      - addr: 127.0.0.2
7
++      - addr: 10.10.0.2
8
      gtpc:
9
--      - addr: 10.11.0.2
10
-+      - addr: 127.0.0.2
11
+       - addr: 127.0.0.2
12
      metrics:
13
        addr: 127.0.0.2
14
        port: 9090
15
open5gs_2.5.6.tar.xz/docs/_posts/2022-11-18-release-v2.4.12.md Added
60
 
1
@@ -0,0 +1,58 @@
2
+---
3
+title: "v2.4.12 - Service-name based NF Discovery"
4
+date: 2022-11-18 22:00:00 +0900
5
+categories:
6
+  - Release
7
+tags:
8
+  - News
9
+  - Release
10
+head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
11
+---
12
+
13
+
14
+#### New Features
15
+- CONF Service-name based NF Discovery -- f020732(https://github.com/open5gs/open5gs/commit/f020732ce9f60217dfcd0b7e9ba5c8949db966d5), 9f98d42(https://github.com/open5gs/open5gs/commit/9f98d421a081a5edc3a525d1cf2504b8b6cf059e), 5295c10(https://github.com/open5gs/open5gs/commit/5295c108adc2fc5ae97ee5007760334ef7a6297b)
16
+
17
+#### Enhancements
18
+- SBI Move state machine from src to lib directory -- e6a14cb(https://github.com/open5gs/open5gs/commit/e6a14cb73debbdc21e91499b75dde3d71a5aa02b)
19
+- SBI Increased the MAX stream number from UE * 16 -- db37bc8(https://github.com/open5gs/open5gs/commit/db37bc894459df38661bdf98891938ec3513bc72), ec9fe7b(https://github.com/open5gs/open5gs/commit/ec9fe7b31d0253003244be498e8f963da63e7657), 603a746(https://github.com/open5gs/open5gs/commit/603a746f49c68b06ab5d8b3ceeca3afde987cab5)
20
+- Diameter Improve S6A interface (#1676(https://github.com/open5gs/open5gs/pull/1676), #1698(https://github.com/open5gs/open5gs/pull/1698), #1714(https://github.com/open5gs/open5gs/pull/1714)) -- jmasterfunk84(https://github.com/jmasterfunk84)
21
+- MME Added protection code if no PDN-Type (#1756(https://github.com/open5gs/open5gs/pull/1756)) -- yar-or81(https://github.com/yar-or81)
22
+- Metric Move metrics configuration section under respective (#1754(https://github.com/open5gs/open5gs/pull/1754)) -- bmeglicit(https://github.com/bmeglicit)
23
+- Diameter Enable Change Streams (#1758(https://github.com/open5gs/open5gs/pull/1758)) -- jmasterfunk84(https://github.com/jmasterfunk84)
24
+- AMF Added amfInfoList to NFProfile (#1757(https://github.com/open5gs/open5gs/pull/1757)) -- gstaa(https://github.com/gstaa)
25
+- TLV Acceptable even if the TLV length is smaller than expected (#1780(https://github.com/open5gs/open5gs/discussions/1780)) -- infinitydon(https://github.com/infinitydon)
26
+- Diameter Introduce Cancel Location and Insert Subscription Data (#1744(https://github.com/open5gs/open5gs/pull/1744)) -- jmasterfunk84(https://github.com/jmasterfunk84)
27
+
28
+#### Security Issues
29
+- PFCP Fixed security protection -- CVE-2022-39063(https://cve.report/CVE-2022-39063), d99491a(https://github.com/open5gs/open5gs/commit/d99491aca5304460d3929b37bf26e064efd86686), 444e182(https://github.com/open5gs/open5gs/commit/444e1822887a78d3c3ef1f0bcaad9ee10ac951c3)
30
+- SBI Fixed HTTP2 crash from random JSON data (#1679(https://github.com/open5gs/open5gs/issues/1679)) -- Popvlvs(https://github.com/Popvlvs)
31
+- TLV UPF crashes after UDP port scan (#1767(https://github.com/open5gs/open5gs/issues/1767)) -- Popvlvs(https://github.com/Popvlvs)
32
+
33
+#### Bug Fixes
34
+- SBI Fixed memory leak and CPU usage 100% -- 7231daf(https://github.com/open5gs/open5gs/commit/7231dafbf12c2009ec6fe740686342e2c5d245a2), c716a12(https://github.com/open5gs/open5gs/commit/c716a1294a6120f4100ba2efa9039f6168d74ce7)
35
+- Metrics Fixed double-free on application exit load error (#1717(https://github.com/open5gs/open5gs/issues/1717)) -- bmeglicit(https://github.com/bmeglicit)
36
+- NRF Fixed library load error -- 9b10d70(https://github.com/open5gs/open5gs/commit/9b10d70c7730ba86800b85fe05260c5bb072d91e)
37
+- SMF Fixed abort on app exit when no diameter configuration -- (#1710(https://github.com/open5gs/open5gs/issues/1710)) -- bmeglicit(https://github.com/bmeglicit)
38
+- MME Fixed crash on sending SMS between UEs -- (#1701(https://github.com/open5gs/open5gs/issues/1701)) -- salibeh(https://github.com/salibeh)
39
+- MME Fixed GTP transaction crash if it has already been removed during paging-- (#1696(https://github.com/open5gs/open5gs/issues/1696)) -- vsbc2010(https://github.com/vsbc2010)
40
+- 5GC Session deletion was not properly worked in BSF(#1725(https://github.com/open5gs/open5gs/issues/1725)) -- prasenjitpdas(https://github.com/prasenjitpdas)
41
+- AMF In deregistration state, we use an invalid state-machine pointer. (#1805(https://github.com/open5gs/open5gs/pull/1805)) -- bmeglicit(https://github.com/bmeglicit)
42
+- SGWC Fixed crash because session context could be deleted before response message is not received from SMF (#1765(https://github.com/open5gs/open5gs/issues/1765)) -- dai9000(https://github.com/dai9000)
43
+- SMF Wait for both N1&N2 release signals before releasing session (#1753(https://github.com/open5gs/open5gs/pull/1753)) -- bmeglicit(https://github.com/bmeglicit)
44
+- UPF UL and DL URR usage Report was swapped (#1793(https://github.com/open5gs/open5gs/issues/1793)) -- dibasdas02(https://github.com/dibasdas02)
45
+- CORE Fixed timer overflow on 32bit systems (#1770(https://github.com/open5gs/open5gs/pull/1770)) -- spencersevilla(https://github.com/spencersevilla)
46
+
47
+#### Specification Compliance
48
+- 5GC Handle APN/DNN names as case-insensitive (#1747(https://github.com/open5gs/open5gs/pull/1747)) -- jmasterfunk84(https://github.com/jmasterfunk84)
49
+- AMF Accept Deregistration Notification from UDM only for registered UE -- (#1737(https://github.com/open5gs/open5gs/pull/1737)) -- bmeglicit(https://github.com/bmeglicit)
50
+- SBI Send NF discovery query with service-names delimited with comma -- (#1730(https://github.com/open5gs/open5gs/pull/1730)) -- bmeglicit(https://github.com/bmeglicit)
51
+- Gx Handle upCnxState=ACTIVATION by later replaying with 200 instead of 204 (#1729(https://github.com/open5gs/open5gs/pull/1729)) -- mitmitmitm(https://github.com/mitmitmitm)
52
+- MME Fixed buffer overflow in S6A IDR(#1728(https://github.com/open5gs/open5gs/pull/1728)) -- mitmitmitm(https://github.com/mitmitmitm)
53
+- Gx Added 3GPP-Charging-Characteristics if received on S5/8c (#1724(https://github.com/open5gs/open5gs/pull/1724)) -- lynxis(https://github.com/lynxis)
54
+- S5c/Gn Fix PCO IE sent in response its presence in request (#1691(https://github.com/open5gs/open5gs/pull/1691)) -- herlesupreeth(https://github.com/herlesupreeth)
55
+- Diameter Fixed the path of Nnrf_NFManagement Service (#1683(https://github.com/open5gs/open5gs/issues/1683)) -- s5uishida(https://github.com/s5uishida)
56
+- Diameter Fixed AVP Occurring Too Many Times (#1680(https://github.com/open5gs/open5gs/pull/1680)) -- jmasterfunk84(https://github.com/jmasterfunk84)
57
+
58
+Download -- v2.4.12.tar.gz(https://github.com/open5gs/open5gs/archive/v2.4.12.tar.gz)
59
+{: .notice--info}
60
open5gs_2.5.6.tar.xz/docs/_posts/2022-11-18-release-v2.5.6.md Added
101
 
1
@@ -0,0 +1,99 @@
2
+---
3
+title: "v2.5.6 - SCP for Indirect Communication"
4
+date: 2022-11-18 22:59:00 +0900
5
+categories:
6
+  - Release
7
+tags:
8
+  - News
9
+  - Release
10
+head_inline: "<style> ul { padding-bottom: 1em; } .blue { color: blue; }</style>"
11
+---
12
+
13
+#### New Feature
14
+
15
+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.
16
+
17
+- amf.yaml If NFs are configured to use Delegated Discovery through the SCP, you do not need to set up NRF.
18
+
19
+```
20
+amf:
21
+    sbi:
22
+      - addr: 127.0.0.5
23
+        port: 7777
24
+
25
+scp:
26
+    sbi:
27
+      - addr: 127.0.1.10
28
+        port: 7777
29
+
30
+#nrf:
31
+#    sbi:
32
+#      - addr:
33
+#          - 127.0.0.10
34
+#          - ::1
35
+#        port: 7777
36
+```
37
+
38
+- scp.yaml NRF is needed for Delegated Discovery in SCP configuration.
39
+
40
+```
41
+scp:
42
+    sbi:
43
+      - addr: 127.0.1.10
44
+        port: 7777
45
+
46
+#
47
+# next_scp:
48
+#    sbi:
49
+#      addr: 127.0.1.11
50
+#      port: 7777
51
+#
52
+
53
+nrf:
54
+    sbi:
55
+      - addr:
56
+          - 127.0.0.10
57
+          - ::1
58
+        port: 7777
59
+```
60
+
61
+- nrf.yaml If there is an SCP in the NRF configuration, a notification(nnrf-nfm/nf-status-notify) is sent through an indirect communication.
62
+
63
+```
64
+nrf:
65
+    sbi:
66
+      addr:
67
+        - 127.0.0.10
68
+        - ::1
69
+      port: 7777
70
+
71
+scp:
72
+    sbi:
73
+      - addr: 127.0.1.10
74
+        port: 7777
75
+```
76
+
77
+
78
+#### Enhancements
79
+- WebUI/DB Fixed the WebUI to Support MongoDB 6.0 (#1824(https://github.com/open5gs/open5gs/issues/1824)) -- bmeglicit(https://github.com/bmeglicit)
80
+- NAS Discard NAS message if integrity is failed (#1848(https://github.com/open5gs/open5gs/pull/1848)) -- jmasterfunk84(https://github.com/jmasterfunk84)
81
+- AMF Support REREGISTRATION_REQUIRED in dereg notify (#1858(https://github.com/open5gs/open5gs/pull/1858)) -- mitmitmitm(https://github.com/mitmitmitm)
82
+- 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)
83
+- DBI Disable Changes Streams with mongo Version (#1833(https://github.com/open5gs/open5gs/pull/1833)) -- jmasterfunk84(https://github.com/jmasterfunk84)
84
+- SBI Added 3gpp-Sbi-Sender-Timestamp and 3gpp-Sbi-Max-Rsp-Time -- 7c8722d(https://github.com/open5gs/open5gs/commit/7c8722d9d4d2db13d889be1e5e37bc062f069396)
85
+- MME Cancel Location while Idle (#1797(https://github.com/open5gs/open5gs/pull/1797)) -- jmasterfunk84(https://github.com/jmasterfunk84)
86
+- MME Support for Insert Subscriber Data (#1794(https://github.com/open5gs/open5gs/pull/1794)) -- jmasterfunk84(https://github.com/jmasterfunk84)
87
+
88
+#### Bug Fixes
89
+- AMD Added implicit_unsubscribe field to SDMSubscription (#1884(https://github.com/open5gs/open5gs/pull/1884)) -- bmeglicit(https://github.com/bmeglicit)
90
+- SMF Fixed PTI when PDU Session Reject -- ddf09f2(https://github.com/open5gs/open5gs/commit/ddf09f270aaaaae67ac9ec1c157b4b28f1c90d10)
91
+- SBI Do not send empty arrays in NRF/PCF (#1876(https://github.com/open5gs/open5gs/pull/1876)) -- bmeglicit(https://github.com/bmeglicit)
92
+- 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)
93
+- AMF Reject registration requests when pool for UE context is empty (#1828(https://github.com/open5gs/open5gs/pull/1828)) -- bmeglicit(https://github.com/bmeglicit)
94
+- AMF Increase size of TMSI pool (#1827(https://github.com/open5gs/open5gs/pull/1827)) -- bmeglicit(https://github.com/bmeglicit)
95
+- AMF/UDM Added support to subscribe to SDM changes (#1820(https://github.com/open5gs/open5gs/pull/1820)) -- bmeglicit(https://github.com/bmeglicit)
96
+- PFCP Do not check qos_flow in PFCP Report message (#1819(https://github.com/open5gs/open5gs/pull/1819)) -- ssafaorhan(https://github.com/ssafaorhan)
97
+- PFCP Fixed invalid message of Dropped DL Traffic threshold (#1817(https://github.com/open5gs/open5gs/pull/1817)) -- ssafaorhan(https://github.com/ssafaorhan)
98
+
99
+Download -- v2.5.5.tar.gz(https://github.com/open5gs/open5gs/archive/v2.5.5.tar.gz)
100
+{: .notice--info}
101
open5gs_2.5.5.tar.xz/docs/assets/webui/install -> open5gs_2.5.6.tar.xz/docs/assets/webui/install Changed
31
 
1
@@ -10,7 +10,7 @@
2
 #
3
 
4
 PACKAGE="open5gs"
5
-VERSION="2.5.5"
6
+VERSION="2.5.6"
7
 
8
 print_status() {
9
     echo
10
@@ -231,9 +231,9 @@
11
 print_status 'Adding the MongoDB signing key to your keyring...'
12
 
13
 if  -x /usr/bin/curl ; then
14
-    exec_cmd_nobail "curl -sLf -o /dev/null 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -"
15
+    exec_cmd_nobail "curl -sLf 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -"
16
 else
17
-    exec_cmd_nobail "wget -qO /dev/null -o /dev/null 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -"
18
+    exec_cmd_nobail "wget -qO - 'https://www.mongodb.org/static/pgp/server-6.0.asc' | apt-key add -"
19
 fi
20
 
21
 print_status "Creating apt sources list file for the MongoDB repo..."
22
@@ -259,7 +259,7 @@
23
     exec_cmd "curl -sLf 'https://github.com/open5gs/${PACKAGE}/archive/v${VERSION}.tar.gz' | tar zxf -"
24
     RC=$?
25
 else
26
-    exec_cmd "wget -qO- /dev/null 'https://github.com/open5gs/${PACKAGE}/archive/v${VERSION}.tar.gz' | tar zxf -"
27
+    exec_cmd "wget -qO - 'https://github.com/open5gs/${PACKAGE}/archive/v${VERSION}.tar.gz' | tar zxf -"
28
     RC=$?
29
 fi
30
 
31
open5gs_2.5.5.tar.xz/lib/sbi/context.c -> open5gs_2.5.6.tar.xz/lib/sbi/context.c Changed
104
 
1
@@ -26,6 +26,7 @@
2
 static OGS_POOL(nf_instance_pool, ogs_sbi_nf_instance_t);
3
 static OGS_POOL(nf_service_pool, ogs_sbi_nf_service_t);
4
 static OGS_POOL(xact_pool, ogs_sbi_xact_t);
5
+static OGS_POOL(subscription_spec_pool, ogs_sbi_subscription_spec_t);
6
 static OGS_POOL(subscription_data_pool, ogs_sbi_subscription_data_t);
7
 static OGS_POOL(smf_info_pool, ogs_sbi_smf_info_t);
8
 static OGS_POOL(nf_info_pool, ogs_sbi_nf_info_t);
9
@@ -51,6 +52,9 @@
10
 
11
     ogs_pool_init(&xact_pool, ogs_app()->pool.xact);
12
 
13
+    ogs_list_init(&self.subscription_spec_list);
14
+    ogs_pool_init(&subscription_spec_pool, ogs_app()->pool.subscription);
15
+
16
     ogs_list_init(&self.subscription_data_list);
17
     ogs_pool_init(&subscription_data_pool, ogs_app()->pool.subscription);
18
 
19
@@ -86,6 +90,9 @@
20
     ogs_sbi_subscription_data_remove_all();
21
     ogs_pool_final(&subscription_data_pool);
22
 
23
+    ogs_sbi_subscription_spec_remove_all();
24
+    ogs_pool_final(&subscription_spec_pool);
25
+
26
     ogs_pool_final(&xact_pool);
27
 
28
     ogs_sbi_nf_instance_remove_all();
29
@@ -1777,6 +1784,49 @@
30
     return ogs_pool_cycle(&xact_pool, xact);
31
 }
32
 
33
+ogs_sbi_subscription_spec_t *ogs_sbi_subscription_spec_add(
34
+        OpenAPI_nf_type_e nf_type, const char *service_name)
35
+{
36
+    ogs_sbi_subscription_spec_t *subscription_spec = NULL;
37
+
38
+    ogs_assert(nf_type);
39
+
40
+    ogs_pool_alloc(&subscription_spec_pool, &subscription_spec);
41
+    ogs_assert(subscription_spec);
42
+    memset(subscription_spec, 0, sizeof(ogs_sbi_subscription_spec_t));
43
+
44
+    subscription_spec->subscr_cond.nf_type = nf_type;
45
+    if (service_name)
46
+        subscription_spec->subscr_cond.service_name = ogs_strdup(service_name);
47
+
48
+    ogs_list_add(&ogs_sbi_self()->subscription_spec_list, subscription_spec);
49
+
50
+    return subscription_spec;
51
+}
52
+
53
+void ogs_sbi_subscription_spec_remove(
54
+        ogs_sbi_subscription_spec_t *subscription_spec)
55
+{
56
+    ogs_assert(subscription_spec);
57
+
58
+    ogs_list_remove(&ogs_sbi_self()->subscription_spec_list, subscription_spec);
59
+
60
+    if (subscription_spec->subscr_cond.service_name)
61
+        ogs_free(subscription_spec->subscr_cond.service_name);
62
+
63
+    ogs_pool_free(&subscription_spec_pool, subscription_spec);
64
+}
65
+
66
+void ogs_sbi_subscription_spec_remove_all(void)
67
+{
68
+    ogs_sbi_subscription_spec_t *subscription_spec = NULL;
69
+    ogs_sbi_subscription_spec_t *next_subscription_spec = NULL;
70
+
71
+    ogs_list_for_each_safe(&ogs_sbi_self()->subscription_spec_list,
72
+            next_subscription_spec, subscription_spec)
73
+        ogs_sbi_subscription_spec_remove(subscription_spec);
74
+}
75
+
76
 ogs_sbi_subscription_data_t *ogs_sbi_subscription_data_add(void)
77
 {
78
     ogs_sbi_subscription_data_t *subscription_data = NULL;
79
@@ -1874,24 +1924,3 @@
80
 
81
     return subscription_data;
82
 }
83
-
84
-void ogs_sbi_subscription_data_build_default(
85
-        OpenAPI_nf_type_e nf_type, const char *service_name)
86
-{
87
-    ogs_sbi_subscription_data_t *subscription_data = NULL;
88
-
89
-    ogs_assert(nf_type);
90
-
91
-    subscription_data = ogs_sbi_subscription_data_add();
92
-    ogs_assert(subscription_data);
93
-
94
-    subscription_data->req_nf_type =
95
-        NF_INSTANCE_TYPE(ogs_sbi_self()->nf_instance);
96
-    ogs_assert(subscription_data->req_nf_type);
97
-    if (NF_INSTANCE_ID(ogs_sbi_self()->nf_instance))
98
-        subscription_data->req_nf_instance_id =
99
-            ogs_strdup(NF_INSTANCE_ID(ogs_sbi_self()->nf_instance));
100
-    subscription_data->subscr_cond.nf_type = nf_type;
101
-    if (service_name)
102
-        subscription_data->subscr_cond.service_name = ogs_strdup(service_name);
103
-}
104
open5gs_2.5.5.tar.xz/lib/sbi/context.h -> open5gs_2.5.6.tar.xz/lib/sbi/context.h Changed
48
 
1
@@ -57,6 +57,7 @@
2
     ogs_uuid_t uuid;
3
 
4
     ogs_list_t nf_instance_list;
5
+    ogs_list_t subscription_spec_list;
6
     ogs_list_t subscription_data_list;
7
 
8
     ogs_sbi_nf_instance_t *nf_instance;     /* SELF NF Instance */
9
@@ -208,6 +209,16 @@
10
     void *client;
11
 } ogs_sbi_nf_service_t;
12
 
13
+typedef struct ogs_sbi_subscription_spec_s {
14
+    ogs_lnode_t lnode;
15
+
16
+    struct {
17
+        OpenAPI_nf_type_e nf_type;          /* nfType */
18
+        char *service_name;                 /* ServiceName */
19
+    } subscr_cond;
20
+
21
+} ogs_sbi_subscription_spec_t;
22
+
23
 typedef struct ogs_sbi_subscription_data_s {
24
     ogs_lnode_t lnode;
25
 
26
@@ -400,6 +411,12 @@
27
 void ogs_sbi_xact_remove_all(ogs_sbi_object_t *sbi_object);
28
 ogs_sbi_xact_t *ogs_sbi_xact_cycle(ogs_sbi_xact_t *xact);
29
 
30
+ogs_sbi_subscription_spec_t *ogs_sbi_subscription_spec_add(
31
+        OpenAPI_nf_type_e nf_type, const char *service_name);
32
+void ogs_sbi_subscription_spec_remove(
33
+        ogs_sbi_subscription_spec_t *subscription_spec);
34
+void ogs_sbi_subscription_spec_remove_all(void);
35
+
36
 ogs_sbi_subscription_data_t *ogs_sbi_subscription_data_add(void);
37
 void ogs_sbi_subscription_data_set_id(
38
         ogs_sbi_subscription_data_t *subscription_data, char *id);
39
@@ -409,8 +426,6 @@
40
         char *nf_instance_id);
41
 void ogs_sbi_subscription_data_remove_all(void);
42
 ogs_sbi_subscription_data_t *ogs_sbi_subscription_data_find(char *id);
43
-void ogs_sbi_subscription_data_build_default(
44
-        OpenAPI_nf_type_e nf_type, const char *service_name);
45
 
46
 #ifdef __cplusplus
47
 }
48
open5gs_2.5.5.tar.xz/lib/sbi/nf-sm.c -> open5gs_2.5.6.tar.xz/lib/sbi/nf-sm.c Changed
26
 
1
@@ -209,7 +209,7 @@
2
     switch (e->id) {
3
     case OGS_FSM_ENTRY_SIG:
4
         if (NF_INSTANCE_TYPE_IS_NRF(nf_instance)) {
5
-            ogs_sbi_subscription_data_t *subscription_data = NULL;
6
+            ogs_sbi_subscription_spec_t *subscription_spec = NULL;
7
 
8
             ogs_info("%s NF registered Heartbeat:%ds",
9
                     NF_INSTANCE_ID(ogs_sbi_self()->nf_instance),
10
@@ -225,9 +225,12 @@
11
             }
12
 
13
             ogs_list_for_each(
14
-                &ogs_sbi_self()->subscription_data_list, subscription_data) {
15
-                ogs_assert(true ==
16
-                    ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
17
+                &ogs_sbi_self()->subscription_spec_list, subscription_spec) {
18
+                ogs_nnrf_nfm_send_nf_status_subscribe(
19
+                        ogs_sbi_self()->nf_instance->nf_type,
20
+                        ogs_sbi_self()->nf_instance->id,
21
+                        subscription_spec->subscr_cond.nf_type,
22
+                        subscription_spec->subscr_cond.service_name);
23
             }
24
         }
25
         break;
26
open5gs_2.5.5.tar.xz/lib/sbi/nnrf-path.c -> open5gs_2.5.6.tar.xz/lib/sbi/nnrf-path.c Changed
28
 
1
@@ -86,13 +86,25 @@
2
 }
3
 
4
 bool ogs_nnrf_nfm_send_nf_status_subscribe(
5
-        ogs_sbi_subscription_data_t *subscription_data)
6
+        OpenAPI_nf_type_e req_nf_type, char *req_nf_instance_id,
7
+        OpenAPI_nf_type_e subscr_cond_nf_type,
8
+        char *subscr_cond_service_name)
9
 {
10
     bool rc;
11
     ogs_sbi_request_t *request = NULL;
12
+    ogs_sbi_subscription_data_t *subscription_data = NULL;
13
 
14
+    subscription_data = ogs_sbi_subscription_data_add();
15
     ogs_assert(subscription_data);
16
 
17
+    subscription_data->req_nf_type = req_nf_type;
18
+    if (req_nf_instance_id)
19
+        subscription_data->req_nf_instance_id = ogs_strdup(req_nf_instance_id);
20
+    subscription_data->subscr_cond.nf_type = subscr_cond_nf_type;
21
+    if (subscr_cond_service_name)
22
+        subscription_data->subscr_cond.service_name =
23
+            ogs_strdup(subscr_cond_service_name);
24
+
25
     request = ogs_nnrf_nfm_build_status_subscribe(subscription_data);
26
     if (!request) {
27
         ogs_error("No Request");
28
open5gs_2.5.5.tar.xz/lib/sbi/nnrf-path.h -> open5gs_2.5.6.tar.xz/lib/sbi/nnrf-path.h Changed
12
 
1
@@ -30,7 +30,9 @@
2
 bool ogs_nnrf_nfm_send_nf_update(ogs_sbi_nf_instance_t *nf_instance);
3
 bool ogs_nnrf_nfm_send_nf_de_register(ogs_sbi_nf_instance_t *nf_instance);
4
 bool ogs_nnrf_nfm_send_nf_status_subscribe(
5
-        ogs_sbi_subscription_data_t *subscription_data);
6
+        OpenAPI_nf_type_e req_nf_type, char *req_nf_instance_id,
7
+        OpenAPI_nf_type_e subscr_cond_nf_type,
8
+        char *subscr_cond_service_name);
9
 bool ogs_nnrf_nfm_send_nf_status_unsubscribe(
10
         ogs_sbi_subscription_data_t *subscription_data);
11
 
12
open5gs_2.5.5.tar.xz/meson.build -> open5gs_2.5.6.tar.xz/meson.build Changed
19
 
1
@@ -16,7 +16,7 @@
2
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
3
 
4
 project('open5gs', 'c', 'cpp',
5
-    version : '2.5.5',
6
+    version : '2.5.6',
7
     license : 'AGPL-3.0-or-later',
8
     meson_version : '>= 0.43.0',
9
     default_options : 
10
@@ -24,7 +24,7 @@
11
     ,
12
 )
13
 
14
-libogslib_version = '2.5.5'
15
+libogslib_version = '2.5.6'
16
 
17
 prefix = get_option('prefix')
18
 bindir = join_paths(prefix, get_option('bindir'))
19
open5gs_2.5.5.tar.xz/src/amf/amf-sm.c -> open5gs_2.5.6.tar.xz/src/amf/amf-sm.c Changed
14
 
1
@@ -579,7 +579,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/amf/nudm-build.c -> open5gs_2.5.6.tar.xz/src/amf/nudm-build.c Changed
9
 
1
@@ -218,6 +218,7 @@
2
     }
3
 
4
     OpenAPI_list_add(SDMSubscription.monitored_resource_uris, monres);
5
+    SDMSubscription.is_implicit_unsubscribe = true;
6
     SDMSubscription.implicit_unsubscribe = 1;
7
 
8
     message.SDMSubscription = &SDMSubscription;
9
open5gs_2.5.5.tar.xz/src/amf/sbi-path.c -> open5gs_2.5.6.tar.xz/src/amf/sbi-path.c Changed
27
 
1
@@ -52,18 +52,18 @@
2
     if (nf_instance)
3
         ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-    /* Build Subscription-Data */
6
-    ogs_sbi_subscription_data_build_default(
7
+    /* Setup Subscription-Data */
8
+    ogs_sbi_subscription_spec_add(
9
             OpenAPI_nf_type_AUSF, OGS_SBI_SERVICE_NAME_NAUSF_AUTH);
10
-    ogs_sbi_subscription_data_build_default(
11
+    ogs_sbi_subscription_spec_add(
12
             OpenAPI_nf_type_UDM, OGS_SBI_SERVICE_NAME_NUDM_UECM);
13
-    ogs_sbi_subscription_data_build_default(
14
+    ogs_sbi_subscription_spec_add(
15
             OpenAPI_nf_type_UDM, OGS_SBI_SERVICE_NAME_NUDM_SDM);
16
-    ogs_sbi_subscription_data_build_default(
17
+    ogs_sbi_subscription_spec_add(
18
             OpenAPI_nf_type_PCF, OGS_SBI_SERVICE_NAME_NPCF_AM_POLICY_CONTROL);
19
-    ogs_sbi_subscription_data_build_default(
20
+    ogs_sbi_subscription_spec_add(
21
             OpenAPI_nf_type_SMF, OGS_SBI_SERVICE_NAME_NSMF_PDUSESSION);
22
-    ogs_sbi_subscription_data_build_default(
23
+    ogs_sbi_subscription_spec_add(
24
             OpenAPI_nf_type_NSSF, OGS_SBI_SERVICE_NAME_NNSSF_NSSELECTION);
25
 
26
     if (ogs_sbi_server_start_all(ogs_sbi_server_handler) != OGS_OK)
27
open5gs_2.5.5.tar.xz/src/ausf/ausf-sm.c -> open5gs_2.5.6.tar.xz/src/ausf/ausf-sm.c Changed
14
 
1
@@ -343,7 +343,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/ausf/sbi-path.c -> open5gs_2.5.6.tar.xz/src/ausf/sbi-path.c Changed
12
 
1
@@ -49,8 +49,8 @@
2
     if (nf_instance)
3
         ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-    /* Build Subscription-Data */
6
-    ogs_sbi_subscription_data_build_default(
7
+    /* Setup Subscription-Data */
8
+    ogs_sbi_subscription_spec_add(
9
             OpenAPI_nf_type_UDM, OGS_SBI_SERVICE_NAME_NUDM_UEAU);
10
 
11
     if (ogs_sbi_server_start_all(ogs_sbi_server_handler) != OGS_OK)
12
open5gs_2.5.5.tar.xz/src/bsf/bsf-sm.c -> open5gs_2.5.6.tar.xz/src/bsf/bsf-sm.c Changed
14
 
1
@@ -328,7 +328,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/nssf/nssf-sm.c -> open5gs_2.5.6.tar.xz/src/nssf/nssf-sm.c Changed
14
 
1
@@ -244,7 +244,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/pcf/pcf-sm.c -> open5gs_2.5.6.tar.xz/src/pcf/pcf-sm.c Changed
14
 
1
@@ -574,7 +574,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("%s Subscription validity expired",
13
                     subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/pcf/sbi-path.c -> open5gs_2.5.6.tar.xz/src/pcf/sbi-path.c Changed
15
 
1
@@ -96,10 +96,10 @@
2
     if (nf_instance)
3
         ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-    /* Build Subscription-Data */
6
-    ogs_sbi_subscription_data_build_default(
7
+    /* Setup Subscription-Data */
8
+    ogs_sbi_subscription_spec_add(
9
             OpenAPI_nf_type_BSF, OGS_SBI_SERVICE_NAME_NBSF_MANAGEMENT);
10
-    ogs_sbi_subscription_data_build_default(
11
+    ogs_sbi_subscription_spec_add(
12
             OpenAPI_nf_type_UDR, OGS_SBI_SERVICE_NAME_NUDR_DR);
13
 
14
     if (ogs_sbi_server_start_all(ogs_sbi_server_handler) != OGS_OK)
15
open5gs_2.5.5.tar.xz/src/scp/sbi-path.c -> open5gs_2.5.6.tar.xz/src/scp/sbi-path.c Changed
26
 
1
@@ -69,15 +69,15 @@
2
     /* If the SCP has an NRF client and does not delegate to Next-SCP */
3
     if (nrf_client && !next_scp) {
4
 
5
-        /* Build Subscription-Data */
6
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_AMF, NULL);
7
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_AUSF, NULL);
8
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_BSF, NULL);
9
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_NSSF, NULL);
10
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_PCF, NULL);
11
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_SMF, NULL);
12
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_UDM, NULL);
13
-        ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_UDR, NULL);
14
+        /* Setup Subscription-Data */
15
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_AMF, NULL);
16
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_AUSF, NULL);
17
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_BSF, NULL);
18
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_NSSF, NULL);
19
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_PCF, NULL);
20
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_SMF, NULL);
21
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_UDM, NULL);
22
+        ogs_sbi_subscription_spec_add(OpenAPI_nf_type_UDR, NULL);
23
     }
24
 
25
     if (ogs_sbi_server_start_all(request_handler) != OGS_OK)
26
open5gs_2.5.5.tar.xz/src/scp/scp-sm.c -> open5gs_2.5.6.tar.xz/src/scp/scp-sm.c Changed
14
 
1
@@ -232,7 +232,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/smf/gsm-build.c -> open5gs_2.5.6.tar.xz/src/smf/gsm-build.c Changed
19
 
1
@@ -292,7 +292,7 @@
2
 }
3
 
4
 ogs_pkbuf_t *gsm_build_pdu_session_modification_command(
5
-        smf_sess_t *sess, uint8_t pti,
6
+        smf_sess_t *sess,
7
         uint8_t qos_rule_code, uint8_t qos_flow_description_code)
8
 {
9
     ogs_pkbuf_t *pkbuf = NULL;
10
@@ -325,7 +325,7 @@
11
     message.gsm.h.extended_protocol_discriminator =
12
             OGS_NAS_EXTENDED_PROTOCOL_DISCRIMINATOR_5GSM;
13
     message.gsm.h.pdu_session_identity = sess->psi;
14
-    message.gsm.h.procedure_transaction_identity = pti;
15
+    message.gsm.h.procedure_transaction_identity = sess->pti;
16
     message.gsm.h.message_type = OGS_NAS_5GS_PDU_SESSION_MODIFICATION_COMMAND;
17
 
18
     /* QoS rule */
19
open5gs_2.5.5.tar.xz/src/smf/gsm-build.h -> open5gs_2.5.6.tar.xz/src/smf/gsm-build.h Changed
10
 
1
@@ -31,7 +31,7 @@
2
         smf_sess_t *sess, ogs_nas_5gsm_cause_t gsm_cause);
3
 
4
 ogs_pkbuf_t *gsm_build_pdu_session_modification_command(
5
-        smf_sess_t *sess, uint8_t pti,
6
+        smf_sess_t *sess,
7
         uint8_t qos_rule_code, uint8_t qos_flow_description_code);
8
 ogs_pkbuf_t *gsm_build_pdu_session_modification_reject(
9
         smf_sess_t *sess, ogs_nas_5gsm_cause_t gsm_cause);
10
open5gs_2.5.5.tar.xz/src/smf/n4-handler.c -> open5gs_2.5.6.tar.xz/src/smf/n4-handler.c Changed
97
 
1
@@ -464,11 +464,23 @@
2
 
3
             ogs_assert(flags & OGS_PFCP_MODIFY_SESSION);
4
 
5
+            /*
6
+             * TS24.501
7
+             * 6.2 General on elementary 5GSM procedures
8
+             * 6.2.1 Principles of PTI handling for 5GSM procedures
9
+             *
10
+             * If a command message is not sent as result of
11
+             * a received request message, the sending entity shall
12
+             * include in the command message the PTI value set to
13
+             * "no procedure transaction identity assigned"
14
+             * (see examples in figure 6.2.1.4).
15
+             */
16
+            sess->pti = OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED;
17
+
18
             memset(&param, 0, sizeof(param));
19
             param.state = SMF_NETWORK_REQUESTED_QOS_FLOW_MODIFICATION;
20
             param.n1smbuf = gsm_build_pdu_session_modification_command(
21
                     sess,
22
-                    OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED,
23
                     OGS_NAS_QOS_CODE_DELETE_EXISTING_QOS_RULE,
24
                     OGS_NAS_DELETE_NEW_QOS_FLOW_DESCRIPTION);
25
             ogs_assert(param.n1smbuf);
26
@@ -492,7 +504,7 @@
27
 
28
             ogs_assert(flags & OGS_PFCP_MODIFY_SESSION);
29
             n1smbuf = gsm_build_pdu_session_modification_command(
30
-                    sess, sess->pti,
31
+                    sess,
32
                     OGS_NAS_QOS_CODE_DELETE_EXISTING_QOS_RULE,
33
                     OGS_NAS_DELETE_NEW_QOS_FLOW_DESCRIPTION);
34
             ogs_assert(n1smbuf);
35
@@ -528,11 +540,23 @@
36
 
37
             ogs_assert(flags & OGS_PFCP_MODIFY_SESSION);
38
 
39
+            /*
40
+             * TS24.501
41
+             * 6.2 General on elementary 5GSM procedures
42
+             * 6.2.1 Principles of PTI handling for 5GSM procedures
43
+             *
44
+             * If a command message is not sent as result of
45
+             * a received request message, the sending entity shall
46
+             * include in the command message the PTI value set to
47
+             * "no procedure transaction identity assigned"
48
+             * (see examples in figure 6.2.1.4).
49
+             */
50
+            sess->pti = OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED;
51
+
52
             memset(&param, 0, sizeof(param));
53
             param.state = SMF_NETWORK_REQUESTED_QOS_FLOW_MODIFICATION;
54
             param.n1smbuf = gsm_build_pdu_session_modification_command(
55
                     sess,
56
-                    OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED,
57
                     OGS_NAS_QOS_CODE_CREATE_NEW_QOS_RULE,
58
                     OGS_NAS_CREATE_NEW_QOS_FLOW_DESCRIPTION);
59
             ogs_assert(param.n1smbuf);
60
@@ -577,12 +601,23 @@
61
         if (flags & OGS_PFCP_MODIFY_NETWORK_REQUESTED) {
62
             ogs_assert(flags & OGS_PFCP_MODIFY_SESSION);
63
 
64
+            /*
65
+             * TS24.501
66
+             * 6.2 General on elementary 5GSM procedures
67
+             * 6.2.1 Principles of PTI handling for 5GSM procedures
68
+             *
69
+             * If a command message is not sent as result of
70
+             * a received request message, the sending entity shall
71
+             * include in the command message the PTI value set to
72
+             * "no procedure transaction identity assigned"
73
+             * (see examples in figure 6.2.1.4).
74
+             */
75
+            sess->pti = OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED;
76
+
77
             memset(&param, 0, sizeof(param));
78
             param.state = SMF_NETWORK_REQUESTED_QOS_FLOW_MODIFICATION;
79
             param.n1smbuf = gsm_build_pdu_session_modification_command(
80
-                    sess,
81
-                    OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED,
82
-                    qos_rule_code, qos_flow_description_code);
83
+                    sess, qos_rule_code, qos_flow_description_code);
84
             ogs_assert(param.n1smbuf);
85
             param.n2smbuf =
86
                 ngap_build_pdu_session_resource_modify_request_transfer(
87
@@ -599,8 +634,7 @@
88
 
89
             ogs_assert(flags & OGS_PFCP_MODIFY_SESSION);
90
             n1smbuf = gsm_build_pdu_session_modification_command(
91
-                    sess, sess->pti,
92
-                    qos_rule_code, qos_flow_description_code);
93
+                    sess, qos_rule_code, qos_flow_description_code);
94
             ogs_assert(n1smbuf);
95
 
96
             n2smbuf = ngap_build_pdu_session_resource_modify_request_transfer(
97
open5gs_2.5.5.tar.xz/src/smf/nsmf-handler.c -> open5gs_2.5.6.tar.xz/src/smf/nsmf-handler.c Changed
126
 
1
@@ -28,6 +28,7 @@
2
 {
3
     smf_ue_t *smf_ue = NULL;
4
 
5
+    ogs_nas_5gsm_header_t *gsm_header = NULL;
6
     ogs_pkbuf_t *n1smbuf = NULL;
7
 
8
     ogs_sbi_client_t *client = NULL;
9
@@ -50,12 +51,42 @@
10
     if (!SmContextCreateData) {
11
         ogs_error("%s:%d No SmContextCreateData",
12
                 smf_ue->supi, sess->psi);
13
-        n1smbuf = gsm_build_pdu_session_establishment_reject(sess,
14
-            OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION);
15
         smf_sbi_send_sm_context_create_error(stream,
16
                 OGS_SBI_HTTP_STATUS_BAD_REQUEST,
17
-                "No SmContextCreateData", smf_ue->supi, n1smbuf);
18
+                "No SmContextCreateData", smf_ue->supi, NULL);
19
+        return false;
20
+    }
21
+
22
+    n1SmMsg = SmContextCreateData->n1_sm_msg;
23
+    if (!n1SmMsg || !n1SmMsg->content_id) {
24
+        ogs_error("%s:%d No n1SmMsg", smf_ue->supi, sess->psi);
25
+        smf_sbi_send_sm_context_create_error(stream,
26
+                OGS_SBI_HTTP_STATUS_BAD_REQUEST,
27
+                "No n1SmMsg", smf_ue->supi, NULL);
28
+        return false;
29
+    }
30
+
31
+    n1smbuf = ogs_sbi_find_part_by_content_id(message, n1SmMsg->content_id);
32
+    if (!n1smbuf) {
33
+        ogs_error("%s:%d No N1 SM Content %s",
34
+                smf_ue->supi, sess->psi, n1SmMsg->content_id);
35
+        smf_sbi_send_sm_context_create_error(stream,
36
+                OGS_SBI_HTTP_STATUS_BAD_REQUEST,
37
+                "No N1 SM Content", smf_ue->supi, NULL);
38
+        return false;
39
+    }
40
+
41
+    gsm_header = (ogs_nas_5gsm_header_t *)n1smbuf->data;
42
+    ogs_assert(gsm_header);
43
+
44
+    sess->pti = gsm_header->procedure_transaction_identity;
45
+    if (sess->pti == OGS_NAS_PROCEDURE_TRANSACTION_IDENTITY_UNASSIGNED) {
46
+        ogs_error("%s:%d No PTI", smf_ue->supi, sess->psi);
47
+        smf_sbi_send_sm_context_create_error(stream,
48
+                OGS_SBI_HTTP_STATUS_BAD_REQUEST,
49
+                "No PTI", smf_ue->supi, NULL);
50
         return false;
51
+
52
     }
53
 
54
     sNssai = SmContextCreateData->s_nssai;
55
@@ -106,29 +137,6 @@
56
         return false;
57
     }
58
 
59
-    n1SmMsg = SmContextCreateData->n1_sm_msg;
60
-    if (!n1SmMsg || !n1SmMsg->content_id) {
61
-        ogs_error("%s:%d No n1SmMsg", smf_ue->supi, sess->psi);
62
-        n1smbuf = gsm_build_pdu_session_establishment_reject(sess,
63
-            OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION);
64
-        smf_sbi_send_sm_context_create_error(stream,
65
-                OGS_SBI_HTTP_STATUS_BAD_REQUEST,
66
-                "No n1SmMsg", smf_ue->supi, n1smbuf);
67
-        return false;
68
-    }
69
-
70
-    n1smbuf = ogs_sbi_find_part_by_content_id(message, n1SmMsg->content_id);
71
-    if (!n1smbuf) {
72
-        ogs_error("%s:%d No N1 SM Content %s",
73
-                smf_ue->supi, sess->psi, n1SmMsg->content_id);
74
-        n1smbuf = gsm_build_pdu_session_establishment_reject(sess,
75
-            OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION);
76
-        smf_sbi_send_sm_context_create_error(stream,
77
-                OGS_SBI_HTTP_STATUS_BAD_REQUEST,
78
-                "No N1 SM Content", smf_ue->supi, n1smbuf);
79
-        return false;
80
-    }
81
-
82
     if (!SmContextCreateData->sm_context_status_uri) {
83
         ogs_error("%s:%d No SmContextStatusNotification",
84
                 smf_ue->supi, sess->psi);
85
@@ -228,6 +236,7 @@
86
     OpenAPI_ref_to_binary_data_t *n1SmMsg = NULL;
87
     OpenAPI_ref_to_binary_data_t *n2SmMsg = NULL;
88
 
89
+    ogs_nas_5gsm_header_t *gsm_header = NULL;
90
     ogs_pkbuf_t *n1smbuf = NULL;
91
     ogs_pkbuf_t *n2smbuf = NULL;
92
 
93
@@ -274,11 +283,9 @@
94
         n1SmMsg = SmContextUpdateData->n1_sm_msg;
95
         if (!n1SmMsg || !n1SmMsg->content_id) {
96
             ogs_error("%s:%d No n1SmMsg", smf_ue->supi, sess->psi);
97
-            n1smbuf = gsm_build_pdu_session_release_reject(sess,
98
-                OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION);
99
             smf_sbi_send_sm_context_update_error(stream,
100
                     OGS_SBI_HTTP_STATUS_BAD_REQUEST,
101
-                    "No n1SmMsg", smf_ue->supi, n1smbuf, NULL);
102
+                    "No n1SmMsg", smf_ue->supi, NULL, NULL);
103
             return false;
104
         }
105
 
106
@@ -286,14 +293,16 @@
107
         if (!n1smbuf) {
108
             ogs_error("%s:%d No N1 SM Content %s",
109
                     smf_ue->supi, sess->psi, n1SmMsg->content_id);
110
-            n1smbuf = gsm_build_pdu_session_release_reject(sess,
111
-                OGS_5GSM_CAUSE_INVALID_MANDATORY_INFORMATION);
112
             smf_sbi_send_sm_context_update_error(stream,
113
                     OGS_SBI_HTTP_STATUS_BAD_REQUEST,
114
-                    "No N1 SM Content", smf_ue->supi, n1smbuf, NULL);
115
+                    "No N1 SM Content", smf_ue->supi, NULL, NULL);
116
             return false;
117
         }
118
 
119
+        gsm_header = (ogs_nas_5gsm_header_t *)n1smbuf->data;
120
+        ogs_assert(gsm_header);
121
+        sess->pti = gsm_header->procedure_transaction_identity;
122
+
123
         /*
124
          * NOTE : The pkbuf created in the SBI message will be removed
125
          *        from ogs_sbi_message_free().
126
open5gs_2.5.5.tar.xz/src/smf/sbi-path.c -> open5gs_2.5.6.tar.xz/src/smf/sbi-path.c Changed
18
 
1
@@ -63,12 +63,12 @@
2
         if (nf_instance)
3
             ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-        /* Build Subscription-Data */
6
-        ogs_sbi_subscription_data_build_default(
7
+        /* Setup Subscription-Data */
8
+        ogs_sbi_subscription_spec_add(
9
                 OpenAPI_nf_type_AMF, OGS_SBI_SERVICE_NAME_NAMF_COMM);
10
-        ogs_sbi_subscription_data_build_default(
11
+        ogs_sbi_subscription_spec_add(
12
                 OpenAPI_nf_type_PCF, OGS_SBI_SERVICE_NAME_NPCF_SMPOLICYCONTROL);
13
-        ogs_sbi_subscription_data_build_default(
14
+        ogs_sbi_subscription_spec_add(
15
                 OpenAPI_nf_type_UDM, OGS_SBI_SERVICE_NAME_NUDM_SDM);
16
     }
17
 
18
open5gs_2.5.5.tar.xz/src/smf/smf-sm.c -> open5gs_2.5.6.tar.xz/src/smf/smf-sm.c Changed
23
 
1
@@ -810,7 +810,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
@@ -859,8 +863,6 @@
15
         ogs_assert(sess);
16
         ogs_assert(OGS_FSM_STATE(&sess->sm));
17
 
18
-        sess->pti = nas_message.gsm.h.procedure_transaction_identity;
19
-
20
         e->nas.message = &nas_message;
21
         ogs_fsm_dispatch(&sess->sm, e);
22
 
23
open5gs_2.5.5.tar.xz/src/udm/sbi-path.c -> open5gs_2.5.6.tar.xz/src/udm/sbi-path.c Changed
12
 
1
@@ -70,8 +70,8 @@
2
     if (nf_instance)
3
         ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-    /* Build Subscription-Data */
6
-    ogs_sbi_subscription_data_build_default(OpenAPI_nf_type_UDR, NULL);
7
+    /* Setup Subscription-Data */
8
+    ogs_sbi_subscription_spec_add(OpenAPI_nf_type_UDR, NULL);
9
 
10
     if (ogs_sbi_server_start_all(ogs_sbi_server_handler) != OGS_OK)
11
         return OGS_ERROR;
12
open5gs_2.5.5.tar.xz/src/udm/udm-sm.c -> open5gs_2.5.6.tar.xz/src/udm/udm-sm.c Changed
14
 
1
@@ -385,7 +385,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
             
12
             ogs_info("%s Subscription validity expired",
13
                     subscription_data->id);
14
open5gs_2.5.5.tar.xz/src/udr/udr-sm.c -> open5gs_2.5.6.tar.xz/src/udr/udr-sm.c Changed
14
 
1
@@ -292,7 +292,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("%s Subscription validity expired",
13
                     subscription_data->id);
14
open5gs_2.5.5.tar.xz/tests/af/af-sm.c -> open5gs_2.5.6.tar.xz/tests/af/af-sm.c Changed
14
 
1
@@ -415,7 +415,11 @@
2
             ogs_assert(subscription_data);
3
 
4
             ogs_assert(true ==
5
-                ogs_nnrf_nfm_send_nf_status_subscribe(subscription_data));
6
+                ogs_nnrf_nfm_send_nf_status_subscribe(
7
+                    ogs_sbi_self()->nf_instance->nf_type,
8
+                    subscription_data->req_nf_instance_id,
9
+                    subscription_data->subscr_cond.nf_type,
10
+                    subscription_data->subscr_cond.service_name));
11
 
12
             ogs_info("Subscription validity expired %s",
13
                 subscription_data->id);
14
open5gs_2.5.5.tar.xz/tests/af/sbi-path.c -> open5gs_2.5.6.tar.xz/tests/af/sbi-path.c Changed
12
 
1
@@ -36,8 +36,8 @@
2
     if (nf_instance)
3
         ogs_sbi_nf_fsm_init(nf_instance);
4
 
5
-    /* Build Subscription-Data */
6
-    ogs_sbi_subscription_data_build_default(
7
+    /* Setup Subscription-Data */
8
+    ogs_sbi_subscription_spec_add(
9
             OpenAPI_nf_type_BSF, OGS_SBI_SERVICE_NAME_NBSF_MANAGEMENT);
10
 
11
     if (ogs_sbi_server_start_all(ogs_sbi_server_handler) != OGS_OK)
12
open5gs_2.5.5.tar.xz/tests/slice/different-dnn-test.c -> open5gs_2.5.6.tar.xz/tests/slice/different-dnn-test.c Changed
10
 
1
@@ -167,7 +167,7 @@
2
     sess = test_sess_add_by_dnn_and_psi(test_ue, "internet", 10);
3
     ogs_assert(sess);
4
 
5
-    sess->pti = 0;
6
+    sess->pti = 20;
7
     sess->pdu_session_type = OGS_PDU_SESSION_TYPE_IPV4;
8
 
9
     sess->ul_nas_transport_param.request_type =
10
open5gs_2.5.5.tar.xz/tests/slice/same-dnn-test.c -> open5gs_2.5.6.tar.xz/tests/slice/same-dnn-test.c Changed
19
 
1
@@ -167,7 +167,7 @@
2
     sess = test_sess_add_by_dnn_and_psi(test_ue, "internet", 10);
3
     ogs_assert(sess);
4
 
5
-    sess->pti = 0;
6
+    sess->pti = 20;
7
     sess->pdu_session_type = OGS_PDU_SESSION_TYPE_IPV4;
8
 
9
     sess->ul_nas_transport_param.request_type =
10
@@ -497,7 +497,7 @@
11
     sess = test_sess_add_by_dnn_and_psi(test_ue, "internet", 10);
12
     ogs_assert(sess);
13
 
14
-    sess->pti = 0;
15
+    sess->pti = 20;
16
     sess->pdu_session_type = OGS_PDU_SESSION_TYPE_IPV4;
17
 
18
     sess->ul_nas_transport_param.request_type =
19
open5gs_2.5.5.tar.xz/webui/package-lock.json -> open5gs_2.5.6.tar.xz/webui/package-lock.json Changed
16
 
1
@@ -1,12 +1,12 @@
2
 {
3
   "name": "open5gs",
4
-  "version": "2.5.5",
5
+  "version": "2.5.6",
6
   "lockfileVersion": 2,
7
   "requires": true,
8
   "packages": {
9
     "": {
10
       "name": "open5gs",
11
-      "version": "2.5.5",
12
+      "version": "2.5.6",
13
       "license": "AGPL-3.0",
14
       "dependencies": {
15
         "axios": "^0.27.2",
16
open5gs_2.5.5.tar.xz/webui/package.json -> open5gs_2.5.6.tar.xz/webui/package.json Changed
9
 
1
@@ -1,6 +1,6 @@
2
 {
3
   "name": "open5gs",
4
-  "version": "2.5.5",
5
+  "version": "2.5.6",
6
   "description": "Open5gs",
7
   "main": "index.js",
8
   "repository": "https://github.com/open5gs/open5gs/webui",
9