BPF on Solaris?
Ted Lemon
mellon at fugue.com
Tue Sep 13 21:48:22 UTC 2005
On Sep 13, 2005, at 2:41 PM, David W. Hankins wrote:
> Should. Mightnt it also be addressed to 192.168.0.255, even if the
> subnet from whence the packet was received was not rfc1918 addressed?
The right thing to do with a packet like that is to drop it, because
it's not addressed to you. That's what the BSD stack does.
The point of a server implementation is not to answer every possible
wrong query. It is to not fail in the presence of a wrong query, and
to answer right queries according to the protocol. If you are aware
of a particular misbehaving type of client, and can fix the server to
work around a known bug in such a client, that's great, but to write
your server so that it anticipates every possible bug is to create a
server that falls flat on its face because *it's* buggy, because it's
too complex. There are many possible bugs for which no workaround
is possible; I have seen a number of them in the field. When you
run into one, you have to fix the broken client - tweaking the server
won't help.
More information about the dhcp-hackers
mailing list