diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2024-05-31 16:19:54 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2024-05-31 16:19:54 +0000 |
commit | 1dc480ee881de1c1af83eefccfed7fd21b4c3882 (patch) | |
tree | 1b820805d9cf7bbac97b0489d0af7a701ede085f /usr.sbin | |
parent | 3437f05a569f25ee474836ca3d444faa90ce6b60 (diff) |
Preferred and valid lifetime options are sometimes ignored.
When a prefix is discovered on a network interface and and the IP
address has a valid or preferred lifetime configured that value is
used instead of the static value from the configuration.
Limitation pointed out by & man page text proposed by Ryan Vogt.
Slightly tweaked by me.
rad(8) should calculate the minimum of the static value from the
config file and what is configured on the interface. Implementing that
is slightly complicated and is left for a future diff.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rad/rad.conf.5 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/rad/rad.conf.5 b/usr.sbin/rad/rad.conf.5 index 87c2b328662..7c95a8cce83 100644 --- a/usr.sbin/rad/rad.conf.5 +++ b/usr.sbin/rad/rad.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rad.conf.5,v 1.24 2024/05/17 06:50:14 florian Exp $ +.\" $OpenBSD: rad.conf.5,v 1.25 2024/05/31 16:19:53 florian Exp $ .\" .\" Copyright (c) 2018 Florian Obser <florian@openbsd.org> .\" Copyright (c) 2005 Esben Norby <norby@openbsd.org> @@ -18,7 +18,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 17 2024 $ +.Dd $Mdocdate: May 31 2024 $ .Dt RAD.CONF 5 .Os .Sh NAME @@ -167,10 +167,14 @@ The default is yes. The preferred lifetime (pltime) in seconds for addresses generated from this prefix. The default is 2700. +This option is ignored if the prefix is discovered from a network interface +and it has a preferred lifetime configured. .It Ic valid lifetime Ar seconds The valid lifetime (vltime) in seconds for addresses generated from this prefix. The default is 5400. +This option is ignored if the prefix is discovered from a network interface +and it has a valid lifetime configured. .El .Sh FILES .Bl -tag -width /etc/examples/rad.conf -compact |