[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sending ARP request to unicast MAC instead of broadcast MAC address?
- Subject: Sending ARP request to unicast MAC instead of broadcast MAC address?
- From: mysidia at gmail.com (James Hess)
- Date: Wed, 16 Jun 2010 18:20:54 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Wed, Jun 16, 2010 at 5:57 PM, Chris Woodfield <rekoil at semihuman.com> wrote:
> OK, this sounds Really Wacky (or, Really Hacky if you're into puns) but there's a reason for it, I swear...
> Will typical OSS UNIX kernels (Linux, BSD, MacOS X, etc) reply to a crafted ARP request that, instead of having FF:FF:FF:FF:FF:FF as its destination MAC address, is instead sent to the already-known unicast MAC address of the host?
In general, hosts respond to these in just the same way as they would
respond to a broadcast arp request.
> Next, what would be your utility of choice for crafting such a packet? Or is this something one would need to code up by hand in a lower-level language?
arping from the iputils package will switch to unicast requests
after the first unicast ARP response is received, and send the rest
of the pings using unicast arp, assuming you don't use the -b
option
--
-JH