Changes of Revision 797

open5gs_2.7.2.4483.19f6.202408252026.dsc Deleted
x
 
1
@@ -1,39 +0,0 @@
2
-Format: 3.0 (native)
3
-Source: open5gs
4
-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
5
-Architecture: any
6
-Version: 2.7.2.4483.19f6.202408252026
7
-Maintainer: Harald Welte <laforge@gnumonks.org>
8
-Uploaders: Sukchan Lee <acetcom@gmail.com>
9
-Homepage: https://open5gs.org
10
-Standards-Version: 4.3.0
11
-Vcs-Browser: https://github.com/open5gs/open5gs
12
-Vcs-Git: git://github.com/open5gs/open5gs
13
-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
14
-Package-List:
15
- open5gs deb net optional arch=any
16
- open5gs-amf deb net optional arch=any
17
- open5gs-ausf deb net optional arch=any
18
- open5gs-bsf deb net optional arch=any
19
- open5gs-common deb net optional arch=any
20
- open5gs-dbg deb net optional arch=any
21
- open5gs-hss deb net optional arch=any
22
- open5gs-mme deb net optional arch=any
23
- open5gs-nrf deb net optional arch=any
24
- open5gs-nssf deb net optional arch=any
25
- open5gs-pcf deb net optional arch=any
26
- open5gs-pcrf deb net optional arch=any
27
- open5gs-scp deb net optional arch=any
28
- open5gs-sepp deb net optional arch=any
29
- open5gs-sgwc deb net optional arch=any
30
- open5gs-sgwu deb net optional arch=any
31
- open5gs-smf deb net optional arch=any
32
- open5gs-udm deb net optional arch=any
33
- open5gs-udr deb net optional arch=any
34
- open5gs-upf deb net optional arch=any
35
-Checksums-Sha1:
36
- 337035ddaec232b6e3198d85ee004d00d42a3323 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz
37
-Checksums-Sha256:
38
- 3c58752e8e63df6f568b782b4d48ef3295ef8161d31ccd4248eb3ba887aab7b7 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz
39
-Files:
40
- 6c93c0dde2c2591ff25282c3a987ac60 14502508 open5gs_2.7.2.4483.19f6.202408252026.tar.xz
41
open5gs_2.7.2.4485.561a.202408262026.dsc Added
41
 
1
@@ -0,0 +1,39 @@
2
+Format: 3.0 (native)
3
+Source: open5gs
4
+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
5
+Architecture: any
6
+Version: 2.7.2.4485.561a.202408262026
7
+Maintainer: Harald Welte <laforge@gnumonks.org>
8
+Uploaders: Sukchan Lee <acetcom@gmail.com>
9
+Homepage: https://open5gs.org
10
+Standards-Version: 4.3.0
11
+Vcs-Browser: https://github.com/open5gs/open5gs
12
+Vcs-Git: git://github.com/open5gs/open5gs
13
+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
14
+Package-List:
15
+ open5gs deb net optional arch=any
16
+ open5gs-amf deb net optional arch=any
17
+ open5gs-ausf deb net optional arch=any
18
+ open5gs-bsf deb net optional arch=any
19
+ open5gs-common deb net optional arch=any
20
+ open5gs-dbg deb net optional arch=any
21
+ open5gs-hss deb net optional arch=any
22
+ open5gs-mme deb net optional arch=any
23
+ open5gs-nrf deb net optional arch=any
24
+ open5gs-nssf deb net optional arch=any
25
+ open5gs-pcf deb net optional arch=any
26
+ open5gs-pcrf deb net optional arch=any
27
+ open5gs-scp deb net optional arch=any
28
+ open5gs-sepp deb net optional arch=any
29
+ open5gs-sgwc deb net optional arch=any
30
+ open5gs-sgwu deb net optional arch=any
31
+ open5gs-smf deb net optional arch=any
32
+ open5gs-udm deb net optional arch=any
33
+ open5gs-udr deb net optional arch=any
34
+ open5gs-upf deb net optional arch=any
35
+Checksums-Sha1:
36
+ 288773c61a0ebad62e6ff5bdd6bdfb779c76eb23 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz
37
+Checksums-Sha256:
38
+ 40ba57fa2dfce6c6a3498ca522c6b94ec8a07355bf2211bca7e9f506fec50c74 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz
39
+Files:
40
+ 443bfdc095223efc0c6064d608954954 14502012 open5gs_2.7.2.4485.561a.202408262026.tar.xz
41
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/.tarball-version -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.7.2.4483-19f6.202408252026
3
+2.7.2.4485-561a.202408262026
4
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/debian/changelog -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.7.2.4483.19f6.202408252026) unstable; urgency=medium
3
+open5gs (2.7.2.4485.561a.202408262026) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom nightly feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Sun, 25 Aug 2024 20:27:56 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Mon, 26 Aug 2024 20:28:03 +0000
9
 
10
 open5gs (2.7.2) unstable; urgency=medium
11
 
12
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/src/mme/mme-fd-path.c -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/src/mme/mme-fd-path.c Changed
250
 
1
@@ -134,14 +134,14 @@
2
     }
3
 
4
     /* AVP: '3GPP-Charging-Characteristics'(13)
5
-     * For GGSN, it contains the charging characteristics for 
6
-     * this PDP Context received in the Create PDP Context 
7
-     * Request Message (only available in R99 and later releases). 
8
-     * For PGW, it contains the charging characteristics for the 
9
+     * For GGSN, it contains the charging characteristics for
10
+     * this PDP Context received in the Create PDP Context
11
+     * Request Message (only available in R99 and later releases).
12
+     * For PGW, it contains the charging characteristics for the
13
      * IP-CAN bearer.
14
      * Reference: 3GPP TS 29.061 16.4.7.2 13
15
      */
16
-    ret = fd_avp_search_avp(avp, ogs_diam_s6a_3gpp_charging_characteristics, 
17
+    ret = fd_avp_search_avp(avp, ogs_diam_s6a_3gpp_charging_characteristics,
18
         &avpch1);
19
     ogs_assert(ret == 0);
20
     if (avpch1) {
21
@@ -343,14 +343,14 @@
22
                 }
23
 
24
                 /* AVP: '3GPP-Charging-Characteristics'(13)
25
-                 * For GGSN, it contains the charging characteristics for 
26
-                 * this PDP Context received in the Create PDP Context 
27
-                 * Request Message (only available in R99 and later releases). 
28
-                 * For PGW, it contains the charging characteristics for the 
29
+                 * For GGSN, it contains the charging characteristics for
30
+                 * this PDP Context received in the Create PDP Context
31
+                 * Request Message (only available in R99 and later releases).
32
+                 * For PGW, it contains the charging characteristics for the
33
                  * IP-CAN bearer.
34
                  * Reference: 3GPP TS 29.061 16.4.7.2 13
35
                  */
36
-                ret = fd_avp_search_avp(avpch2, 
37
+                ret = fd_avp_search_avp(avpch2,
38
                         ogs_diam_s6a_3gpp_charging_characteristics, &avpch3);
39
                 ogs_assert(ret == 0);
40
                 if (avpch3) {
41
@@ -363,7 +363,7 @@
42
                             buf, OGS_CHRGCHARS_LEN);
43
                     session->charging_characteristics_presence = true;
44
                 } else {
45
-                    memcpy(session->charging_characteristics, 
46
+                    memcpy(session->charging_characteristics,
47
                         (uint8_t *)"\x00\x00", OGS_CHRGCHARS_LEN);
48
                     session->charging_characteristics_presence = false;
49
                 }
50
@@ -600,7 +600,7 @@
51
                             ogs_error("Unknown AVP-Code:%d",
52
                                     hdr->avp_code);
53
                             error++;
54
-                            break; 
55
+                            break;
56
                         }
57
                         fd_msg_browse(avpch4, MSG_BRW_NEXT,
58
                                 &avpch4, NULL);
59
@@ -717,7 +717,7 @@
60
 
61
     /* Create a new session */
62
     #define OGS_DIAM_S6A_APP_SID_OPT  "app_s6a"
63
-    ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, 
64
+    ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT,
65
             CONSTSTRLEN(OGS_DIAM_S6A_APP_SID_OPT));
66
     ogs_assert(ret == 0);
67
     ret = fd_msg_sess_get(fd_g_config->cnf_dict, req, &session, NULL);
68
@@ -806,7 +806,7 @@
69
     ret = ogs_diam_message_vendor_specific_appid_set(
70
             req, OGS_DIAM_S6A_APPLICATION_ID);
71
     ogs_assert(ret == 0);
72
-    
73
+
74
     ret = clock_gettime(CLOCK_REALTIME, &sess_data->ts);
75
     ogs_assert(ret == 0);
76
 
77
@@ -833,7 +833,7 @@
78
 static void mme_s6a_aia_cb(void *data, struct msg **msg)
79
 {
80
     int ret;
81
-    
82
+
83
     struct sess_state *sess_data = NULL;
84
     struct timespec ts;
85
     struct session *session;
86
@@ -852,7 +852,7 @@
87
     ogs_diam_e_utran_vector_t *e_utran_vector = NULL;
88
 
89
     ogs_debug("MME Authentication-Information-Answer");
90
-    
91
+
92
     ret = clock_gettime(CLOCK_REALTIME, &ts);
93
     ogs_assert(ret == 0);
94
 
95
@@ -866,7 +866,7 @@
96
         ogs_error("fd_msg_sess_get() failed");
97
         return;
98
     }
99
-    
100
+
101
     ret = fd_sess_state_retrieve(mme_s6a_reg, session, &sess_data);
102
     if (ret != 0) {
103
         ogs_error("fd_sess_state_retrieve() failed");
104
@@ -902,7 +902,7 @@
105
     ogs_assert(aia_message);
106
     e_utran_vector = &aia_message->e_utran_vector;
107
     ogs_assert(e_utran_vector);
108
-    
109
+
110
     /* Value of Result Code */
111
     ret = fd_msg_search_avp(*msg, ogs_diam_result_code, &avp);
112
     ogs_assert(ret == 0);
113
@@ -1071,11 +1071,11 @@
114
 
115
     /* Free the message */
116
     ogs_assert(pthread_mutex_lock(&ogs_diam_logger_self()->stats_lock) == 0);
117
-    dur = ((ts.tv_sec - sess_data->ts.tv_sec) * 1000000) + 
118
+    dur = ((ts.tv_sec - sess_data->ts.tv_sec) * 1000000) +
119
         ((ts.tv_nsec - sess_data->ts.tv_nsec) / 1000);
120
     if (ogs_diam_logger_self()->stats.nb_recv) {
121
         /* Ponderate in the avg */
122
-        ogs_diam_logger_self()->stats.avg = (ogs_diam_logger_self()->stats.avg * 
123
+        ogs_diam_logger_self()->stats.avg = (ogs_diam_logger_self()->stats.avg *
124
             ogs_diam_logger_self()->stats.nb_recv + dur) /
125
             (ogs_diam_logger_self()->stats.nb_recv + 1);
126
         /* Min, max */
127
@@ -1090,21 +1090,21 @@
128
     }
129
     if (error)
130
         ogs_diam_logger_self()->stats.nb_errs++;
131
-    else 
132
+    else
133
         ogs_diam_logger_self()->stats.nb_recv++;
134
 
135
     ogs_assert(pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0);
136
-    
137
+
138
     /* Display how long it took */
139
     if (ts.tv_nsec > sess_data->ts.tv_nsec)
140
-        ogs_trace("in %d.%06ld sec", 
141
+        ogs_trace("in %d.%06ld sec",
142
                 (int)(ts.tv_sec - sess_data->ts.tv_sec),
143
                 (long)(ts.tv_nsec - sess_data->ts.tv_nsec) / 1000);
144
     else
145
-        ogs_trace("in %d.%06ld sec", 
146
+        ogs_trace("in %d.%06ld sec",
147
                 (int)(ts.tv_sec + 1 - sess_data->ts.tv_sec),
148
                 (long)(1000000000 + ts.tv_nsec - sess_data->ts.tv_nsec) / 1000);
149
-    
150
+
151
     ret = fd_msg_free(*msg);
152
     ogs_assert(ret == 0);
153
     *msg = NULL;
154
@@ -1149,7 +1149,7 @@
155
 
156
     /* Create a new session */
157
     #define OGS_DIAM_S6A_APP_SID_OPT  "app_s6a"
158
-    ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT, 
159
+    ret = fd_msg_new_session(req, (os0_t)OGS_DIAM_S6A_APP_SID_OPT,
160
             CONSTSTRLEN(OGS_DIAM_S6A_APP_SID_OPT));
161
     ogs_assert(ret == 0);
162
     ret = fd_msg_sess_get(fd_g_config->cnf_dict, req, &session, NULL);
163
@@ -1265,7 +1265,7 @@
164
     svg = sess_data;
165
 
166
     /* Store this value in the session */
167
-    ret = fd_sess_state_store(mme_s6a_reg, session, &sess_data); 
168
+    ret = fd_sess_state_store(mme_s6a_reg, session, &sess_data);
169
     ogs_assert(ret == 0);
170
     ogs_assert(sess_data == 0);
171
 
172
@@ -1315,7 +1315,7 @@
173
         ogs_error("fd_msg_sess_get() failed");
174
         return;
175
     }
176
-    
177
+
178
     ret = fd_sess_state_retrieve(mme_s6a_reg, session, &sess_data);
179
     if (ret != 0) {
180
         ogs_error("fd_sess_state_retrieve() failed");
181
@@ -1459,7 +1459,7 @@
182
                 "PACKET_AND_CIRCUIT (0)");
183
         }
184
         if (!(subdatamask & OGS_DIAM_S6A_SUBDATA_CC)) {
185
-            memcpy(mme_ue->charging_characteristics, (uint8_t *)"\x00\x00", 
186
+            memcpy(mme_ue->charging_characteristics, (uint8_t *)"\x00\x00",
187
                 OGS_CHRGCHARS_LEN);
188
             mme_ue->charging_characteristics_presence = false;
189
         }
190
@@ -1523,7 +1523,7 @@
191
     }
192
     if (error)
193
         ogs_diam_logger_self()->stats.nb_errs++;
194
-    else 
195
+    else
196
         ogs_diam_logger_self()->stats.nb_recv++;
197
 
198
     ogs_assert(pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0);
199
@@ -1870,12 +1870,12 @@
200
         struct session *session, void *opaque, enum disp_action *act)
201
 {
202
     int ret, rv;
203
-    
204
+
205
     mme_event_t *e = NULL;
206
     mme_ue_t *mme_ue = NULL;
207
 
208
     struct msg *ans, *qry;
209
-    ogs_diam_s6a_clr_message_t *clr_message = NULL;    
210
+    ogs_diam_s6a_clr_message_t *clr_message = NULL;
211
 
212
     struct avp_hdr *hdr;
213
     union avp_value val;
214
@@ -1988,7 +1988,7 @@
215
     ogs_assert(ret == 0);
216
     ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp);
217
     ogs_assert(ret == 0);
218
-    
219
+
220
     /* Set Vendor-Specific-Application-Id AVP */
221
     ret = ogs_diam_message_vendor_specific_appid_set(
222
             ans, OGS_DIAM_S6A_APPLICATION_ID);
223
@@ -2075,7 +2075,7 @@
224
         } else {
225
             has_subscriber_data = true;
226
             uint32_t subdatamask = 0;
227
-            ret = mme_s6a_subscription_data_from_avp(avp, subscription_data, 
228
+            ret = mme_s6a_subscription_data_from_avp(avp, subscription_data,
229
                 mme_ue, &subdatamask);
230
             /* Clang scan-build SA: Value stored is not used: add ogs_assert(). */
231
             ogs_assert(ret == 0);
232
@@ -2283,7 +2283,7 @@
233
     ogs_assert(ret == 0);
234
     ret = fd_msg_avp_add(ans, MSG_BRW_LAST_CHILD, avp);
235
     ogs_assert(ret == 0);
236
-    
237
+
238
     /* Set Vendor-Specific-Application-Id AVP */
239
     ret = ogs_diam_message_vendor_specific_appid_set(
240
             ans, OGS_DIAM_S6A_APPLICATION_ID);
241
@@ -2326,7 +2326,7 @@
242
     data.command = ogs_diam_s6a_cmd_idr;
243
     ret = fd_disp_register(mme_ogs_diam_s6a_idr_cb, DISP_HOW_CC, &data, NULL,
244
                 &hdl_s6a_idr);
245
-    ogs_assert(ret == 0);    
246
+    ogs_assert(ret == 0);
247
 
248
     /* Advertise the support for the application in the peer */
249
     ret = fd_disp_app_support(ogs_diam_s6a_application, ogs_diam_vendor, 1, 0);
250
open5gs_2.7.2.4483.19f6.202408252026.tar.xz/src/smf/nudm-handler.c -> open5gs_2.7.2.4485.561a.202408262026.tar.xz/src/smf/nudm-handler.c Changed
86
 
1
@@ -84,7 +84,7 @@
2
             OGS_5GSM_CAUSE_MISSING_OR_UNKNOWN_DNN);
3
         ogs_assert(n1smbuf);
4
 
5
-        ogs_warn("%s", strerror);
6
+        ogs_error("%s", strerror);
7
         smf_sbi_send_sm_context_create_error(stream,
8
                 OGS_SBI_HTTP_STATUS_NOT_FOUND, OGS_SBI_APP_ERRNO_NULL,
9
                 strerror, NULL, n1smbuf);
10
@@ -119,6 +119,12 @@
11
                 continue;
12
             }
13
 
14
+            sessionAmbr = dnnConfiguration->session_ambr;
15
+            if (!sessionAmbr) {
16
+                ogs_error("No Session-AMBR");
17
+                continue;
18
+            }
19
+
20
             if (sess->session.name &&
21
                 ogs_strcasecmp(sess->session.name,
22
                     dnnConfigurationMap->key) != 0)
23
@@ -171,12 +177,6 @@
24
                 continue;
25
             }
26
 
27
-            sessionAmbr = dnnConfiguration->session_ambr;
28
-            if (!sessionAmbr) {
29
-                ogs_error("No Session-AMBR");
30
-                continue;
31
-            }
32
-
33
             sess->session.ambr.uplink =
34
                 ogs_sbi_bitrate_from_string(sessionAmbr->uplink);
35
             sess->session.ambr.downlink =
36
@@ -301,9 +301,39 @@
37
     }
38
 
39
     if (!sess->session.name) {
40
-        strerror = ogs_msprintf("%s:%d No dnnConfiguration",
41
+        strerror = ogs_msprintf("%s:%d No DNN", smf_ue->supi, sess->psi);
42
+        ogs_assert(strerror);
43
+
44
+        n1smbuf = gsm_build_pdu_session_establishment_reject(sess,
45
+            OGS_5GSM_CAUSE_MISSING_OR_UNKNOWN_DNN_IN_A_SLICE);
46
+        ogs_assert(n1smbuf);
47
+
48
+        ogs_error("%s", strerror);
49
+        smf_sbi_send_sm_context_create_error(stream,
50
+                OGS_SBI_HTTP_STATUS_FORBIDDEN,
51
+                OGS_SBI_APP_ERRNO_DNN_DENIED,
52
+                strerror, NULL, n1smbuf);
53
+        ogs_free(strerror);
54
+
55
+        return false;
56
+    }
57
+
58
+    if (!sess->session.ssc_mode) {
59
+        strerror = ogs_msprintf("%s:%d SSCMode is not allowed",
60
                 smf_ue->supi, sess->psi);
61
         ogs_assert(strerror);
62
+
63
+        n1smbuf = gsm_build_pdu_session_establishment_reject(sess,
64
+            OGS_5GSM_CAUSE_NOT_SUPPORTED_SSC_MODE);
65
+        ogs_assert(n1smbuf);
66
+
67
+        ogs_error("%s", strerror);
68
+        smf_sbi_send_sm_context_create_error(stream,
69
+                OGS_SBI_HTTP_STATUS_FORBIDDEN,
70
+                OGS_SBI_APP_ERRNO_SSC_DENIED,
71
+                strerror, NULL, n1smbuf);
72
+        ogs_free(strerror);
73
+
74
         return false;
75
     }
76
 
77
@@ -319,7 +349,7 @@
78
             OGS_5GSM_CAUSE_INSUFFICIENT_RESOURCES_FOR_SPECIFIC_SLICE_AND_DNN);
79
         ogs_assert(n1smbuf);
80
 
81
-        ogs_warn("%s", strerror);
82
+        ogs_error("%s", strerror);
83
         smf_sbi_send_sm_context_create_error(stream,
84
                 OGS_SBI_HTTP_STATUS_INTERNAL_SERVER_ERROR,
85
                 OGS_SBI_APP_ERRNO_NULL, strerror, NULL, n1smbuf);
86