Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 560
    • Issues 560
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 69
    • Merge requests 69
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #539
Closed
Open
Issue created Mar 15, 2019 by Alan Clegg@knobeeContributor

Kea incorrectly handles options with trailing null.

Customer discovered incorrect handling of option (specifically hostname) that cause issues if followed by an RFC-breaking null. It has been discovered (thanks @tmark ) that there was a specific "hack" put in place in ISC DHCP to deal with this exact issue. Unfortunately, broken options are rarely under the control of the operator running the DHCP server...

Anyway, the report (And Thomas' response) can be found in the original customer ticket: https://support.isc.org/Ticket/Display.html?id=14338

This may cause some issues with customer hooks:

processing this option may also break [customer's] IP tracking hook- [The hook] was unable to find lease time (51) because the packet printing is being truncated. Nothing after the host name is being printed.

There is a work-around, but I'll be opening another issue shortly to explain a change that I feel necessary on that as well.

Workaround:

    "hostname-char-set": "[^A-Za-z0-9.-]",
    "hostname-char-replacement": ""

placed in the dhcp-ddns stanza.

See also: #540 (closed)

Edited Apr 08, 2019 by Alan Clegg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking