LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Arp table poisoning (https://www.linuxquestions.org/questions/linux-security-4/arp-table-poisoning-608841/)

cristian1983 12-24-2007 02:38 AM

Arp table poisoning
 
I have a 1000 computers as a network to administrate.My problem is that in the last 3 weeks i find a computer that is poisoning the arp table of my linux server; his mac address is coresponding to 10-20 ip address.He infects all the computers in the same subnet.My only options is to filter his mac from the nearest management switch and then call him to tell that his computer has a virus and need to be reinstalled the o.s.
Can anyone tell me a solution for this , other then make static entries in my linux arp table ?
Thanks

acid_kewpie 12-24-2007 02:42 AM

solution... disable the switchport for the computer, refuse to allow it back on the network until it is fixed... simple.

Deleriux 12-28-2007 01:31 PM

Add a static ARP entry for the effected ip/mac.

Add an ebtables entry for that server that drops all arp packets from that mac address.

Code:

ebtables -A INPUT -p arp --src AB:AB:AB:AB:AB:AB -j DROP
That should work, at the cost of screwing up your routing for that mac address should it come online again with a new IP address.

I think though that acid_kewpie is right. Whilst that might sort the problem out for you the user causes a problem on the entire subnet by assuming the identity of other boxes on the local broadcast network. Ideally the person on the network needs to be removed completely until they fix the problem.


All times are GMT -5. The time now is 09:58 PM.