A userspace application that filters DHCP floods to protect a DHCP server. It uses the Netfilter userspace packet queuing API.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

dhcp_protect.conf 711B

12345678910111213141516171819202122232425262728
  1. # max_pkt_per_interval
  2. # maximum number of packets authorised per time interval.
  3. max_pkt_per_interval=30
  4. # interval
  5. # measurement time interval in seconds.
  6. interval=30
  7. # debug
  8. # enable debugging, warning, very verbose
  9. debug=1
  10. # blacklist_time
  11. # number of seconds this client will be ignored once
  12. # it exceeded the max_pkt_per_interval per interval
  13. blacklist_time=55
  14. # queue number
  15. # refers to the queue-num of iptables.
  16. # -A FORWARD -p udp -m udp --dport 67 -j NFQUEUE --queue-num 67 --queue-bypass
  17. queue=67
  18. # dryrun
  19. # if dryrun is set to 1 it will accept all packets no matter what.
  20. # this can be used for testing, syslog will still display the blacklisting
  21. # actions.
  22. # Set to 0 for production.
  23. dryrun=0