# urbestack-ban-list

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-ban-list [--address ADDRESS|NETWORK] [--service ssh|panel|mail|webmail|phpmyadmin|ftp|sites|repeat|own] [--jail RULE] [--q TEXT] [--since TIME] [--until TIME] [--state active|expired|unblocked|all] [--page N] [--per-page N]
```

## Description

Lists one page of matching bans within UrbeStack's retention period, newest first. By default, the list includes all services and ban states.

Use --address for one IP address or a CIDR network and --jail for a rule name. Use --service own for rules outside UrbeStack's built-in service groups. Use --q to match an IP address or a CIDR network, or to search the IP address and triggering log line for a case-sensitive substring. The search is limited to 200 characters. A network in --q takes precedence over a network in --address.

--since and --until set inclusive bounds on when the ban began. Both accept a UTC date such as 2026-09-17 or a UTC date and time such as 2026-09-17T14:02:00Z. A date alone means the start of the day for --since and the end of the day for --until.

The default is page 1 with 200 bans per page. --per-page accepts 1 to 1000. --page accepts 1 to 999999. A valid page number past the end returns the last page.

Service counts use the selected state, and state counts use the selected service. Both apply the other filters and cover all pages. The result also includes the available services and up to 100 of the most recent ban and lift events across all retained bans, newest first.

## Command family: ban

- [urbestack-ban-add](https://urbestack.com/docs/commands/urbestack-ban-add.md): Records a timed ban on an IP address and enforces it in the firewall.
- [urbestack-ban-allow](https://urbestack.com/docs/commands/urbestack-ban-allow.md): Adds individual IP addresses from matching bans to the Allow list.
- [urbestack-ban-clear](https://urbestack.com/docs/commands/urbestack-ban-clear.md): Lifts every active ban and empties the firewall's ban set.
- [urbestack-ban-del](https://urbestack.com/docs/commands/urbestack-ban-del.md): Lifts one active ban by ID or every active ban that matches the filters.
