about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Köhler <sebkoehler@whoami.org.uk>2012-08-02 13:53:46 +0200
committerSebastian Köhler <sebkoehler@whoami.org.uk>2012-08-03 04:09:37 +0200
commit49385a98b2878ae6f19dd0925e0dc90fcc3d6372 (patch)
treeaf8b4728b28d40bbdd306dde186dddc1dc354c49 /doc
parentb9e6cb3e556730f74464026a33d6904ffd340874 (diff)
downloadngircd-49385a98b2878ae6f19dd0925e0dc90fcc3d6372.tar.gz
ngircd-49385a98b2878ae6f19dd0925e0dc90fcc3d6372.zip
Implemented hashed cloaked hostnames for +x
CloakHostModeX can now contain '%x'. It will be replace by the hash of
the original client hostname. The new config option CloakHostModeXSalt
defines the salt for the hash function. When CloakHostModeXSalt is not
set a random salt will be generated after each server restart.

Spelling fix in defines.h
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index e8b2fb0d..8297a9bb 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -131,10 +131,12 @@
 
 	# Use this hostname for hostname cloaking on clients that have the
 	# user mode "+x" set, instead of the name of the server.
-	# Please note: don't use the percentage sign ("%"), it is reserved for
-	# future extensions!
+	# Use %x to add the hashed value of the original hostname
 	;CloakHostModeX = cloaked.user
 
+	# The Salt for cloaked hostname hashing
+	;CloakHostModeXSalt = abcdefghijklmnopqrstuvwxyz
+
 	# Set every clients' user name to their nick name
 	;CloakUserToNick = yes