summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-05-11 16:54:02 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-05-11 16:54:02 -0700
commit7820d87bcf833391f4b2dbbc90bee57dfa91f545 (patch)
tree7980e3f82077fae990d804484e7000b10286440b /templates
parentdb4bcb134272a17b7583d1877286c0e412091c6b (diff)
downloadvyatta-cfg-firewall-7820d87bcf833391f4b2dbbc90bee57dfa91f545.tar.gz
vyatta-cfg-firewall-7820d87bcf833391f4b2dbbc90bee57dfa91f545.zip
Add 'reject' as a configurable value for default-policy
under name and ipv6-name rulesets
Diffstat (limited to 'templates')
-rw-r--r--templates/firewall/ipv6-name/node.tag/default-policy/node.def5
-rw-r--r--templates/firewall/name/node.tag/default-policy/node.def5
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/firewall/ipv6-name/node.tag/default-policy/node.def b/templates/firewall/ipv6-name/node.tag/default-policy/node.def
index d88d82f..e335e94 100644
--- a/templates/firewall/ipv6-name/node.tag/default-policy/node.def
+++ b/templates/firewall/ipv6-name/node.tag/default-policy/node.def
@@ -4,9 +4,10 @@ help: Set firewall default-policy
default: "drop"
-syntax:expression: $VAR(@) in "drop", "accept";
- "default-policy must be either drop or accept"
+syntax:expression: $VAR(@) in "drop", "accept", "reject";
+ "default-policy must be drop, reject or accept"
comp_help: possible completions:
drop Drop if no prior rules are hit (default)
+ reject Drop and notify source if no prior rules are hit
accept Accept if no prior rules are hit
diff --git a/templates/firewall/name/node.tag/default-policy/node.def b/templates/firewall/name/node.tag/default-policy/node.def
index d88d82f..e335e94 100644
--- a/templates/firewall/name/node.tag/default-policy/node.def
+++ b/templates/firewall/name/node.tag/default-policy/node.def
@@ -4,9 +4,10 @@ help: Set firewall default-policy
default: "drop"
-syntax:expression: $VAR(@) in "drop", "accept";
- "default-policy must be either drop or accept"
+syntax:expression: $VAR(@) in "drop", "accept", "reject";
+ "default-policy must be drop, reject or accept"
comp_help: possible completions:
drop Drop if no prior rules are hit (default)
+ reject Drop and notify source if no prior rules are hit
accept Accept if no prior rules are hit