Get your free beta license ↗
CMDCommand · run as root on the server · jail family

urbestack-jail-set

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-jail-set --name NAME [--enabled on|off] [--log PATH] [--pattern REGEX] [--tries N] [--window TIME] [--bantime TIME] [--scope all|mail|web]

Description

From the command's --help output
Updates an existing ban rule. Specify at least one setting to change. Use --enabled to switch
the rule on or off. Set --scope to all for all ports, mail for mail ports or web for web ports.

--tries sets how many matches for an IP address within --window trigger a ban. --tries accepts 1
to 1000, --window accepts 10 seconds to 30 days, and --bantime accepts 10 seconds to 366 days.
Enter durations in whole seconds or with a unit, as in 10s, 10m, 1h, 2d or 1w.

Only custom rules accept --log and --pattern. Give --log the absolute path to an existing log
file. Give --pattern a single-line regular expression of up to 500 characters, with <HOST> where
the IP address appears.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.
urbestack-jail-
Generated from release 0.2.35 (current) · urbestack-jail-set --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-jail-set/