disabling arp on the vm interface all together. we have the static entries from the unnumbered system, reduces the attack surface and DOS potentially on the hypervisor
This commit is contained in:
parent
51d76bc101
commit
f44ff9304e
|
@ -41,7 +41,7 @@ gwmac() {
|
|||
|
||||
ip link set ${IFACE} address $(gwmac $PUBLICMAC) up
|
||||
arp -i ${IFACE} -s 169.254.0.1 ${PUBLICMAC}
|
||||
|
||||
sysctl -w net.ipv4.conf.${IFACE/./\/}.arp_ignore=8
|
||||
|
||||
IFS=',' read -ra IPS <<< "$IP"
|
||||
for IP in "${IPS[@]}"; do
|
||||
|
|
Loading…
Reference in New Issue