Project

General

Profile

Bug #10295

Unescaped characters in dhcp-client-identifier prevent DHCPD from starting on interface

Added by Chris Linstruth 8 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP (IPv4)
Target version:
Start date:
02/26/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.5
Affected Architecture:

Description

The following is allowed by the webgui in a static mapping: Client Identifier: 32" Sony Trinitron

That creates a configuration that cannot be loaded:

host s_lan_0 {
        hardware ethernet 01:02:03:04:05:06;
        option dhcp-client-identifier "32" Sony Trinitron";
    option host-name "32-Sony";
    option domain-name-servers 172.25.228.1;
}

Associated revisions

Revision 00318445 (diff)
Added by Viktor Gurov 8 months ago

Replace double quote character in DHCP client ID. Issue #10295

History

#1 Updated by Viktor Gurov 8 months ago

This fix replaces the double quote character with '&quot':
https://github.com/pfsense/pfsense/pull/4211

There is no issue with other special characters (',./!@#$%^&*()~)

#2 Updated by Jim Pingle 8 months ago

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

#3 Updated by Renato Botelho 8 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 Viktor Gurov 7 months ago

  • Status changed from Feedback to Resolved

fine on 2.5.0.a.20200319.0930

Also available in: Atom PDF