You must login to view /lordwelch/comictagger/commit/5faa6ecfe31c95ec07e9f6e937eca27493cc405e?files=comictaggerlib.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/test/t-12-minor_dialogs/auth_too_many_failures.cmy
Alberto Bertogli 85305f4bd9 smtpsrv: Close the connection after 3 errors (lowering from 10)
Today, we close the connection after 10 errors. While this is fine for
normal use, it is unnecessarily large.

Lowering it to 3 helps with defense-in-depth for cross-protocol attacks
(e.g. https://alpaca-attack.com/), while still being large enough for
useful troubleshooting and normal operation.

As part of this change, we also remove the AUTH-specific failures limit,
because they're covered by the connection limit.
2021-06-11 10:34:20 +01:00

15 lines
210 B
Plaintext

c tls_connect localhost:1465
c <~ 220
c -> EHLO localhost
c <... 250 HELP
c -> AUTH PLAIN something
c <~ 501
c -> AUTH PLAIN something
c <~ 501
c -> AUTH PLAIN something
c <~ 421 4.5.0 Too many errors, bye