Skip to content

Getting Started

Clément Hamada edited this page May 20, 2021 · 4 revisions

Dependencies

To compile ircserv you first need to install a c++ compiler, GNU make, as well as the openssl library and headers.

macOS

Using brew:

brew install openssl
brew link openssl

If brew is not yet installed on your system, execute:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Compilation

ircserv can be built using the command make.

The c++ compiler can be specified using make CXX=<compiler>.

Configuration

The default configuration file is named ircserv.conf.

You can specify entries using the following syntax: [KEY]=[VALUE];.

SSL Certificates

The default configuration file tries to load an SSL certificate and key at cert.pem and key.pem respectively. A self-signed certificate can be generated using openssl:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=localhost"
Clone this wiki locally