Hack Forums
[NooB FrienDly] How to Install a IRC Server & Remove Connection Limit [NooB FrienDly] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: [NooB FrienDly] How to Install a IRC Server & Remove Connection Limit [NooB FrienDly] (/showthread.php?tid=503643)

Pages: Pages 1 2 3 4


[NooB FrienDly] How to Install a IRC Server & Remove Connection Limit [NooB FrienDly] - Fukushima - Jun 26, 2010

This is a tutorial on how to install a IRC Server, as well as remove the hard connection limit to allow over 1024 connections at one time.


What you will need:

A VPS with linux and a root account
IRCD Software (im using Unkn0wn's modded Ircd.) Found HERE
Putty or some other SSH client, as well as a SSH FTP client. Im using FlashFXP Beta.


Ok now to start
Log into your vps with the root account with putty. If this is your first time logging into your server it will ask you to accept the SHA1 fingerprint. Just do it :)


Now that you are logged in, make sure that you have gcc, gcc-c++, and kernel-devel installed. Use your install command based on the OS you are using. I am using CentOS 5 so my install command is "yum install".

[img]http://i27.photobucket.com/albums/c173/BlueKarnivor04/TuTs/2-2.png[/img]

I would also install nano if it isnt already, its an easy text editor to use, also make sure the package "make" is installed too.


It will ask if you want to install, type Y and it will install.


Now its time to FTP through SSH.


Spoiler (Click to View)


If this is your first time logging into your server it will ask you to accept the SHA1 fingerprint. I have already done this.

You will be put in the root directory. Upload the Unreal3.2 folder that you get from the RAR archive at the top of the thread. Once that is finished uploading, go into that folder.

You will have to change the permission's on 3 of the files, unreal, Config and configure. Right click each file, and change the checkmarks to look like mine.


Spoiler (Click to View)


And


Spoiler (Click to View)


Once that is done, go back into putty and type ls to make sure the Unreal3.2 folder is in there.

Good, its in there. You can go to that folder by typing:

Code:
cd Unreal3.2

Now we will change the hardlimit before we compile and install the IRCD.

We will do this by first typing

Code:
nano /usr/include/bits/typesizes.h

and scrolling down and change

Code:
#define __FD_SETSIZE 1024

To whatever you want, I did

Code:
#define __FD_SETSIZE 12000


Spoiler (Click to View)


We do the next part by typing:
Code:
nano /etc/security/limits.conf

Now that we are in there, scroll all the way down by using the arrow keys.
Once you are down there, type:

Code:
root hard nofile 12000
root soft nofile 12000


This alters the limit. You can change it to whatever you want, the highest I have tried is 12000. To save and exit, press ctrl-x. When it say do you want to save, hit Y. Then just hit enter.


[img]http://i27.photobucket.com/albums/c173/BlueKarnivor04/TuTs/8-1.png[/img]


Now you need to exit the putty and resign into your root account. Type:

Code:
ulimit -n

And if all goes well then you will see the number you put in putty in the limits.conf file.

Once that has shown up, type cd Unreal3.2 again to get back to the folder. Once you are in there type

Code:
./Config


It will say to press enter, do that.

Just hold enter through all this readme shit, you dont need it.

Then it will start asking questions, you dont need to change anything except for one value, this is very important.

Change it to the value you changed it to with the ulimit function.


Spoiler (Click to View)

Press enter again and again until the compiler starts running. It will look like this.

Once its done, all you have to do is type "make" and then hit enter. More shit will stream down the screen.

Spoiler (Click to View)


Once done it will look like this:


Spoiler (Click to View)

Now type this:

Code:
nano unrealircd.conf

Edit these parts, really the only ones that need to be edited.


Code
#  ##
#  #  Class Block    #
#  ##

class  clients
{
  pingfreq 90;
  maxclients 12000;
  sendq 100;
  recvq 4000;
};


Edit it to whatever values you changed the limit to.

And this block.


Code
#  ##
#  #    Operator Block    #
#  ##

oper Yourusername {
  class  clients;
  from {
    userhost *@*;
  };
  password "Yourpassword";
  flags
  {
    global;
    services-admin;
    can_rehash;
    can_die;
    can_restart;
    helpop;
    can_wallops;
    can_globops;
    can_localroute;
    can_globalroute;
    can_localkill;
    can_globalkill;
    can_kline;
    can_gzline;
    can_gkline;
    can_unkline;
    can_localnotice;
    can_globalnotice;
    netadmin;
    can_zline;
    get_umodew;
    get_host;
    can_override;
    };
    snomask *;
    maxlogins "2";
};

All that is left is to start the server. You achieve this by typing:


Code:
./unreal start


If you get this screen, nothing went wrong and your server is now up! Now all you have to do is connect to your server using an IRC client.


Spoiler (Click to View)


I hope this helped you, Enjoy!



* - JoKеR - Jun 26, 2010

Very good share man you made this very detailed and easy to follow.


* - Fukushima - Jun 26, 2010

Thanks, i hope it helps some people.


* - Prank Calling - Jun 26, 2010

I will be using this TuT very soon :) I just book marked it thanks for the share.


* - мα∂∂у - Jun 26, 2010

ub3R, this tutorial is awesom, it actually helped me, thank you so very much....


* - Fukushima - Jun 26, 2010

Glad it helped silentstorm1 =)


* - le@rner - Jun 26, 2010

Can i ban other users from flash chat room without using admin and mods id???


* - Fukushima - Jun 26, 2010

(Jun 26, 2010 12:10 PM)Jawwad Wrote:  Can i ban other users from flash chat room without using admin and mods id???

I'm not sure, i don't use Flash chat.


* - hacker_10101 - Jun 26, 2010

Very good share man you made this very detailed and easy to follow


* - Fukushima - Jul 3, 2010

Bump.
2.
da.
top.
lol
Spoiler (Click to View)


* - Vaksar - Jul 3, 2010

Very good and detailed ! Rated !
Edit: Wasn't Unreal 3.2 backdoored ?


* - Da Loser - Jul 3, 2010

You make this tut, yet you have about 5 threads asking.

how to setup ircd..


(Jul 3, 2010 05:33 AM)[censored] Security Wrote:  Very good and detailed ! Rated !
Edit: Wasn't Unreal 3.2 backdoored ?

Only the win32 version was backdoored.

-.-


* - Vaksar - Jul 3, 2010

(Jul 3, 2010 06:06 AM)BlaiR Wrote:  You make this tut, yet you have about 5 threads asking.

how to setup ircd..



Only the win32 version was backdoored.

-.-
😉 Just wanted to clear that out for people ✌


* - Fukushima - Jul 3, 2010

Reported your post BlaiR. And no this modded version of Unkn0wn is totaly safe and working, im using it myself.


* - Captаin - Jul 3, 2010

This is really great share and well explained.Thanks