summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-22 10:19:44 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-22 10:19:44 +0000
commit4283f7b042db854c4371107918bb64f94498953e (patch)
treeda064ff323d753455596dddb14587893882fbe03 /conf
parentda17b9b18b29c9dda20ddcd52cc9d6f1c79ae72f (diff)
downloadhercules-4283f7b042db854c4371107918bb64f94498953e.tar.gz
hercules-4283f7b042db854c4371107918bb64f94498953e.tar.bz2
hercules-4283f7b042db854c4371107918bb64f94498953e.tar.xz
hercules-4283f7b042db854c4371107918bb64f94498953e.zip
Added 'ipban_cleanup_interval' option which determines how often expired IP bans are cleaned from the database. (bugreport:3734)
Modified ipban_check() to only include ipbans that haven't already expired. (bugreport:3734) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14161 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf')
-rw-r--r--conf/login_athena.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/login_athena.conf b/conf/login_athena.conf
index 164c7d316..cf7883cfa 100644
--- a/conf/login_athena.conf
+++ b/conf/login_athena.conf
@@ -102,6 +102,11 @@ ipban.dynamic_pass_failure_ban_interval: 5
ipban.dynamic_pass_failure_ban_limit: 7
ipban.dynamic_pass_failure_ban_duration: 5
+// Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
+// NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
+// Players will still be able to login if an ipban entry exists but the expiration time has already passed.
+ipban_cleanup_interval: 60
+
// Interval (in minutes) to execute a DNS/IP update. Disabled by default.
// Enable it if your server uses a dynamic IP which changes with time.
//ip_sync_interval: 10