]> git.proxmox.com Git - pve-firewall.git/commit - src/PVE/Firewall.pm
fix #4175: ignore non-filter ebtables tables
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 27 Jul 2022 13:07:52 +0000 (15:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 Aug 2022 07:38:55 +0000 (09:38 +0200)
commita1f5aa007a46b1e25106e5e47421fa889e41ac1c
treef9d1971c7adcb64cf7056e66e0a76d0140c544d2
parent60ab67f52df04c415004ff3e4d45335ca0a62307
fix #4175: ignore non-filter ebtables tables

we only ever add rules to the filter table, without this we'd add all
rules from other tables (which might have been manually filled by the
admin) to the filter table as well - adding another copy on every
iteration of the firewall update cycle!

note that ebtables-restore seems to flush tables contained in its input,
but leave those alone which are not referenced at all.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/Firewall.pm