Routing: Difference between revisions

From Buzznet
Jump to: navigation, search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Buzznet Routing Network ==
== 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
* irc.buzznet.ovh for info channel #Routing
*you need to have your own domain to link with us
 
*you need to maintain your ircd up to date
* '''[[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
 
=== Requirement ===
 
* <span style="color:#000000; background:#00FF00">YOU NEED ROOT</span>
 
* The server's hardware and bandwidth (Minimum ram 1024MB)
 
* The server use your own domain.
* The server must have a <span style="color:#000000; background:#00FF00">Static IP address</span>
* 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 <span style="color:#000000; background:#00FF00">ZLINE</span>
*join irc.buzznet.ovh and ask Parrot for Help to get the password for the uplink


=== Step 1: Preparing your system ===
=== Step 1: Preparing your system ===
* first login as root


* you will need a few tools, like: <code>wget</code>, <code>libssl-dev</code>, etc.
* 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 <code>apt install wget build-essential python3 libssl-dev</code>
* 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 <code>ircd</code> user with <code>adduser ircd</code>
* 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 <code>su ircd</code>
* Switch to the new ircd user with <pre>su ircd</pre>


=== Step 2: Downloading and building the IRCd ===
=== Step 2: Downloading and building the IRCd ===
Line 16: Line 39:
We will download [https://www.unrealircd.org/ Unrealircd]
We will download [https://www.unrealircd.org/ Unrealircd]


* Get the IRCD source code with <code>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</code>
* Get the IRCD source code with <pre>wget --trust-server-names https://www.unrealircd.org/downloads/unrealircd-latest.tar.gz</pre>
* Configure it for compilation with <code>./Config</code>
* 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.
* 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 <code>make && make install</code>
* After you finish configuring, you can now compile and install UnrealIRCd with <pre>make && make install</pre>


=== Step 3: Preparing Your Configuration===
=== Step 3: Preparing Your Configuration===
Line 45: 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 55: Line 80:
           sendq 20M;
           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:
*running a leaf server follow 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.
Line 70: Line 87:
# Enable autoconnect for the hubs 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.


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 79: 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 {

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; }
        }
}