Fix self-review regressions: throttle SASL SCRAM, key game target by UID, exclude keycard from password lockout
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
This commit is contained in:
parent
4599c4834d
commit
c36341668c
4 changed files with 28 additions and 10 deletions
|
|
@ -243,8 +243,10 @@ pub enum AuthThen {
|
|||
// NickServ IDENTIFY: `uid` logs in, `agent` (NickServ uid) sends the notices,
|
||||
// `name` is what the user typed (for lockout/note_auth), `account` is canonical.
|
||||
Identify { uid: String, agent: String, name: String, account: String },
|
||||
// SASL PLAIN: finish the SASL exchange for `client`, sourced from `agent`.
|
||||
Sasl { agent: String, client: String, account: String },
|
||||
// SASL: finish the exchange for `client`, sourced from `agent`. `password` is
|
||||
// whether this was a password verify (feeds the brute-force throttle) vs a
|
||||
// one-time keycard redemption (which must not touch the password lockout).
|
||||
Sasl { agent: String, client: String, account: String, password: bool },
|
||||
}
|
||||
|
||||
/// The ircd link layer. The engine only ever sees [`NetEvent`] / [`NetAction`];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue