[Bug 13776] udhcpc allows short lease to expire

bugzilla at busybox.net bugzilla at busybox.net
Sat May 1 10:37:56 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13776

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Denys Vlasenko <vda.linux at googlemail.com> ---
Fixed in git:

commit a1a77ad5eae7384dd6b1ccaa436a1df48c3c9cd7
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date:   Sat May 1 11:54:08 2021 +0200

    udhcpc[6]: untangle "timeout" and "remaining lease"; reduce min lease to 30
seconds

    This allows to fix a problem that we wait for renew replies
    for up to half the lease (!!!) if they never come.

    Make it so that lease of 60 seconds is not "rounded up" to 120 seconds -
    set lower "sanity limit" to 30 seconds.

    After 3 failed renew attempts, switch to rebind.

    After this change, we can have more flexible choice of when to do
    the first renew - does not need to be equal to lease / 2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list