summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-25 23:06:06 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-25 23:06:06 +0000
commit017a81730336184d506b360e98641099be12c22a (patch)
tree86f1cd00c35411e637969c2bbe3e7cd091bb17e8 /conf
parent89d56e6b10b96d775ff976744d40e54a99b1a539 (diff)
downloadhercules-017a81730336184d506b360e98641099be12c22a.tar.gz
hercules-017a81730336184d506b360e98641099be12c22a.tar.bz2
hercules-017a81730336184d506b360e98641099be12c22a.tar.xz
hercules-017a81730336184d506b360e98641099be12c22a.zip
* Too large client packets, which would otherwise cause the client to crash, are now dropped and reported (bugreport:4391).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14503 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf')
-rw-r--r--conf/packet_athena.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/packet_athena.conf b/conf/packet_athena.conf
index 76203bedb..84711139a 100644
--- a/conf/packet_athena.conf
+++ b/conf/packet_athena.conf
@@ -8,6 +8,13 @@ debug: no
// How long can a socket stall before closing the connection (in seconds)
stall_time: 60
+// Maximum allowed size for clients packets in bytes (default: 20480).
+// NOTE: To reduce the size of reported packets, lower the values of defines, which
+// have been customized, such as MAX_STORAGE, MAX_GUILD_STORAGE or MAX_CART.
+// NOTE: Do not modify this setting, unless the client has been modified to support
+// larger packets. The client will crash, when it receives larger packets.
+socket_max_client_packet: 20480
+
//----- IP Rules Settings -----
// If IP's are checked when connecting.