packet_athena.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Athena sockets Configuration file
  2. // translated (davidsiaw)
  3. // Display debug reports (When something goes wrong during the report, the report is saved.)
  4. debug: no
  5. // How long can a socket stall before closing the connection (in seconds)
  6. stall_time: 60
  7. //----- IP Rules Settings -----
  8. // If IP's are checked when connecting.
  9. // This also enables DDoS protection.
  10. enable_ip_rules: yes
  11. // Order of the checks
  12. // deny,allow : Checks deny rules, then allow rules. Allows if no rules match.
  13. // allow,deny : Checks allow rules, then deny rules. Allows if no rules match.
  14. // mutual-failure : Allows only if an allow rule matches and no deny rules match.
  15. // (default is deny,allow)
  16. order: deny,allow
  17. // order: allow,deny
  18. // order: mutual-failture
  19. // IP rules
  20. // allow : Accepts connections from the ip range (even if flagged as DDoS)
  21. // deny : Rejects connections from the ip range
  22. // The rules are processed in order, the first matching rule of each list (allow and deny) is used
  23. // allow: 127.0.0.1
  24. // allow: 192.168.0.0/16
  25. // allow: 10.0.0.0/255.0.0.0
  26. // allow: all
  27. // deny: 127.0.0.1
  28. //---- DDoS Protection Settings ----
  29. // If ddos_count connection request are made within ddos_interval msec, it assumes it's a DDoS attack
  30. // Consecutive attempts interval (msec)
  31. // (default is 3000 msecs, 3 seconds)
  32. ddos_interval: 3000
  33. // Consecutive attempts trigger
  34. // (default is 5 attemps)
  35. ddos_count: 5
  36. // The time interval after which the threat of DDoS is assumed to be gone. (msec)
  37. // After this amount of time, the DDoS restrictions are lifted.
  38. // (default is 600000 msecs, 10 minutes)
  39. ddos_autoreset: 600000
  40. import: conf/import/packet_conf.txt