Skip to content

SekurIRCd 1.3.6

Latest

Choose a tag to compare

@gcanosa gcanosa released this 24 Nov 09:53
· 4 commits to main since this release

Account cloaks

  • Logged-in users are cloaked by their account: a user logged in to an account shows users/<account> on every server, instead of the usual cloak, until they log out. Their real host stays hidden without any vhost to set up.
  • Configurable in services.toml: [nickserv] account_cloak = false turns it off. account_cloak_format sets the shape, with {account} and {network} ("{account}.users.{network}" gives alice.users.sekurnet).
  • A chosen vhost still wins: /VHOST LIST (or /msg NickServ VHOST) lists the account cloak among a user's choices as "(default)", and VHOST DEFAULT goes back to it. /VHOST LIST now works for everyone, not only services admins.
  • Slashes in hosts: vhosts, SETHOST, CHGHOST and the account cloak may contain /. A ban on *@users/alice is a ban on that host, not a CIDR range.
  • On by default: set account_cloak = false before upgrading services if you don't want it. Servers older than 1.3.6 keep their users' usual host.

Network-wide vhosts, services over TLS, multi-hub

  • Vhosts that follow the account: an oper gives an account vhosts with /VHOST ADD <account> <host> (DEL, LIST); the person picks one, and it applies at every login on every server.
  • Per-server [[vhosts]] also take accounts = [...] and an optional password (password or password_hash).
  • Services on another machine: [link] tls = true in services.toml, with certificate pinning (fingerprint) or CA verification. require_tls refuses plain text to a remote hub.
  • tools/linkmgmt.py hub turns a linked leaf into a hub of its own. A two-hub, four-leaf topology is now tested.

New configuration and oper commands

  • [limits]: channels per user, list sizes, topic/kick/away/channel lengths, MONITOR/SILENCE, MODES, WHOWAS and the registration timeout, each defaulting to the old fixed value.
  • [privacy]: hide links, server names, idle times, part/quit reasons and NAMES of other channels from non-opers.
  • Oper logins tied to TLS certificates: certfp in [[operators]]; with no password the certificate alone is the login (/OPER <name>).
  • Audit log and per-command limits: [logging] audit_file and syslog; command_limits = ["WHO 5/10", ...].
  • QLINE, RESV, XLINE: network-wide bans on nicknames, channel names and realnames. They survive restarts in xlines.json.
  • DEFCON 1-5: tighten one server against an attack, with an optional duration.
  • CLASS ADD [GLOBAL] / DEL: manage connection classes live. scope = "global" publishes a class to every server.
  • include = ["conf.d/*.toml"]: split the config over several files.
  • [[links.peers]] introduces / leaf = true: decide which servers may appear behind a link.
  • ELINE on an address exempts it from Z-lines, the connect throttle, the per-IP cap, the DNSBL and the scanner.

Fixes

  • With debug = true or -v, the ircd wrote nothing to its log, not even errors. Fixed.
  • Services build again on Linux and the BSDs. On OpenBSD, whose Python has no scrypt, the stats panel and linkmgmt use the ircd's own scrypt (--hash-password, and a new --verify-password).
  • /REHASH re-places connections in their classes as soon as the new config is read.
  • Link source checks for KILL/UNGLINE, NickServ account expiry, registration that requires a verified email, WHOIS of TLS client certificates. Stats panel: maintenance, alerts, IRC announcements, hardening. Tests no longer leave temp directories behind.

Config templates

The sekurircd, protection, services and stats templates are rewritten. Every setting is marked [required], [recommended] or [optional], with a short explanation and an example, and every new setting is documented. The settings and defaults are unchanged, so existing configs keep working; tools/confcheck.py shows which new options you don't set.

Upgrading

Upgrade the ircd and services together (tools/upgrade.py, or the container's upgrade). Every new link message is ignored by older servers, so a network can upgrade one server at a time.

Container image: ghcr.io/gcanosa/sekurircd:1.3.6 (also :1.3 and :latest), for linux/amd64 and linux/arm64.

Full list: changelog.