From 4283f7b042db854c4371107918bb64f94498953e Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Sun, 22 Nov 2009 10:19:44 +0000 Subject: 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 --- conf/login_athena.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3-60-g2f50