fail2ban-zmq-tools icon indicating copy to clipboard operation
fail2ban-zmq-tools copied to clipboard

fail2ban

Open bnkcrypt opened this issue 7 years ago • 3 comments

Hi I like your project would like to know does it work in Active - Active or master -slave

bnkcrypt avatar Nov 16 '17 20:11 bnkcrypt

In a cluster of N nodes (that all run fail2ban), you need:

ONE publisher. N monitors N subscribers

The monitor MONITORS /var/log/fail2ban.log and sends Ban/UnBans to publisher. Subscribers receive what the Publisher broadcast.

Does that answer your qyestion? Because standard active/passive master/slave does not really 'fit' into fail2ban architecture.

buanzo avatar Jan 05 '18 16:01 buanzo

For the record–in case you wondered whether it's possible to have more than one publisher (e.g., for redundancy purposes): Yes it is, but you'll need to modify the code accordingly (see https://stackoverflow.com/q/6700149/6145758).

m-ueberall avatar Jan 28 '18 17:01 m-ueberall

For the record–in case you wondered whether it's possible to have more than one publisher (e.g., for redundancy purposes): Yes it is, but you'll need to modify the code accordingly (see https://stackoverflow.com/q/6700149/6145758).

This is a great tip. I hope to integrate the support someday. Thanks!

buanzo avatar Nov 01 '18 12:11 buanzo