summaryrefslogtreecommitdiff
path: root/server/other/md5_hashcheck.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-29 22:09:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-29 22:09:19 +0300
commit39fa4991f1ce803da04fae342d5ab64111a3df5e (patch)
tree585dbfb0d6800a8a3bc4d3bec3eb8d41e23894e1 /server/other/md5_hashcheck.txt
parent61d35617036a2170160e91fdc8f93410ae7d0e3e (diff)
downloaddocs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.gz
docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.bz2
docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.tar.xz
docs-39fa4991f1ce803da04fae342d5ab64111a3df5e.zip
Add all existing server docs.
Diffstat (limited to 'server/other/md5_hashcheck.txt')
-rw-r--r--server/other/md5_hashcheck.txt58
1 files changed, 58 insertions, 0 deletions
diff --git a/server/other/md5_hashcheck.txt b/server/other/md5_hashcheck.txt
new file mode 100644
index 0000000..d9064b1
--- /dev/null
+++ b/server/other/md5_hashcheck.txt
@@ -0,0 +1,58 @@
+//===== Hercules Documentation ===============================
+//= MD5 Hash Check
+//===== By: ==================================================
+//= Hercules Dev Team
+//===== Current Version: =====================================
+//= 20140208
+//===== Description: =========================================
+//= This file outlines the login server's MD5 hash check.
+//============================================================
+
+The login server is able to perform a check of the client's MD5 hash.
+This will ensure that a user has not tampered with the client and that
+the client is the one specific to your server.
+
+The client can only send the correct MD5 hash to the server on certain
+server types, so a client diff may be required to ensure the hash is
+sent.
+Please refer to your client diff tool manual for the appropriate patch
+(i.e. in NEMO it's called "Force Send Client Hash Packet", in other
+tools or diffs it may have similar names.)
+
+The serverside settings for the hash check are located in
+conf/login.conf:
+
+// Client MD5 hash check
+// If turned on, the login server will check if the client's hash matches
+// the value below, and will not connect tampered clients.
+// Note: see doc/md5_hashcheck.txt for more details.
+client_hash_check: off
+
+// Client MD5 hashes
+// The client with the specified hash can be used to log in by players with
+// a group_id equal to or greater than the given value.
+// If you specify 'disabled' as hash, players with a group_id greater than or
+// equal to the given value will be able to log in regardless of hash (and even
+// if their client does not send a hash at all.)
+// Format: group_id, hash
+// Note: see doc/md5_hashcheck.txt for more details.
+client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5
+client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae
+client_hash: 99, disabled
+
+To enable MD5 hash checks, set 'client_hash_check' to 'on' and add one
+'client_hash' entry for each client you want to use.
+The group_id can be any of the groups in conf/groups.conf, and it is
+useful in case if you want to allow GMs to use a different client
+than normal players; for example, a GM client could be hexed
+differently, perhaps with dual-clienting enabled and chat flood
+disabled.
+You will need to replace the example MD5 hashes with the actual hash of
+your client.
+You can use any MD5 hash tools to generate it, e.g.:
+- md5sum (command line) on linux
+- WinMD5 on Windows
+- md5 (command line) on Mac OS X
+- If you hexed your client with NEMO (version 2.0 and above), you
+ can find the MD5 hash of the generated client automatically saved to
+ client_filename.exe.secure.txt