by dkopi · 10y ago · 0 comments
A few things I'm missing for this to be a more complete ARP implementation: 1. Answer Ip to Mac conversion requests from the above stack
2. Send an ARP Request if the mac is missing (+Retries)
3. Static ARP configurations (To prevent ARP spoofing attacks)
4. ARP entry aging. Otherwise you'll run really quickly into "ERR: No free space in ARP translation table\n" (And of course a much larger cache than 32 entries)
5. Ignore unsolicited ARP replies (Helps prevent ARP spoofing attacks as well)
6. use uint8_t instead of "unsigned char" for packet structures.
Awesome work!