Project

General

Profile

Bug #10709

services_router_advertisements.php: radvd won't start if Default valid lifetime is less than Default preferred lifetime

Added by Mike Murdoch 10 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
IPv6 Router Advertisements (RADVD)
Target version:
Start date:
06/28/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:
All
Release Notes:
Default

Description

Hello,

the user interface allows the `Default valid lifetime` field to be set to a lower value than `Default preferred lifetime` field. When this is done, radvd will not start, due to

AdvValidLifeTime must be greater than AdvPreferredLifetime in /var/etc/radvd.conf, line 18

Someone less familiar with Pfsense will likely spend a lot of time trying to hunt why their IPv6 is nto working. The user interface should probably warn the user and not allow such a configuration to be saved in the first place (just like it is being done when the Default valid lifetime is set to below 7200)

Thanks!

Associated revisions

Revision 1d0608f3 (diff)
Added by Viktor Gurov 10 months ago

RA lifetime input validation. Fixes #10709

History

#2 Updated by Jim Pingle 10 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#3 Updated by Renato Botelho 10 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#4 Updated by Mike Murdoch 10 months ago

That was super quick. Thanks a lot!

#5 Updated by Steve Beaver 6 months ago

  • Status changed from Feedback to Resolved

#6 Updated by Jim Pingle 5 months ago

  • Category changed from Web Interface to IPv6 Router Advertisements (RADVD)

Also available in: Atom PDF