public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox{-ve-rs, -firewall} 0/3] Add support for legacy ipset / alias names
@ 2025-09-12 16:11 Stefan Hanreich
  2025-09-12 16:11 ` [pve-devel] [PATCH proxmox-ve-rs 1/2] config: firewall: add support for legacy " Stefan Hanreich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Hanreich @ 2025-09-12 16:11 UTC (permalink / raw)
  To: pve-devel

The introduction of scopes to alias / ipset names in firewall rules in Proxmox
VE 8 did not include any automated mechanism for converting firewall rules. Many
users still have firewall configurations containing unscoped names. The initial
decision to only support the new format with proxmox-firewall led to problems
with users trying to migrate to the nftables firewall, since the daemon fails to
parse the configuration and generates no nftables ruleset at all.

proxmox-ve-rs:

Stefan Hanreich (2):
  config: firewall: add support for legacy alias names
  config: firewall: add support for legacy ipset names

 proxmox-ve-config/src/firewall/cluster.rs     |  16 ++-
 proxmox-ve-config/src/firewall/common.rs      |   4 +
 proxmox-ve-config/src/firewall/guest.rs       |  10 +-
 proxmox-ve-config/src/firewall/types/alias.rs |  98 ++++++++++++++++-
 proxmox-ve-config/src/firewall/types/ipset.rs | 104 +++++++++++++++++-
 proxmox-ve-config/src/firewall/types/rule.rs  |  14 ++-
 .../src/firewall/types/rule_match.rs          |  14 +--
 7 files changed, 232 insertions(+), 28 deletions(-)


proxmox-firewall:

Stefan Hanreich (1):
  fix #6107: add support for legacy ipset / alias names

 proxmox-firewall/src/config.rs                |  93 ++++++++--
 proxmox-firewall/src/firewall.rs              |  15 +-
 proxmox-firewall/src/object.rs                |   4 +-
 proxmox-firewall/src/rule.rs                  |  28 ++-
 proxmox-firewall/tests/input/cluster.fw       |   2 +
 .../integration_tests__firewall.snap          | 172 ++++++++++++++++++
 6 files changed, 276 insertions(+), 38 deletions(-)


Summary over all repositories:
  13 files changed, 508 insertions(+), 66 deletions(-)

-- 
Generated by git-murpp 0.8.0

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-12 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-12 16:11 [pve-devel] [PATCH proxmox{-ve-rs, -firewall} 0/3] Add support for legacy ipset / alias names Stefan Hanreich
2025-09-12 16:11 ` [pve-devel] [PATCH proxmox-ve-rs 1/2] config: firewall: add support for legacy " Stefan Hanreich
2025-09-12 16:11 ` [pve-devel] [PATCH proxmox-ve-rs 2/2] config: firewall: add support for legacy ipset names Stefan Hanreich
2025-09-12 16:11 ` [pve-devel] [PATCH proxmox-firewall 1/1] fix #6107: add support for legacy ipset / alias names Stefan Hanreich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal