|
|
ISC maintains the list of ISC hooks in the [Kea ARM chapter on hooks](https://kea.readthedocs.io/en/latest/arm/hooks.html#available-hooks-libraries) (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. |
|
|
|
| kea_python | MPL-2.0 | Dave John Cole | https://github.com/davejohncole/kea_python | Embed Python in the Kea DHCP server. |
|
|
|
|
|
|
|
|
|
You may want also look [on github](https://github.com/search?q=kea+hook&type=Repositories). At the moment, [gitlab](https://gitlab.com/search?utf8=%E2%9C%93&snippets=false&scope=&repository_ref=&search=kea+hooks) doesn't seem to host any. |