On Tue, Sep 20, 2016 at 12:03:37PM +0200, felderm wrote:
> Hi All
> We operate multiple Postfix instances behind HA-Proxies. The haproxy
> upstream protocol is enabled:
> (the IPs of the HA-proxies are in mynetworks)
> There are brute-force attacks agains the SMTP servers (auth Backend is
> OpenLDAP). We would like to block these clients and have found the
> following settings:
> We experienced that these settings do not work behind HA-Proxies. Did we
> missed a configuration settings? Did someone implement brute-force
> restrictions behind HA-Proxies? If possible we would like to avoid
> fail2ban or other tools on the HA-Proxies.
> Your Feedback is highly appreciated!
Have you considered implementing simple rate limiting at the firewall
level? Something like this, for example: