SekurIRCd

A lightweight, secure IRC daemon written in C11. Native TLS, SASL, IRCv3, server linking and optional channel services. No runtime dependencies beyond OpenSSL.

C11 MIT Linux · macOS · BSD · Windows latest v1.3.6

sekurircd --quickstart

bash
$ git clone https://github.com/gcanosa/SekurIRCd.git && cd SekurIRCd
$ make                                   # bin/sekurircd, bin/services
$ cp config/sekurircd.template.toml config/sekurircd.toml
$ ./bin/sekurircd --config config/sekurircd.toml

Needs a C11 compiler, make and OpenSSL 3 (or LibreSSL). TOML, JSON and hash-table libraries are vendored. Full steps in the install guide.

sekurircd --features

TLS built in

Opt-in TLS listener on 6697 alongside plaintext. Channel mode +z restricts a channel to TLS clients; +Z marks them in WHOIS.

Accounts & SASL

Self-service accounts with SASL PLAIN and EXTERNAL (TLS client-certificate login via /CERT), register via NickServ, /REGISTER or IRCv3 draft/account-registration, plus account-based ban masks.

IRCv3

chathistory, multiline, message-redaction, channel-rename, labeled-response, read-marker, STS, server-time, echo-message, account-tag, MONITOR, WHOX and more. Full list.

Always-on

/msg NickServ SET ALWAYS-ON ON keeps your nick in its channels while you are disconnected. Log back in with SASL on any server of the network to resume it; sessions even survive an ircd restart.

Web chat & WebSocket

Native IRC over WebSocket (wss://) and a browser client shipped with the server: multiline, history, message deletion, channel rename, typing indicators. Read more.

UnrealIRCd-compatible modes

Familiar channel and user modes, named extbans (~account:, ~quiet:, ~time:, ~forward:, ~certfp:), UnrealIRCd-style +f flood rules and timed bans. Modes reference.

Scrypt operators

Operator passwords stored as scrypt hashes, each login limited to an ident@host mask list, with per-login privileges (override, auspex, immune) and oper modes. Generate with --hash-password.

Host cloaking

Hide real IPs and hostnames behind per-connection cloaks, with named vhosts and oper CHGHOST/SETHOST. Opers and the user still see the truth in WHOIS.

Protection bundle

An optional protection layer in one config file: DNSBL blacklists with per-zone reply rules, an active open-proxy scanner (HTTP, SOCKS4, SOCKS5), connection limits, connect-flood auto-bans, flood and spam protection, all reported live in your debug channel. Read more.

Stats panel

A self-hosted dashboard for admins: a world map of your hubs and leaves with live link state, users over time, every netsplit with its real reason, uptime, services, protection hits, bans and outside health checks. Admin and viewer logins, or static pages for your website. Read more.

Server linking

Hub-and-leaf topology over TLS with pinned certificates (self-signed is fine) and scrypt-authenticated peers, network-wide KILL/WALLOPS/ban propagation and backoff reconnect. A link wizard adds, edits and removes links, writes this server's side safely and tells you what to paste on the other.

Services

One services process links in for the whole network: NickServ (accounts, SASL, enforcement, GHOST/REGAIN, email resets) and ChanServ (account-based access levels with no channel password, ACCESS, AKICK, GUARD, TOPICLOCK, TOPICAPPEND, SUCCESSOR, SET MLOCK, Anope-style takeover protection). NickServ AJOIN joins your channels at every login.

Operator tooling

Snomask-style server notices (far connects with +F), an oper-only debug channel with network-wide stats, every common STATS letter (also remote), K/G/Z-lines, SHUN, ELINE, SAJOIN/SAPART/SAMODE, and live REHASH on one server or all of them without dropping anyone.

Daemon-friendly

--daemon, --stop, --rehash, PID files, rotating logs, ready-made systemd user units, a config wizard (--makeconf), confcheck, config backups and a guided upgrade.py. No root required.

Small & testable

Plain C11, -Wall -Wextra, an ASan+UBSan debug build and an assert-based self-check via make check.

Standard protocol

RFC 1459/2812 with IRCv3 negotiation. Works with iSekur, WeeChat, irssi, HexChat, BitchX, The Lounge and Kiwi.

sekurircd --compare

How SekurIRCd stacks up against the most widely deployed IRC daemons, out of the box with no third-party modules.

SekurIRCdUnrealIRCd 6InspIRCd 4SolanumngIRCdErgo
LanguageC11CC++CCGo
LicenseMITGPLv2GPLv2GPLv2GPLv2MIT
Server linkingyesyesyesyesyesno
NickServ + ChanServ includedyesno (Anope/Atheme)no (Anope/Atheme)no (Atheme)noyes
Active open-proxy scannerbuilt in, our ownexternal (BOPM/HOPM)external (BOPM/HOPM)external (HOPM)external (BOPM/HOPM)external script
DNSBL checksbuilt inbuilt inmodulebuilt innovia script
Native WebSocketyesyesmoduleno (removed)noyes
Web chat client shippedyesnonononono
IRCv3 chathistory + multilineyesyesnononoyes
Interactive link wizardyesnonononon/a
Runtime dependenciesOpenSSL onlyseveralper moduleseveralminimalnone (static)
Config formatTOMLcustom blocksXML-likecustom blocksINIYAML

Based on each project's public documentation as of November 2026. Spotted something out of date? Open an issue and we'll fix it.

isekur --download

Our recommended client: iSekur, a small, very colorful terminal IRC client with TLS, SASL, IRCv3, detach/attach like tmux, end-to-end encrypted queries between iSekur users and a built-in webchat.

bash
# macOS (Apple silicon); Linux: isekur-linux-x86_64 or isekur-linux-arm64
$ curl -L https://github.com/gcanosa/iSekur/releases/latest/download/isekur-macos-arm64.tar.gz | tar xz
$ sudo isekur-macos-arm64/install.sh
$ isekur

sekurircd --security

No eval, system or shell-out anywhere in the request path. Line length, parameter count and nick length are enforced, every client is isolated so one bad connection cannot take the daemon down, and slow ident/reverse-DNS lookups run on worker threads so they never block the event loop. Found something? Open an issue on GitHub.

tail -f /dev/irc

irssi
-!- Connected, using TLS (secure connection)
> /oper admin ********
-!- You are now an IRC operator
> /msg ChanServ REGISTER #lobby ********
-ChanServ- #lobby is now registered. Use IDENTIFY to reclaim access after a reconnect.
> /mode #lobby +z
-!- mode/#lobby [+z] by alice

sekurircd --docs