blob: 0c107f4de607f46adb176bee4555b8efcf30c4ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
type: txt
help: Allow syslog logging of packets with impossible addresses
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\""
|