denyhosts --version (return code: 0)
DenyHosts version: 2.10
denyhosts --help (return code: 0)
Usage:
/usr/sbin/denyhosts [-f logfile | --file=logfile] [ -c configfile | --config=configfile] [-i | --ignore] [-n | --noemail] [--purge] [--purge-all] [--purgeip=ip] [--migrate] [--daemon] [--sync] [--version]
--config: The pathname of the configuration file
--file: The name of log file to parse
--ignore: Ignore last processed offset (start processing from beginning)
--noemail: Do not send an email report
--unlock: if lockfile exists, remove it and run as normal
--migrate: migrate your HOSTS_DENY file so that it is suitable for --purge
--purge: expire entries older than your PURGE_DENY setting
--purge-all: expire all entries
--purgeip: expire designated IP entry immediately
--daemon: run DenyHosts in daemon mode
--foreground: run DenyHosts in foreground mode
--sync: run DenyHosts synchronization mode
--version: Prints the version of DenyHosts and exits
Note: multiple --file args can be processed. If multiple files are provided, --ignore is implied
Note: multiple --purgeip arguments can be processed.
When run in --daemon mode the following flags are ignored:
--file, --purge, --purge-all, --purgeip, --migrate, --sync, --verbose