[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-security
Subject: Re: mapping arp
From: Peter Pentchev <roam () orbitel ! bg>
Date: 2001-01-30 11:09:03
[Download RAW message or body]
On Mon, Jan 29, 2001 at 09:14:27PM -0600, disassembled wrote:
>
> I was wondering if there was anyway i could map an mac address back
> to it's assigned IP address without using a rarpd.
>
> something i was considering writing was using writing a program
> that sent out a series of arp who-has packets to the network
> then run a cmp on the 48-bit values that returned in the
> replies against some mac address that would be supplied on the
> command line.
>
> if anyone knows anything about that & could help me out;
> i would be greatful.
<ANSWER TYPE="obvious,stupid" PRIORITY="next to useless">
If your system has already seen IP traffic from the machine in question,
you should have its address in the kernel's ARP cache. arp -an should
display it, or you could query it the way arp(1) does.
</ANSWER>
G'luck,
Peter
--
I am the thought you are now thinking.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic