Membuat Server IRC dengan Bahamut IRC

11:50 AM / Diposting oleh Sharing IT /

Internet Relay Chat (IRC) adalah suatu bentuk komunikasi di Internet yang diciptakan untuk komunikasi kelompok di tempat diskusi yang dinamakan channel (saluran), tetapi juga bisa untuk komunikasi jalur pribadi.

IRC diciptakan oleh Jarkko Oikarinen (nickname "WiZ") pada akhir Agustus 1988 untuk menggantikan program di BBS yang disebut MUT (MultiUser Talk), di Finlandia di sebut OuluBOX. Oikarinen menemukan inspirasi Bitnet Relay Chat yang beroperasi di dalam Jaringan Bitnet.

Saat ini saya sudah berhasil membuat server IRC dengan menggunakan BAHAMUT IRC pada FEDORA 7.0, untuk mendapatkannya silahkan download di : http://www.dal.net/?page=Bahamut

File yang di dapat adalah : bahamut-1.8.4-release.tar.gz

lakukanlah ekstrak di lokasi yang anda pilih, sebagai contoh saya membuat di lokasi yang saya pilih :
[root@mis09 bafrin]# tar zxfv bahamut-1.8.4-release.tar.gz
Setelah proses ekstrak selesai, maka akan terbentuk sebuah folder :

[root@mis09 bafrin]# ls
bahamut-1.8.4
bahamut-1.8.4-release.tar.gz Music
Desktop Pictures
Documents Public
Download Templates


Tampak folder bahamut-1.8.4
masuk ke dalam folder tsb, di dalam nya sudah ada :
[root@mis09 bafrin]# cd bahamut-1.8.4
[root@mis09 bahamut-1.8.4]# ls
CHANGES config.sub include LICENSE src
config.guess configure INSTALL Makefile TODO
config.log configure.in install-sh Makefile.in tools
config.status doc LICENCE.pcre README zlib
Untuk melihat cara instalasinya anda dapat membuka dan membaca file INSTALL
[root@mis09 bahamut-1.8.4]# nano INSTALL
dan isi dari File tsb :
HOW TO BUILD:
-------------
1. Run the configure script. It will setup include/setup.h and the
Makefiles to match your system:
./configure

Type ./configure --help to see different options. Most people will not
need to alter these.

2. [DISCOURAGED] Edit the the "include/config.h" file. This allows you to
change various options of how the ircd will operate. Usually the defaults
are OK.

3. "make" should build ircd.

4. "make install" will install the ircd, config converter, and documents
to the directory set by ./configure

5. Edit example.conf in your install directory, and move it to "ircd.conf".

6. Run the binary! ircd will look in the directory you are executing from
for an ircd.conf first, then it will look to the directory local to itself.
You may override these options by specifying a config file using:
./ircd -f path/to/ircd.conf

Best of luck!
-The Bahamut Team

$Id: INSTALL 1303 2006-12-07 03:23:17Z epiphani $
ikutin aja langkah2 nya,
dan nanti anada akan menemukan folder ircd di dalan root : [root@mis09 bahamut-1.8.4]# cd /root/ircd/
[root@mis09 ircd]# ls
convert_conf ircd ircd.motd ircd.pid mkpasswd opers.txt reference.conf template.conf
Copykan file template.conf menjadi ircd.conf
editlah ircd.conf, saat ini. ip server saya 192.168.90.108 (sesuaikan ip dari server anda)


# =========================================================================
# QUICKSTART: server configuration (see reference.conf for details)
# =========================================================================

/* server name and administration info */
global {
name not.configured; # IRC name of the server
info "located on earth"; # A short info line
admin {
"An unconfigured server"; # Three information lines sent
"An unknown administrator"; # in reply to ADMIN command
"email@somewhere.earth";
};
};

/* server options */
options {
network_name unconfigured; # A name is needed even if not linked
local_kline admin@server; # Contact email for server bans
show_links; # Show servers in LINKS
allow_split_ops; # Give ops in empty channels

// use these options when services is on the network
services_name services.name; # Name of services (NS/CS/MS/RS) server
stats_name stats.name; # Name of stats (OS/SS/HS) server
network_kline admin@net; # Contact email for network bans
nshelpurl "http://help"; # Nick registration help page

// if you need to link more than 1 server, uncomment the following line
# servtype hub;
};
/* where to listen for connections */
port {
port 6667; # Port to listen on
bind 192.168.90.108; # IP address to listen on
};

/* more listening ports */
#port { port 6668; bind 127.0.0.1; };
#port { port 6669; bind 127.0.0.1; };
#port { port 7000; bind 127.0.0.1; };

/* allow clients to connect */
allow {
host *@*; # Allow anyone
class users; # Place them in the users class
};

/* connection class for users */
class {
name users; # Class name
maxusers 1000; # Maximum connections
pingfreq 90; # Check idle connections every N seconds
maxsendq 100000; # 100KB send buffer limit
};

/* connection class for server operators */
class {
name opers;
pingfreq 90;
maxsendq 500000; # 500KB limit for opers
};

/* the server administrator */
oper {
name admin; # Username
passwd secret; # Password
access OAaRD; # Server Administrator
host *@192.168.0.*; # Must be connecting from here
host *@10.64.64.*; # Or from here
// insert other other hostmasks here
class opers; # Belongs in the opers class
};

/* for services */
super {
"services.name";
"stats.name";
// insert any other special servers here
};

/* reserved nicknames */
restrict { type nick; mask "NickServ"; reason "reserved for services"; };
restrict { type nick; mask "ChanServ"; reason "reserved for services"; };
restrict { type nick; mask "MemoServ"; reason "reserved for services"; };
restrict { type nick; mask "RootServ"; reason "reserved for services"; };
restrict { type nick; mask "OperServ"; reason "reserved for services"; };
restrict { type nick; mask "StatServ"; reason "reserved for services"; };
restrict { type nick; mask "HelpServ"; reason "reserved for services"; };
restrict { type nick; mask "services"; reason "reserved for services"; };


/* === these next two blocks are for linking to a hub === */

/* class for uplink hub */
class {
name hub;
pingfreq 120; # Idle check every 2 minutes
connfreq 300; # Try autoconnect every 5 minutes
maxsendq 1000000; # 1MB send queue
maxlinks 1; # Autoconnect to only 1 hub at a time
};

/* our uplink hub */
connect {
name hub.name; # Hub's IRC name
host 172.16.4.2; # Hub's IP address
port 7325; # Autoconnect to hub's port 7325
bind 127.0.0.1; # We connect from this IP
apasswd secret; # We accept this password from hub
cpasswd secret; # We send this password to hub
flags H; # It is a hub
class hub; # Use hub class
};


/* === these next two blocks are for linking to services === */

/* class for services */
class {
name services;
pingfreq 60; # Idle check every minute
maxsendq 5000000; # 5MB backlog buffer
};

/* our services */
connect {
name services.name; # Services' IRC name
host 192.168.90.108; # IP address services connects from
apasswd secret; # Password services sends
cpasswd secret; # Same password
class services;
};

Setelah selesai, ketiklah comannd :
[root@mis09 ircd]# ./ircd

bahamut-1.8(04) booting...
Security related issues should be sent to coders@dal.net
All other issues should be sent to dalnet-src@dal.net

Configuration Loaded.

Ircd is now becoming a daemon.
[root@mis09 ircd]#
Bila di cek service nya apakah sudah jalan ? dengan perintah :
[root@mis09 ircd]# ps ax |grep ircd
2875 ? Ss 0:00 ./ircd
2879 pts/0 R+ 0:00 grep ircd
[root@mis09 ircd]#
Server IRC anda sudah jalan, dan silahkan setting untuk irc clientnya.
Tampak service nya sudah jalan pada nomor service 2875, untuk mematikan service nya :

[root@mis09 ircd]# kill -KILL 2875

Label:

2 komentar:

www.facebook.com/lois.fikom on June 12, 2013 at 5:18 PM

gan mw nanya, apakah bisa berhasil klo saya buat server IRC menggunakan Linux Mint???

Comment by Sharing IT on July 13, 2013 at 12:34 PM

LinuxMint belum pernah saya coba, perhatikan aja command2 yang saya coba di OS Fedora 7 apakah sesuai dengan di LinuxMint. (saya coba bahamut irc ini sudah lama banget kalo ngak salah thn 2008.. hanya saya repost aja tulisan ini).
Thanks :D

Post a Comment