Project

General

Profile

Bug #7088

DHCP does not accept input into MAC Control Fields.

Added by Shane Poteet 7 months ago. Updated 7 months ago.

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

100%

Affected version:
2.4
Affected Architecture:

Description

"If a mac allow list is specified, it must contain only valid partial MAC addresses."

Attempted input (I also tried different variations of):
00:04:F2,00:15:65,64:16:7F
(The above was copied and pasted from 2.32 p1 and has worked in previous versions.)

This input is allowed on the main dhcp page but not allowed in "MAC Allow" and "MAC Deny" on the additional pool page.

This was tested on SG100 not sure if other arch is affected. 2.4.0-BETA (arm), built on Thu Jan 05 10:53:36 CST 2017, FreeBSD 11.0-RELEASE-p5.

Associated revisions

Revision 80e7011f
Added by Jim Pingle 7 months ago

Return partial MAC address matching support to is_macaddr(). Fixes #7088

History

#1 Updated by Jim Pingle 7 months ago

  • Category changed from Web Interface to DHCP Server
  • Status changed from New to Confirmed
  • Target version set to 2.4.0

#2 Updated by Jim Pingle 7 months ago

  • Assignee set to Jim Pingle

#3 Updated by Jim Pingle 7 months ago

  • Subject changed from DHCP (Additional Pools Only) Does not accept input into MAC Control Fields. to DHCP does not accept input into MAC Control Fields.

This affects the main DHCP settings page not just the pools
is_macaddr() lost its $partial parameter/support required by this page to validate partial MAC addresses. This was taken out in c982fdbc32ebe374e2f68ac79019aa7cf54d6b55

I've got a potential solution pending

#4 Updated by Jim Pingle 7 months ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

#5 Updated by Jim Pingle 7 months ago

  • Status changed from Feedback to Resolved

Works

Also available in: Atom PDF