blob: 5b2e510ab2699b629d64fe5aa4a23c619de952d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
tag:
priority: 200
type: txt
help: Firewall address-group
syntax:expression: pattern $VAR(@) "^[[:graph:]]{1,31}$" ; \
"Firewall group name must be 31 characters or less"
syntax:expression: pattern $VAR(@) "^[^-]" ; \
"Firewall group name cannot start with \"-\""
syntax:expression: pattern $VAR(@) "^[^!]" ; \
"Firewall group name cannot start with \"!\""
syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \
"Firewall group name cannot contain shell punctuation"
end: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=update-set \
--set-name="$VAR(@)" --set-type=address
|