Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Possible validation bug

    DHCP and DNS
    1
    1
    274
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ronnerberg last edited by

      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?
      
      Best,
      
      Ronnerberg
      
      Edit -
      
      Sys info:
      

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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post