Message ID | 20241203205532.2800-7-n.rottgardt@gmail.com |
---|---|
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=bnYkA3Ra; 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 4Y2tKG66kZz1yRJ for <incoming@patchwork.ozlabs.org>; Wed, 4 Dec 2024 07:58:10 +1100 (AEDT) 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:References:In-Reply-To: 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: List-Owner; bh=nVNLQpILCuazXJz2zN9MmlTEUU9XkOXMZHSGmPBTsO8=; b=bnYkA3RaYC1Ste uAaWfkFdOQb9GN/zOpct9eio/WKUUV9HPAnYy48zR9gs/lrPsCjBTh9zENVW6vaISDb9Qf9GPxY+a PP/fI9vmlq2PK26IBn30Loh7Fbgd8ozzOxc0rMQDpG95wluZpl405ktIQsqY05nr8k3BoUX7IDyeg 3TuuZAWNPTopo5lcjbc1OBxw8jXuPtdHqImVNH1DdeElFAbxDLtVL0LZeVqduqDR3JuOyFjtNkQgx T7PkuHS/o6D2GH8sCDWCC7TcpapbkzsB8/boHApBC+l/Kbjp32YXMnS4Tw96qn/z925poD3cZL9Us HlYOU7G83V6wBfQNbtdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tIZwS-0000000Ahgj-11Ti; Tue, 03 Dec 2024 20:56:20 +0000 Received: from mail-smtp-out-01-pmx.wtnet.de ([84.46.103.117]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tIZwG-0000000AhXQ-1Lu4 for openwrt-devel@lists.openwrt.org; Tue, 03 Dec 2024 20:56:11 +0000 Received: from mail-cust-in-03-pmx.wtnet.de (mail-cust-in-03-pmx.wtnet.de [84.46.103.103]) by mail-smtp-out-01-pmx.wtnet.de (8.15.2/8.15.2/Debian-15~mysql) with ESMTP id 4B3KtpJ6008209; Tue, 3 Dec 2024 21:55:51 +0100 X-WT-Originating-IP: 134.101.146.35 X-WT-Authenticated-As: ellerau@wtnet.de Received: from viserver1.ham.lan (134.101.146.35.dynamic-pppoe.dt.ipv4.wtnet.de [134.101.146.35]) (authenticated bits=0) by mail-cust-in-03-pmx.wtnet.de (8.15.2/8.15.2/Debian-15~mysql) with ESMTPA id 4B3Ktpsm022027; Tue, 3 Dec 2024 21:55:51 +0100 Received: from Dell-7706.muc.lan (unknown [192.168.177.109]) by viserver1.ham.lan (Postfix) with ESMTP id 3905F60F7F; Tue, 3 Dec 2024 21:55:51 +0100 (CET) From: Nils Hendrik Rottgardt <n.rottgardt@gmail.com> To: openwrt-devel@lists.openwrt.org Cc: Nils Hendrik Rottgardt <n.rottgardt@gmail.com>, mail@david-bauer.net Subject: [RESEND PATCH usteer v3 6/9] policy: Added error message if nodes has no rrm number on bss transition Date: Tue, 3 Dec 2024 21:55:29 +0100 Message-Id: <20241203205532.2800-7-n.rottgardt@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241203205532.2800-1-n.rottgardt@gmail.com> References: <20241203205532.2800-1-n.rottgardt@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_125608_745028_34DF132C X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) 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: - policy: Sometimes hostapd does not return an rrm nr which breaks roaming with neighbors. This is shown as an error in the log. Signed-off-by: Nils Hendrik Rottgardt --- policy.c | 3 +++ 1 file changed, 3 insertions(+) Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 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. [84.46.103.117 listed in bl.score.senderscore.com] 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. [84.46.103.117 listed in sa-accredit.habeas.com] 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. [84.46.103.117 listed in sa-trusted.bondedsender.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [84.46.103.117 listed in list.dnswl.org] 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [n.rottgardt(at)gmail.com] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list 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 |
Better handling of unfriendly STAs / IEEE enhancements / MBO
|
expand
|
diff --git a/policy.c b/policy.c index f3150e9..933c529 100644 --- a/policy.c +++ b/policy.c @@ -373,6 +373,9 @@ usteer_roam_trigger_sm(struct usteer_local_node *ln, struct sta_info *si) break; } + if (!candidate->node->rrm_nr) + MSG(FATAL, "Candiates node rrm nr not returned from hostapd. Neighbor list empty!"); + si->roam_transition_request_validity_end = current_time + 10000; validity_period = 10000 / usteer_local_node_get_beacon_interval(ln); /* ~ 10 seconds */ if (si->sta->aggressive) {
- policy: Sometimes hostapd does not return an rrm nr which breaks roaming with neighbors. This is shown as an error in the log. Signed-off-by: Nils Hendrik Rottgardt <n.rottgardt@gmail.com> --- policy.c | 3 +++ 1 file changed, 3 insertions(+)