Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 514
    • Issues 514
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 49
    • Merge requests 49
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Wiki
  • Hooks available

Last edited by Tomek Mrugalski Apr 12, 2022
Page history

Hooks available

ISC maintains the list of ISC hooks in the Kea ARM chapter on hooks (make sure you look at the documentation that matches your version).

The following hooks are made available by various third parties. Please edit this page if you're aware of any other hooks or ping someone from the ISC team to update it.

Name License Author Link Description
Netbox kea-dhcp updater Apache 2.0 Brian Candler https://github.com/candlerb/netbox-webhook-kea-dhcp Creates static reservations for addresses in NetBox
python3 MPL-2.0 Dave Cole https://github.com/davejohncole/kea_python Python3 interface for Kea hooks
options_to_options GPLv3 Ola Thoresen https://github.com/Olen/kea_hooks This hook takes the value from different options in a DHCPREQUEST and inserts them into (other) options in a DHCPREPLY. Example usage is to take the value from an Option 82 string, and insert it in an Option 43 sub option, to direct the dhcp client to the correct config file in an auto provisioning scenario.
pxe-replace4 BSD 3 clause Michael Gugino ​https://github.com/michaelgugino/kea-pxe-replace-mod This module utilizes hooks api to replace pxe options (siaddr, option 66, 67) via web request.
runscript MPL-2.0 Baptiste Jonglez ​https://github.com/zorun/kea-hook-runscript Hook that allows to run an external script at all hook points provided by Kea, passing information to the script as environment variables.
mac2ipv6 MIT serverzone https://github.com/serverzone/Kea-dhcp-hooks Generates and returns the same address as a device would have generated via SLAAC. A use case for this is to return a stateful like address in a stateless network. In our case, UEFI requires a stateful DHCPv6 response, but we don't want to have stateful DHCPv6 it our network.
userchk-ldap MPL-2.0 CVUT https://github.com/cvut/kea-hook-userchk-ldap This is a hook for the Kea DHCP server that provides a means to tag DHCP packets with a client class based on registration in an external LDAP database.
hook-opt82 ? Alexander Dubnitskiy https://github.com/pilotsanya/kea-hook-opt82 The hook changes option 61 from option 82 (ip-port/mac-port) and generates flex-id from option 82.
dynamic-lifetime MIT Shuta Eguchi https://github.com/egs33/kea-hook-dynamic-lifetime Kea dhcp hook for setting lifetime by IP address and MAC address
onelease-dhcp4 MPL-2.0 Petr Ospalý https://github.com/ospalax/addon-kea-hooks This is quite a simple hook to assign ONE lease for a client based on its HW (MAC) address. It will work properly only if clients have HW addresses generated in a particular way: the last four bytes represent an IPv4 address. Note: the hook is in src/hooks
replace-serial Apache-2.0 Arnoud Vermeer https://github.com/funzoneq/kea-hook-replace-serial Minimalistic Kea Hook to replace @SERIALNUMBER@ with option[43][4]
DHCP fingerprint Apache-2.0 Munroe Sollog https://github.com/mroe1234/DHCPfingerprintHook augments the logging of Kea to include a log line with the options a client requests in a DHCPREQUEST packet. This information can be used to fingerprint a device or operating system.

You may want also look on github. At the moment, gitlab doesn't seem to host any.

Clone repository

🏠 Homepage

📖 Docs

📦 Download: sources, packages, git

🚚 Release Notes

🛠 Hooks

🐛 Known Issues: serious, all issues

🗒 Mailing Lists: kea-users, kea-dev

🌍 Community Developed Tools


Dev corner

Designs

Gitlab Howto

Coding Guidelines

Release Process

Developer's Guide

IDE Tips


🔍 All Wiki Pages