Advertisement
Guest User

Untitled

a guest
Oct 20th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. // Athena Login Server configuration file.
  2. // Translated by Peter Kieser <pfak@telus.net>
  3.  
  4. // Note: "Comments" are all text on the right side of a double slash "//"
  5. // Whatever text is commented will not be parsed by the servers, and serves
  6. // only as information/reference.
  7.  
  8. // The login server listens on the interface with this IP address.
  9. // NOTE: This allows you to run multiple servers on multiple interfaces
  10. // while using the same ports for each server.
  11. bind_ip: 127.0.0.1
  12.  
  13. // Login Server Port
  14. login_port: 6900
  15.  
  16. //Time-stamp format which will be printed before all messages.
  17. //Can at most be 20 characters long.
  18. //Common formats:
  19. // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
  20. // %H:%M:%S (hour:minute:second, 24 hour format)
  21. // %d/%b/%Y (day/Month/year)
  22. //For full format information, consult the strftime() manual.
  23. //timestamp_format: [%d/%b %H:%M]
  24.  
  25. //If redirected output contains escape sequences (color codes)
  26. stdout_with_ansisequence: no
  27.  
  28. //Makes server output more silent by omitting certain types of messages:
  29. //1: Hide Information messages
  30. //2: Hide Status messages
  31. //4: Hide Notice Messages
  32. //8: Hide Warning Messages
  33. //16: Hide Error and SQL Error messages.
  34. //32: Hide Debug Messages
  35. //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
  36. console_silent: 0
  37.  
  38. // Console Commands
  39. // Allow for console commands to be used on/off
  40. // This prevents usage of >& log.file
  41. console: off
  42.  
  43. // Can you use _M/_F to make new accounts on the server?
  44. new_account: yes
  45.  
  46. //If new_account is enabled, minimum length to userid and passwords should be 4?
  47. //Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs
  48. new_acc_length_limit: yes
  49.  
  50. // Account registration flood protection system
  51. // allowed_regs is the number of registrations allowed in time_allowed (in seconds)
  52. allowed_regs: 1
  53. time_allowed: 10
  54.  
  55. // Log Filename. All operations received by the server are logged in this file.
  56. login_log_filename: log/login.log
  57.  
  58. // To log the login server?
  59. // NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans.
  60. log_login: yes
  61.  
  62. // Indicate how to display date in logs, to players, etc.
  63. date_format: %Y-%m-%d %H:%M:%S
  64.  
  65. // Required account group id to connect to server.
  66. // -1: disabled
  67. // 0 or more: group id
  68. group_id_to_connect: -1
  69.  
  70. // Minimum account group id required to connect to server.
  71. // Will not function if group_id_to_connect config is enabled.
  72. // -1: disabled
  73. // 0 or more: group id
  74. min_group_id_to_connect: -1
  75.  
  76. // Starting additional sec from now for the limited time at creation of account
  77. // -1: new account are created with UNlimited time (default value)
  78. // 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time)
  79. start_limited_time: -1
  80.  
  81. // Check The clientversion set in the clientinfo ?
  82. check_client_version: no
  83.  
  84. // What version we would allow to connect? (if the options above is enabled..)
  85. client_version_to_connect: 20
  86.  
  87. // Store passwords as MD5 hashes instead of plaintext ?
  88. // NOTE: Will not work with clients that use <passwordencrypt>
  89. use_MD5_passwords: no
  90.  
  91. // Ipban features (SQL only)
  92. ipban.enable: yes
  93. //ipban.sql.db_hostname: 127.0.0.1
  94. //ipban.sql.db_port: 3306
  95. //ipban.sql.db_username: ragnarok
  96. //ipban.sql.db_password: ragnarok
  97. //ipban.sql.db_database: ragnarok
  98. //ipban.sql.codepage:
  99. //ipban.sql.ipban_table: ipbanlist
  100. // Dynamic password failure ipban system
  101. ipban.dynamic_pass_failure_ban: yes
  102. ipban.dynamic_pass_failure_ban_interval: 5
  103. ipban.dynamic_pass_failure_ban_limit: 7
  104. ipban.dynamic_pass_failure_ban_duration: 5
  105.  
  106. // Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
  107. // NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
  108. // Players will still be able to login if an ipban entry exists but the expiration time has already passed.
  109. ipban_cleanup_interval: 60
  110.  
  111. // Interval (in minutes) to execute a DNS/IP update. Disabled by default.
  112. // Enable it if your server uses a dynamic IP which changes with time.
  113. //ip_sync_interval: 10
  114.  
  115. // DNS Blacklist Blocking
  116. // If enabled, each incoming connection will be tested against the blacklists
  117. // on the specified dnsbl_servers (comma-separated list)
  118. use_dnsbl: no
  119. dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net
  120. // Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
  121. //==============================================================================
  122. // dnsbl_servers Description
  123. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  124. // bl.blocklist.de IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc.
  125. // ircbl.ahbl.org AHBL (open proxies, compromised machines, comment spammers)
  126. // safe.dnsbl.sorbs.net All zones in dnsbl.sorbs.net except "recent" and "escalations"
  127. // sbl-xbl.spamhaus.org Spamhaus blacklist (spammers, open proxies)
  128. // socks.dnsbl.sorbs.net Open SOCKS proxy servers
  129. // tor.ahbl.org Current tor relay and exit nodes
  130.  
  131. // Which account engine to use.
  132. // 'auto' selects the first engine available (txt, sql, then others)
  133. // (defaults to auto)
  134. account.engine: auto
  135.  
  136. // Account data storage configuration
  137. // SQL
  138. //account.sql.db_hostname: 127.0.0.1
  139. //account.sql.db_port: 3306
  140. //account.sql.db_username: ragnarok
  141. //account.sql.db_password: ragnarok
  142. //account.sql.db_database: ragnarok
  143. //account.sql.codepage:
  144. //account.sql.case_sensitive: no
  145. //account.sql.account_db: login
  146. //account.sql.accreg_db: global_reg_value
  147.  
  148. // Client MD5 hash check
  149. // If turned on, the login server will check if the client's hash matches
  150. // the value below, and will not connect tampered clients.
  151. // Note: see doc\md5_hashcheck.txt for more details.
  152. client_hash_check: off
  153.  
  154. // Client MD5 hashes
  155. // A player can login with a client hash at or below the account group_id.
  156. // Format: group_id, hash
  157. client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5
  158. client_hash: 99, cb1ea78023d337c38e8ba5124e2338ae
  159.  
  160. import: conf/inter_athena.conf
  161. import: conf/import/login_conf.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement