Skip to content

An action which publishes Fail2ban bans and unbans to an MQTT topic

Notifications You must be signed in to change notification settings

rubenk/fail2ban_mosquitto_action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This is a custom action for fail2ban

It publishes bans and unbans on a MQTT topic

To use it you need to:

  • copy this action into your actions.d directory
  • pip install paho-mqtt
  • configure a jail, for example:

[sshd] enabled = true action = mosquitto.py

The action supports optional parameters, for example [sshd] enabled = true action = mosquitto.py[host='myhost', port=8080, topic='mytopic']

About

An action which publishes Fail2ban bans and unbans to an MQTT topic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages