fail2ban-server man page

fail2ban-server — start the server

Synopsis

fail2ban-server [Options]

Description

Fail2Ban v0.10.0 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules.

Options

-c <DIR>

configuration directory

-s <FILE>

socket path

-p <FILE>

pidfile path

--loglevel <LEVEL>

logging level

--logtarget <FILE>|STDOUT|STDERR|SYSLOG logging target

Note. If fail2ban running as systemd-service, for logging to the systemd-journal, the logtarget could be set to STDOUT

--syslogsocket
auto|<FILE>
-d

dump configuration. For debugging

-t, --test

test configuration (can be also specified with start parameters)

-i

interactive mode

-v

increase verbosity

-q

decrease verbosity

-x

force execution of the server (remove socket file)

-b

start server in background (default)

-f

start server in foreground

--async

start server in async mode (for internal usage only, don't read configuration)

--timeout

timeout to wait for the server (for internal usage only, don't read configuration)

--str2sec <STRING>

convert time abbreviation format to seconds

-h, --help

display this help message

-V, --version

print the version

Reporting Bugs

Report bugs to https://github.com/fail2ban/fail2ban/issues

See Also

fail2ban-client(1)

Referenced By

fail2ban(1), fail2ban-client(1), fail2ban-regex(1), fail2ban-testcases(1), jail.conf(5).

August 2017 fail2ban-server v0.10.0 User Commands