1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-08 21:45: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

@@ -223,13 +223,10 @@ Don't use the percentage sign ("%"), it is reserved for future extensions!
\fBCloakHostModeX\fR (string)
Use this hostname for hostname cloaking on clients that have the user mode
"+x" set, instead of the name of the server. Default: empty, use the name
of the server.
.PP
.RS
.B Please note:
.br
Don't use the percentage sign ("%"), it is reserved for future extensions!
.RE
of the server. Use %x to add the hashed value of the original hostname
.TP
\fBCloakHostModeXSalt\fR (string)
The Salt for cloaked hostname hashing
.TP
\fBCloakUserToNick\fR (boolean)
Set every clients' user name to their nick name and hide the one supplied