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 19:44:40 +0200
committerSebastian Köhler <sebkoehler@whoami.org.uk>2012-08-03 04:10:11 +0200
commitd0bb185cf55655fc68ad54508c84314c2520d54c (patch)
treedb2ad4882b3fb036e171b1376735ac6071a775a4 /doc
parent49385a98b2878ae6f19dd0925e0dc90fcc3d6372 (diff)
downloadngircd-d0bb185cf55655fc68ad54508c84314c2520d54c.tar.gz
ngircd-d0bb185cf55655fc68ad54508c84314c2520d54c.zip
Hashed hostnames for CloakHost
Implemented support for hashed hostnames for CloakHost. The admin can
use '%x' in both the CloakHost and CloakHostModeX setting. The config
option CloakHostModeX was renamed to CloakHostSalt. This salt is used
for both cloaking options.
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index 8297a9bb..6d9d7709 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -125,17 +125,17 @@
 	;ChrootDir = /var/empty
 
 	# Set this hostname for every client instead of the real one.
-	# 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.
 	;CloakHost = cloaked.host
 
 	# Use this hostname for hostname cloaking on clients that have the
 	# user mode "+x" set, instead of the name of the server.
-	# Use %x to add the hashed value of the original hostname
+	# Use %x to add the hashed value of the original hostname.
 	;CloakHostModeX = cloaked.user
 
-	# The Salt for cloaked hostname hashing
-	;CloakHostModeXSalt = abcdefghijklmnopqrstuvwxyz
+	# The Salt for cloaked hostname hashing. When undefined a random
+	# hash is generated after each server start.
+	;CloakHostSalt = abcdefghijklmnopqrstuvwxyz
 
 	# Set every clients' user name to their nick name
 	;CloakUserToNick = yes