connclass: verify a KDF class password off the core thread with a registration hold (auth_pending + Event::ConnclassAuth) — connect floods can't freeze the server
This commit is contained in:
parent
2b3495be65
commit
c231c6b8ef
4 changed files with 113 additions and 25 deletions
|
|
@ -319,6 +319,7 @@ impl Server {
|
|||
registered: false,
|
||||
dns_pending: false,
|
||||
ident_pending: false,
|
||||
auth_pending: false,
|
||||
waitpong: None,
|
||||
class: None,
|
||||
pass: None,
|
||||
|
|
@ -1109,6 +1110,7 @@ mod tests {
|
|||
registered: true,
|
||||
dns_pending: false,
|
||||
ident_pending: false,
|
||||
auth_pending: false,
|
||||
waitpong: None,
|
||||
class: None,
|
||||
pass: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue