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

[TUT] Unrealircd setup

Here a tut on how to setup your very own IRC

What you need
I recommend https://www.digitalocean.com/
1.VPS
2.Putty
3.Filezila

Step:1
PHP Code

<?php 
Centos vps
: Type in yum install gcc
Ubuntu vps
: Type in apt-get install gcc 

step:2
Type in:
PHP Code

<?php 
wget http
://www.unrealircd.com/downloads/Unreal3.2.10.tar.gz
Then type in: tar zxvf Unreal3.2.10.tar.gz 

Step:3
Type in:
PHP Code

<?php 
apt
-get install build-essential
apt
-get install openssl
apt
-get install libcurl4-openssl-dev
If you are using Centos put "yum" instead of "apt"

  
Step:4
Type in
: cd Unreal3.2.10
Then type in
:[php] ./Config 

Step:5
PHP Code

<?php 
touch ircd
.log
touch ircd
.motd
touch ircd
.rules 

Step:6
Type in: nano unrealircd.conf
Then copy and paste

PHP Code

<?php 
loadmodule 
"src/modules/commands.so";
loadmodule "src/modules/cloak.so";

include 
"help.conf";
include 
"badwords.channel.conf";
include 
"badwords.message.conf";
include 
"badwords.quit.conf";
include 
"spamfilter.conf";

me
{
  
name "change this to your no ip blah.servequake.com";
  
info "name it somthing random this is to name your irc so it can be w/e you like";
  
numeric 1;
};
admin {
  
"hhhh";
  
"hhhh";
  
"[email protected]";
};
class  
clients
{
  
pingfreq 90;
  
maxclients 50000;
  
sendq 100;
  
recvq 8000;
};
class  
servers
{
  
pingfreq 90;
  
maxclients 10;    /* Max servers we can have linked at a time */
  
sendq 100;
  
connfreq 100; /* How many seconds between each connection attempt */
};
allow {
  
ip  *@*;
  
hostname  *@*;
  class  
clients;
  
maxperip 5;
};
allow  channel {
  
channel "#channel";
};
oper username here {
  class  
clients;
  
from {
    
userhost *@*;
  };
  
password "youre pass";
  
flags
  
{
    
netadmin;
    
can_zline;
    
can_gzline;
    
can_gkline;
    global;
    
can_override;
  };
};
listen  *:1234 port change
{
  
options
  
{
    
clientsonly;
  };
};
ulines {
  
services.roxnet.org;
  
stats.roxnet.org;
};
drpass {
  
restart "restart1";
  die 
"die1";
};
log "ircd.log" {
  
/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
  same log */
  
maxsize 2097152;
  
flags {
    
oper;
    
kline;
    
connects;
    
server-connects;
    
kills;
    
errors;
    
sadmin-commands;
    
chg-commands;
    
oper-override;
    
spamfilter;
  };
};
alias "identify" {
  
format "^#" {
    
target "chanserv";
    
type services;
    
parameters "IDENTIFY %1-";
  };
  
format "^[^#]" {
    
target "nickserv";
    
type services;
    
parameters "IDENTIFY %1-";
  };
  
type command;
};
/* Standard aliases */
alias "services" {
  
format "^#" {
    
target "chanserv";
    
type services;
    
parameters "%1-";
  };
  
format "^[^#]" {
    
target "nickserv";
    
type services;
    
parameters "%1-";
  };
  
type command;
};
alias "identify" {
  
format "^#" {
    
target "chanserv";
    
type services;
    
parameters "IDENTIFY %1-";
  };
  
format "^[^#]" {
    
target "nickserv";
    
type services;
    
parameters "IDENTIFY %1-";
  };
  
type command;
};
alias "glinebot" {
  
format ".+" {
    
command "gline";
    
type real;
    
parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  };
  
type command;
};
tld {
  
mask *@*.fr;
  
motd "ircd.motd";
  
rules "ircd.rules";
};
ban nick {
  
mask "*C*h*a*n*S*e*r*v*";
  
reason "Reserved for Services";
};
ban ip {
  
mask 195.86.232.81;
  
reason "Delinked server";
};
ban server {
  
mask eris.berkeley.edu;
  
reason "Get out of here.";
};
ban user {
  
mask *tirc@*.saturn.bbn.com;
  
reason "Idiot";
};
ban realname {
  
mask "Swat Team";
  
reason "mIRKFORCE";
};
ban realname {
  
mask "sub7server";
  
reason "sub7";
};
except ban {
  
/* don't ban stskeeps */
  
mask  *stskeeps@212.*;
};
deny dcc {
  
filename "*sub7*";
  
reason "Possible Sub7 Virus";
};
deny channel {
  
channel "*warez*";
  
reason "Warez is illegal";
};
vhost {
  
vhost  i.hate.microsefrs.com;
  
from {
    
userhost  *@*.image.dk;
  };
  
login  stskeeps;
  
password  moocowsrulemyworld;
};
/* Network configuration */
set {
  
network-name    "a name";
  default-
server    "irc.1.1.1.1"; change
  services
-server  "services.1.1.1.1";
  
stats-server    "stats.1.1.1.1";
  
help-channel    "#Help";
  
hiddenhost-prefix  "4 letter";
  
/* prefix-quit    "no"; */
  /* Cloak keys should be the same at all servers on the network.
  * They are used for generating masked hosts and should be kept secret.
  * The keys should be 3 random strings of 5-100 characters
  * (10-20 chars is just fine) and must consist of lowcase (a-z),
  * upcase (A-Z) and digits (0-9) [see first key example].
  * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  *  Unreal generate 3 random strings for you.
  */
  
cloak-keys {
    
"anoAr1HnR6gl3sJ7hVz4Zb7x4Ywpr";
    
"anoAr1HnR6gl3sJ7hVz4Zb7x4Ywpy";
    
"anoAr1HnR6gl3sJ7hVz4Zb7x4Ywpb";
  };
  
/* on-oper host */
  
hosts {
    
local  "locop.roxnet.org";
    global    
"ircop.roxnet.org";
    
coadmin  "coadmin.roxnet.org";
    
admin  "admin.roxnet.org";
    
servicesadmin   "csops.roxnet.org";
    
netadmin  "netadmin.roxnet.org";
    
host-on-oper-up "no";
  };
};

/* Server specific configuration */

set {
  
kline-address "[email protected]";
  
modes-on-connect "+ixw";
  
modes-on-oper    "+xwgs";
  
oper-auto-join "#channel";
  
options {
    
hide-ulines;
    
/* You can enable ident checking here if you want */
    /* identd-check; */
    
show-connect-info;
  };

  
maxchannelsperuser 10;

  
anti-spam-quit-message-time 10s;

  
oper-only-stats "okfGsMRUEelLCXzdD";

  
/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
  
throttle {
    
connections 5;
    
period 60s;
  };

  
/* Anti flood protection */
  
anti-flood {
    
nick-flood 3:60;  /* 3 nickchanges per 60 seconds (the default) */
  
};

  
/* Spam filter */
  
spamfilter {
    
ban-time 1d; /* default duration of a *line ban set by spamfilter */
    
ban-reason "Spam/Advertising"; /* default reason */
    
virus-help-channel "#help"; /* channel to use for 'viruschan' action */
    /* except "#help"; channel to exempt from filtering */
  
};
};

/*
 * Problems or need more help?
 * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
 * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
 * 3) If you still have problems you can go irc.ircsystems.net #unreal-support,
 *    note that we require you to READ THE DOCUMENTATION and FAQ first!
 */ 

Edit it to your wishes

save it control x

PHP Code

<?php 
Step 7
Type in
: ./unreal start 

Your Done 🎉
PM if you need help
I Notice The Little Things
[Image: GJVfAoN.png]
Holy shit. I was expecting garbage, but this is spot-on.
Lol, Thanks man appreciate the complement ^_^
I Notice The Little Things
[Image: GJVfAoN.png]
Great tutorial, keep up the HQ ! 🤝
Nice but you should include a sub tut for adding nix since there are plenty of tuts but not thorough
(Jun 19, 2012 07:48 PM)ItsFluffy Wrote:  Nice but you should include a sub tut for adding nix since there are plenty of tuts but not thorough

IMO, not necessary. This tut is exactly as described, no more, no less. That is something that should be its own tut.
dam nice thread this well help all the new members good job
sorry to say but your .conf file is relly bad
Really great tutorial :)✌ I will test it on my VPS ;) Thanks dude 🤭

Regards 🤝
great tut thanks dude

dka9cnra9imxrxapr3mu
nope this all wrong bro you dont know what you are doing bro and most people have centos bro so the commands are wrong i shold make a thread
Heho Guys🤭 i following the steps but i become after my configurations a error message with the following contents " error message cannot run C compiled programs
if you meant to cross compile use -- host " 😶 I think it is a kernel probleme ? 🤮

Why the program cant compiled it? When i check the newest version of gcc or the kernels, centos shows me that all have the newest version , and i must nothink to do 😶

regards 🤝
unrealircd.conf:16: Ignoring extra data
unrealircd.conf:203: Ignoring extra data unrealircd.conf:203: Ignoring extra data
unrealircd.conf:203: Ignoring extra data
* unrealircd.conf:203: Ignoring extra data
[error] unrealircd.conf: Unexpected EOF for variable starting on line 203
[error] Could not load config file unrealircd.conf
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemingly not started)

help?
Great tutorial OP.
I hope that you keep it up! :)
Great tutorial mate , im new to this and need all the help I can get

Cheers


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 gandccMay 16, 2018 01:37 PM 10 416 May 16, 2018 01:37 PM
Last Post: bkdscn