Routing: Difference between revisions

From Buzznet
Jump to: navigation, search
Line 47: Line 47:
'''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: '''
'''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
   class servers
   {
   {
Line 55: Line 55:
           sendq 20M;
           sendq 20M;
   }
   }
=== Step 4: Blank===
=== Step 4: Blank===



Revision as of 13:22, 4 April 2025

Buzznet Routing Network

  • So you are here this mean your ready to link with us join irc.buzznet.ovh for info channel #Routing
  • People should have version of IRCd 6.x if not your link is deny
  • you need to have your own domain to link with us
  • you need to maintain your ircd up to date

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

  • Buzznet uses "cloak_sha256" module.
loadmodule "cloak_sha256";
  • you need to change the network name for "Buzznet"
network-name        "Buzznet";
  • change your hidenn host prefix for "Buzznet"
hiddenhost-prefix   "Buzznet";
  • Cloak keys for your conf below
set {
   cloak-keys {
                "55c5lCu203i311G18MsldHwqwPA2848aRFrm7d0BbCMf2718p0oxyyR2NKwdSHkfSJ11y6OSXQO4K1b2";
                "jwc3i6Satr17n5YLA251sRpvdO3Lty8DmHmAp6hT3KFaRhR6aPLPqtN7A188VjIPD51oT7dM0Sgl54Mv";
                "7RsJm0h0l7yEu4R51wdo20RQM8SJ65jT5f60L08KB1CH53aJ7x1dX360eS8XH4dK8gfPc581005ED3J0";
        }
}

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:


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

Step 4: Blank

Step 5: WARNING

  • Dont try to link if your not in my link block you gona get zlined
  • join irc.buzznet.ovh and ask Parrot for Help to get the password for the uplink

Suggested leaf setup

  • If you're running a leaf server you might be interested in these instructions:
  1. Create a separate hubs class with maxclients set to 1.
  2. Make sure their link blocks use the hubs class.
  3. Enable autoconnect for the hubs by adding autoconnect; to the options { tls; } block.

A hubs class block would look like this:

 class hubs {       
       pingfreq 60;
       connfreq 60;
       maxclients 1;
       sendq 20M;
 }

An autoconnect hub link block would look like this:

 link irc.buzznet.ovh {
     incoming {
         mask *;
     }
     outgoing {
         hostname irc.buzznet.ovh;
         port 6900;
         options { tls; autoconnect; }
     }
     password "awesome.base64.fingerprint" { spkifp; }
     class hubs;
 }

Suggested server setup

UnrealIRCd by default does not send a fake quit/join for "Changing host" when a ip/spoof/cloak/vhost/whatever is changed. This can be an issue for some clients and bots. This setting will only send the fake quit/join to clients on your server that do not support CHGHOST. This setting will not override CHGHOST. NOTE: UnrealIRCd uses PART instead of QUIT.

set {
    allow-userhost-change force-rejoin;
}
  • if you are updating UnrealIRCd 5.x to 6.x you need to change this
log {
        source {
            !debug;
            all;
        }
        destination {
            file "ircd.log" { maxsize 100M; }
        }
}