1FAIL2BAN-SERVER(1) User Commands FAIL2BAN-SERVER(1)
2
3
4
6 fail2ban-server - start the server
7
9 fail2ban-server [OPTIONS]
10
12 Fail2Ban v1.0.2 reads log file that contains password failure report
13 and bans the corresponding IP addresses using firewall rules.
14
16 -c, --conf <DIR>
17 configuration directory
18
19 -s, --socket <FILE>
20 socket path
21
22 -p, --pidfile <FILE>
23 pidfile path
24
25 --pname <NAME>
26 name of the process (main thread) to identify instance (default
27 fail2ban-server)
28
29 --loglevel <LEVEL>
30 logging level
31
32 --logtarget <TARGET>
33 logging target, use file-name or stdout, stderr, syslog or
34 sysout.
35
36 --syslogsocket auto|<FILE>
37
38 -d dump configuration. For debugging
39
40 --dp, --dump-pretty
41 dump the configuration using more human readable representation
42
43 -t, --test
44 test configuration (can be also specified with start parameters)
45
46 -i interactive mode
47
48 -v increase verbosity
49
50 -q decrease verbosity
51
52 -x force execution of the server (remove socket file)
53
54 -b start server in background (default)
55
56 -f start server in foreground
57
58 --async
59 start server in async mode (for internal usage only, don't read
60 configuration)
61
62 --timeout
63 timeout to wait for the server (for internal usage only, don't
64 read configuration)
65
66 --str2sec <STRING>
67 convert time abbreviation format to seconds
68
69 -h, --help
70 display this help message
71
72 -V, --version
73 print the version (-V returns machine-readable short format)
74
76 Report bugs to https://github.com/fail2ban/fail2ban/issues
77
79 fail2ban-client(1)
80
81
82
83Fail2Ban v1.0.2 November 2022 FAIL2BAN-SERVER(1)