option 53 and thus has no DHCP message type. The most likely explanation is
that it was BOOTP packet.
+% DHCP4_PACKET_DROP_0010 %1: Packet dropped, because it was part of built-in class DROP
+This debug message is printed when a packet was classified and the classification
+determined that it belong to a built-in class DROP. This class has a special
+meaning. It instructs Kea to drop the packet. If you feel that packet should
+not been dropped, please look at your client class DROP definition.
+
% DHCP4_PACKET_NAK_0001 %1: failed to select a subnet for incoming packet, src %2, type %3
This error message is output when a packet was received from a subnet
for which the DHCPv4 server has not been configured. The most probable
callout_handle->getArgument("query4", query);
}
+ // If packet belongs to built-in class DROP, let's drop it.
+ if (query->inClass("DROP")) {
+ LOG_INFO(bad_packet4_logger, DHCP4_PACKET_DROP_0010).arg(query->getLabel());
+ return;
+ }
+
AllocEngine::ClientContext4Ptr ctx;
try {
specifies the client and transaction identification information, the
second argument specifies packet type.
+% DHCP6_PACKET_DROP_CLASS %1: dropping packet, because it belong to class 'DROP'
+This info message is printed when a packet was classified and the classification
+determined that it belong to a built-in class DROP. This class has a special
+meaning. It instructs Kea to drop the packet. If you feel that packet should
+not been dropped, please look at your client class DROP definition.
+
% DHCP6_PACKET_OPTIONS_SKIPPED An error upacking an option, caused subsequent options to be skipped: %1
A debug message issued when an option failed to unpack correctly, making it
impossible to unpack the remaining options in the packet. The server will
return;
}
+ // If packet belongs to built-in class DROP, let's drop it.
+ if (query->inClass("DROP")) {
+ LOG_INFO(bad_packet6_logger, DHCP6_PACKET_DROP_CLASS).arg(query->getLabel());
+ return;
+ }
+
// Park point here.
try {