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 EF4251FF186 for ; Sat, 4 Oct 2025 14:59:45 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 93F1112398; Sat, 4 Oct 2025 14:59:29 +0200 (CEST) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Stefan Hanreich Date: Sat, 4 Oct 2025 14:58:47 +0200 Message-ID: <175958267535.2042357.1930756777711278907.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251001162818.320717-5-s.hanreich@proxmox.com> References: <20251001162818.320717-1-s.hanreich@proxmox.com> <20251001162818.320717-5-s.hanreich@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1759582709101 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 v3 3/3] fix #6336: fix ipfilter matching logic 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 Wed, 01 Oct 2025 18:28:16 +0200, Stefan Hanreich wrote: > Matching on ipsets in the firewall generally works by matching on two > sets (one for match, one for nomatch): > > ip saddr @ipfilter ip saddr != @ipfilter-nomatch > > Ipfilters were created with the comparison operators simply inverted, > which leads to ipfilters with empty nomatch sets never working, since > the second expression always evaluates to false on empty sets: > > [...] Applied, thanks! [3/3] fix #6336: fix ipfilter matching logic commit: 9b7295a311b71cfed50f716dd834f58693ed1dff _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel