Keep servers off your list
A master's operator decides what it lists. Three text files do it, each named when the master starts and read again within 5 seconds of a change, so nothing needs a restart. Lines starting with # are comments.
By address: --block
One IPv4 or IPv6 address or network on a line. The master answers nothing from those addresses, takes no listing of a server at one, from its host or from another master, and stops handing out one it held.
# one address or network a line
203.0.113.7
198.51.100.0/24
2001:db8:5::/48
By name: --block-words
One rule on a line. A server is kept off the list when every term of a rule matches its name, host name, map, game type or variant name, whatever the case:
slur- One word, as a whole word, not as part of a longer one.
free nitro- A combination: both words, anywhere, in any order.
"official server"- A phrase: these words in a row.
*casino*- Part of a word, also when spelled
c.a.s.i.n.oorc a s i n o.
A listing holds no names, so the master asks each server it lists what it calls itself, within 2 seconds of each report, and all of them again when the rules change. A file holds up to 2,000 rules of 200 characters. The rules stay private: a master tells them only to the masters it's kept in step with.
What this can't do: a new server can show for a few seconds before it's asked, and a renamed one for up to 30. A server that doesn't answer the master isn't kept off by name, so block its address instead. A blocked server can still be joined by its address or as a favorite, and a browser that also reads a master without your rules still gets it from there.
More than four servers: --allow-many
A master lists at most four servers at one address. Addresses and networks in this file, in the format of --block, aren't held to that: a hosting company's machines, or your own.
./project-reclaimer list-master --bind 0.0.0.0:49175 --key h3list.key --data . \
--origin http://your-address:49175 \
--block blocked.txt --block-words words.txt --allow-many many.txt
