Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dhcp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 129
    • Issues 129
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • dhcp
  • Issues
  • #202
Closed
Open
Issue created Aug 15, 2021 by dongyang wang@dongyang.wang

Enhance dhclient to parse multiple instances in Option 17/43/125

name: Feature request
about: Enhance dhclient to parse multiple instances in Option 17/43/125

Some initial questions

  • Are you sure your feature is not already implemented in the latest ISC DHCP version?

Yes

  • Are you sure your feature is not already implemented in the latest Kea version? Perhaps it's a good time to consider migration?

This is for DHCP client, and KEA doesn't support client.

  • Are you sure what you would like to do is not possible using some other mechanisms?

Not sure, maybe there also has other way.

  • Have you discussed your idea on dhcp-users or dhcp-workers mailing lists?

Sorry, I commit to here first. Upload the patch as an attachment. 0001-Enhance-dhclient-to-parse-multiple-instances-in-Opti.patch

Is your feature request related to a problem? Please describe.

When DHCP server sends a single instance in Option 17/43/125 from the dhclient-exit-hooks, dhclient can parse it well. But if DHCP server sends multiple instances, dhclient only can parse the first one.

Describe the solution you'd like

Use a do-while to parse each "struct option_cache-->option" in the oclist.

Describe alternatives you've considered

Additional context

Funding its development

Participating in development Are you willing to participate in the feature development? ISC team always tries to make a feature as generic as possible, so it can be used in wide variety of situations. That means the proposed solution may be a bit different that you initially thought. Are you willing to take part in the design discussions? Are you willing to test an unreleased engineering code?

Yes! It's my pleasure, I'm very glad to do these.

Contacting you How can ISC reach you to discuss this matter further? If you do not specify any means such as e-mail, jabber id or a telephone, we may send you a message on github with questions when we have them.

Maybe here has a typo: >>we may send you a message on **github **with questions when we have them. We are on GitLab now :) Using GitLab can contact me, thanks.

Edited Aug 15, 2021 by dongyang wang
Assignee
Assign to
Time tracking