Possible validation bug

  • Hi everyone!

    I just added a static mapping with Client id set toAsus "router"(including quotes) with green confirmation but DHCP server failed to start with the following error:```
    /rc.linkup: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid igb1' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpd.conf line 49: semicolon expected. option dhcp-client-identifier "Asus "router" ^ Configuration file errors encountered -- exiting If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting.'

    Without any further investigation other then changing the client id to "Asus" and managing to start the service I'm guessing this could possibly be a matter of missing escaping or validation.
    What do you think?
    Edit -
    Sys info:

    2.3.4-RELEASE-p1 (amd64)
    built on Fri Jul 14 14:52:43 CDT 2017
    FreeBSD 10.3-RELEASE-p19

Log in to reply