Let's say on my network there is a hacker who floods my computer with arp messages to associate his MAC address with the IP of the computer I want to reach.
It's like he sends the following message continuously (100 packets per second) to my computer:
192.168.1.2 (my target) has 0:0:0:0:0:1 (hacker's MAC address)
the following does not work, I end up with the two association in
arp -a -d; arp -s 192.168.1.2 0:0:0:0:0:2 (the real MAC address of the target)
Is it possible on macOS to drop the arp packets from the hacker?