From be522c7ff56c2006287f0ea8988e6d4310eca873 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 10 Oct 2025 14:16:34 +0200 Subject: [PATCH] [#3140] [4134] Finished doc --- changelog_unreleased/4134-add-drop-stats-limit-exceeded | 5 +++++ doc/sphinx/arm/dhcp4-srv.rst | 5 +++++ doc/sphinx/arm/dhcp6-srv.rst | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 changelog_unreleased/4134-add-drop-stats-limit-exceeded diff --git a/changelog_unreleased/4134-add-drop-stats-limit-exceeded b/changelog_unreleased/4134-add-drop-stats-limit-exceeded new file mode 100644 index 0000000000..445f8805b9 --- /dev/null +++ b/changelog_unreleased/4134-add-drop-stats-limit-exceeded @@ -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) diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index 12de395f4d..744de7fcc0 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -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 diff --git a/doc/sphinx/arm/dhcp6-srv.rst b/doc/sphinx/arm/dhcp6-srv.rst index 51bc634500..bcd6f5d893 100644 --- a/doc/sphinx/arm/dhcp6-srv.rst +++ b/doc/sphinx/arm/dhcp6-srv.rst @@ -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 -- 2.47.3