Round robin and TLS

What the irc.letspiss.net rotation requires and how to serve its certificate.

All guides

irc.letspiss.net and irc-nossl.piss.network rotate automatically between linked servers on the server list. Each server is checked twice a day, and its result shows in the server list.

To be in the rotation, your server must:

  • Be linked to the network and listed in the server list, with a known location
  • Run UnrealIRCd 6
  • Be reachable from the Internet on port 6667 for irc-nossl.piss.network
  • Be reachable on port 6697 with a valid TLS certificate for irc.letspiss.net

TLS certificate

Clients connecting through irc.letspiss.net expect a certificate for that name. You get one with acme.sh and the network's shared acme-dns account:

export ACMEDNS_BASE_URL="https://auth.autie.net"
export ACMEDNS_USERNAME="7a72b116-70de-4a49-83a5-dcfeb2dfabb2"
export ACMEDNS_PASSWORD="R6uA0z8-bwfU8xZxqbTIkoNUBE91Yrn7LN-34qRx"
export ACMEDNS_SUBDOMAIN="cdd942bb-0b02-4e50-9bf0-639d61c60741"

~/.acme.sh/acme.sh --issue --server letsencrypt -d irc.letspiss.net --dns dns_acmedns

Copy it next to your config and have renewals reload UnrealIRCd:

mkdir -p ~/unrealircd/conf/tls/letspiss
~/.acme.sh/acme.sh --install-cert -d irc.letspiss.net \
    --fullchain-file ~/unrealircd/conf/tls/letspiss/fullchain.pem \
    --key-file ~/unrealircd/conf/tls/letspiss/key.pem \
    --reloadcmd "~/unrealircd/unrealircd reloadtls"

Then serve it to clients that ask for irc.letspiss.net with an sni block, and keep your own certificate for everything else:

sni irc.letspiss.net {
    tls-options {
        certificate "tls/letspiss/fullchain.pem";
        key "tls/letspiss/key.pem";
    }
}

Load it with ./unrealircd reloadtls.

Don't change the certificate or key of your server-link listener. Your spkifp comes from that key: change it and every server that links to you has to update your block.

Recovered from the old wiki. See the archived page.