]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3140] [4134] Finished doc
authorFrancis Dupont <fdupont@isc.org>
Fri, 10 Oct 2025 12:16:34 +0000 (14:16 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 5 Nov 2025 21:46:18 +0000 (22:46 +0100)
changelog_unreleased/4134-add-drop-stats-limit-exceeded [new file with mode: 0644]
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst

diff --git a/changelog_unreleased/4134-add-drop-stats-limit-exceeded b/changelog_unreleased/4134-add-drop-stats-limit-exceeded
new file mode 100644 (file)
index 0000000..445f880
--- /dev/null
@@ -0,0 +1,5 @@
+[func]         fdupont
+       Added "pkt4-limit-exceeded" and "pkt6-limit-exceeded"
+       statistics which are increased when an incoming packet
+       was dropped by the limits hook library.
+       (Gitlab #4134)
index 12de395f4dc28400f25a83ff78bf642313300eba..744de7fcc0141607a6fb298056985b3414f2cf24 100644 (file)
@@ -7426,6 +7426,10 @@ The DHCPv4 server supports the following statistics:
    |                                                    |                | exception was thrown during        |
    |                                                    |                | processing.                        |
    +----------------------------------------------------+----------------+------------------------------------+
+   | pkt4-limit-exceeded                                | integer        | Number of incoming packets that    |
+   |                                                    |                | were dropped by the ``limits``     |
+   |                                                    |                | hook library.                      |
+   +----------------------------------------------------+----------------+------------------------------------+
    | pkt4-receive-drop                                  | integer        | Number of incoming packets that    |
    |                                                    |                | were dropped. The exact reason for |
    |                                                    |                | dropping packets is logged, but    |
@@ -7830,6 +7834,7 @@ a second counter detailing the drop cause:
 - ``pkt4-service-disabled`` - DHCP service is disabled
 
 - ``pkt4-parse-failed`` - packet parsing raised a fatal error
+- ``pkt4-limit-exceeded`` - dropped by the limits (:ref:``hooks-limits``) hook library
 
 - ``pkt4-queue-full`` - parked packet in a queue which became full
 
index 51bc634500b20e415ade95a158c35a34c0719bbe..bcd6f5d893390aa2ae9d25e513c6c07ec29fcda6 100644 (file)
@@ -7001,6 +7001,10 @@ The DHCPv6 server supports the following statistics:
    |                                                   |                | exception was thrown during        |
    |                                                   |                | processing.                        |
    +---------------------------------------------------+----------------+------------------------------------+
+   | pkt6-limit-exceeded                               | integer        | Number of incoming packets that    |
+   |                                                   |                | were dropped by the ``limits``     |
+   |                                                   |                | hook library.                      |
+   +---------------------------------------------------+----------------+------------------------------------+
    | pkt6-solicit-received                             | integer        | Number of SOLICIT packets          |
    |                                                   |                | received. This statistic is        |
    |                                                   |                | expected to grow; its increase     |
@@ -7725,6 +7729,7 @@ a second counter detailing the drop cause:
 - ``pkt6-service-disabled`` - DHCP service is disabled
 
 - ``pkt6-parse-failed`` - packet parsing raised a fatal error
+- ``pkt6-limit-exceeded`` - dropped by the limits (:ref:``hooks-limits``) hook library
 
 - ``pkt6-queue-full`` - parked packet in a queue which became full