NAME
Ereshkigal::App::Command::re_init - Rebuild kur firewall setups from their ban books.
VERSION
Version 0.0.1
SYNOPSIS
# every kur rebuilds
ereshkigal re-init
# just sshd
ereshkigal re-init sshd
DESCRIPTION
Has each kur tear its firewall setup down and build it again from scratch, re-banning everything its ban book carries. This is the repair for a setup that something outside Ereshkigal has interfered with... a shorewall restart or pf -F all that dropped the rules, a firewalld reload, an ipset flushed by hand. It also settles unban debts, as tearing down takes any rule a failed unban left behind with it.
Bans are not enforced during the rebuild. It is brief, but it is a real window.
Mostly a convenience... with self_heal on, which is the default, each kur already checks its setup before every ban and unban and rebuilds it if it has gone missing. This is for when that is wanted now rather than at the next ban, or when self_heal is off.
METHODS
The App::Cmd hooks this subcommand supplies... command_names, abstract, description, usage_desc, validate_args, and execute.