Searching...
Breaking News
Loading...
Monday, September 30, 2013

[ Tutorial ] Membuat Server iRC menggunakan Unreal

Assalamu'alaikum,
selamat siang temen-temen pembaca, sudah lama ga nulis nih... mau iseng nulis lagi dari pada blog saya sepi.
topic nya kali ini berbau iRC , sudah pada tau iRC kan? kalo belom tau waduh kebangetan deh... dulu software ini banyak di gemari oleh para chatter, gammer, hacker, ups... intinya ini buat ngobrol aja deh, walaupun asli nya bisa di manfaatin untuk banyak hal (CMIIW ).



Biasanya kita kalo mau main iRC itu main di server DaL.Net coba seandainya kamu main di server sendiri dan ajak temen-temen kamu join kan asik tuh ^_^. contoh nya chat bareng temen kuliah, temen kerja, atau komunitas kamu ( irc.serverkamu.net ).

biar ga kebanyakan basa basi kita langsung aja yah, disini saya juga masih belajar... bukan bermaksud untuk mengajari, atau menggurui... ini bagian dari koleksi bacaan saya aja nanti nya. ok kita lanjut.

Persiapan :


  1. Download MiRC (bagi yang belum punya) - Download 
  2. VPS  (kalo belum punya, cari yang free di google banyak)
  3. Music, minuman, dan cemilan 
  4. Sikap sabar dan tenang.
  5. tambahan :D
Langkah-langkah

  • Login ke SSH sebagai root, terserah mau pake  Putty atau bitvise buat user baru.
  •  Install GCC untuk compile nanti nya di server
    yum install gcc
  •  Login sebagai user di SSH
  • Download Unreal
    wget http://www.unrealircd.com/downloads/Unreal3.2.10.tar.gz 
     
  • Extract file yang baru saja kita download
    tar -zxvf Unreal3.2.10.tar.gz 
     
  • Masuk ke dalam Directori Unreal dan lakukan beberapa perintah berikut
    cd Unreal3.2.10
    chmod +x Config
    ./Config make install
  • Kemudian tekan enter, nah nanti nya disuruh teken enter terus sampe 100% kalo udah 100% nanti nampil notifikasi kayak gini nih 
    ==[ ADDITIONAL INFO ]==
    - See Changelog for more details
    [Enter to continue] 
    enter terus gan, sampe selesai =)) 
  • kalo udah, kita masih ada proses untuk Compile file nya
    What directory are all the server configuration files in?
    [/home/fian/Unreal3.2.10] -> [ENTER]
    What is the path to the ircd binary including the name of the binary?
    [/home/fian/Unreal3.2.10/src/ircd] -> [ENTER]
    What should the default permissions for your configuration files be? (Set this to 0 to disable)
    It is strongly recommended that you use 0600 to prevent unwanted reading of the file
    [0600] -> [ENTER]
    Do you want to support SSL (Secure Sockets Layer) connections?
    [No] -> [ENTER]
    Do you want to enable IPv6 support?
    [No] -> [ENTER]
    Do you want to enable ziplinks support?
    [No] -> [ENTER]
    Do you want to enable remote includes?
    This allows stuff like this in your configuration file:
    include "http://www.somesite.org/files/opers.conf";
    [No] -> [ENTER]
    Do you want to enable prefixes for chanadmin and chanowner?
    This will give +a the & prefix and ~ for +q (just like +o is @)
    Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient,
    PJIRC, irssi, CGI:IRC, etc.)
    This feature should be enabled/disabled network-wide.
    [Yes] -> [ENTER]
    What listen() backlog value do you wish to use? Some older servers
    have problems with more than 5, others work fine with many more.
    [5] -> [ENTER]
    How far back do you want to keep the nickname history?
    [2000] -> [ENTER]
    What is the maximum sendq length you wish to have?
    [3000000] -> [ENTER]
    How many buffer pools would you like?
    This number will be multiplied by MAXSENDQLENGTH.
    [18] -> [ENTER]
    How many file descriptors (or sockets) can the IRCd use?
    [1024] -> [ENTER]
    Would you like to pass any custom parameters to configure?
    See `./configure --help' and write them here:
    [] -> [ENTER]
  • nanti ada tulisan dan SPLASH ansi dari Team Unreal jika seandai nya semua file sudah ter Compile.

  • kemudian Ketik make
  • make
    tunggu hingga selesai, jika selesai nanti akan ada tampilan seperti berikut
    "Compile is now complete.
    You should now read the documentation and learn how to configure your IRCd. dst blablabla
  • sekarang saat nya menambahkan 4 file kedalam folder utama nya (menggunakan WinSCP)
  • Berikut contoh file nya :

    1. Buat File baru dan beri nama connect.conf
      link           irc.alonehost.biz {
              username        *;
              hostname        106.x.x.215;
              bind-ip         *;
              port            6667;
              hub             *;
              password-connect "";
              password-receive "";
              class           servers;
                      options {           
                      };
      };
    2. Buat File baru dan beri nama ircd.motd
      ____. ___ ______________ . 
      |__\______   \_   ___ \
      |  ||       _/    \  \/
      |  ||    |   \     \____
      |__||____|_  /\______  /  [ aLoNeHost ]

                                      irc.alonehost.biz
                              aLoNe Host Team iRC Network
      _______ Server Rules ________________________________________________
       
          - No Flooding
          - No Bots Spy
          - No Bots (auto-detected)
          - No Clones
          - No Spamming
          - No Takeovers
          - Clients must respond to VERSION requests!
          - We will not tolerate the distribution of child pornography.
          - Access granted to this server is a privilege.
          - Staff members may disconnect clients for any or no reason.
       
      _______ Visit and Join with us at http://www.alonehost.biz/ ___________
    3. Buat File baru dan beri nama oper.conf
      ###admin###
      oper net-admin {
      class clients;
      from {
      userhost *@*;
      };
      password "passwordkamu";
      flags "oOaArRdDNCcLkghipqrstvwXxzZbBGHRSTvVW";
      swhois "is -= net admin aLoNeHost Team iRC Networks =-";
      maxlogins 1;
      };
      oper co-admin {
      class clients;
      from {
      userhost *@*;
      };
      password "passwordkamu";
      flags "oOCrRDhgwnGXcLkKbvCcQBzZtqHWdX";
      swhois "is -= Co admin aLoNeHost Team iRC Networks =-";
      maxlogins 2;
      };
      oper locop {
      class clients;
      from {
      userhost *@*;
      };
      password "passwordkamu";
      flags "orhgwcknHO";
      swhois "is -= IRcop aLoNeHost Team iRC Networks =-";
      snomask "kSncfvGqoNej";
      modes +qpt;
      };
    4. Buat File baru dan beri nama unrealircd.conf
      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";
      include "oper.conf";
      include "connect.conf";


      me
      {
      name "irc.serverkamu.biz";
      info " 4,1 ( 11 aLoNe HosT iRC Networks 4 ) ";
      numeric 33;
      };

      admin {
      "Name : fianbiasa";
      "Nick : fianbiasa";
      "Email : fianbiasa@gmail.com";
      };

      class clients
      {
      pingfreq 120;
      maxclients 1024;
      sendq 300000;
      recvq 3000;
      };

      class servers
      {
      pingfreq 120;
      maxclients 20;
      sendq 300000;
      connfreq 100;
      };

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

      allow channel {
      channel "#aLoNeHost";
      };

      listen 106.x.x.215:6667;
      listen 106.x.x.215:7000;
      listen 106.x.x.215:7150;


      };

      ulines {
      services.kill-9.xxxx;
      stats.kill-9.xxxx;
      };

      drpass {
      restart "passwordkamu";
      die "passwordkamu";
      };

      log "ircd.log" {
      maxsize 2097152;
      flags {
      oper;
      kline;
      server-connects;
      kills;
      errors;
      sadmin-commands;
      chg-commands;
      oper-override;
      spamfilter;
      };
      };

      alias NickServ { type services; };
      alias OperServ { type services; };
      alias ChanServ { type services; };
      alias HelpServ { type services; };
      alias MemoServ { type services; };
      alias HostServ { type services; };
      alias BotServ { type services; };
      alias StatServ { type stats; };

      alias "identify" {
      format "^#" {
      nick "chanserv";
      type services;
      parameters "IDENTIFY %1-";
      };
      format "^[^#]" {
      nick "nickserv";
      type services;
      parameters "IDENTIFY %1-";
      };
      type command;

      };

      alias "services" {
      format "^#" {
      nick "chanserv";
      type services;
      parameters "%1-";
      };
      format "^[^#]" {
      nick "nickserv";
      type services;
      parameters "%1-";
      };
      type command;
      };

      alias "os" {
      format "^" {
      nick "operserv";
      type services;
      parameters "%1-";
      };
      type command;
      };
      alias "bs" {
      format "^" {
      nick "botserv";
      type services;
      parameters "%1-";
      };
      type command;
      };
      alias "cs" {
      format "^" {
      nick "chanserv";
      type services;
      parameters "%1-";
      };
      type command;
      };
      alias "hs" {
      format "^" {
      nick "hostserv";
      type services;
      parameters "%1-";
      };
      type command;
      };
      alias "ns" {
      format "^" {
      nick "nickserv";
      type services;
      parameters "%1-";
      };
      type command;
      };
      alias "ms" {
      format "^" {
      nick "memoserv";
      type services;
      parameters "%1-";
      };
      type command;
      };

      #tld {
      # mask *@*;
      # 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 "*entot*";
      reason "BadChan!";
      };

      vhost {
      vhost Team.Irc.aLoNe.Host.biz;
      from {
      userhost *@*;
      };
      login team;
      password passwordkamu;
      };

      set { timesynch { enabled "yes"; server "xx.xxx.xxx.go.id"; timeout "5";}; };
      set {
      network-name "aLoNe Host iRC";
      default-server "irc.alonehost.biz";
      services-server "services.kill-9.xxx";
      stats-server "stats.kill-9.xxxx";
      help-channel "#help";
      hiddenhost-prefix "alonehostteam";
      cloak-keys {
      "AHos2HOHS6ds2gsQQHGAkish";
      "qF5D3ormaH6mnEvbaH226lfEhjf";
      "hfA6HwFh53HedOwQg9Ufs";
      };
      hosts {
      local "locop.irc.alonehost.biz";
      global "ircop.irc.alonehost.biz";
      coadmin "co-admin.alonehost.biz";
      admin "admin.irc.alonehost.biz";
      servicesadmin "services.committee.irc.alonehost.biz";
      netadmin "administrative.committee.irc.alonehost.biz";
      host-on-oper-up "yes";
      };
      };

      set {
      kline-address "kline@irc.alonehost.biz";
      modes-on-connect "+i";
      modes-on-oper "+pTWvxwgs";
      oper-auto-join "#help,#services";
      auto-join "#Global";
      dns {
      nameserver 127.0.0.1;
      timeout 2s;
      retries 2;
      };
      options {
      identd-check;
      hide-ulines;
      show-connect-info;
      flat-map;

      };

      maxchannelsperuser 127;
      anti-spam-quit-message-time 10s;
      static-quit "Client quit";
      oper-only-stats "*";
      throttle {
      connections 127;
      period 60s;
      };

      anti-flood {
      nick-flood 3:60;
      };

      spamfilter {
      ban-time 1d;
      ban-reason "Spam/Advertising is not tolerated on AloneHostTeamServ.";
      virus-help-channel "#help";
      except "#services";
      };
      };

      yang berwarna Hijau silahakn disesuaikan dengan pengaturan kamu.
    jangan lupa Upload ke Direktori Unreal

  • Kemudian Restart Unreal nya
    ./unreal restart
Jika tidak ada Notice ERROR, kita sudah bisa masuk ke Server IRC kita.
Jangan lupa main2 ke server saya gan.

IRC.ALONEHOST.BIZ

Sekian dulu tutorial sederhana dari saya.

Kekurangan dari saya, dan Kelebihan Hanya Milik ALLAH.
Judul : [ Tutorial ] Membuat Server iRC menggunakan Unreal
Deskripsi : Assalamu'alaikum, selamat siang temen-temen pembaca, sudah lama ga nulis nih... mau iseng nulis lagi dari pada blog saya sepi. topic...
Ditulis Oleh :
Author Rating :
4/ 5 Suara

zulfianto

Nama : ZULFIANTO

Adalah Seorang IT Konsultan. di ( ELQO Media Creative ) dan anak ke-4 dari seorang ibu dan ayah yang tegas dalam mendidik kami anak-anak nya. sehingga menjadikan saya seorang yang mandiri dalam hidup, berusaha untuk tidak menyusahkan orang lain dalam sehari-hari. Lahir di :
Pekanbaru, Riau
Indonesia
Follow : zulfianto @ | |

12 comments:

  1. ./unreal restart

    kenapa gk bisa ya

    ReplyDelete
    Replies
    1. itu karena tadi nya belom di start, makanya nya ga bisa d restart.

      coba

      ./unreal start

      pasti bisa :D

      Delete
    2. sdh tak coba itu om
      masih gk bisa
      keterangan :
      tail: cannot open `/root/Unreal3.2.10/ircd.log' for reading: No such file or directory
      [root@simon Unreal3.2.10]#
      apanya ya yg salah

      Delete
    3. coba kirim email ke saya, nanti saya bantu..
      fianbiasa@gmail.com

      Delete
    4. ok. sdh aku kirim om.

      Delete
    5. buat om sidratul muntaha :

      coba buat user dulu

      [root@server ~]#adduser usernya
      [root@server ~]#passwd usernya

      masukin password nya 2x

      habis itu login sebagai user
      [root@server ~]#su - nama user tadi
      habis itu, ulangin tahap2 install nya, mulai dari download unreal nya

      Delete
  2. sudah masih nggak bisa om

    ReplyDelete
    Replies
    1. [root@simon Unreal3.2]# ./unreal start
      Starting UnrealIRCd
      WARNING: You are running UnrealIRCd as root and it is not
      configured to drop priviliges. This is _very_ dangerous,
      as any compromise of your UnrealIRCd is the same as
      giving a cracker root SSH access to your box.
      You should either start UnrealIRCd under a different
      account than root, or set IRC_USER in include/config.h
      to a nonprivileged username and recompile.
      _ _ _ ___________ _____ _
      | | | | | |_ _| ___ \/ __ \ | |
      | | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
      | | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
      | |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
      \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
      v3.2.9
      using TRE 0.8.0 (BSD)

      * Loading IRCd configuration ..
      * unrealircd.conf:265: No name for section start
      * unrealircd.conf:270: Ignoring extra close brace
      * unrealircd.conf:270 Ignoring extra semicolon
      * unrealircd.conf:272: No name for section start
      [error] unrealircd.conf:276: Missing semicolon before close brace
      [error] Could not load config file unrealircd.conf
      [error] IRCd configuration failed to load
      Possible error encountered (IRCd seemingly not started)
      =====================================================
      Check above for possible errors, and this output of
      ircd.log. If you cannot solve the problem, read
      Unreal.nfo on where to get support
      =====================================================
      tail: cannot open `/root/Unreal3.2/ircd.log' for reading: No such file or directory

      Delete
    2. jalankan unreal nya sebagai user, jgn dari root

      Delete
  3. msh gak bisa og om

    login as: mirc
    mirc@xxx.xxx.xxx.xxx's password:
    Last login: Wed Nov 20 13:51:55 2013 from 202.67.40.10
    Running a Google Compute Engine VM Instance
    [mirc@simon ~]$ cd Unreal3.2
    [mirc@simon Unreal3.2]$ ./unreal start
    Starting UnrealIRCd
    _ _ _ ___________ _____ _
    | | | | | |_ _| ___ \/ __ \ | |
    | | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
    | | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
    | |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
    \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
    v3.2.9
    using TRE 0.8.0 (BSD)

    * Loading IRCd configuration ..
    * unrealircd.conf:265: No name for section start
    * unrealircd.conf:270: Ignoring extra close brace
    * unrealircd.conf:270 Ignoring extra semicolon
    * unrealircd.conf:272: No name for section start
    [error] unrealircd.conf:276: Missing semicolon before close brace
    [error] Could not load config file unrealircd.conf
    [error] IRCd configuration failed to load
    Possible error encountered (IRCd seemingly not started)
    =====================================================
    Check above for possible errors, and this output of
    ircd.log. If you cannot solve the problem, read
    Unreal.nfo on where to get support
    =====================================================
    tail: cannot open `/home/mirc/Unreal3.2/ircd.log' for reading: No such file or directory
    [mirc@simon Unreal3.2]$

    ReplyDelete
    Replies
    1. Coba ikutin tahap² nya...
      yakinkan kalo sudah tepat sesuai dengan instruksi yang ada.

      Delete
    2. sdh yakin banget om

      Delete

Jika Artikel ini bermanfaat Komentar nya doonggg.

Mohon dengan menggunakan bahasa yang enak dibaca :)