Repository navigation
SekurIRCd 1.3.5
Global spam filters and network operators
- Network-wide spam filters: a rule that starts with
globalinspamfilters.conf, or one added with/SPAMFILTER ADD GLOBAL <targets> <action> <duration|-> <reason> <regex>, goes to every linked server and is enforced there as if it were its own. Put them on the hub and every leaf has them. A server sends its whole set when it changes and at every link-up (a newSPAMFILTERlink message, which older servers ignore), so deleting a rule on the hub removes it everywhere and a leaf that was down catches up by itself. - The hub's rules come first: a server checks the global rules it received before its own, so a leaf cannot undo them. The new action
allowlets the text through and skips the rules below it, so an exception to a global rule is a globalallowabove it on the hub. - Global rules bind a server whose own
[spam]is off. A leaf the hub limits withoper_scope = "local"cannot publish them. A leaf only enforces them once it runs 1.3.5. - Network operators from services: an
[[opers]]entry inservices.toml(account,certfp, privileges,password_only) makes an account an IRC operator on whichever server it logs in to, with no[[operators]]block there. It needs the account's TLS client certificate to matchcertfpunlesspassword_only = true. It ends on logout, account change, disconnect or when the entry is removed.[security] accept_services_opers = falsemakes a server ignore these grants. /REHASHon the hub now tells services to reload (SVCREHASH);services --rehashstill works.
Links and rehash
/REHASHcloses the links its config no longer allows: remove a[[links.peers]]entry, or editallowed_ipsso it no longer lists a peer's address, and that peer is disconnected at once, told why, and refused from then on. The same goes for the services link. A changed password or fingerprint does not close an open link (use/SQUIT), and a hub must still keep at least one entry that accepts a leaf. A refused handshake now says whether no entry has that name or the entry did not match.- Limit a leaf's opers from the hub:
[[links.peers]] oper_scope = "local"keeps that leaf's opers to their own server, andoper_deny = ["override", "auspex"]takes privileges off them. The leaf needs no setting.
Daemons and upgrades
--daemonreturns only once the daemon is ready (pidfile written, listeners open, signal handlers installed), for the ircd and for services. AType=forkingsystemd unit no longer logs "Can't open PID file (yet?)",Restart=on-failureworks, and a daemon that dies while starting makes the command exit non-zero instead of reporting success.tools/upgrade.pychecks linger when the systemd user units are enabled and turns it on when it may. Without linger, the ircd and services stop 10 seconds after your last SSH session closes and every user is disconnected. If you run the units, make sureloginctl show-user $USER -p LingersaysLinger=yes.
Containers and platforms
- Container image for x86-64 and arm64 on
ghcr.io/gcanosa/sekurircd(latest,1.3.5,1.3,edge), withcontainer/setup.sh(a guided podman install), acompose.yamlfor Docker andcontainer/README.md. It holds the ircd, services, the stats panel and the config tools. - CI builds and tests on Linux (x86-64 and arm64), macOS, FreeBSD, OpenBSD, NetBSD and Windows (Cygwin), and publishes the image only after every platform is green.
Fixes
[[classes]] hostsand the other IP lists: an IPv6 glob written with zero-padded groups (2602:f992:00c8:b79*) never matched, so the client hit "Too many connections from your host". Plain::1and globs starting with::never matched either. Both are fixed when the config loads, andsekurircd --checkwarns.- A restarted leaf now tells its hub about its always-on users. If a leaf was restarted on an older version,
/SQUITit from the hub once and it relinks with them. - WHOIS idle time only resets on a
PRIVMSG, as on other ircds. WHOX%lfollows+I. - The stats panel has a real login form and a Log out button (restart it with
./sekurircd restart-stats). The debug-channel stats line no longer reports stale services on a leaf.
Also new
- A short MOTD (
ircd.smotd, shown on connect while/MOTDshows the full one) and abot.motdshown on+B. [server] extra_portsand[tls] extra_portsadd client listeners;REHASHopens and closes them without dropping anyone.
Upgrade the hub and every leaf to 1.3.5. Mixed versions link fine, but a leaf running an older version does not enforce or relay the global spam rules. Full list: changelog.