From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 58F081FF186 for ; Sat, 4 Oct 2025 14:59:07 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0FDA012158; Sat, 4 Oct 2025 14:58:59 +0200 (CEST) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Stefan Hanreich Date: Sat, 4 Oct 2025 14:58:43 +0200 Message-ID: <175958267535.2042357.9186955180094834833.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250905121350.156467-1-s.hanreich@proxmox.com> References: <20250905121350.156467-1-s.hanreich@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1759582708861 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.026 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH proxmox-firewall 1/1] vnet firewall: create chains in host table only if host fw is enabled X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" On Fri, 05 Sep 2025 14:13:47 +0200, Stefan Hanreich wrote: > If the host firewall is not enabled, but the vnet firewall is enabled > for at least one vnet, then the firewall tries to create the chains > required for the vnet firewall in the cluster / host table, which is > unnecessary. This leads to an error in the generated nftables ruleset, > causing the firewall to not get applied. > > In order to fix this, skip generating the bridge chains in the inet > table when the cluster/host firewall is disabled, since they're only > required for managing the traffic flowing from host <-> bridge ports. > If the host firewall is disabled, then we do not need to create rules > for traffic from host <-> bridge port in the first place. > > [...] Applied, thanks! [1/1] vnet firewall: create chains in host table only if host fw is enabled commit: fdbcd7dea5ab49430acf100bd70ad6ed062c52a5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel