A Digital Garden - frequent growth but a bit weedy in the back corner
An ARP reply with no request before it, about some IP other than one the sender is announcing as its own: Sender IP and Target IP differ, so it isn’t gratuitous. See GratuitousARPAmbiguousTerminology for why unsolicited and gratuitous are separate properties
The packet is a StandardARPReply (ARPFieldValueSet63), or its StandardARPReplySenderMACMismatch twin, exactly like a solicited reply. So unsolicited isn’t a ARPPacketForm: it only shows across packets, by pairing each reply with the request that prompted it, as the categoriser’s note_exchange does. A reply left with no request is one of the kinds below
| Kind | Binding true | Request came first | How it shows |
|---|---|---|---|
| Directed Cache Update | yes | no | a reply with no request |
| Late Or Duplicate Reply | yes, unless it’s an IP conflict | yes, but given up or already answered | a reply after the requester stopped waiting, or a second reply |
| Reply Seen By Wrong Host | yes | yes | an Ethernet dst that isn’t broadcast or the capturing host’s MAC |
| Benign Spoofing | no | usually no | a Sender IP whose MAC changes, or one MAC claiming several IPs |
| ARPCachePoisoning | no | usually no | the same as benign spoofing |
Only directed cache updates and the two kinds of spoofing are really unsolicited. Late and duplicate replies were asked for, and a reply seen by the wrong host is a normal exchange seen from the wrong place
Benign spoofing and cache poisoning can’t be told apart on the wire: they differ only in permission
The receiver doesn’t track outstanding requests: RFC826 updates an existing entry for the sender from any reply. Linux by default (arp_accept=0) won’t create a new entry from an unsolicited reply, only update one it has, which limits both directed cache updates and poisoning to hosts that already know the IP