From: Thomas Lamprecht Date: Tue, 22 Oct 2019 09:14:44 +0000 (+0200) Subject: fw schemas: add defaults and improve some descriptions X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=e1639957a44ea8d42fbf8ea8e0b997fbe92b0aa8 fw schemas: add defaults and improve some descriptions Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index aa637c2..97e5384 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -1256,6 +1256,7 @@ our $host_option_properties = { tcpflags => { description => "Filter illegal combinations of TCP flags.", type => 'boolean', + default => 0, optional => 1, }, nf_conntrack_max => { @@ -1269,11 +1270,13 @@ our $host_option_properties = { description => "Conntrack established timeout.", type => 'integer', optional => 1, + default => 432000, minimum => 7875, }, ndp => { - description => "Enable NDP.", + description => "Enable NDP (Neighbor Discovery Protocol).", type => 'boolean', + default => 0, optional => 1, }, nf_conntrack_allow_invalid => { @@ -1294,21 +1297,25 @@ our $vm_option_properties = { enable => { description => "Enable/disable firewall rules.", type => 'boolean', + default => 0, optional => 1, }, macfilter => { description => "Enable/disable MAC address filter.", type => 'boolean', + default => 0, optional => 1, }, dhcp => { description => "Enable DHCP.", type => 'boolean', + default => 0, optional => 1, }, ndp => { - description => "Enable NDP.", + description => "Enable NDP (Neighbor Discovery Protocol).", type => 'boolean', + default => 0, optional => 1, }, radv => {