You are not logged in.
Hi all,
I have had a two day company course in the last two days about it-security and have been quite active in this field before (private).
The guy doing the course came up with net.ipv4.conf.default.arp_accept=1 as measure vs. ARP poisoning and he stated that he thinks it's hilarious not all distributions use it for default.
He also stated that this parameter causes an arp entry not to be updated if there is no arp request for this reply (calling this authenticated arp).
Since I wanted to propose this as a default measure for standard clients vs. ARP poisoning I looked it up again (since it is configureable via sysctl in Arch).
Now I'm not sure if it really works ( looked it up e.g. https://support.cumulusnetworks.com/hc/ … lus-Linux)
Does it work ? And if why it is not default in Arch then?
Due to the level of network understanding I don't see this question in the Newbie's Corner.
I really appreciate your answers.
Kind regards,
Thomas
Last edited by koppts (2016-04-15 20:45:27)
Offline
I don't understand. From the kernel documentation:
arp_accept - BOOLEAN
Define behavior for gratuitous ARP frames who's IP is not
already present in the ARP table:
0 - don't create new entries in the ARP table
1 - create new entries in the ARP tableBoth replies and requests type gratuitous arp will trigger the
ARP table to be updated, if this setting is on.If the ARP table already contains the IP address of the
gratuitous arp frame, the arp table will be updated regardless
if this setting is on or off.
And
: cat /proc/sys/net/ipv4/conf/default/arp_accept
0
So, what's the point?
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Okay I got it. This param should be any mean 0 and for the attacking vector of updating an existing IP address by a gratuitous ARP reply packet I am just screwed as long as I don't just static MAC-IP pairs (which might be a problem in some scenarios). Only measure could be a lookup at the router (which is pointless if the poisoned MAC is for this IP) which MAC is stored there for the IP.
Guess I mark this as solved and wait for another solution.
And obviously write that guy a mail.
Greets
Offline