packet_athena.conf 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Athena sockets Configuration file
  2. // translated (davidsiaw)
  3. // Display debug reports (iWhen 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. // Do we check IP's before allowing incoming connections?
  9. enable_ip_rules: yes
  10. // Decide the order of access restriction (Same as apache?)
  11. // deny,allow Is the standard
  12. order: deny,allow
  13. // order: allow,deny
  14. // order: mutual-failture
  15. // The IP list which it uses to access controls
  16. // allow : Allows access regardless of permissions
  17. // deny : Completely disallow
  18. // Žw’è–³‚µ : If the permission check encounters mutual-failure(whatever that means) it will disallow access
  19. // allow: 127.0.0.1
  20. // allow: 192.168.0.0/16
  21. // allow: 10.0.0.0/255.0.0.0
  22. allow: all
  23. // deny: 127.0.0.1
  24. //---- Ddos Protection Settings ----
  25. // If there is a connection request within ddos_interval msec for ddos_count number of times, it will assume it is a ddos attack
  26. // Consecutive intervals(msec)
  27. ddos_interval: 3000
  28. // Connection frequency
  29. ddos_count: 5
  30. // The time interval after which the threat of ddos is assumed to be gone
  31. // After this amount of time, the ddos restrictions are lifted.
  32. ddos_autoreset: 600000
  33. //import: conf/import/packet_conf.txt