forked from extern/shorewall_code
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:
parent
37913a6ca1
commit
c9e481671c
@ -5893,6 +5893,12 @@ add_common_rules() {
|
||||
"Warning: Cannot set Martian logging on $interface"
|
||||
fi
|
||||
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
|
||||
|
||||
if [ -n "$DYNAMIC_ZONES" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user