]> git.proxmox.com Git - proxmox-firewall.git/commit
firewall: improve error handling of firewall
authorStefan Hanreich <s.hanreich@proxmox.com>
Thu, 25 Apr 2024 17:23:07 +0000 (19:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Apr 2024 17:25:17 +0000 (19:25 +0200)
commit3b4bc833c1f1a95ecf1ef2e590253554e9176f8d
tree407934ae23042f0aa72c4322fab60a44832512d5
parentd409750487eda5b6df86b15a21209ed1fe277f39
firewall: improve error handling of firewall

Error handling of the firewall binary should now be much more robust
on configuration errors. Instead of panicking in some cases it should
now log an error.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
proxmox-firewall/src/bin/proxmox-firewall.rs
proxmox-firewall/src/config.rs
proxmox-firewall/src/firewall.rs
proxmox-firewall/tests/integration_tests.rs