Building Filters
Define the task.
Gather the task components.
Build the pseudo code with the task components.
Build the filter to match the code.
Example 1: A MAC address filter
Define the task.
A filter for a MAC address of a problematic client or server.
Gather the task components.
Need MAC address of node as source (SA) at offset 6 or destination (DA) at offset 0.
Need MAC address of node but in DHCP header as Client Hardware Address at offset 46 when DHCP Offers and Acks are sent via broadcast from the DHCP server.
Need Target IP Address of node when other nodes ARP for it.
Build the pseudo code with the task components.
OR ___ DLC @ 0, variable offset
|___ w.x.y.z @ 0, variable offset
Build the filter to match the pseudo code.