Does DenyHosts support plugins?
In v1.1.0 and greater, DenyHosts introduces support for plugin applications to be run when DenyHosts adds a new entry to the HOSTS_DENY file and when an entry is purged from HOSTS_DENY. Two optional configuration parameters exist to support plugins. They are: • PLUGIN_DENY – specifies the program to be run when a host is blocked by DenyHosts • PLUGIN_PURGE – specifies the program to be run when a host is no longer blocked by DenyHosts Note: program can be any executable (script, application, etc…). Each of the executed programs will receive the host (typically the IP address) that was denied/purged as it’s sole argument.