blob: 4a31e685d6ab5ef4f326cab5f1364637bb78ce6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
type: txt
help: Set syslog logging of packets with impossible addresses (default: enable)
default: "enable"
syntax:expression: $VAR(@) in "enable", "disable"; "log-martians must be enable or disable"
create:expression: "if [ x$VAR(@) == xenable ]; \
then sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/all/log_martians\"; \
else sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/all/log_martians\"; fi"
update:expression: "if [ x$VAR(@) == xenable ]; \
then sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/all/log_martians\"; \
else sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/all/log_martians\"; fi"
delete:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/all/log_martians\""
|