Cap certfp, channel access, and akick lists to bound attacker-driven log growth

This commit is contained in:
Jean Chevronnet 2026-07-19 13:27:50 +00:00
parent d833dc28f0
commit 64c4bbeae4
No known key found for this signature in database
4 changed files with 25 additions and 3 deletions

View file

@ -1858,6 +1858,7 @@ pub enum CertError {
Invalid, // not a plausible fingerprint
InUse, // already registered (to any account)
NoAccount, // target account does not exist
Full, // the account's fingerprint list is at its cap
Internal, // persistence failed
}
@ -1866,6 +1867,7 @@ pub enum ChanError {
Exists, // channel already registered
NoChannel, // channel is not registered
InvalidPattern, // a badword regex didn't compile
Full, // the list (access / akick) is at its cap
Internal, // persistence failed
}