1.9 KiB
1.9 KiB
fail2ban-manager cloudflare
Usage:
$ fail2ban-manager cloudflare [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
zones
: List configured zoneszone-info
: Show information about a zone.create-zone
: Create a new zone in the database.check-ip
: Check if an IP is banned based on rules...ban
: Check if an IP is banned based on rules...
fail2ban-manager cloudflare zones
List configured zones
Usage:
$ fail2ban-manager cloudflare zones [OPTIONS]
Options:
--help
: Show this message and exit.
fail2ban-manager cloudflare zone-info
Show information about a zone.
This command will pull the rules from Cloudflare and update the database as well as display the rules in a table.
Usage:
$ fail2ban-manager cloudflare zone-info [OPTIONS] ZONE_ID
Arguments:
ZONE_ID
: [required]
Options:
--help
: Show this message and exit.
fail2ban-manager cloudflare create-zone
Create a new zone in the database.
Usage:
$ fail2ban-manager cloudflare create-zone [OPTIONS] ZONE_ID NAME
Arguments:
ZONE_ID
: [required]NAME
: [required]
Options:
--help
: Show this message and exit.
fail2ban-manager cloudflare check-ip
Check if an IP is banned based on rules cached in the database.
Usage:
$ fail2ban-manager cloudflare check-ip [OPTIONS] IP
Arguments:
IP
: IP Address to check [required]
Options:
--help
: Show this message and exit.
fail2ban-manager cloudflare ban
Check if an IP is banned based on rules cached in the database.
Usage:
$ fail2ban-manager cloudflare ban [OPTIONS] ZONE_ID IP
Arguments:
ZONE_ID
: [required]IP
: IP Address to ban [required]
Options:
--help
: Show this message and exit.