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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user