| Message ID | 20250902195624.337358-1-ck@dev.tdt.de |
|---|---|
| State | New |
| Headers | show
Return-Path:
<openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org>
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=pass (2048-bit key;
secure) header.d=lists.infradead.org header.i=@lists.infradead.org
header.a=rsa-sha256 header.s=bombadil.20210309 header.b=FSE0BSgZ;
dkim=temperror header.d=dev.tdt.de header.i=@dev.tdt.de header.a=rsa-sha256
header.s=z1-selector1 header.b=pvf0mWNb;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org
(client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;
envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org;
receiver=patchwork.ozlabs.org)
Received: from bombadil.infradead.org (bombadil.infradead.org
[IPv6:2607:7c80:54:3::133])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4cGkVG4fTtz1xyl
for <incoming@patchwork.ozlabs.org>; Wed, 3 Sep 2025 10:47:48 +1000 (AEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:
Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:
List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc
:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:
List-Owner; bh=THRrg5MLmHgQc1hgVnCGa5QdXCBabKwtP7Cpy5SLGz8=; b=FSE0BSgZ2hKPnu
o91fHRBsJy5Ax8s4K1+D21AtSDLsnca5w2vwlNILB4PZKqYZnBoQ2MUxj9tvW6SKaBbzfbewZcEto
tQYQ3HyW7oB9igy+tAsAJdqh7o81QBx83oB+fC2RoVWF0YFoZ96HXJ4Kb1IQZPJ401eRGoXNyxblG
Q50ibc9tzpKv2mhnBF7gasnz4mjSLvzxfs5BI0UJjL+QRYjMSZcPxQLETrwD8eKzbdfP8yZrpjbyd
Y0qNcA0P9iH1rpYXHorV+QwWWOpAeZ6olNoo+RO4nHhw+TA/SKTFobuhc8LQQ1ckiRSBefLQxxtVM
A+CdxvXBASFqSo0NaEWg==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
id 1utbcM-00000002pVG-0eXg;
Wed, 03 Sep 2025 00:44:54 +0000
Received: from mxout70.expurgate.net ([194.37.255.70])
by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
id 1utX7K-00000001oIP-1XOw
for openwrt-devel@lists.openwrt.org;
Tue, 02 Sep 2025 19:56:35 +0000
Received: from [194.37.255.9] (helo=mxout.expurgate.net)
by relay.expurgate.net with smtp (Exim 4.92)
(envelope-from <prvs=73547b73ae=ck@dev.tdt.de>)
id 1utX7H-007ZfA-RS; Tue, 02 Sep 2025 21:56:31 +0200
Received: from [195.243.126.94] (helo=securemail.tdt.de)
by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from <ck@dev.tdt.de>)
id 1utX7H-00EUZs-Eh; Tue, 02 Sep 2025 21:56:31 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev.tdt.de;
s=z1-selector1; t=1756842991;
bh=UHhaGD25INKuYjMytLmvmF3YSp6Xy770AUd1em6Ajlg=;
h=From:To:Cc:Subject:Date:From;
b=pvf0mWNbgzziFFp8021PJm2PD3jbOSXeCMK7vKLvKxepmfZQemT4XYOF6rkJC0wBo
da/RVPbudAczPZJb6C5gJB0plZbKGgxUx1QCShSVzEzOGHGWXqFvlsA8OIIWNIlx4R
GsDz+BVyBZFi8rAGFq7BkrY5WpKdeuh1ZjF6Luvv1WpUFqtS5bF39+iM292vTotgiV
h8L8HenopQMEQD1St4JSQIZi6c9OEhYUbIHh+bMqvz9HAXrdLsp9HTe/Y0Cb9/bjr5
ZBZBn7zq2ooi/+ieNXRjyq0oJEr3IYwuXQjFIR50BOi5RiGpSMxRIXbIiLDO8teL79
IhzvLWawagptA==
Received: from securemail.tdt.de (localhost [127.0.0.1])
by securemail.tdt.de (Postfix) with ESMTP id 092F9240040;
Tue, 2 Sep 2025 21:56:31 +0200 (CEST)
Received: from mail.dev.tdt.de (unknown [10.2.4.42])
by securemail.tdt.de (Postfix) with ESMTP id F3008240036;
Tue, 2 Sep 2025 21:56:30 +0200 (CEST)
Received: from PandoraBox.tdtnet.local (unknown [10.2.3.55])
by mail.dev.tdt.de (Postfix) with ESMTPSA id B4E2A23246;
Tue, 2 Sep 2025 21:56:30 +0200 (CEST)
From: Christian Korber <ck@dev.tdt.de>
To: john@phrozen.org
Cc: openwrt-devel@lists.openwrt.org
Subject: [PATCH] ufp: add ubus_rpc_session to call arguments
Date: Tue, 2 Sep 2025 21:56:24 +0200
Message-ID: <20250902195624.337358-1-ck@dev.tdt.de>
X-Mailer: git-send-email 2.39.5
MIME-Version: 1.0
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED
autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dev.tdt.de
X-purgate: clean
X-purgate-ID: 151534::1756842991-1E7EC84F-E2C779E3/0/0
X-purgate-type: clean
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20250902_125634_543907_1150560A
X-CRM114-Status: GOOD ( 10.65 )
X-Spam-Score: -2.1 (--)
X-Spam-Report: Spam detection software,
running on the system "bombadil.infradead.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: To display vendor information via ubus call in uhttpd, it
is necessary to add `ubus_rpc_session` as argument to fingerprint.
Fixes:#27124
Signed-off-by: Christian Korber <ck@dev.tdt.de> ---
.../ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch
| 10 ++++++++++ 1 file changed,
10 insertions(+) create mode 100644 utils/ufp/patches/0001-ad
[...]
Content analysis details: (-2.1 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no
trust
[194.37.255.70 listed in list.dnswl.org]
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[194.37.255.70 listed in
sa-trusted.bondedsender.org]
0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to
Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[194.37.255.70 listed in sa-accredit.habeas.com]
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's
domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK
signature
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to
Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[194.37.255.70 listed in
bl.score.senderscore.com]
X-BeenThere: openwrt-devel@lists.openwrt.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org>
List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>,
<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>
List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/>
List-Post: <mailto:openwrt-devel@lists.openwrt.org>
List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help>
List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>,
<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org>
Errors-To:
openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org
|
| Series |
ufp: add ubus_rpc_session to call arguments
|
expand
|
diff --git a/utils/ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch b/utils/ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch new file mode 100644 index 000000000..3a6381094 --- /dev/null +++ b/utils/ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch @@ -0,0 +1,10 @@ +--- a/ufpd ++++ b/ufpd +@@ -363,6 +363,7 @@ global.ubus_object = { + fingerprint: { + args: { + macaddr: "", ++ ubus_rpc_session: "", + weight: false, + local: false + },
To display vendor information via ubus call in uhttpd, it is necessary to add `ubus_rpc_session` as argument to fingerprint. Fixes:#27124 Signed-off-by: Christian Korber <ck@dev.tdt.de> --- .../ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 utils/ufp/patches/0001-add-ubus-rpc-session-to-ufp.patch