mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[#2422] add limits to the list of hook libraries in the ARM
This commit is contained in:
@@ -28,9 +28,17 @@ it or the hook library configuration.
|
|||||||
There are two ways to configure which packets get limited. One is through the client classes that are
|
There are two ways to configure which packets get limited. One is through the client classes that are
|
||||||
initially assigned to the packet. In this case, the limit is configured in the user context
|
initially assigned to the packet. In this case, the limit is configured in the user context
|
||||||
in the client class definition. Class rate limits are checked early in packet processing cycle
|
in the client class definition. Class rate limits are checked early in packet processing cycle
|
||||||
and is thus limited to those classes which are assigned to the packet via test expression and that
|
and are thus limited to those classes which are assigned to the packet via test expression, that do
|
||||||
do not depend on host reservations, the special "BOOTP" or "KNOWN" classes, and is not marked with
|
not depend on host reservations, the special "BOOTP" or "KNOWN" classes, and that are not marked
|
||||||
"only-if-required".
|
with "only-if-required".
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The limits hook library uses the name to identify a client class and the ID to identify a subnet.
|
||||||
|
Changing a test expression in a client class or the network range of a subnet while leaving the
|
||||||
|
name, or the ID respectively, unchanged will not reset the limit for the respective client class
|
||||||
|
or subnet and what counted towards the limit prior to the change, will continue to take effect.
|
||||||
|
To start over, consider changing the client class name or the subnet ID.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@@ -466,6 +466,11 @@ loaded by the correct process per the table below.
|
|||||||
| | customers |update aspects such as generating hostnames via expressions |
|
| | customers |update aspects such as generating hostnames via expressions |
|
||||||
| | |and skipping DDNS updates for select clients. |
|
| | |and skipping DDNS updates for select clients. |
|
||||||
+-----------------+---------------+------------------------------------------------------------+
|
+-----------------+---------------+------------------------------------------------------------+
|
||||||
|
| Limits | ISC support | Kea servers ``kea-dhcp4`` and ``kea-dhcp6`` can use this |
|
||||||
|
| | customers | hook library to apply a limit to the rate at which packets |
|
||||||
|
| | | receive a response. The limit can be applied |
|
||||||
|
| | | per client class or per subnet. |
|
||||||
|
+-----------------+---------------+------------------------------------------------------------+
|
||||||
|
|
||||||
ISC hopes to see more hook libraries become available as time
|
ISC hopes to see more hook libraries become available as time
|
||||||
progresses, developed both internally and externally. Since this list
|
progresses, developed both internally and externally. Since this list
|
||||||
|
Reference in New Issue
Block a user