fail2ban-testcases(1)

fail2ban-testcases1

Run fail2ban unit-tests

Usage

fail2ban-testcases [OPTIONS] [regexps]

Overview

Script to run Fail2Ban tests battery

Options

--version

show program's version number and exit

-h, --help

show this help message and exit

-l LOG_LEVEL, --log-level=LOG_LEVEL

Log level for the logger to use during running tests

-v

Increase verbosity

--verbosity=VERBOSITY

Set numerical level of verbosity (0..4)

--log-direct

Prevent lazy logging inside tests

-n, --no-network

Do not run tests that require the network

-m, --memory-db

Run database tests using memory instead of file

-f, --fast

Try to increase speed of the tests, decreasing of wait intervals, memory database

-i, --ignore

negate [regexps] filter to ignore tests matched specified regexps

-t, --log-traceback

Enrich log-messages with compressed tracebacks

--full-traceback

Either to make the tracebacks full, not compressed (as by default)

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

--fast since Debian 10 (Buster); --ignore since Debian 10 (Buster); --log-direct since Debian 10 (Buster); --memory-db since Debian 10 (Buster); --verbosity since Debian 10 (Buster); -f since Debian 10 (Buster); -i since Debian 10 (Buster); -m since Debian 10 (Buster); -v since Debian 10 (Buster).

--no-gamin until Debian 12 (Bookworm); -g until Debian 12 (Bookworm).

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