blob: 7f4c9e12eada2f255500017dd0da9ad4e99d7565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
tag:
type: txt
syntax:expression: exec " \
if [ `echo -n '$VAR(@)' | wc -c` -gt 29 ]; then \
echo firewall name must be 29 characters or less; \
exit 1 ; \
fi ; "
syntax:expression: pattern $VAR(@) "^[^-]" ; "Firewall rule set name cannot start with \"-\""
syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Firewall rule set name cannot contain ';'"
end: sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules name
help: Set IPv4 firewall rule set name
|