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 E6AD01FF183 for ; Wed, 17 Dec 2025 17:17:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BCC798C66; Wed, 17 Dec 2025 17:18:39 +0100 (CET) From: Hannes Laimer To: pdm-devel@lists.proxmox.com Date: Wed, 17 Dec 2025 17:17:58 +0100 Message-ID: <20251217161803.214102-1-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1765988275110 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.057 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [types.rs, firewall.rs, rules.rs, context.rs, code.rs, generate.pl, proxmox.com] Subject: [pdm-devel] [PATCH proxmox{, -datacenter-manager, -yew-comp} v2 0/4] make security groups expandable in firewall rules list X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" Currently we don't really know what a security group actually contains, in the list currently it's a bit of a black box what a group actually does. Finding out what rules it contains is a little cumbersome. This should make that easier. It seemed like a good place too, I considerd an extra tab maybe. But especially for read-only I think this is better. v2, thanks @Lukas: - show positions of rules in groups as `3.1` - highlight rules in groups and add small visual hint so it is clear these rules are part of the group - add placeholder for groups with no rules - split the rename into a small, separate series[1] - generally reworked code a little (this does depend on [1], it uses the re-named name) [1] https://lore.proxmox.com/pdm-devel/20251217150831.199100-1-h.laimer@proxmox.com/T/#t proxmox: Hannes Laimer (2): pve-api-types: add security group GET endpoints pve-api-types: regenerate pve-api-types/generate.pl | 5 + pve-api-types/src/generated/code.rs | 77 ++++++- pve-api-types/src/generated/types.rs | 294 +++++++++++++++------------ 3 files changed, 234 insertions(+), 142 deletions(-) proxmox-datacenter-manager: Hannes Laimer (1): api: firewall: add pve firewall security group GET endpoints server/src/api/pve/firewall.rs | 65 ++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) proxmox-yew-comp: Hannes Laimer (1): firewall: rules: make security group entries expandable src/firewall/context.rs | 12 ++ src/firewall/rules.rs | 384 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 369 insertions(+), 27 deletions(-) Summary over all repositories: 6 files changed, 668 insertions(+), 169 deletions(-) -- Generated by git-murpp 0.8.1 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel