blob: 084fdb04a48a61771fea48d7361aece7b673c6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
tag:
priority: 200
type: txt
help: Firewall ipv6-network-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"
syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl --action=is-group-defined --set-name=$VAR(@) \
--set-type=network --set-family=inet6"; \
"Firewall group name already used as Ipv4 group address"
end: if sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=update-set \
--set-name="$VAR(@)" --set-type=network --set-family=inet6; then
${vyatta_sbindir}/vyatta-firewall-trap.pl --level="firewall group ipv6-network-group $VAR(@)"
fi
|