Set net.ipv4.conf.*.drop_gratuitous_arp=1

This commit is contained in:
raja-grewal 2024-12-19 10:35:08 +00:00 committed by GitHub
parent 95b535764c
commit 2e6e1701a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -111,8 +111,8 @@ Networking:
- Optional - Respond to ARP requests only if the target IP address is
on-link, preventing some IP spoofing attacks.
- Optional - Drop gratuitous ARP packets to prevent ARP cache poisoning
via man-in-the-middle and denial-of-service attacks.
- Drop gratuitous ARP packets to prevent ARP cache poisoning via
man-in-the-middle and denial-of-service attacks.
- Ignore ICMP echo requests to prevent clock fingerprinting and Smurf attacks.

View File

@ -482,7 +482,7 @@ net.ipv6.conf.*.accept_redirects=0
## https://patchwork.ozlabs.org/project/netdev/patch/1428652454-1224-3-git-send-email-johannes@sipsolutions.net/
## https://www.practicalnetworking.net/series/arp/gratuitous-arp/
##
#net.ipv4.conf.*.drop_gratuitous_arp=1
net.ipv4.conf.*.drop_gratuitous_arp=1
## Ignore ICMP echo requests.
## Prevents clock fingerprinting through ICMP timestamps and Smurf attacks.