]> git.proxmox.com Git - pve-firewall.git/commit
fix #3677: follow up: actually handle bucket size and ignore initval
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Oct 2021 16:13:20 +0000 (18:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Oct 2021 16:27:04 +0000 (18:27 +0200)
commit1bf4d1d69b26ef43fc7bf5262ce6151950cd995f
tree80a85052f2a72f5dde561f96bff4397f7370699a
parent8f62e951aa972f36198ffa69aafaae4abca8ed65
fix #3677: follow up: actually handle bucket size and ignore initval

The former is simply new and we can control it, so do so instead of
ignoring it, if it seems worth while we can also expose that as
option or do some fancier auto calculation, maybe depending on ipset
size.

The u32 `initval` is a bit different, its not a config in the exact
traditional sense but would allow to recreate an bit to bit
indentical save/restore - but we do not really do that and we cannot
pre-calculate that our self (or at least I'd rather like to avoid
doing that from perl).. So, ignore it actively for now to avoid
false-postivie detection in pending changes.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Firewall.pm