protocol: verify echos pseudoclients request servprotect (+k, by name from CAPAB USERMODES) so they cannot be killed by operators; warn if service_modes lacks it
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
This commit is contained in:
parent
2f70b0c133
commit
b8a31244db
3 changed files with 44 additions and 0 deletions
|
|
@ -77,6 +77,10 @@ pub enum NetEvent {
|
|||
ModulesAvailable { modules: Vec<String> },
|
||||
// `CAPAB END` — the module lists are complete; verify dependencies now.
|
||||
CapabEnd,
|
||||
// The ircd's `servprotect` user mode (from CAPAB USERMODES) and whether echo's
|
||||
// configured service_modes request it — a services pseudoclient without it can
|
||||
// be killed/hijacked by an operator.
|
||||
ServProtect { letter: char, requested: bool },
|
||||
// A server split away (SQUIT). `server` is its SID; every user behind it — and
|
||||
// behind any server in its subtree — is gone, since a split is signalled once
|
||||
// rather than as a QUIT per user.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue