Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Tutorial] How to setup Unrealircd on a vps/dedi [Tutorial]

Unrealircd setup

First login to your vps, then do an update:
For CentOs
Code
yum update
Or Ubuntu
Code
apt-get update
Or Opensuse
Code
zypper update

After the update is done, make sure that gcc & make are installed, if not installed you can install them by:
For CentOs
Code
yum install gcc
Code
yum install make
Use zypper/apt-get for other distributions as mentioned above.

To open the connections on your vps/dedi:
Code
vim /usr/sbin/include/bits/typesizes.h
Or if the file is not found on the above location you'll find it on:
Code
vim /usr/include/bits/typesizes.h
Change 1024 to 10000
Then:
Code
ulimit -n 10000

Now grep the Unrealircd archive:
Code
wget chaosaroundtheworld.com/madpew/Unreal3.2.8.1.tar.gz
Extract the archive:
Code
tar zxvf Unreal3.2.8.1.tar.gz
Go to the Unreal directory
Code
cd Unreal3.2
Then do the config:
Code
./Config
Follow the steps and answer the question by just hitting enter till you reach where it asks about how manny connections you want to use (The default is 1024, change it to 10000 and proceed)

After it finishes configuring you do:
Code
make

After it finishes installing you have to add the unrealircd.conf file in your Unreal3.2 directory
Code
#    ##
#    #    ME Block    #
#    ##

me {
    name "mad.pwnsyou.net";
    info "mad";
    numeric 1;
};

#    ##
#    #  Admin Block    #
#    ##

admin {
  "mad";
  "contact at  [email protected]";

};

#    ##
#    #  Class Block    #
#    ##

class  clients
{
  pingfreq 90;
  maxclients 10000;
  sendq 500;
  recvq 32000;
};

#    ##
#    #  Allow Block    #
#    ##

allow {
    ip *@*;
    hostname *@*;
    class clients;
    maxperip 2;
};

#    ##
#    #    Listen Block    #
#    ##

listen  *:6667;

{
options
{
serversonly;
};
};

#    ##
#    #    Operator Block    #
#    ##

oper mad {
  class  clients;
  from {
    userhost *@*;
  };
  password "OPERPASS";
  flags "zxcvbnmlkjhgfdsaqewrtyuiopZXCVBNMLKJHGFDSAQEWRTYUIOP";
#     flags {
#     netadmin;
#     global;
#     can_rehash;
#     can_override;
#    };
    snomask *;
    maxlogins "10";
};

#  ##
#    #  Settings  #
#    ##

drpass {
  restart "change";
  die "me";
};

set {
  network-name    "mad";
  default-server    "mad.pwnsyou.net";
  services-server  "services.pwnsyou.net";
  help-channel    "#help";
  hiddenhost-prefix  "mad";
  cloak-keys {
    // Don't use the same keys
    "aIRgFoAr1HnF5h5sDb7x4YwA6pW";
    "P9FdZnR1gl5sJ7hVz4Zb7x4YwpW";
    "OI8r1ZnR6gl3sJ7hVz4Zb7x4YnX";
  };

    hosts {
        local         "whatever.net";
        global         "whatever.net";
        coadmin         "whatever.net";
        admin         "whatever.net";
        netadmin      "whatever.net";
        servicesadmin    "whatever.net";
        host-on-oper-up  "yes";
    };
};

};
set {
    allowed-nickchars {
        latin1;
    };     
    kline-address      "[email protected]";
    modes-on-connect "+wG";
    modes-on-oper     "+xwgspH";
    restrict-usermodes "G";
    restrict-channelmodes "G";
    modes-on-join "+nmMust";

    oper-auto-join "#flood";
    dns {
        nameserver 127.0.0.1;
        timeout 2s;
        retries 2;
    };
    options {
        hide-ulines;
        show-connect-info;
        show-opermotd;
        allow-part-if-shunned;
        flat-map;
        fail-oper-warn;
    };

    maxchannelsperuser 30;
    anti-spam-quit-message-time 100s;
    static-quit "mad mymaster.";    
    oper-only-stats "*";

    throttle {
        connections 30;
        period 60s;
    };
    anti-flood {
        nick-flood 50:60;    
    };
    spamfilter {
        ban-time 1d;
        ban-reason "Spam/Advertising";
        virus-help-channel "#help";
    };
    default-bantime "0";

};

#    ## Modules ##

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

#    ##
#    #    Log Block  #
#    ##

log ircd.log {
    maxsize 5MB;
    flags {
        errors;
        kills;
        sadmin-commands;
        chg-commands;
        oper-override;
        spamfilter;
        kline;
        tkl;
    };
};

#    ##
#    #   SHIT SHIT Block (NOT NEEDED :D)    #
#    ##

ban nick {
    mask "*S*e*r*v*";
    reason "Gesperrt";
};

ulines {
  services.super.com;
  stats.super.com;
};

#tld {
#    mask *@*;
#    motd "motd.conf";
#    rules "rules.conf";
#};

Edit the above config file and save it.

Now your unreal is ready to start:
Code
./unreal start

Now you can connect to your server using mIRC or any other Irc client you use
/server ip.of.your.server port(the port you chose in the listen block in the config file.)

This is my first tutorial, hope it helped users understand how to setup their own Irc.

If you have any question feel free to ask and i'll be glad to help.

Thank you.

a world not of my making; yet a world of my design
Nice tutorial mad, good work, looks nice. :)
Nice tutorial man, looks nice. It will sure help some of the new users. Good work!
Nice work. I'm sure people will use this.
Maybe you should also write a tutorial on how to install Anope Services and configure it with unrealircd?
(Mar 4, 2013 12:54 PM)Tibit Wrote:  Nice tutorial mad, good work, looks nice. :)

(Mar 4, 2013 12:56 PM)๖ۣۣۜۜFear Wrote:  Nice tutorial man, looks nice. It will sure help some of the new users. Good work!

Thanks and glad you like it.

(Mar 4, 2013 02:07 PM)John Constantine Wrote:  Nice work. I'm sure people will use this.
Maybe you should also write a tutorial on how to install Anope Services and configure it with unrealircd?

I'll be writing more irc related tutorials whenever i have time to.

Glad you like my tut.

a world not of my making; yet a world of my design
Nice tutorial mate, keep them comming :)
~V
Very nice: https://hackforums.net/showthread.php?tid=503643
(Mar 4, 2013 02:17 PM)mad Wrote:  I'll be writing more irc related tutorials whenever i have time to.

Sounds legit. Thanks for your effort!
Sorry I'm new here.. But how this relate to botnet and getting a load of installs?
(Mar 5, 2013 04:54 PM)Pawerful Nekomancer Wrote:  Sorry I'm new here.. But how this relate to botnet and getting a load of installs?

To have an irc botnet, you need to be having an Irc server running, and this tutorial shows how to setup that.

a world not of my making; yet a world of my design
(Mar 5, 2013 04:57 PM)mad Wrote:  To have an irc botnet, you need to be having an Irc server running, and this tutorial shows how to setup that.

Sorry again. But what could an IRC Botnet be used for?
(Mar 5, 2013 04:58 PM)Pawerful Nekomancer Wrote:  Sorry again. But what could an IRC Botnet be used for?

Obvious troll is obvious.
-35chars
(Mar 5, 2013 04:58 PM)Pawerful Nekomancer Wrote:  Sorry again. But what could an IRC Botnet be used for?

http://justfuckinggoogleit.com

The best place you should be.

a world not of my making; yet a world of my design
putting this back up to make easier to find.

a world not of my making; yet a world of my design
nice tutorial but remember, you always ought to include pictures, always


Possibly Related Threads...
Thread / Author Replies Views Last Post
by 4llg00dOct 19, 2023 05:50 AM 2 176 Oct 19, 2023 05:50 AM
Last Post: mojcaxx
by DarkDoserMay 18, 2019 06:54 PM 2 206 May 18, 2019 06:54 PM
Last Post: DarkDoser
by Jihadi ϗOct 7, 2018 08:29 PM 28 7,192 Oct 7, 2018 08:29 PM
Last Post: LxL6x7