echo/chanserv/src
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
..
access.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
akick.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
ban.rs chanserv: SET PEACE (block acting against equal-or-higher access) 2026-07-13 03:06:58 +00:00
clone.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
enforce.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
entrymsg.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
getkey.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
invite.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
kick.rs chanserv: SET PEACE (block acting against equal-or-higher access) 2026-07-13 03:06:58 +00:00
lib.rs OperServ: DEFCON network defence levels 2026-07-14 02:35:09 +00:00
list.rs chanserv: SET SIGNKICK and PRIVATE (typed channel settings) 2026-07-13 02:54:46 +00:00
mode.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
noexpire.rs Add lazy inactivity-expiry for accounts and channels 2026-07-14 00:02:36 +00:00
op.rs chanserv: SET PEACE (block acting against equal-or-higher access) 2026-07-13 03:06:58 +00:00
seen.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
set.rs Clippy sweep: clean across the workspace 2026-07-13 23:30:51 +00:00
status.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
suspend.rs chanserv: channel SUSPEND / UNSUSPEND (oper-gated) 2026-07-13 04:17:17 +00:00
topic.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
unban.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
xop.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00