Project

General

Profile

Bug #8534

Invalid DHCP options can be added

Added by Michael Newton about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP Server
Target version:
Start date:
05/23/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:
All

Description

Had a user who wanted to temporarily "disable" a DHCP option so he set it to zero. This corrupted the DHCP response. Users should not be able to add values other than 1-254 as the option number.

Associated revisions

Revision 60682dd2 (diff)
Added by Michael Newton about 1 year ago

Restrict entry of DHCP options (ticket #8534)

History

#2 Updated by Jim Pingle about 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
  • Affected Architecture set to All

PR has been merged

#3 Updated by Jim Pingle about 1 year ago

  • Assignee set to Jim Pingle

#4 Updated by James Snell about 1 year ago

Tested 2.4.4.a.20180702.2123

Services -> DHCP Server -> Additional BOOTP/DHCP Options

Set DHCP option 84 which is listed as 'removed'.
All Integer Types (8,16,32) allow 0 as a value.

There's no way to delete the set option, will check for/raise a ticket on that.

#5 Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Resolved

The values can be 0, but this was about the option number, not the value.

The option number is now restricted to 1-254.

Also available in: Atom PDF