fail2ban-server(1)

fail2ban-server1

Start the server

Usage

fail2ban-server [OPTIONS]

Overview

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

Options

-c, --conf <DIR>

configuration directory

-s, --socket <FILE>

socket path

-p, --pidfile <FILE>

pidfile path

--pname <NAME>

name of the process (main thread) to identify instance (default fail2ban-server)

--loglevel <LEVEL>

logging level

--logtarget <TARGET>

logging target, use file-name or stdout, stderr, syslog or sysout.

--syslogsocket auto|<FILE>

-d

dump configuration. For debugging

--dp, --dump-pretty

dump the configuration using more human readable representation

-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 (-V returns machine-readable short format)

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0–7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

--async since Debian 10 (Buster); --conf since Debian 11 (Bullseye); --dp since Debian 10 (Buster); --dump-pretty since Debian 10 (Buster); --loglevel since Debian 10 (Buster); --logtarget since Debian 10 (Buster); --pidfile since Debian 11 (Bullseye); --pname since Debian 11 (Bullseye); --socket since Debian 11 (Bullseye); --str2sec since Debian 10 (Buster); --test since Debian 10 (Buster); --timeout since Debian 10 (Buster); -c since Debian 10 (Buster); -d since Debian 10 (Buster); -i since Debian 10 (Buster); -p since Debian 8 (Jessie); -q since Debian 10 (Buster); -t since Debian 10 (Buster); -v since Debian 10 (Buster).

Reporting bugs

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

From fail2ban 1.1.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.