Skip to content

Commit 785efcc

Browse files
author
Razvan Becheriu
committed
[#3333] move hook libraries to open source
1 parent 331d0d1 commit 785efcc

File tree

535 files changed

+168632
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

535 files changed

+168632
-200
lines changed

AUTHORS

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Primary developers:
77
host reservation, MAC extraction in DHCPv6,
88
statistics manager, kea-shell, netconf, flex/bison
99
parsers, flex-id, documentation, config backend,
10-
ddns_tuning, CI, documentation)
10+
ddns_tuning, CI, documentation, forensic logging,
11+
host commands)
1112
- Marcin Siodelski (DHCPv4, DHCPv6 components, options handling, perfdhcp,
1213
host reservation, lease file cleanup, lease expiration,
1314
control agent, shared networks, high availability,
@@ -47,6 +48,45 @@ Former developers who are no longer active:
4748
Main area of work mentioned in parentheses. The lists are in a roughly
4849
chronological order.
4950

51+
Forensic log (forensic_log)
52+
- Thomas Markwalder, Tomek Mrugalski, Francis Dupont, Marcin Siodelski, Razvan Becheriu
53+
54+
Flex-id (flex_id)
55+
- Tomek Mrugalski, Francis Dupont
56+
57+
Host commands (host_cmds)
58+
- Tomek Mrugalski, Francis Dupont
59+
60+
Subnet commands (subnet_cmds)
61+
- Marcin Siodelski, Thomas Markwalder, Tomek Mrugalski, Francis Dupont
62+
63+
RADIUS (radius)
64+
- Francis Dupont, Andrei Pavel, Razvan Becheriu
65+
66+
Host Caching (host_cache)
67+
- Francis Dupont
68+
69+
Class commands (class_cmds)
70+
- Marcin Siodelski, Tomek Mrugalski, Francis Dupont
71+
72+
Config Backend Commands (cb_cmds)
73+
- Marcin Siodelski, Francis Dupont
74+
75+
Lease Query (lease_query)
76+
- Thomas Markwalder
77+
78+
GSS-TSIG (gss_tsig)
79+
- Francis Dupont, Razvan Becheriu
80+
81+
DDNS-Tuning (ddns_tuning)
82+
- Tomek Mrugalski, Thomas Markwalder
83+
84+
Lease Limiting, Rate Limiting (limits)
85+
- Andrei Pavel
86+
87+
Role Based Access Control (rbac)
88+
- Francis Dupont
89+
5090
Kea uses parts of the code of the now-defunct BIND 10 project. The following
5191
people contributed to BIND 10 code:
5292

configure.ac

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,30 +1611,72 @@ AC_CONFIG_FILES([src/bin/shell/tests/tls_dhcp4_process_tests.sh],
16111611
AC_CONFIG_FILES([src/bin/shell/tests/tls_dhcp6_process_tests.sh],
16121612
[chmod +x src/bin/shell/tests/tls_dhcp6_process_tests.sh])
16131613
AC_CONFIG_FILES([src/hooks/Makefile])
1614+
AC_CONFIG_FILES([src/hooks/d2/Makefile])
1615+
AC_CONFIG_FILES([src/hooks/d2/gss_tsig/Makefile])
1616+
AC_CONFIG_FILES([src/hooks/d2/gss_tsig/testutils/Makefile])
1617+
AC_CONFIG_FILES([src/hooks/d2/gss_tsig/libloadtests/Makefile])
1618+
AC_CONFIG_FILES([src/hooks/d2/gss_tsig/tests/Makefile])
16141619
AC_CONFIG_FILES([src/hooks/dhcp/Makefile])
16151620
AC_CONFIG_FILES([src/hooks/dhcp/bootp/Makefile])
16161621
AC_CONFIG_FILES([src/hooks/dhcp/bootp/libloadtests/Makefile])
16171622
AC_CONFIG_FILES([src/hooks/dhcp/bootp/tests/Makefile])
1623+
AC_CONFIG_FILES([src/hooks/dhcp/class_cmds/Makefile])
1624+
AC_CONFIG_FILES([src/hooks/dhcp/class_cmds/libloadtests/Makefile])
1625+
AC_CONFIG_FILES([src/hooks/dhcp/class_cmds/tests/Makefile])
1626+
AC_CONFIG_FILES([src/hooks/dhcp/ddns_tuning/Makefile])
1627+
AC_CONFIG_FILES([src/hooks/dhcp/ddns_tuning/libloadtests/Makefile])
1628+
AC_CONFIG_FILES([src/hooks/dhcp/ddns_tuning/tests/Makefile])
1629+
AC_CONFIG_FILES([src/hooks/dhcp/flex_id/Makefile])
1630+
AC_CONFIG_FILES([src/hooks/dhcp/flex_id/libloadtests/Makefile])
1631+
AC_CONFIG_FILES([src/hooks/dhcp/flex_id/tests/Makefile])
16181632
AC_CONFIG_FILES([src/hooks/dhcp/flex_option/Makefile])
16191633
AC_CONFIG_FILES([src/hooks/dhcp/flex_option/libloadtests/Makefile])
16201634
AC_CONFIG_FILES([src/hooks/dhcp/flex_option/tests/Makefile])
1635+
AC_CONFIG_FILES([src/hooks/dhcp/forensic_log/Makefile])
1636+
AC_CONFIG_FILES([src/hooks/dhcp/forensic_log/libloadtests/Makefile])
1637+
AC_CONFIG_FILES([src/hooks/dhcp/forensic_log/tests/Makefile])
1638+
AC_CONFIG_FILES([src/hooks/dhcp/forensic_log/tests/forensic_prerotate_test.sh],
1639+
[chmod +x src/hooks/dhcp/forensic_log/tests/forensic_prerotate_test.sh])
1640+
AC_CONFIG_FILES([src/hooks/dhcp/forensic_log/tests/forensic_postrotate_test.sh],
1641+
[chmod +x src/hooks/dhcp/forensic_log/tests/forensic_postrotate_test.sh])
16211642
AC_CONFIG_FILES([src/hooks/dhcp/high_availability/Makefile])
16221643
AC_CONFIG_FILES([src/hooks/dhcp/high_availability/libloadtests/Makefile])
16231644
AC_CONFIG_FILES([src/hooks/dhcp/high_availability/tests/Makefile])
1645+
AC_CONFIG_FILES([src/hooks/dhcp/host_cache/Makefile])
1646+
AC_CONFIG_FILES([src/hooks/dhcp/host_cache/libloadtests/Makefile])
1647+
AC_CONFIG_FILES([src/hooks/dhcp/host_cache/tests/Makefile])
1648+
AC_CONFIG_FILES([src/hooks/dhcp/host_cmds/Makefile])
1649+
AC_CONFIG_FILES([src/hooks/dhcp/host_cmds/libloadtests/Makefile])
1650+
AC_CONFIG_FILES([src/hooks/dhcp/host_cmds/tests/Makefile])
16241651
AC_CONFIG_FILES([src/hooks/dhcp/lease_cmds/Makefile])
16251652
AC_CONFIG_FILES([src/hooks/dhcp/lease_cmds/libloadtests/Makefile])
16261653
AC_CONFIG_FILES([src/hooks/dhcp/lease_cmds/tests/Makefile])
1654+
AC_CONFIG_FILES([src/hooks/dhcp/lease_query/Makefile])
1655+
AC_CONFIG_FILES([src/hooks/dhcp/lease_query/libloadtests/Makefile])
1656+
AC_CONFIG_FILES([src/hooks/dhcp/lease_query/tests/Makefile])
1657+
AC_CONFIG_FILES([src/hooks/dhcp/limits/Makefile])
1658+
AC_CONFIG_FILES([src/hooks/dhcp/limits/libloadtests/Makefile])
1659+
AC_CONFIG_FILES([src/hooks/dhcp/limits/tests/Makefile])
16271660
AC_CONFIG_FILES([src/hooks/dhcp/mysql/Makefile])
16281661
AC_CONFIG_FILES([src/hooks/dhcp/mysql/libloadtests/Makefile])
16291662
AC_CONFIG_FILES([src/hooks/dhcp/mysql/tests/Makefile])
1663+
AC_CONFIG_FILES([src/hooks/dhcp/ping_check/Makefile])
1664+
AC_CONFIG_FILES([src/hooks/dhcp/ping_check/libloadtests/Makefile])
1665+
AC_CONFIG_FILES([src/hooks/dhcp/ping_check/tests/Makefile])
16301666
AC_CONFIG_FILES([src/hooks/dhcp/pgsql/Makefile])
16311667
AC_CONFIG_FILES([src/hooks/dhcp/pgsql/libloadtests/Makefile])
16321668
AC_CONFIG_FILES([src/hooks/dhcp/pgsql/tests/Makefile])
1669+
AC_CONFIG_FILES([src/hooks/dhcp/radius/Makefile])
1670+
AC_CONFIG_FILES([src/hooks/dhcp/radius/libloadtests/Makefile])
1671+
AC_CONFIG_FILES([src/hooks/dhcp/radius/tests/Makefile])
16331672
AC_CONFIG_FILES([src/hooks/dhcp/run_script/Makefile])
16341673
AC_CONFIG_FILES([src/hooks/dhcp/run_script/libloadtests/Makefile])
16351674
AC_CONFIG_FILES([src/hooks/dhcp/run_script/tests/Makefile])
16361675
AC_CONFIG_FILES([src/hooks/dhcp/run_script/tests/run_script_test.sh],
16371676
[chmod +x src/hooks/dhcp/run_script/tests/run_script_test.sh])
1677+
AC_CONFIG_FILES([src/hooks/dhcp/subnet_cmds/Makefile])
1678+
AC_CONFIG_FILES([src/hooks/dhcp/subnet_cmds/libloadtests/Makefile])
1679+
AC_CONFIG_FILES([src/hooks/dhcp/subnet_cmds/tests/Makefile])
16381680
AC_CONFIG_FILES([src/hooks/dhcp/stat_cmds/Makefile])
16391681
AC_CONFIG_FILES([src/hooks/dhcp/stat_cmds/libloadtests/Makefile])
16401682
AC_CONFIG_FILES([src/hooks/dhcp/stat_cmds/tests/Makefile])

doc/examples/kea4/hooks-radius.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// parameters available.
66
//
77
// To use this configuration file, you need to have both RADIUS and
8-
// Host Cache hooks. These are currently available to support customers only.
8+
// Host Cache hooks.
99
//
1010
// clients get a wine name (option AOP code 250) divided into red and white.
1111
// Expensive brands have a host entry, i.e. a reserved address.

doc/sphinx/arm/ext-gss-tsig.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Windows servers, have chosen to adopt a more complex GSS-TSIG approach that offe
1515
additional capabilities, such as using negotiated dynamic keys.
1616

1717
Kea supports GSS-TSIG to protect DNS updates sent by
18-
the Kea DHCP-DDNS (D2) server in a premium hook, called :ischooklib:`libddns_gss_tsig.so`.
18+
the Kea DHCP-DDNS (D2) server in a hook, called :ischooklib:`libddns_gss_tsig.so`.
1919

2020
GSS-TSIG is defined in `RFC 3645 <https://tools.ietf.org/html/rfc3645>`__.
2121
The GSS-TSIG protocol itself is an implementation of generic GSS-API v2
@@ -67,9 +67,7 @@ GSS-TSIG Compilation
6767
The following procedure was tested on Ubuntu 20.10 and 21.04. A similar
6868
approach can be applied to other systems.
6969

70-
1. Obtain the Kea sources and premium packages, extract the Kea sources,
71-
and then extract the premium packages into the ``premium/`` directory within the Kea
72-
source tree.
70+
1. Obtain the Kea sources, extract the Kea sources.
7371

7472
2. Run autoreconf:
7573

@@ -117,7 +115,7 @@ detection, similar to this:
117115
available.
118116

119117
7. After compilation, :ischooklib:`libddns_gss_tsig.so` is available in the
120-
``premium/src/hooks/d2/gss_tsig`` directory. It can be loaded by :iscman:`kea-dhcp-ddns`.
118+
``src/hooks/d2/gss_tsig`` directory. It can be loaded by :iscman:`kea-dhcp-ddns`.
121119

122120
:ischooklib:`libddns_gss_tsig.so` was developed using the MIT Kerberos 5 implementation, but
123121
Heimdal is also supported. Note that Heimdal is picky about

doc/sphinx/arm/hooks-class-cmds.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ list the client classes configured for a given server.
1212

1313
.. note::
1414

15-
:ischooklib:`libdhcp_class_cmds.so` is available only to ISC customers with
16-
a paid support contract. For more information on subscription options,
17-
please complete the form at https://www.isc.org/contact.
15+
:ischooklib:`libdhcp_class_cmds.so` is part of the open source code and is
16+
available to every Kea user.
17+
It was previously available only to ISC customers with a paid support contract.
1818

1919
.. note::
2020

doc/sphinx/arm/hooks-ddns-tuning.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ performing DDNS updates for select clients.
1010

1111
.. note::
1212

13-
:ischooklib:`libdhcp_ddns_tuning.so` is available as a premium
14-
hook library from ISC. Please visit https://www.isc.org/shop/ to purchase
15-
the premium hook libraries, or contact us at https://www.isc.org/contact for
16-
more information.
13+
:ischooklib:`libdhcp_ddns_tuning.so` is part of the open source code and is
14+
available to every Kea user.
15+
It was previously available only to ISC customers with a paid support contract.
1716

1817
The library, which was added in Kea 2.1.5, can be loaded by the :iscman:`kea-dhcp4`
1918
and :iscman:`kea-dhcp6` daemons by adding it to the ``hooks-libraries`` element of the

doc/sphinx/arm/hooks-flex-id.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ scenarios are addressed by the Flexible Identifiers hook application.
1616

1717
.. note::
1818

19-
:ischooklib:`libdhcp_flex_id.so` is available as a premium
20-
hook library from ISC. Please visit https://www.isc.org/shop/ to purchase
21-
the premium hook libraries, or contact us at https://www.isc.org/contact for
22-
more information.
19+
:ischooklib:`libdhcp_flex_id.so` is part of the open source code and is
20+
available to every Kea user.
21+
It was previously available only to ISC customers with a paid support contract.
2322

2423
.. note::
2524

doc/sphinx/arm/hooks-gss-tsig.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ please see :ref:`gss-tsig`.
1010

1111
.. note::
1212

13-
:ischooklib:`libddns_gss_tsig.so` is available only to ISC customers with
14-
a paid support contract. For more information on subscription options,
15-
please complete the form at https://www.isc.org/contact.
13+
:ischooklib:`libddns_gss_tsig.so` is part of the open source code and is
14+
available to every Kea user.
15+
It was previously available only to ISC customers with a paid support contract.

doc/sphinx/arm/hooks-ha.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ server.
1111
.. note::
1212

1313
:ischooklib:`libdhcp_ha.so` is part of the open source code and is
14-
available to every Kea user. It was previously available only to ISC
15-
customers with a paid support contract.
14+
available to every Kea user.
15+
It was previously available only to ISC customers with a paid support contract.
1616

1717
.. note::
1818

doc/sphinx/arm/hooks-host-cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ information in the database.
1414

1515
.. note::
1616

17-
:ischooklib:`libdhcp_host_cache.so` is available only to ISC customers with
18-
a paid support contract. For more information on subscription options,
19-
please complete the form at https://www.isc.org/contact.
17+
:ischooklib:`libdhcp_host_cache.so` is part of the open source code and is
18+
available to every Kea user.
19+
It was previously available only to ISC customers with a paid support contract.
2020

2121
.. note::
2222

doc/sphinx/arm/hooks-host-cmds.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ interface).
1616

1717
.. note::
1818

19-
:ischooklib:`libdhcp_host_cmds.so` is available as a premium
20-
hook library from ISC. Please visit https://www.isc.org/shop/ to purchase
21-
the premium hook libraries, or contact us at https://www.isc.org/contact for
22-
more information.
19+
:ischooklib:`libdhcp_host_cmds.so` is part of the open source code and is
20+
available to every Kea user.
21+
It was previously available only to ISC customers with a paid support contract.
2322

2423
.. note::
2524

doc/sphinx/arm/hooks-lease-query.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Leasequery as described in (`RFC 5007 <https://tools.ietf.org/html/rfc5007>`__).
1010

1111
.. note::
1212

13-
:ischooklib:`libdhcp_lease_query.so` is available only to ISC customers with
14-
a paid support contract. For more information on subscription options,
15-
please complete the form at https://www.isc.org/contact.
13+
:ischooklib:`libdhcp_lease_query.so` is part of the open source code and is
14+
available to every Kea user.
15+
It was previously available only to ISC customers with a paid support contract.
1616

1717
.. note::
1818

doc/sphinx/arm/hooks-legal-log.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ lease events into a set of log files.
1010

1111
.. note::
1212

13-
:ischooklib:`libdhcp_legal_log.so` is available as a premium
14-
hook library from ISC. Please visit https://www.isc.org/shop/ to purchase
15-
the premium hook libraries, or contact us at https://www.isc.org/contact for
16-
more information.
13+
:ischooklib:`libdhcp_legal_log.so` is part of the open source code and is
14+
available to every Kea user.
15+
It was previously available only to ISC customers with a paid support contract.
16+
1717

1818
.. note::
1919

doc/sphinx/arm/hooks-limits.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ This hook library enables two types of limits:
1111

1212
.. note::
1313

14-
:ischooklib:`libdhcp_limits.so` is available only to ISC customers with
15-
a paid support contract. For more information on subscription options,
16-
please complete the form at https://www.isc.org/contact.
14+
:ischooklib:`libdhcp_limits.so` is part of the open source code and is
15+
available to every Kea user.
16+
It was previously available only to ISC customers with a paid support contract.
1717

1818
.. _hooks-limits-configuration:
1919

doc/sphinx/arm/hooks-ping-check.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ to a behavior available in ISC DHCP and one suggested in `RFC
1111

1212
.. note::
1313

14-
:ischooklib:`libdhcp_ping_check.so` is available only to ISC customers
15-
with a paid support contract. For more information on subscription options,
16-
please complete the form at https://www.isc.org/contact.
14+
:ischooklib:`libdhcp_ping_check.so` is part of the open source code and is
15+
available to every Kea user.
16+
It was previously available only to ISC customers with a paid support contract.
1717

1818
Overview
1919
~~~~~~~~

doc/sphinx/arm/hooks-radius.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ through the accounting service. For details on RADIUS in Kea, please see
1111

1212
.. note::
1313

14-
:ischooklib:`libdhcp_radius.so` is available only to ISC customers with
15-
a paid support contract. For more information on subscription options,
16-
please complete the form at https://www.isc.org/contact.
14+
:ischooklib:`libdhcp_radius.so` is part of the open source code and is
15+
available to every Kea user.
16+
It was previously available only to ISC customers with a paid support contract.

doc/sphinx/arm/hooks-subnet-cmds.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ shared networks) is also provided.
1616

1717
.. note::
1818

19-
:ischooklib:`libdhcp_subnet_cmds.so` is available only to ISC customers with
20-
a paid support contract. For more information on subscription options,
21-
please complete the form at https://www.isc.org/contact.
19+
:ischooklib:`libdhcp_subnet_cmds.so` is part of the open source code and is
20+
available to every Kea user.
21+
It was previously available only to ISC customers with a paid support contract.
2222

2323
.. note::
2424

0 commit comments

Comments
 (0)