Routing: Difference between revisions

From Buzznet
Jump to: navigation, search
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Step 1: Preparing your system ===
== Buzznet Routing Network ==
 
* irc.buzznet.ovh for info channel #Routing
 
* '''[[Application]]''' (<span style="color:#000000; background:#00FF00"> DO THIS BEFORE....</span>)
=== Server Rules ===
 
* IRCops are not allowed to use their powers over registered channels
* IRCops are not allowed to disconnect users or servers without a good reason
* IRCops are not allowed to do anything that could result in damage to the server or its users


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


=== Step 2: Downloading and building the IRCd ===
* <span style="color:#000000; background:#00FF00">YOU NEED ROOT</span>


We will download [https://www.unrealircd.org/ Unrealircd]
* The server's hardware and bandwidth (Minimum ram 1024MB)


* Get the IRCD source code with <code>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</code>
* The server use your own domain.
* Configure it for compilation with <code>./Config</code>
* The server must have a <span style="color:#000000; background:#00FF00">Static IP address</span>
* 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.
* You must have knowledge about how to set up and maintain an IRC Server
* After you finish configuring, you can now compile and install UnrealIRCd with <code>make && make install</code>
*People should have version of UnrealIRCd 6.x  if not your link is deny


=== Step 3: Preparing Your Configuration===
===WARNING===
Edit the conf/unrealircd.conf with your favorite text editor. The parts you want to change are:


    The me {} block:
*Dont try to link if your not in my link block you gona get <span style="color:#000000; background:#00FF00">ZLINE</span>
*join irc.buzznet.ovh and ask Parrot for Help to get the password for the uplink


        name is the name of your server. It doesn't need to resolve to your server, but it's a plus if it does. You can find available domains at Domains.
=== Step 1: Preparing your system ===
        info a description for your server, you can be creative here.
        sid is an identifier for your server and it should be unique. You can check out the Great big-ass server list of doom to find an unused one for your server.


    The admin {} block:
* first login as root


        In this block you can have up to three lines of free text. Ideally it should have some kind of info so we can contact you in case something goes wrong. You can put just your nick, nick and email or whatever.
* you will need a few tools, like: <code>wget</code>, <code>libssl-dev</code>, etc.
* On Ubuntu, Debian and the like, you can install these with <pre>apt update & apt install wget build-essential python3 libssl-dev</pre>
* It is usually a good idea to run UnrealIRCd on it's own user. You can create a ircd user with <pre>adduser ircd</pre>
* Switch to the new ircd user with <pre>su ircd</pre>


    The oper ... {} block:
=== Step 2: Downloading and building the IRCd ===


        This block sets the username and password you will use with the /oper command to admin your server. The default user and password are "bobsmith" and "test". CHANGE IT.
We will download [https://www.unrealircd.org/ Unrealircd]


Now you can start your IRCd with ./unrealircd start.  
* Get the IRCD source code with <pre>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</pre>
* Decompress the file with <pre>tar xzvf unrealircd-6.1.10.tar.gz</pre>
* move to your folder ..with <pre>cd unrealircd-6.1.10</pre>
* Configure it for compilation with <pre>./Config</pre>
* 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 <pre>make && make install</pre>


Cloak keys for your conf below:
=== Step 3: Preparing Your Configuration===
*Buzznet uses "cloak_sha256" module.
<pre>
loadmodule "cloak_sha256";
</pre>
*you need to change the network name for "Buzznet"
<pre>
network-name        "Buzznet";
</pre>
*change your hidenn host prefix for "Buzznet"
<pre>
hiddenhost-prefix  "Buzznet";
</pre>
*Cloak keys for your conf below
<pre>
<pre>
  /* Buzznet uses "cloak_md5" module. */
set {
set {
   cloak-keys {
   cloak-keys {
Line 46: Line 70:
</pre>
</pre>


'''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: '''
== Suggested leaf setup ==
 
'''Note: 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 57: Line 81:
   }
   }


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


# Create a separate <code>hubs</code> class with <code>maxclients</code> set to 1.
# Create a separate <code>hubs</code> class with <code>maxclients</code> set to 1.
# Add all the hubs from further down the page to your config. Make sure their <code>link</code> blocks use the <code>hubs</code> class.
# Make sure their <code>link</code> blocks use the <code>hubs</code> class.
# Enable autoconnect for the hubs that are geographically closest to you by adding <code>autoconnect;</code> to the <code>options { tls; }</code> block.
# Enable autoconnect for the hubs by adding <code>autoconnect;</code> to the <code>options { tls; }</code> block.
# Profit.


A <code>hubs</code> <code>class</code> block would look like this:
*<code>hubs</code> <code>class</code> block would look like this:


   class hubs {       
   class hubs {       
Line 75: Line 96:
   }
   }


An '''autoconnect''' hub <code>link</code> block would look like this:
*hubs <code>link</code> block would look like this:... this is the link block for Buzznet (dont forget to ask the password xD)


   link irc.buzznet.ovh {
   link irc.buzznet.ovh {
Line 95: Line 116:


<pre>
<pre>
/* Server specific configuration */
set {
set {
     allow-userhost-change force-rejoin;
     allow-userhost-change force-rejoin;
Line 101: Line 121:
</pre>
</pre>


=== Step 4: Blank===
*if you are updating UnrealIRCd 5.x to 6.x you need to change this
=== Step 5: Blank===
 
<pre>
log {
        source {
            !debug;
            all;
        }
        destination {
            file "ircd.log" { maxsize 100M; }
        }
}
</pre>

Latest revision as of 23:30, 17 April 2025

Buzznet Routing Network

  • irc.buzznet.ovh for info channel #Routing

Server Rules

  • IRCops are not allowed to use their powers over registered channels
  • IRCops are not allowed to disconnect users or servers without a good reason
  • IRCops are not allowed to do anything that could result in damage to the server or its users

Requirement

  • YOU NEED ROOT
  • The server's hardware and bandwidth (Minimum ram 1024MB)
  • The server use your own domain.
  • The server must have a Static IP address
  • You must have knowledge about how to set up and maintain an IRC Server
  • People should have version of UnrealIRCd 6.x if not your link is deny

WARNING

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

Step 1: Preparing your system

  • first login as root
  • you will need a few tools, like: wget, libssl-dev, etc.
  • On Ubuntu, Debian and the like, you can install these with
    apt update & 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
  • Decompress the file with
    tar xzvf unrealircd-6.1.10.tar.gz
  • move to your folder ..with
    cd unrealircd-6.1.10
  • 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";
        }
}

Suggested leaf setup

Note: 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;
  }
  • running a leaf server follow 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.
  • hubs class block would look like this:
 class hubs {       
       pingfreq 60;
       connfreq 60;
       maxclients 1;
       sendq 20M;
 }
  • hubs link block would look like this:... this is the link block for Buzznet (dont forget to ask the password xD)
 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; }
        }
}