Add Martian Logging

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1634 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-09-21 20:05:18 +00:00
parent 37913a6ca1
commit c9e481671c

View File

@ -5893,6 +5893,12 @@ add_common_rules() {
"Warning: Cannot set Martian logging on $interface" "Warning: Cannot set Martian logging on $interface"
fi fi
done done
if [ -n "$ROUTE_FILTER" ]; then
run_and_save_command "echo 1 > /proc/sys/net/ipv4/conf/default/rp_filter"
run_and_save_command "echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter"
fi
fi fi
if [ -n "$DYNAMIC_ZONES" ]; then if [ -n "$DYNAMIC_ZONES" ]; then