Commit graph

56 commits

Author SHA1 Message Date
30754f08b5 refactor: define caps from one token=>field list via a macro that generates SUPPORTED_CAPS + the Caps struct + has/set — an advertised-but-unwired cap (or an unwired field) no longer compiles 2026-08-18 22:29:47 +00:00
20b49add0b perf: mimalloc global allocator + aHash maps + memchr line framer + LTO/codegen-units=1 — ~29% faster channel fanout; and drop the bogus openssl+mio dependency whitelist from the guard (any perf crate is welcome now) 2026-08-18 19:45:33 +00:00
bcd958d2d3 ircv3: close server-support-table gaps — BOT=B ISUPPORT, account-extban (a: matcher + ACCOUNTEXTBAN=a), draft/read-marker cap (gates MARKREAD sync), and no-implicit-names (suppress the post-JOIN NAMES burst) 2026-08-18 15:56:59 +00:00
c9bd8e7492 channel-rename: implement IRCv3 draft/channel-rename — RENAME command + cap, in-place rename (RENAME for cap clients, PART/JOIN fallback for the rest), and S2S propagation 2026-08-17 23:45:02 +00:00
8ed2003546 callerid: scrub a departed/renamed nick from ACCEPT lists so it can't be reused to bypass +g 2026-08-17 14:52:38 +00:00
5722640957 s2s: handle echo's metadata profile keys, standard replies, OPERTYPE and REDACT; emit ssl_cert + OPERTYPE 2026-08-17 13:08:14 +00:00
d4a7043d10 s2s: resolve nick collisions by timestamp (force-rename loser to its UUID, SAVE) instead of killing; services always keep their nick 2026-08-16 19:03:07 +00:00
b7600ee5aa add +k servprotect umode (server-set-only, advertised in 004/umodes): blocks KILL, KICK and SA* on a network service; tracked for remote services too 2026-08-16 03:00:25 +00:00
546f6279e7 snomasks: make +s a parametric snomask mode with the standard category letters (acdfgjklnoqrtuvwx), route each server notice by category, RPL_SNOMASKIS 008; opers default to all and narrow with +s -c etc. 2026-08-15 17:06:14 +00:00
c231c6b8ef 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 2026-08-12 13:13:27 +00:00
f371ed0a18 connclass: cidr/parent/port/limit/globalmax + hashed/trusted-cert passwords, per-class recvq/sendq + fakelag, and rfc1413 ident 2026-08-10 18:46:42 +00:00
f5f888dbaa connectclass: per-class connection policy (allow/deny, localmax, password, maxchans, pingfreq, timeout, modes) + PASS 2026-08-10 17:49:12 +00:00
1dd7f77ca8 operprefix + ojoin: server oper prefix (!/mode y, above owner) auto-granted to opers + OJOIN command 2026-08-10 13:01:07 +00:00
0d5717c585 relaymsg: RELAYMSG + draft/relaymsg cap for bridge-style spoofed-nick channel messages 2026-08-10 09:06:30 +00:00
71d6e7441b helpmode: oper-settable user mode +h (helpop) shown in whois 2026-08-10 09:01:38 +00:00
9d84a66437 autoop: +w <prefix>:<mask> channel list mode grants status on join 2026-08-10 08:18:07 +00:00
61954f6c5c conn_waitpong: optionally require a PONG cookie before registration (anti-bot) 2026-08-09 23:04:14 +00:00
61584a545b config: make flood/dnsbl/multiline/chathistory/extjwt limits + nick/chan/watch/monitor/silence/whowas/timeouts configurable (no hardcoded options) 2026-08-09 22:52:39 +00:00
bda7eecfc2 modules: port ircv3_extended_isupport (draft/extended-isupport cap + ISUPPORT command, draft/isupport batch) 2026-08-09 19:52:52 +00:00
f48be3413d modules: port ircv3_FILEHOST (reverse.im/filehost cap + FILEHOST JWT cmd + metadata tag) and ircv3_irccloudtags 2026-08-09 19:42:04 +00:00
19157e0722 websocket: native RFC 6455 transport (ws:// + wss://) — handshake, framing, ping/pong keepalive, idle timeout, origin/proxy flags, via_websocket 2026-08-09 18:45:12 +00:00
100e33c76b modules: port jsonlog (draft/json-log cap) — structured JSON tag on snotices for capable opers 2026-08-09 17:10:20 +00:00
b0d767a809 modules: port account_registration (REGISTER/VERIFY over async HTTP API) + async http infra 2026-08-09 11:48:17 +00:00
245d8d8529 extban: add r: realnameban, j: channelban, s: serverban matching extbans 2026-08-09 11:30:53 +00:00
131471e245 modules: move all per-module state/config out of server.rs/config.rs into own files 2026-08-09 11:18:04 +00:00
0d4c9297b5 port whoisport, ircv3_network_icon, profileLink, hidewhois (all config-driven) 2026-08-09 08:33:56 +00:00
eb121a75f8 reputation: full port — y: score extban (y:<N/y:>N), WHOIS score, +2 for accounts, bump interval/scorecap/minchanmembers config; conn_join/conn_umodes/connbanner/operjoin/opermodes/seenicks/chancreate 2026-08-09 08:19:32 +00:00
64dcbd8bf4 securitygroups: UnrealIRCd-style groups + g: extban + SECURITYGROUPS + WHOIS 2026-08-09 08:08:06 +00:00
97a35338fa delayjoin +D: hide JOINs until a member speaks/reveals (NAMES + part/quit/nick aware) 2026-08-09 07:40:10 +00:00
80cc61e7f8 exemptchanops +X: per-rank exemptions from flood/anticaps/repeat/censor/blockcolor/etc 2026-08-09 07:34:42 +00:00
1eca745092 repeat channel mode (+K <n>): block recently-repeated lines 2026-08-09 01:24:48 +00:00
668f2735b2 delaymsg channel mode (+d <secs>) 2026-08-09 01:22:27 +00:00
e2a4a3e248 NICKLOCK / NICKUNLOCK (services hold a user's nick) 2026-08-09 01:09:46 +00:00
4d6525cac2 opmoderated channel mode (+U — route unprivileged messages to ops) 2026-08-09 01:07:30 +00:00
835c1cf099 user modes +W showwhois / +c commonchans 2026-08-09 00:54:56 +00:00
37ea5d277d kicknorejoin channel mode (+J <secs>) 2026-08-09 00:50:55 +00:00
8dc51a281b channel modes +Q nokicks / +A allowinvite / +P permchannels; fix SWHOIS (full multi-word text, no doubled nick in WHOIS) 2026-08-09 00:47:10 +00:00
050ce37612 anticaps channel mode (+B <percent>) 2026-08-09 00:33:31 +00:00
d65e17b6b5 rustfmt 2026-08-09 00:24:27 +00:00
ab7188bb70 move draft/multiline into its own module file 2026-08-08 22:49:54 +00:00
7bf9e4c0b8 channel +H chanhistory: replay recent messages to joiners (m_chanhistory), reuses the history store 2026-08-08 22:24:29 +00:00
d4c4c1a7d0 draft/multiline: inbound BATCH parsing + concat assembly, deliver assembled lines; advertise limits 2026-08-08 22:07:04 +00:00
5a34ec57da draft/metadata-2: client METADATA get/list/set/clear on users+channels (op-gated), change notices, metadata batch 2026-08-08 22:00:46 +00:00
c641e23a81 draft/pre-away: allow AWAY during CAP negotiation (before registration) 2026-08-08 21:53:40 +00:00
a70ee42aee markread (draft/read-marker, identity-shared) + advertise UTF8ONLY 2026-08-08 21:41:54 +00:00
283f8f5683 redact: draft/message-redaction — author/op can delete a channel message, relayed to capable members + dropped from history 2026-08-08 21:38:39 +00:00
6a634ef678 chathistory: in-memory per-channel history + CHATHISTORY latest/before/after in a batch (draft/chathistory) 2026-08-08 20:00:23 +00:00
1b7dbc4c0e labeled-response + batch: capture a labeled command's replies and wrap them (single label tag / BATCH / ACK) 2026-08-08 19:53:34 +00:00
02528df5e9 sasl external: request tls client cert, plumb sha256 certfp through to user, relay to services; advertise sasl=PLAIN,EXTERNAL on tls 2026-08-08 19:36:48 +00:00
6d19b6771b whox (354) + ircv3 standard-replies (fail/warn/note), account-tag, and +s/+p who/names member hiding 2026-08-08 17:55:44 +00:00