Project

General

Profile

Bug #7502

Cannot set router lifetime to 0 in radvd

Added by Guido Schmitz 12 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
radvd
Target version:
Start date:
04/29/2017
Due date:
% Done:

100%

Affected Version:
2.4.x
Affected Architecture:
All

Description

In the Web GUI (services_router_advertisements.php), it is not possible to set the router lifetime to 0. The GUI enforces a value of at least 1.

A lifetime to 0, however, is a valid configuration (see, e.g., radvd.conf man page, corresponding option AdvDefaultLifetime). This (special) value means that radvd still advertises the prefix and the operating mode of the network without advertising its own host as a router. Such a configuration can be useful when you have to deal with existing routers or when you run pfsense as a management host in an isolated network.

I've checked 2.3.3-RELEASE-p1 and Version 2.4.0-BETA, build of April 27, 2017. The problem exists in both versions.

Associated revisions

Revision df4c3517
Added by John Hood 8 months ago

Allow IPv6 RA default router lifetime of 0

This is a legal value for this field, RFC 4861 section 4.2.

Fixes Redmine #7502.

History

#1 Updated by John Hood 8 months ago

I've opened a PR with a fix for this (not including i18n): https://github.com/pfsense/pfsense/pull/3801

#2 Updated by Jim Pingle 4 months ago

  • Status changed from New to Feedback
  • Target version set to 2.4.3
  • % Done changed from 0 to 100
  • Affected Version set to 2.4.x
  • Affected Architecture set to All

#3 Updated by Denis Karpushin about 1 month ago

Tested router lifetime configuration under services_router_advertisements.php

2.4.2_p1 return an error message
2.4.3 apply configuration with 0 value without any problem

Issue can be closed

#4 Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF