1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

set /proc/sys/net/ipv4/conf/all/arp_filter to 1 by default when

10.interfaces startsup

this setting makes the system only respond to APR requests from the NIC 
where the ip address is tied to and adds to the 
"principle of least surprise" when using multihoming servers

(This used to be ctdb commit 39ddf347dc45f599964a4c17e67e71faed00e544)
This commit is contained in:
Ronnie Sahlberg 2007-09-08 08:09:02 +10:00
parent d91b28f8b7
commit 0ebd7beb4b

View File

@ -24,6 +24,9 @@ case $cmd in
#############################
# called when ctdbd starts up
startup)
# make sure that we only respond to ARP messages from the NIC where
# a particular ip address is associated.
echo 1 > /proc/sys/ipv4/conf/all/arp_filter
;;