NAME
Ereshkigal::App::Command::unban - Unban an IP or everything.
VERSION
Version 0.0.1
SYNOPSIS
# check every kur for the IP and unban it where present
ereshkigal unban 1.2.3.4
# remove all bans everywhere
ereshkigal unban --all
DESCRIPTION
With an IP, every kur is asked whether it is holding that address and it is released from each one that is, reporting was_banned per kur. A kur that never had it says so rather than erroring, so it is safe to fire at all of them. There is deliberately no --kur... an unban goes wherever the address actually is.
With --all every kur is flushed instead. That is both single IP and range bans on every kur, released in one go, with no confirmation and no undo. The tablets are rewritten straight after, so a restart will not bring any of them back.
Ranges banned with cidr_ban are matched by cidr_unban rather than by naming an IP inside them, though --all takes those too.
METHODS
The App::Cmd hooks this subcommand supplies... abstract, description, usage_desc, opt_spec, validate_args, and execute.