Subject: bin/23549: rarpd doesn't delete incomplete ARP entries
To: None <email@example.com>
From: Ben Harris <firstname.lastname@example.org>
Date: 11/23/2003 14:12:27
>Synopsis: rarpd doesn't delete incomplete ARP entries
>Arrival-Date: Sun Nov 23 14:13:00 UTC 2003
>Originator: Ben Harris
NetBSD viking 1.6.1 NetBSD 1.6.1 (VIKING) #2: Wed Jun 4 13:59:27 BST 2003
When rarpd responds to a RARP request, it also adds an entry to the
server's ARP table for the client. This seems to be necessary for clients
that aren't clever enough to respond to ARP themselves, such as the boot
ROM on my SPARCstation SLC. If there's an (incomplete) ARP entry listed
for the client (if, for instance, the server has tried to communicate with
the client for some other reason), rarpd seems not to delete it.
Make an incomplete ARP entry (e.g. by pinging the client), then try to
boot the client. Notice that it won't boot until the incomplete ARP entry
is deleted (e.g. by using "arp -d").
mkarp.c needs to be made cleverer. I had a look, but the current state of
the code scared me.