This repository was archived by the owner on Jun 6, 2021. It is now read-only.
Commit 71842e7
committed
get_random_host_part: hash uid!user@host, rather than just uid
This should significantly reduce the chance for the same x-part to be
reused after an ircd restart (unless, of course, the user is the same).
Alternatively, we could hash just user@host, but then it would no longer
be "random"-type cloaking, plus there's already ident-type cloaking.1 parent 125b387 commit 71842e7
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | | - | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments