Debian Codegraph @

lib/config/ban_file

raw
1 # ban_file -- prevent users or sites from playing
2 #
3 # A file which contains users or sites which are banned from playing.
4 # wildcards can be used in the file. Valid entries are put on separate lines.
5 # For a ban to result, both the user and IP must be true.
6 # Note: Crossfire does not do a IP -> DNS name, so matches for the
7 # second part must be by IP.
8 #
9 # Syntax is "[email protected]". Note that when actually putting in lines, the
10 # double quotes should be ignored. user can be "*" to match any user. The
11 # line may be prefixed by '~' to allow an entry. The lines are matched in the
12 # given order; the first match is used.
13 #
14 # The IP address portion is done as a substring and not wildcard
15 # match. Some examples, and results:
16 #
17 # "[email protected]" - won't work - tavern.us would not match - must be ip
18 # address.
19 # "*@10.1.31.1" - users from 10.1.31.1 will not be able to play.
20 # "*@10.1.31.*" - will not work - * is not a wildcard for host matches.
21 # "*@10.1.31." - will do above - every ip that has 10.1.31. will be banned.
22 # "*@10.1.31" - will ban above, but would also ban things like
23 # "129.10.1.31".
24 # "[email protected]" - user mark from 10.1.31.1 will not be able to play.
25 # "mark@" - user mark will not be able to play.
26 # "mark@*" - user mark will not be able to play - * matches any host
27 # name.
28 # "[email protected]" - accept user mark from 1.2.3.4, regardless if a following
29 # line would forbid it. For example, together with a
30 # following line "mark@*" would allow mark to play only if
31 # he connects from 1.2.3.4.
32 #
33 # Ip address can be determined by looking at the logs, or with the who command.