Hi,
Is fail2ban a program that monitors access log files? If so, openfire does not generate those.
If you are on Linux and have iptables running, you can limit the number of connections per some time like so:
# IPTABLES
# Limit XMPP connections
# Limit number of new connections per IP to 20 per minute
-A INPUT -p tcp --dport 5222:5223 -m recent --rcheck --seconds 60 --hitcount 20 --name XMPP -j LOG --log-prefix "XMPP Rate Limiter "
-A INPUT -p tcp --dport 5222:5223 -m recent --update --seconds 60 --hitcount 20 --name XMPP -j DROP
-A INPUT -p tcp --dport 5222:5223 -m state --state NEW -m recent --set --name XMPP -j ACCEPT
The admin console has brute force protection, but that shouldn’t be exposed to the internet.
daryl