1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-08 05:35:58 +00:00

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
This commit is contained in:
Sebastian Köhler
2012-08-02 13:53:46 +02:00
parent b9e6cb3e55
commit 49385a98b2
8 changed files with 67 additions and 14 deletions

View File

@@ -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