Changes of Revision 395

open5gs_2.6.4.56.3d62.202307210026.dsc -> open5gs_2.6.4.57.04d40.202307220026.dsc Changed
x
 
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.6.4.56.3d62.202307210026
6
+Version: 2.6.4.57.04d40.202307220026
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
- c5aab0ca340d3fdd8a9090697c176dbff778bb4e 14129916 open5gs_2.6.4.56.3d62.202307210026.tar.xz
15
+ 3b286530b15884075d8b80a53ca52f6fbc005f8d 14129496 open5gs_2.6.4.57.04d40.202307220026.tar.xz
16
 Checksums-Sha256:
17
- fcdd2a1af638dd011e5325b596c179ce2b50089ee9ca3791fb639c5d218818ef 14129916 open5gs_2.6.4.56.3d62.202307210026.tar.xz
18
+ a568de73fda98f1d148eb78fa3fea29da8f900c869490e1cf815a53be4e50adc 14129496 open5gs_2.6.4.57.04d40.202307220026.tar.xz
19
 Files:
20
- 229095760b73b694992f900d37282eb4 14129916 open5gs_2.6.4.56.3d62.202307210026.tar.xz
21
+ 7c4693fd90f9af25ac4b3688469fbc59 14129496 open5gs_2.6.4.57.04d40.202307220026.tar.xz
22
open5gs_2.6.4.56.3d62.202307210026.tar.xz/.tarball-version -> open5gs_2.6.4.57.04d40.202307220026.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.6.4.56-3d62.202307210026
3
+2.6.4.57-04d40.202307220026
4
open5gs_2.6.4.56.3d62.202307210026.tar.xz/debian/changelog -> open5gs_2.6.4.57.04d40.202307220026.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.6.4.56.3d62.202307210026) unstable; urgency=medium
3
+open5gs (2.6.4.57.04d40.202307220026) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom nightly feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Fri, 21 Jul 2023 00:27:44 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Sat, 22 Jul 2023 00:27:42 +0000
9
 
10
 open5gs (2.6.4) unstable; urgency=medium
11
 
12
open5gs_2.6.4.56.3d62.202307210026.tar.xz/src/upf/arp-nd.cpp -> open5gs_2.6.4.57.04d40.202307220026.tar.xz/src/upf/arp-nd.cpp Changed
18
 
1
@@ -52,6 +52,16 @@
2
     return _parse_arp(pdu);
3
 }
4
 
5
+uint32_t arp_parse_target_addr(uint8_t *data, uint len)
6
+{
7
+    EthernetII pdu(data, len);
8
+    if (pdu.payload_type() == ETHERTYPE_ARP) {
9
+        const ARP& arp = pdu.rfind_pdu<ARP>();
10
+        return arp.target_ip_addr();
11
+    }
12
+    return 0x0;
13
+}
14
+
15
 uint8_t arp_reply(uint8_t *reply_data, uint8_t *request_data, uint len,
16
         const uint8_t *mac)
17
 {
18
open5gs_2.6.4.56.3d62.202307210026.tar.xz/src/upf/arp-nd.h -> open5gs_2.6.4.57.04d40.202307220026.tar.xz/src/upf/arp-nd.h Changed
9
 
1
@@ -39,6 +39,7 @@
2
 
3
 void set_source_mac(uint8_t *data);
4
 bool is_arp_req(uint8_t *data, uint len);
5
+uint32_t arp_parse_target_addr(uint8_t *data, uint len);
6
 uint8_t arp_reply(uint8_t *reply_data, uint8_t *request_data, uint len,
7
         const uint8_t *mac);
8
 bool is_nd_req(uint8_t *data, uint len);
9
open5gs_2.6.4.56.3d62.202307210026.tar.xz/src/upf/gtp-path.c -> open5gs_2.6.4.57.04d40.202307220026.tar.xz/src/upf/gtp-path.c Changed
12
 
1
@@ -123,7 +123,9 @@
2
         uint8_t size;
3
 
4
         if (eth_type == ETHERTYPE_ARP) {
5
-            if (is_arp_req(recvbuf->data, recvbuf->len)) {
6
+            if (is_arp_req(recvbuf->data, recvbuf->len) &&
7
+                    upf_sess_find_by_ipv4(
8
+                        arp_parse_target_addr(recvbuf->data, recvbuf->len))) {
9
                 replybuf = ogs_pkbuf_alloc(packet_pool, OGS_MAX_PKT_LEN);
10
                 ogs_assert(replybuf);
11
                 ogs_pkbuf_reserve(replybuf, OGS_TUN_MAX_HEADROOM);
12