Limit DHCP requests with iptables - problem: Router
dorsey2 at llnl.gov
Wed Aug 29 18:43:31 UTC 2012
We are seeing a lot of induced IO wait due to processing/logging of unwanted DHCP requests from *known* MAC addresses (broken printers, mis-behaving clients, etc.) and were very interested in this thread. After some hopeful testing with iptables based on some clues in this thread, we have abandoned this approach after one of our admins discovered the following article confirming that ISC DHCP uses raw sockets which get processed before iptables, rendering iptables-based solutions useless for these type of problems:
Our limited testing confirms this fact. Other solutions in this space would seem to be external filtering in front of the DHCP servers (possible), fixing broken clients (valiant but impractical at scale), or enhancing dhcpd with the ability to allow for administrator-configured filtering. This last one seems the most attractive for several reasons. Any other possible solution approaches?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users