summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-09-16 12:38:21 -0400
committerMadCamel <madcamel@gmail.com>2010-09-16 12:38:21 -0400
commitfd6b63b357c3587450430f4acf70fdb52e8eb82c (patch)
tree51fd3bbfd3c934fe698765c3a1d96a16fce281ee /conf
parent63f66361cb1e78958b9055243ebabbd7cb93ba45 (diff)
downloadclassic-serverdata-fd6b63b357c3587450430f4acf70fdb52e8eb82c.tar.gz
classic-serverdata-fd6b63b357c3587450430f4acf70fdb52e8eb82c.tar.bz2
classic-serverdata-fd6b63b357c3587450430f4acf70fdb52e8eb82c.tar.xz
classic-serverdata-fd6b63b357c3587450430f4acf70fdb52e8eb82c.zip
Added default config values for anti packet flood system
Diffstat (limited to 'conf')
-rw-r--r--conf/battle_athena.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/battle_athena.conf b/conf/battle_athena.conf
index 782a05bd..55d96f9e 100644
--- a/conf/battle_athena.conf
+++ b/conf/battle_athena.conf
@@ -725,5 +725,13 @@ chat_spam_ban: 1
// Maximum line lengt, if a message is above chat_maxline, its dropped [1-512]. Default 255.
chat_maxline: 512
+// Packet flood protection
+// If more than packet_spam_flood over-limits packets are recieved in
+// packet_spam_threshold seconds, we will kick the user if packet_spam_kick
+// is not set to 0. Limits on individual packets are defined in src/map/clif.c
+packet_spam_flood: 30
+packet_spam_threshold: 2
+packet_spam_kick: 1
+
// local settings for this server in this file
import: conf/battle_local.conf