On Fri, Nov 4, 2011 at 4:54 AM, Denys Vlasenko <[email protected]> wrote: > > I think that maybe emulating existing dhcp6c tool with its config file > and command line is not a good idea. This will make DHCP and DHCPv6 > clients in busybox to be very different.
Agree, but redesign of applet I was postpone for the future. Seems to be, this time is come... But I don't see any way to simplify dhcp6c config file like udhcpc since we can have several IA/PD. > Maybe we need a udhcpc6 applet which is similar to udhcpc. > > For one, it should handle one interface. This simplifies many things. One upstream(listen) interface - yes. But simplification to single downstream (IA, PD) interface seems to be bad idea. > Second, we don't need to implement auth features, at least not at once > - organizations paranoid enough to authenticate DHCPv6 thaffic probably > should not use dynamic IP addresses at all! Agreed. I can easy exclude this feature from applet. > Third, we might choose to support only the setup where there is only > one DHCP server, not many - udhcpc currently simply uses the first > server response (doesn't try to collect more responses and pick > "best one"), and people aren't complaining. This means that the > multi-server DHCP setups must be a very rare thing. Unfortunately, a few ISP's provide multi-server DHCP setups. Most of them are buggy, but they are exists :( For example - Beeline ISP, Ekaterinburg, Russia. > Fourth, it should not set IPv6 addresses (ifaddrconf() func does that > in current patch). It should just export data to environment and run > a script, just like udhcpc does. i.e. like all others (ISC dchp client, for example). When I start conversion of wide-dhcpv6, I don't think that it is simplifies code too much. At this moment, I have to agree with you. Should we take ISC dchp reasons list from starting point? > Do you want to work on it, or you don't find this to be a good idea? > I probably can work on it this weekend... As I can see, your programming speed much faster than mine. So, It will be good if you can work on this task. Anyway, I will be glad to help to improve and to test applet. Regards, Leonid _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
