odhcpd setzt preferred lifetime falsch #238

Open
opened 2022-04-07 10:46:56 +02:00 by fbl · 3 comments
Owner

Wenn in odhcp die Option ra_useleasetime verwendet wird, dann wird die preferred lifetime fälschlicherweise nicht auf ra_useleasetime begrenzt, sondern auf preferred_lifetime gesetzt. Dabei handelt es sich möglicherweise um einen Bug in odhcpd.

Das Problem kann umgangen werden, indem preferred_lifetime (default: 12h) kleiner/gleich leasetime gesetzt wird.

Wenn in odhcp die Option `ra_useleasetime` verwendet wird, dann wird die preferred lifetime fälschlicherweise nicht auf `ra_useleasetime` begrenzt, sondern auf `preferred_lifetime` gesetzt. Dabei handelt es sich möglicherweise um einen Bug in odhcpd. Das Problem kann umgangen werden, indem `preferred_lifetime` (default: 12h) kleiner/gleich `leasetime` gesetzt wird.
fbl added the
bug
label 2022-04-07 10:46:56 +02:00
fbl added this to the 20220413 milestone 2022-04-07 10:49:25 +02:00
Author
Owner
https://github.com/openwrt/odhcpd/commit/3bda90079ec5574ef469e2a7804808302f17769d
Author
Owner
https://github.com/openwrt/odhcpd/commit/3bda90079ec5574ef469e2a7804808302f17769d#commitcomment-70704701
Author
Owner

Mit

uci set dhcp.client.preferred_lifetime=3600
uci commit
reload_config

kann man das Problem in der beta umgehen. Das implementiert den oben genannten Vorschlag als Workaround.

Mit ``` uci set dhcp.client.preferred_lifetime=3600 uci commit reload_config ``` kann man das Problem in der beta umgehen. Das implementiert den oben genannten Vorschlag als Workaround.
fbl modified the milestone from 20220413 to next-bugfix 2022-04-18 12:39:19 +02:00
fbl modified the milestone from next-bugfix to 20220814 2022-04-21 13:10:18 +02:00
fbl modified the milestone from 20220814 to next-feature 2022-08-15 23:19:13 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: freifunk-franken/firmware#238
No description provided.