This repository is a mirror of https://git.openwrt.org/?p=project/odhcp6c.git. It is for reference only and is not active for checks-ins or reporting issues; issues should be reported at: https://bugs.openwrt.org. Pull requests will be accepted which will be merged in odhcp6c.git
GNU General Public License v2.0
78
stars
83
forks
source link
Add option to ignore default lifetime for RDNSS records #53
While RFC6106 mandates that the RDNSS lifetime is capped to the default
lifetime, this behaviour is often undesirable. In particular, it prevents
accepting RDNSS records from RAs that don't also advertise a default route
(set the default lifetime to 0).
Therefore, make it possible to opt out of this behaviour and respect the
RDNSS lifetime independently of the default lifetime using the new command
line switch -L.
Any suggestions for the UCI option name? I'd probably go with dnsdefaultlifetime (defaulting to 1), which is long and doesn't really say a lot...
As discussed in #21:
While RFC6106 mandates that the RDNSS lifetime is capped to the default lifetime, this behaviour is often undesirable. In particular, it prevents accepting RDNSS records from RAs that don't also advertise a default route (set the default lifetime to 0).
Therefore, make it possible to opt out of this behaviour and respect the RDNSS lifetime independently of the default lifetime using the new command line switch -L.
Any suggestions for the UCI option name? I'd probably go with
dnsdefaultlifetime
(defaulting to 1), which is long and doesn't really say a lot...