Bug #10295
Unescaped characters in dhcp-client-identifier prevent DHCPD from starting on interface
Start date:
02/26/2020
Due date:
% Done:
100%
Estimated time:
Affected Version:
2.4.5
Affected Architecture:
Release Notes:
Default
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
History
#1
Updated by Viktor Gurov about 1 year ago
This fix replaces the double quote character with '"':
https://github.com/pfsense/pfsense/pull/4211
There is no issue with other special characters (',./!@#$%^&*()~)
#2
Updated by Jim Pingle about 1 year ago
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
#3
Updated by Renato Botelho about 1 year 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 about 1 year ago
- Status changed from Feedback to Resolved
fine on 2.5.0.a.20200319.0930
Replace double quote character in DHCP client ID. Issue #10295