Merge pull request #291 from raja-grewal/drop_gratuitous_arp

Drop gratuitous ARP packets
This commit is contained in:
Patrick Schleizer 2025-01-10 10:29:30 -05:00 committed by GitHub
commit 1b33e83529
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@ Networking:
- 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.ipv4.conf.*.arp_ignore=2
## 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.