[klibc] PATCH: ipconfig may discard useful packets
H. Peter Anvin
hpa at zytor.com
Wed Oct 8 10:56:03 PDT 2008
Άλκης Γεωργόπουλος wrote:
>
> Proposal:
> ---------
> I'd like to only implement (2), I think it's the most powerful and
> simple implementation, and it doesn't need *any* new command line
> parameters.
> So I'll be defining
> #define IPCONFIG_DHCP_OPTION 176
> and in /etc/dhcpd.conf an administrator would do
> option space ipconfig;
> option ipconfig-encap-opts code 176 = encapsulate ipconfig;
> option ipconfig.priority code 1 = signed integer 8;
>
> option ipconfig.priority 1;
>
> Also, I'll be modifying ipconfig to wait for 1 second to collect offers,
> always keeping the one with the higher ipconfig.priority value.
> If you like, I may put a command line option for how much to wait (or
> don't wait at all if not defined), but I don't think it's necessary.
>
> Peter, are you interested in any of these?
>
I think (2) is way too specific to your particular usage.
(1) and (3) is better, in my opinion; (1) is probably best simply by
having precedence in dhclient. Furthermore, you don't want to add delay
if the user doesn't request it; people are seriously starting to count
seconds in bootup.
-hpa
More information about the klibc
mailing list