3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 11:59:40 +01:00

reduce recommended cloak bits from 80 to 64

From testing on darwin; shaves 3 characters off the cloaked hostname,
and 64 bits of entropy is fine (a collision is expected after 2**32
~= 4 billion distinct CIDRs).
This commit is contained in:
Shivaram Lingamneni 2020-02-24 03:44:09 -05:00
parent cb356ecaf0
commit ea4bbd6899

View File

@ -243,7 +243,7 @@ server:
# more bits means less likelihood of distinct IPs colliding,
# at the cost of a longer cloaked hostname. if this value is set to 0,
# all users will receive simply `netname` as their cloaked hostname.
num-bits: 80
num-bits: 64
# secure-nets identifies IPs and CIDRs which are secure at layer 3,
# for example, because they are on a trusted internal LAN or a VPN.