LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 07-22-2007, 02:16 PM   #1
zaheer
Member
 
Registered: Apr 2004
Location: Linux World
Distribution: Debian,Free BSD but Currently Using PCLinuxOS
Posts: 32

Rep: Reputation: 15
Arp-poisoning help!


Hi allz,

I am client of a LAN network and our gateway is a Linux Machine.Some one locally is arp-poisoning our network and our network admin (dumb***)don't know what to do.He only gave us a windows self made service file which when windows boots starts.Now for my linux machine I have two more computer's behind a smoothwall firewall and for this he said to type arp - s {Ip Of Server} {Mac Address Of Server}.Now what can I do to avoid this arp poisoning on our network and how can I add a scipt to smoothwall which on boot get run this command.I know in redhat it rc.local but in smoothwall I can't find rc.local
 
Old 07-22-2007, 11:27 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
Blog Entries: 2

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
Set the values in /etc/ethers; 'man ethers':

Quote:
/etc/ethers contains 48 bit Ethernet addresses and their corresponding
IP numbers, one line for each IP number:

Ethernet-address IP-number

The two items are separated by any number of SPACE and/or TAB char
acters. A # at the beginning of a line starts a comment which extends
to the end of the line. The Ethernet-address is written as
x:x:x:x:x:x, where x is a hexadecimal number between 0 and ff which
represents one byte of the address, which is in network byte order
(big-endian). The IP-number may be a hostname which can be resolved by
DNS or a dot separated number.
 
Old 07-23-2007, 12:38 AM   #3
zaheer
Member
 
Registered: Apr 2004
Location: Linux World
Distribution: Debian,Free BSD but Currently Using PCLinuxOS
Posts: 32

Original Poster
Rep: Reputation: 15
What values should i set in this file
etc/ethers ???
 
Old 07-23-2007, 12:44 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
Blog Entries: 2

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
Take the command your admin sent:

arp - s {Ip Of Server} {Mac Address Of Server}

And put in the file:

{Mac Address Of Server} {Ip Of Server}
 
Old 07-23-2007, 12:49 AM   #5
zaheer
Member
 
Registered: Apr 2004
Location: Linux World
Distribution: Debian,Free BSD but Currently Using PCLinuxOS
Posts: 32

Original Poster
Rep: Reputation: 15
Ok,Should I have to remove arp -s before putting it in /etc/ethers ?

Last edited by zaheer; 07-23-2007 at 12:55 AM.
 
Old 07-25-2007, 10:34 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
Blog Entries: 2

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
The two do the same thing. You can either change the local init file to run the command or add the MAC/IP to the ether file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 3 05-07-2009 02:03 AM
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
detecting/preventing arp cache poisoning? SocialEngineer Linux - Security 6 08-20-2004 11:52 AM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration