LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-03-2008, 09:15 PM   #1
mudasirm
LQ Newbie
 
Registered: Jun 2007
Location: Pakistan
Distribution: RedHat
Posts: 15

Rep: Reputation: 0
ARP Poisoning


I have been facing a problem from almost 15 days. Let me explain you what i have been facing.

I am using RHEL 5 Acting as DHCP, Squid Proxy, Firewall, Bandwidth Shaper. My server has IP Address 10.10.10.1

Now from any client when i execute this command (arp -a 10.10.10.1), i should get the Physicall Address of my Server,I am not getting Server's MAC Address, whenever i execute this command i get different MAC Address. I am not getting SAME Address everytime, getting differect MAC Address eveytime.

Now due to this PING to Server is breaking up and Internet stops Working.

Can anyone please tell me some Solutions.

I also made a script to get all the MAC Addresses Againt my Server's IP. I got more than 350 MAC Addresses.

How can i solve this Problem.

I searched Google regarding ARP Poisoning i found following link.
http://packetstormsecurity.org/UNIX/utilities/

on the above stated link i found this script
http://packetstormsecurity.org/UNIX/utilities/aapd.c

As i dont know C Language so I dont know what this script will do but the description says
Quote:
OpenAAPD (0.1-beta) is an Anti Arp Poisoning Daemon for OpenBSD operating system which works with or without DHCP protocol support on the LAN networks without compromising the ARP protocol performances.
Please help me out in this problem.
 
Old 01-03-2008, 09:34 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Do any other computers on your LAN have that MAC address? Running 'arp -a' on the server should show the MACs of any machines communicating with it.
 
Old 01-03-2008, 10:46 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
is this a flat network or a routed network ?

if the packet is passing through a router you will get the mac of the router interface rather than the mac of the destination server..

could try flushing the arp cache of the switches or routers in between..
 
Old 01-04-2008, 03:04 AM   #4
mudasirm
LQ Newbie
 
Registered: Jun 2007
Location: Pakistan
Distribution: RedHat
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

I have a Flat Network.

Yes the MAC Address i am getting are there on my network. I even tried flushing ARP...

Can you please tell me how to disable ARP on Server

I tried ifconfig eth1 -arp
 
Old 01-05-2008, 03:18 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Arp is required for layer 2 Ethernet communications to function.. without it you can forget using Ethernet..
just fire up wireshark too see what I mean about arp..

Are you sure your Ethernet switch isn't defective ?
or do you have some other issue in the physical layer ? bad cabling, bad NIC, etc..
 
Old 06-09-2008, 06:58 AM   #6
techleach
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Rep: Reputation: 0
It is because your network is infected by arp poisoning virus the solution for this problem is you have to implement static arps in the client and servers
 
Old 06-09-2008, 09:34 AM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
This thread is rather old by now... I'd hesitate to jump to the conclusion that this is caused by arp poisoning. For starters, he's on RFC 1918 address space.

There are useful tools to help troubleshoot this sort of thing - e.g. arpwatch - but unless OP shows up again to revisit his previously dead thread, they're probably not worth discussing in detail.
 
Old 06-10-2008, 12:12 AM   #8
mudasirm
LQ Newbie
 
Registered: Jun 2007
Location: Pakistan
Distribution: RedHat
Posts: 15

Original Poster
Rep: Reputation: 0
Hi...

I have successfuly resolved this problem long time ago...i have created a custom software that needs to be isntalled at client side that cleans every thing....

Also i have switched to VPN, which is not vulnerable to such attacks. So all my problems regarding ARP Poisoning and ARP Attacks are soleved.

I created that software on VB6.0 platform, and is still under contineous upgradation.
 
Old 09-11-2008, 06:13 PM   #9
worldofaries
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
I needed help for client software

Salamz,
mudasirm i neeeded client software if u think u can gave me im thankful to you.


Im waiting for reply
worldofaries@gmail.com




Quote:
Originally Posted by mudasirm View Post
Hi...

I have successfuly resolved this problem long time ago...i have created a custom software that needs to be isntalled at client side that cleans every thing....

Also i have switched to VPN, which is not vulnerable to such attacks. So all my problems regarding ARP Poisoning and ARP Attacks are soleved.

I created that software on VB6.0 platform, and is still under contineous upgradation.
 
Old 09-11-2008, 06:32 PM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Worldofaries, If you have a windows client on your LAN that is sending false arp responses, it may be infected and should be reinstalled. A client side vb program would have to be run as Administrator. I suspect that the user has admin rights, and that is the main problem that lead to the Windows client being infected in the first place. Reinstall windows and configure it so the user doesn't run as administrator. It would be better to fix the underlining cause instead of applying a bandaid IMHO.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arp table poisoning cristian1983 Linux - Security 2 12-28-2007 01:31 PM
Arp-poisoning help! zaheer Linux - Networking 5 07-25-2007 10:34 PM
Arp Poisoning yawe_frek Linux - Security 3 05-26-2007 06:13 PM
arp poisoning Cisco counter measure? GUIPenguin General 1 10-14-2005 04:42 PM
ArpStar 0.5.0 Defeats ARP poisoning bassdemon Linux - Security 14 02-21-2005 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration