Routing

From Buzznet
Jump to: navigation, search

Step 1: Preparing your system

  • you will need a few tools, like: wget, libssl-dev, etc.
  • On Ubuntu, Debian and the like, you can install these with apt install wget build-essential python3 libssl-dev
  • It is usually a good idea to run UnrealIRCd on it's own user. You can create a ircd user with adduser ircd
  • Switch to the new ircd user with su ircd

Step 2: Downloading and building the IRCd

We will download Unrealircd

  • Get the IRCD source code with wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz
  • Configure it for compilation with ./Config
  • The script will ask you a few questions. It is recommended to pick the defaults for everything, so you can just hit enter on every question.
  • After you finish configuring, you can now compile and install UnrealIRCd with make && make install

Step 3: Preparing Your Configuration

Cloak keys for your conf below:

 /* Buzznet uses "cloak_md5" module. */

set {

 cloak-keys {
   "d86PVocPMhCm8YcLs46Yb8FiCF1wC50x1VvutFBviIAitqb0g034M";
   "Qh3262E4uJOM2Aj210EC2gawF5llEA65mRK3cSctNOv4p610AJhX067KY5Xg";
   "240TUBv13ce2ANwm2cki1Rj80p8OAdqR64HWeDh8h38kTQkEWRXJ7";
 }

}

Note: If you are not a hub, make sure to edit your servers class as follows, so you don't connect to more than one hub at a time:

 /* Server class with good defaults */
 class servers
 {
         pingfreq 60;
         connfreq 15; /* try to connect every 15 seconds */
         maxclients 1; /* max servers */
         sendq 20M;
 }

Suggested leaf setup If you're running a leaf server you might be interested in these instructions:

Step 4: Blank

Step 5: Blank