Hello Denys, Is there any suggestions about patch? And, same question about Leonid's * [PATCH 0/4] dhcp6c: new applet * [PATCH 1/4] dhcp6c: decode_base64() * [PATCH 2/4] dhcp6c: Add sprint_nip6 * [PATCH 3/4] dhcp6c: IF_UDHCP_VERBOSE() macro * [PATCH 4/4] dhcp6c: DHCPv6 client
Thank you and Best Regards, theMIROn > -----Original Message----- > From: [email protected] [mailto:busybox- > [email protected]] On Behalf Of Vladislav Grishenko > Sent: Wednesday, September 14, 2011 5:35 PM > To: [email protected] > Cc: 'Leonid Lisovskiy' > Subject: RE: udhcpc: limit renew/rebind timeout > > Sorry, server has eaten the first email text. > > Hello, > In some cases it's good to have control over manual renew/rebind timeout > before deconfig state. > Scenario: > 1. udhcpc gets lease for 86400 secs and sleeps for 43200 before renew > attempt 2. PC gets physically disconnected and connected to another > network 3. some phy control software sends SIGUSR1 to renew the lease, > SIGUSR2 isn't used because newly connected network could be the same as > before 4. udhcpc sends unicast renew requests up to 60 timeout, which are > ignored by new network dhcp servers 5. udhcpc sends broadcast rebind > requests, which could be naked or ignored too, if there's no authority dhcp > servers configured 6. udhcpc deconfigs and starting from discover state, gets > new lease for the new network So, pt.4+5 it could take up to 86400 secs > without correct lease, which is too long and not acceptable in my case. > Second SIGUSR1 will immediately run into deconfig/discover state, which is > not preferable in case of the same subnet replugged. > > With the patch, it's possible to limit pt.4 and pt.5 stage timeouts, for > example: > By specifying -N61 option udhcpc will make one unicast renew attempt > (timeout greater than 60) and will get 61/2 timeout for broadcast rebind, if > original timeout before signal is greater than 61 sec. > By specifying -N60 and lower, no unicast renew attempt will be made, only > broadcast rebind. > Default behavior - is to continue use of unchanged timeouts, like before > patch. > > Best Regards, theMIROn > ICQ: 303357 > MSN: [email protected] > Skype: the.miron > > > -----Original Message----- > > From: [email protected] [mailto:busybox- > > [email protected]] On Behalf Of Vladislav Grishenko > > Sent: Wednesday, September 14, 2011 5:30 PM > > To: [email protected] > > Cc: 'Leonid Lisovskiy' > > Subject: udhcpc: limit renew/rebind timeout > > > > _______________________________________________ > > busybox mailing list > > [email protected] > > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
