[pve-devel] [PATCH v2 manager] firewall: add enable ndp option
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Feb 19 09:44:17 CET 2016
---
Changes since v1 like in pve-firewall:
The option is now called 'ndp', defaults to 1 and exists on host & vm level.
www/manager/grid/FirewallOptions.js | 2 ++
www/manager6/grid/FirewallOptions.js | 2 ++
2 files changed, 4 insertions(+)
diff --git a/www/manager/grid/FirewallOptions.js b/www/manager/grid/FirewallOptions.js
index f94be6c..2b84851 100644
--- a/www/manager/grid/FirewallOptions.js
+++ b/www/manager/grid/FirewallOptions.js
@@ -107,6 +107,7 @@ Ext.define('PVE.FirewallOptions', {
add_boolean_row('enable', gettext('Enable Firewall'), 1);
add_boolean_row('nosmurfs', gettext('SMURFS filter'), 1);
add_boolean_row('tcpflags', gettext('TCP flags filter'), 0);
+ add_boolean_row('ndp', gettext('Enable NDP'), 1);
add_integer_row('nf_conntrack_max', 'nf_conntrack_max', 120, 32768);
add_integer_row('nf_conntrack_tcp_timeout_established',
'nf_conntrack_tcp_timeout_established', 250, 7875);
@@ -117,6 +118,7 @@ Ext.define('PVE.FirewallOptions', {
} else if (me.fwtype === 'vm') {
add_boolean_row('enable', gettext('Enable Firewall'), 0);
add_boolean_row('dhcp', gettext('Enable DHCP'), 0);
+ add_boolean_row('ndp', gettext('Enable NDP'), 1);
add_boolean_row('macfilter', gettext('MAC filter'), 1);
add_log_row('log_level_in');
add_log_row('log_level_out');
diff --git a/www/manager6/grid/FirewallOptions.js b/www/manager6/grid/FirewallOptions.js
index a2f9954..7fe894c 100644
--- a/www/manager6/grid/FirewallOptions.js
+++ b/www/manager6/grid/FirewallOptions.js
@@ -107,6 +107,7 @@ Ext.define('PVE.FirewallOptions', {
add_boolean_row('enable', gettext('Enable Firewall'), 1);
add_boolean_row('nosmurfs', gettext('SMURFS filter'), 1);
add_boolean_row('tcpflags', gettext('TCP flags filter'), 0);
+ add_boolean_row('ndp', gettext('Enable NDP'), 1);
add_integer_row('nf_conntrack_max', 'nf_conntrack_max', 120, 32768);
add_integer_row('nf_conntrack_tcp_timeout_established',
'nf_conntrack_tcp_timeout_established', 250, 7875);
@@ -117,6 +118,7 @@ Ext.define('PVE.FirewallOptions', {
} else if (me.fwtype === 'vm') {
add_boolean_row('enable', gettext('Enable Firewall'), 0);
add_boolean_row('dhcp', gettext('Enable DHCP'), 0);
+ add_boolean_row('ndp', gettext('Enable NDP'), 1);
add_boolean_row('macfilter', gettext('MAC filter'), 1);
add_log_row('log_level_in');
add_log_row('log_level_out');
--
2.1.4
More information about the pve-devel
mailing list