]> git.proxmox.com Git - pve-firewall.git/commit
apply ebtables_ruleset
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 28 Mar 2018 08:53:29 +0000 (10:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Mar 2018 09:35:06 +0000 (11:35 +0200)
commit151c209e05a9e15d5d7a9402391ca936e562a173
treecb70a3217f9d505e2507bb4b4bfe1f8bc6f06894
parentc5e8b0088f2f51897b8b22a587c091e4e5bf3251
apply ebtables_ruleset

need ebtables-save && ebtables-restore,  ebtables debian package don't include them.

ebtables-restore need to restore the full ruleset (atomicaly),
so we can't update only 1 chain

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Firewall.pm
src/PVE/Service/pve_firewall.pm