Commit graph

254 commits

Author SHA1 Message Date
62c0141362 test: services standard reply (SWSTDRPL) reaches a standard-replies client 2026-08-17 13:12:31 +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
8f765bfba7 s2s: deliver server-sourced NOTICE/PRIVMSG (services SET SNOTICE) instead of dropping it 2026-08-17 11:40:46 +00:00
0f28083855 markread: persist account-keyed read markers to disk and restore them at startup 2026-08-17 02:12:17 +00:00
3f9aa8c6eb channel: cull an empty channel when a mode change (-P/-r) removes its last reason to persist 2026-08-17 01:50:11 +00:00
b451ccbfd8 permchannels: persist +P channels (modes, topic, ts, list modes) to disk and restore them at startup 2026-08-17 01:43:29 +00:00
978f8f8f82 reputation: persist the score table on each bump/expire so restarts don't revert to a stale snapshot 2026-08-17 01:19:57 +00:00
e10ea609ed s2s: apply inbound CHGHOST/CHGIDENT (services vhost) instead of dropping it 2026-08-17 00:36:03 +00:00
2ce6a5619c docs: note REHASH cert reload and the tls_sni per-hostname cert key 2026-08-16 23:37:34 +00:00
471fc00dfc tls: reload certs on REHASH (renewed cert applies without restart) and add per-hostname SNI via tls_sni 2026-08-16 23:35:36 +00:00
a6293d5bbc docs: document cloak_method and the account/fingerprint/static cloak keys 2026-08-16 19:52:27 +00:00
6efbcb6db0 cloak: config-selectable methods (account, fingerprint, static) alongside the default hmac-sha256 2026-08-16 19:49:26 +00:00
262699bf30 kick: route KICK of a remote channel member to its server and drop the local view 2026-08-16 19:31:49 +00:00
68b80c3f82 s2s: announce remote members arriving via FJOIN to local channel members 2026-08-16 19:26:10 +00:00
ef84846267 invite: route INVITE for a remote target to its server and deliver inbound INVITE 2026-08-16 19:11:57 +00:00
559a102e48 add oper SQUIT command to disconnect a linked server by name 2026-08-16 19:10:29 +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
767ecb3471 whois: fold the channel list across multiple 319 lines to stay under 512 bytes 2026-08-16 18:46:07 +00:00
e57e4c3a6a names: fold the member list across multiple 353 replies to stay under 512 bytes 2026-08-16 18:45:12 +00:00
94f57608f7 mode: require half-op to view the autoop/exemptchanops/filter lists 2026-08-16 18:44:08 +00:00
dadbff91d8 xline: accept the durationless KLINE/GLINE form (mask :reason) instead of eating the reason 2026-08-16 18:21:32 +00:00
5046083608 add HELP command with a built-in index and per-topic help (704/705/706) 2026-08-16 18:20:57 +00:00
ba9d62b172 cap: advertise IRCv3 sts policy (sts_duration/sts_port/sts_preload) for TLS upgrade 2026-08-16 18:19:04 +00:00
4ce500e525 cap: fold CAP LS 302 into multiple continuation lines to stay under 512 bytes 2026-08-16 18:17:29 +00:00
1ab643c870 s2s: timestamp arbitration for fjoin (lower TS wins — strip or wipe losing status), fmode and ftopic (drop changes stamped newer than ours) 2026-08-16 18:06:03 +00:00
7908fe50b0 s2s: propagate x-lines (ADDLINE/DELLINE) — apply from peers, announce local ones, burst on link 2026-08-16 18:01:52 +00:00
98fb848b8c s2s: route and apply KILL across the link (inbound handler + remote-target routing) 2026-08-16 17:57:50 +00:00
579c321670 channels/whois: validate +k/+l, cap and case-fold ban lists, honour -n for externals, hide +s/+p/+i from whois/who/names, 301 in whois, conf-key the join/nickflood lockout 2026-08-16 17:56:24 +00:00
4028cd3c84 s2s: verify NICK/QUIT/PART source is reached via the link it arrived on 2026-08-16 17:54:20 +00:00
e87c9fd9ca s2s: reject malformed or duplicate UIDs on introduction 2026-08-16 17:50:25 +00:00
9ff0d8c629 s2s: apply METADATA accountname only from a services source 2026-08-16 17:48:21 +00:00
04423388d5 services: reword uline/service code comments, drop external daemon references 2026-08-16 14:12:18 +00:00
36b8a31a9a services: name the service message tag @echo/services (the project), not a foreign/author vendor prefix 2026-08-16 14:00:17 +00:00
d012623dff services: add server-level uline/is_service flag and gate the service WHOIS line, echo/services tag, MAP/LINKS hide and SVS* on it 2026-08-16 13:43:17 +00:00
64d3bfc003 test: cover IJOIN status-mode application (bot joins +ao) — regression guard for the S2S ijoin handler that previously had none 2026-08-16 13:16:09 +00:00
636da13a8a mode: register +r as a services-only channel mode so a user MODE +r gets a clean rejection instead of 472 unknown-mode (chanserv still sets it via mode_sudo) 2026-08-16 03:10:15 +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
91022cffe8 whois: track remote users' umodes from UID; show 335 (is a bot) for remote +B services/bots and 379 modes to opers 2026-08-15 23:50:07 +00:00
7d57e4ed34 connectban: never flood-ban loopback (127.0.0.1/::1) and add a connectban_exempt glob/cidr list 2026-08-15 23:25:16 +00:00
59b0439b79 whois: append the snomask to the 379 modes line for opers (is using modes <umodes> +<snomask>), matching the standard format 2026-08-15 17:17:12 +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
309201d7fb whois: add 307 (is a registered nick) for identified users and 379 (is using modes) for opers/self 2026-08-15 16:46:10 +00:00
35af95fd0f harden: connclass clone-cap at register, ws control-frame limits, uuid recycle-skip, json-escape extjwt/filehost claims, metadata value/key caps, cloak numeric-dotted leak, relaymsg remote-nick, rpc set_oper block validation, isupport 13-token split, multi-hop privmsg routing, connectdelay=0 2026-08-15 16:27:11 +00:00
e935ee7002 harden: fix reachable panics (parse_duration/parse_iso/dechunk char-boundary+overflow), s2s netburst key/limit loss, rpc set_nick/set_vhost/notice injection, webirc rehash reload, panic-state reset, ws line cap, remote nick collision, per-conn state leaks 2026-08-15 15:02:36 +00:00
3fa9737ccb link: stop services re-locking +r on every join — track the registered channel mode, keep +r channels alive when empty, use ijoin not fjoin for incremental joins, and consume s2s channel-mode params through the registry 2026-08-15 13:20:04 +00:00
62f901bdc8 sasl: wrap the s2s sasl relay in encap (client/agent/mode/data) so services drive authenticate, account via metadata 2026-08-15 12:04:09 +00:00
1c8799d785 link: rework s2s wire format to the standard v4 server protocol (10-field uid, letters-comma fjoin, ijoin, timestamped fmode, ftopic, uuid kick) so external services link 2026-08-15 11:51:18 +00:00
f921c2eb9c docs: document all 85 previously-missing config keys in the example — on-connect (connbanner/autojoin/umodes), account registration, captcha gates, antirandom/blockamsg/connectban/hashident, restrict* + securelist + denychans + channames + maphide, and customtitle/extjwt/filehost/randquote 2026-08-15 01:37:16 +00:00
0ace39c882 listeners: make bind/bind_tls/bind_server repeatable (multiple addresses/ports) and normalize IPv4-mapped IPv6 peers back to plain IPv4 — a single [::] bind now serves IPv4+IPv6 with clean v4 addresses 2026-08-15 01:12:37 +00:00
08ed18bb96 deploy: Let's Encrypt deploy-hook — installs the renewed cert into echoircd's tls/ (readable by the daemon user) and restarts only when it changed; symlink into certbot renewal-hooks 2026-08-15 01:12:37 +00:00