statistics which are increased when an incoming packet
was dropped because an unexpected exception was thrown
during processing.
- (Gitlab #3140, #4157, #4146, #4127, #4126, #4133)
+
+ Added "pkt4-limit-exceeded" and "pkt6-limit-exceeded"
+ statistics which are increased when an incoming packet
+ was dropped by the limits hook library.
+ (Gitlab #3140, #4157, #4146, #4127, #4126, #4133, #4134)
+++ /dev/null
-[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)
- ``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
- ``pkt4-rfc-violation`` - RFC violation (i.e. protocol specs instruct to drop them)
- ``pkt4-processing-failed`` - git an unexpected exception during processing
+- ``pkt4-limit-exceeded`` - dropped by the limits (:ref:`hooks-limits`)
+ hook library
+
.. note::
The pool ID can be configured on each pool by explicitly setting the ``pool-id``
| | | This statistic is expected to grow |
| | | rapidly. |
+---------------------------------------------------+----------------+------------------------------------+
- | pkt6-receive-drop | integer | Number of incoming packets that |
- | | | were dropped. The exact reason for |
- | | | dropping packets is logged, but |
- | | | the most common reasons may be |
- | | | that an unacceptable or |
- | | | not-supported packet type is |
- | | | received, direct responses are |
- | | | forbidden, the server ID sent by |
- | | | the client does not match the |
- | | | server's server ID, or the packet |
- | | | is malformed. |
- +---------------------------------------------------+----------------+------------------------------------+
| pkt6-service-disabled | integer | Number of incoming packets that |
| | | were dropped when the DHCP service |
| | | was disabled. |
| | | were dropped by the ``limits`` |
| | | hook library. |
+---------------------------------------------------+----------------+------------------------------------+
+ | pkt6-receive-drop | integer | Number of incoming packets that |
+ | | | were dropped. The exact reason for |
+ | | | dropping packets is logged, but |
+ | | | the most common reasons may be |
+ | | | that an unacceptable or |
+ | | | not-supported packet type is |
+ | | | received, direct responses are |
+ | | | forbidden, the server ID sent by |
+ | | | the client does not match the |
+ | | | server's server ID, or the packet |
+ | | | is malformed. |
+ +---------------------------------------------------+----------------+------------------------------------+
| pkt6-solicit-received | integer | Number of SOLICIT packets |
| | | received. This statistic is |
| | | expected to grow; its increase |
- ``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
- ``pkt6-rfc-violation`` - RFC violation (i.e. protocol specs instruct to drop them)
- ``pkt6-processing-failed`` - git an unexpected exception during processing
+- ``pkt6-limit-exceeded`` - dropped by the limits (:ref:`hooks-limits`)
+ hook library
+
.. note::
The pool ID can be configured on each pool by explicitly setting the ``pool-id``
DHCP4_HOOK_SUBNET4_SELECT_PARKING_LOT_FULL)
.arg(limit)
.arg(query->getLabel());
- isc::stats::StatsMgr::instance().addValue("pkt4-queue-full",
- static_cast<int64_t>(1));
- isc::stats::StatsMgr::instance().addValue("pkt4-receive-drop",
- static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt4-queue-full",
+ static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt4-receive-drop",
+ static_cast<int64_t>(1));
return (ConstSubnet4Ptr());
}
DHCP4_HOOK_SUBNET4_SELECT_4O6_PARKING_LOT_FULL)
.arg(limit)
.arg(query->getLabel());
- isc::stats::StatsMgr::instance().addValue("pkt4-queue-full",
- static_cast<int64_t>(1));
- isc::stats::StatsMgr::instance().addValue("pkt4-receive-drop",
- static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt4-queue-full",
+ static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt4-receive-drop",
+ static_cast<int64_t>(1));
return (ConstSubnet4Ptr());
}
DHCP4_HOOK_SUBNET6_SELECT_PARKING_LOT_FULL)
.arg(limit)
.arg(question->getLabel());
- isc::stats::StatsMgr::instance().addValue("pkt6-queue-full",
- static_cast<int64_t>(1));
- isc::stats::StatsMgr::instance().addValue("pkt6-receive-drop",
- static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt6-queue-full",
+ static_cast<int64_t>(1));
+ StatsMgr::instance().addValue("pkt6-receive-drop",
+ static_cast<int64_t>(1));
return (ConstSubnet6Ptr());
}