echo/src/engine
Jean 4c899d80b0
OperServ: DEFCON network defence levels
DEFCON [1-5] reads or sets a network-wide defence posture, each level
adding a restriction the engine and services enforce:
- 4: channel registrations frozen (ChanServ REGISTER)
- 3: all registrations frozen (the pre_register_check choke-point, covering
     NickServ and the IRCv3 relay, plus channels)
- 2: sessions additionally capped to one per host
- 1: full lockdown — new connections are turned away on connect

Setting a level announces it to the whole network. Node-local level on the
db so services can read the derived freezes; admin-only.
2026-07-14 02:35:09 +00:00
..
db.rs OperServ: DEFCON network defence levels 2026-07-14 02:35:09 +00:00
mod.rs OperServ: DEFCON network defence levels 2026-07-14 02:35:09 +00:00
scram.rs Reorganize protocol and pseudoclients into a modules/ tree 2026-07-12 10:37:59 +00:00
service.rs modules: capability-scoped Store/NetView boundary (Tier 2) 2026-07-13 01:04:07 +00:00
state.rs Stamp a traceable incident id into every kick and kill 2026-07-14 02:09:45 +00:00