packet_athena.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. // Maximum allowed size for clients packets in bytes (default: 24576).
  8. // NOTE: To reduce the size of reported packets, lower the values of defines, which
  9. // have been customized, such as MAX_STORAGE, MAX_GUILD_STORAGE or MAX_CART.
  10. // NOTE: Do not modify this setting, unless the client has been modified to support
  11. // larger packets. The client will crash, when it receives larger packets.
  12. socket_max_client_packet: 24576
  13. //----- IP Rules Settings -----
  14. // If IP's are checked when connecting.
  15. // This also enables DDoS protection.
  16. enable_ip_rules: yes
  17. // Order of the checks
  18. // deny,allow : Checks deny rules, then allow rules. Allows if no rules match.
  19. // allow,deny : Checks allow rules, then deny rules. Allows if no rules match.
  20. // mutual-failure : Allows only if an allow rule matches and no deny rules match.
  21. // (default is deny,allow)
  22. order: deny,allow
  23. // order: allow,deny
  24. // order: mutual-failture
  25. // IP rules
  26. // allow : Accepts connections from the ip range (even if flagged as DDoS)
  27. // deny : Rejects connections from the ip range
  28. // The rules are processed in order, the first matching rule of each list (allow and deny) is used
  29. // allow: 127.0.0.1
  30. // allow: 192.168.0.0/16
  31. // allow: 10.0.0.0/255.0.0.0
  32. // allow: all
  33. // deny: 127.0.0.1
  34. //---- DDoS Protection Settings ----
  35. // If ddos_count connection request are made within ddos_interval msec, it assumes it's a DDoS attack
  36. // Consecutive attempts interval (msec)
  37. // (default is 3000 msecs, 3 seconds)
  38. ddos_interval: 3000
  39. // Consecutive attempts trigger
  40. // (default is 5 attemps)
  41. ddos_count: 5
  42. // The time interval after which the threat of DDoS is assumed to be gone. (msec)
  43. // After this amount of time, the DDoS restrictions are lifted.
  44. // (default is 600000 msecs, 10 minutes)
  45. ddos_autoreset: 600000
  46. import: conf/import/packet_conf.txt