From 257a41619254ceb14b6e0867a20449248b540d41 Mon Sep 17 00:00:00 2001 From: celest Date: Sun, 20 Mar 2005 12:07:52 +0000 Subject: * Added 4 new card effects from 3/15's patch * Added 'enable_ip_rules' to packet_athena.conf * Updated socket debug messages to be more readable git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1257 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/packet_athena.conf | 45 ++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) (limited to 'conf-tmpl') diff --git a/conf-tmpl/packet_athena.conf b/conf-tmpl/packet_athena.conf index b8e1f31f7..b11baa429 100644 --- a/conf-tmpl/packet_athena.conf +++ b/conf-tmpl/packet_athena.conf @@ -1,27 +1,18 @@ -// ソケット関連の設定です。 (Untranslated yet) +// Athena sockets Configuration file +// (Untranslated yet) -// How long can a socket stall before closing the connection (in seconds) -stall_time: 60 - -//---- Ddos Protection Settings ---- - // デバッグ情報の表示(バグ報告の際にコピペして頂けると助かります) -// debug: 1 +debug: no -// ddos攻撃と判断する為のルール設定 -// ddos_interval msec以内の接続要求がddos_count回続いた場合に、 -// ddos攻撃されたと判定します。 +// How long can a socket stall before closing the connection (in seconds) +stall_time: 60 -// 接続間隔(msec) -ddos_interval: 3000 -// 接続回数 -ddos_count: 5 +//----- IP Rules Settings ----- -// ddos制限を解除する間隔(msec) -// この時間経過すると、接続制限が解除されます。 -ddos_autoreset: 600000 +// Do we check IP's before allowing incoming connections? +enable_ip_rules: yes // アクセス制限の判定順序(Apacheと同じ) // deny,allow が標準になっています。 @@ -43,4 +34,22 @@ allow: all // deny: 127.0.0.1 -import: conf/import/packet_conf.txt \ No newline at end of file + +//---- Ddos Protection Settings ---- + +// ddos攻撃と判断する為のルール設定 +// ddos_interval msec以内の接続要求がddos_count回続いた場合に、 +// ddos攻撃されたと判定します。 + +// 接続間隔(msec) +ddos_interval: 3000 + +// 接続回数 +ddos_count: 5 + +// ddos制限を解除する間隔(msec) +// この時間経過すると、接続制限が解除されます。 +ddos_autoreset: 600000 + + +//import: conf/import/packet_conf.txt \ No newline at end of file -- cgit v1.2.3-70-g09d2