From 12f444137f5000c76f4a46ac7689ae8edc30d626 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 27 Jun 2006 17:02:59 +0000 Subject: - Cleaned up the IP sync code to... - Use charif_sendallwos rather than manually altering the buffers of each server. - Use the id variable for identifying current char-server instead of scanning the connected servers for it (it's doing the same work twice) - Added config setting sync_ip_interval to specify how long to go before updating ip. Defaults to 0 (disabled) - Sending ip update packets will only be done when the ip changed now. - Removed dns_str variables, and now char_ip_str/login_ip_str/map_ip_str will hold the unresolved dns address (as these variables have no use otherwise) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7360 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/login_athena.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf-tmpl/login_athena.conf') diff --git a/conf-tmpl/login_athena.conf b/conf-tmpl/login_athena.conf index 7d8db3538..e0b7c5875 100644 --- a/conf-tmpl/login_athena.conf +++ b/conf-tmpl/login_athena.conf @@ -179,6 +179,10 @@ dynamic_pass_failure_ban_how_long: 60 dynamic_account_ban: 1 dynamic_account_ban_class: 0 +//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 + //DNS Blacklist Blocking (on: 1, off: 0) use_dnsbl: 0 -- cgit v1.2.3-60-g2f50