Installer Unreal
Un article de Base de connaissances Pascalex.
Sommaire |
[modifier]
Introduction
Ce tutorial est en cours de rédaction.
Unreal est un très bon serveur IRC.
[modifier]
Installation
Comment Installer alors ?
[modifier]
Configuration
Voici un exemple de fichier de configuration unrealircd.conf complet et commenté là où vous devez changer des choses.
loadmodule "src/modules/commands.so"; loadmodule "src/modules/cloak.so";
me
{
name "irc.domain.com"; /* irc.domain.com doit etre remplacé par votre domaine */
info "domain.com server"; /* le nom du serveur de t'chat */
numeric 90; /* Ne changez pas */
};
admin {
"Nom-de-L'admin"; /* a changer par votre nick */
"mail"; /* votre mail */
};
class clients
{
pingfreq 100;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 2;
};
listen *:6667 /* A ne pas changer sauf si vous souhaitez changer le port de connexion à l'ircd */
{
options {
clientsonly;
};
};
listen S:7000
{
options {
serversonly;
};
};
/* PARTIE DE DEFINITION DE L'OPERATEUR IRC (VOUS) */
oper nick { /* changer nick par votre pseudo */
class clients;
from {
userhost *@*;
};
password "PASSWORD"; /* changer votre password d'oper (vf utilisation) */
flags /* les flags sont votre accès. Ici c le maximum (voir les liens connexes pour la page Unreal avancée */
{
netadmin;
can_die;
can_restart;
can_zline;
can_gkline;
can_gzline;
get_umodew;
can_override;
};
};
listen *:7326
{
options {
serversonly;
};
};
drpass {
restart "killall";
die "killall";
};
log "ircd.log" {
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
kills;
errors;
};
};
include "help.conf"; include "aliases/anope.conf";
tld {
mask *@*;
motd "ircd.motd";
rules "ircd.rules";
};
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reserved for Services";
};
ban nick {
mask "root";
reason "Reserved for Services";
};
ban realname {
mask "sub7server";
reason "sub7";
};
deny dcc {
filename "*sub7*";
reason "Possible Sub7 Virus";
};
deny channel {
channel "#help";
reason "services";
};
deny channel {
channel "#services";
reason "services";
};
deny channel {
channel "#opers";
reason "services";
};
deny channel {
channel "#openbox";
reason "services";
};
set {
network-name "Domain.com"; /* le nom du réseau de chat (votre domaine, votre site ...) */
default-server "irc.domain.com"; /* le serveur de tchat (votre domaine) */
services-server "services.domain.com"; /* le serveur de services si Anope est installé */
help-channel "#aide";
auto-join "#home"; /* Le channel a auto-join (a enlever si vous ne voulez pas */
hiddenhost-prefix "hide"; /* Le mot qui cache les véritables host des connectés */
prefix-quit "no"; /*ajoute un préfixe lors du quit .... */
cloak-keys {
a256SE3Q6w4oN3s7; /* A CHANGER ABSOLUMENT */
aHJwSeskO524oNs7; /* A CHANGER ABSOLUMENT */
a2JOdERoslOEjs3s7; /* A CHANGER ABSOLUMENT */
};
/* on-oper host */
hosts {
local "ircop.domain.com"; /* changer domain.com par votre domaine */
global "ircop.domain.com"; /* changer domain.com par votre domaine */
coadmin "coadmin.domain.com"; /* changer domain.com par votre domaine */
admin "admin.domain.com"; /* changer domain.com par votre domaine */
servicesadmin "services.domain.com"; /* changer domain.com par votre domaine */
netadmin "netadmin.domain.com"; /* changer domain.com par votre domaine */
host-on-oper-up "yes";
};
kline-address "kline@domaine.com"; /* changer domain.com par votre domaine */
modes-on-connect "+x";
modes-on-oper "+wgHs";
modes-on-join "nt";
allow-userhost-change "force-rejoin";
oper-auto-join "#opers";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2;
};
options {
hide-ulines;
identd-check;
allow-part-if-shunned;
};
maxchannelsperuser 15;
anti-spam-quit-message-time 30s;
oper-only-stats "BbCdDeEFIKlLMnsSqQrRtTzZvVokG";
throttle {
period 60;
connections 3;
};
anti-flood {
unknown-flood-bantime 120;
unknown-flood-amount 2;
nick-flood 3:60;
};
ban-version-tkl-time 7d;
default-bantime 7d;
modef-max-unsettime 5;
};
ulines {
services.votredomain.com; /* changer domain.com par votre domaine (seulement si Anope est installé */
};
Ce fichier de configuration est disponible sur http://irc.webattitude.org/unrealircd.conf.txt NE remplacez rien d'autre si vous ne savez pas ce que vous faites, ce fichier est déjà bien configuré !
[modifier]
Utilisation
Connectez vous sur irc.votredomaine.com Pour créer un channel, ou pour le joindre :
/join #channel
Pour devenir oper,
/oper NICK PASS
[modifier]
Services
Les Services sont un logiciel a part, nommé anope
[modifier]
Conclusion
[modifier]
Liens connexes
- Définition d'Unreal_IRCD
- Définition de l'IRC
- Définition d'Anope
