MIKE HIGGINBOTTOM

A Digital Garden - frequent growth but a bit weedy in the back corner

ARPTopicTerms

How the topics link

flowchart TD
  Index["ARP Packet Field Combinations<br/>index topic"]
  Full["Full List Of All ARP Field Combinations<br/>table: all 2,430 field value sets"]
  Valid["ListOfValidARPFieldCombinations<br/>table: the 72 valid ones"]
  Forms["ARPPacketForms<br/>table: one line per packet form (48)"]
  Rel["IP relationship topics:<br/>StandardARPMessages, GratuitousARPMessages,<br/>ARPProbeMessages, ARPProbeReplyMessages,<br/>and InvalidARPMessages"]
  Form["packet form topic, e.g. StandardARPResponse<br/>Defining fields: the fields and values that decide it<br/>BPF and Wireshark display filters"]
  FVS["field value set topic<br/>e.g. ARPFieldValueSet63"]
  Index --> Full & Valid & Forms & Rel
  Rel -- "Packet forms: list" --> Form
  Form -. "IP relationship: line<br/>(valid forms only)" .-> Rel
  Form -- "Field value sets: list" --> FVS
  FVS -. "Matches: list" .-> Form

Solid arrows lead down to the more detailed topics, and dashed ones are the links back up.

Field value set vs packet form

A field value set is one exact value for every field. There are 2,430, one for every possible combination of the fields above, whether it makes sense or not, which is why the Full List Of All ARP Field Combinations is useful for fuzzing. A field value set topic carries almost nothing of its own, just a Matches list naming the packet forms it belongs to.

A packet form is a named kind of packet. It groups the field value sets that count as the same packet, and they may differ in any field that doesn’t change what the packet is. There are 48, each with its field value sets, defining fields, filters and notes, and an IP relationship when it is valid. GratuitousARPReply, for example, covers ARPFieldValueSet511, ARPFieldValueSet521 and ARPFieldValueSet531, which differ only in Target MAC (unicast, ff:ff:ff:ff:ff:ff or 00:00:00:00:00:00). A receiver treats all three alike, so its defining fields leave Target MAC out and its filters don’t test it, and one filter catches all three.

Every valid field value set is in exactly one packet form, and an invalid field value set breaking several rules matches a packet form for each. So a field value set is the raw data and a packet form is the name and meaning given to a set of field value sets. Notes about what a packet is or does belong on the packet form, and a field value set topic is for anything true of that one exact field value set only.