Illumadmin

Subscribe
Archives
March 16, 2024

Configure miniIRCd on OmniOSce/OpenIndiana

It's a minimalist public IRC chat, with no user management (everyone can connect to it).

We'll generate a self-signed SSL certificate for testing purposes,
and chroot it all to avoid some mishaps on the server.

It can be configured in less than 30 seconds. (Copy/Paste the following).

You must be root

┌ Open a terminal and switch to root

su -

┌ Install git

pkg install git

┌ Download and install miniIRCd

cd /tmp && git clone https://github.com/jrosdahl/miniircd.git && cd miniircd && cp miniircd /usr/bin/

┌ Generate the self-signed SSL certificate and create the chroot

mkdir -p /var/jail/miniircd && cd /var/jail/miniircd && openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout miniircd.key -out miniircd.crt

┌ Start the server in the background.

nohup /usr/bin/miniircd --listen=0.0.0.0 --ssl-cert-file=/var/jail/miniircd/miniircd.crt --ssl-key-file=/var/jail/miniircd/miniircd.key --verbose --chroot=/var/jail/miniircd --setuid=nobody &

And there you go, the server is up and running.
With a client like Hexchat, it's possible to create a new network by specifying the server's IP address/6697.
Make sure to check the "Accept invalid SSL certificates" box for self-signed certificates.

This can be handy for quickly exchanging files locally with options like '/dcc send RECIPIENT' for IRC addicts !
Create or join a channel simply by typing "/join #channelname" on the client

Don't miss what's next. Subscribe to Illumadmin:
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.