Force TCP socket disconnect on imap login failure?

dovecot at ptld.com dovecot at ptld.com
Wed May 25 15:44:30 UTC 2022


> On 05-25-2022 11:28 am, Hippo Man wrote:
> In my case, that is not occurring. After issuing the iptables DROP command, the client can continue to send more and more login attempts. 
> Only when the client disconnects does the block of the socket seem to work for that IP address. I continue to see numerous instances of this behavior.


Having this rule

    -A INPUT -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT

before the drop would have that behavior


More information about the dovecot mailing list