summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/firewall/name/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/firewall/name/node.def b/templates/firewall/name/node.def
index cb4d05a..88e01c2 100644
--- a/templates/firewall/name/node.def
+++ b/templates/firewall/name/node.def
@@ -3,12 +3,12 @@ priority: 210
type: txt
-syntax:expression: pattern $VAR(@) "^[[:print:]]{1,29}$" ; \
+syntax:expression: pattern $VAR(@) "^[[:graph:]]{1,29}$" ; \
"Firewall name must be 29 characters or less"
syntax:expression: pattern $VAR(@) "^[^-]" ; \
"Firewall rule set name cannot start with \"-\""
-syntax:expression: pattern $VAR(@) "^[^;]*$" ; \
- "Firewall rule set name cannot contain ';'"
+syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \
+ "Firewall rule set name cannot contain shell punctuation"
syntax:expression: ! pattern $VAR(@) "^VZONE" ; \
"Firewall rule set name cannot start with 'VZONE'"