Project

General

Profile

Actions

Bug #5898

closed

services_dhcp.php: "Ignore denied clients" is incompatible with failover

Added by Jim Pingle over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv4)
Target version:
Start date:
02/16/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
All

Description

The "Ignore denied clients" option on services_dhcp.php is not compatible with a high availability configuration. If there is a value in the "Failover peer IP" box when "Ignore denied clients" is checked, input validation should reject the configuration.

The backend code must also account for it as well.

The DHCP daemon fails to start when the options are combined. When they are enabled separately, it works OK.

The option is new to 2.3, so there is no regression.

Actions #1

Updated by Jim Pingle over 8 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle over 8 years ago

  • Status changed from Feedback to Resolved

Tested the fix on two different 2.3 HA setups, works fine. Attempting to combine the two options fails with an input validation error as it should. If the option was enabled previously, the backend code ignores it when a failover address is set so that the DHCP daemon can still start.

Actions

Also available in: Atom PDF