Installation d'IRCprogs
Basé sur un IRCu2.10.07,
c'est la première fois que l'on voit un aussi bon IRCu réalisé
à ce jour. Les services de type CService & UWorld fonctionnent dessus,
(SCoderZ également). Traduction intégrale en francais. Toutefois,
si vous n'arriviez pas à installer IRCProgsne vous inquiétez pas,
comme les créateurs l'ont soulignés eux mêmes, beaucoup
de source IRCProgs sont bugguées, il est donc tout à fait possible
que vous n'arriviez pas à l'installer.
Pour installer IRCprogs,
taper ceci (étant loggué en SSH) :
- tar zxvf ircprogs3.2.6.tgz
- cd ircprogs
- ./configure
- make config
Lors du make config,
une série de question vous ai posés… Voici un exemple des
réponses à y fournir :
*-----------------------------------------------------------------------------
* Inter System ?
*
INTER_SYSTEM : Est-ce que votre serveur est Inter System ? [N/y/?] (NEW)
Tapez : Entrée
GODMODE : Voulez vous que les ircops voyent tous les messages envoyés/recus
? (totalement déconseillés) [N/y/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Compile stuff
*
CC : Which compiler do you want to use [gcc] (NEW)
Tapez : Entrée
* For the following four questions, specify 'none' when you want it to be empty.
CFLAGS : What flags should I pass to gcc [none] [-g -O3 -pipe] (NEW)
Tapez : Entrée
EXTRA_INCLUDEDIRS : Do you need extra include directories [none] [none] (NEW)
Tapez : Entrée
LDFLAGS : Which linker flags do you need [none] [none] (NEW)
Tapez : Entrée
IRCDLIBS : Which extra libraries do you need [none] [-lcrypt -lresolv] (NEW)
Tapez : Entrée
BINDIR : In which directory should I install the ircd binary [/usr/local/bin]
(NEW)
/home/login/ircd (par exemple)
SYMLINK : What should the name of the installed symbolic link to the exectuable
be [ircd] (NEW)
Tapez : Entrée
IRCDMODE : Which permissions do you want the binary to have [711] (NEW)
Tapez : Entrée
IRCDOWN : Which owner do you want the binary to have [user] (NEW)
Mettez le login de votre shell
IRCDGRP : Which group do you want the binary to have [user] (NEW)
Soit le login (si c'est votre groupe, ou bien le nom du groupe (ex : shellgold))
MANDIR : Where should I install the man page [/usr/local/man] (NEW)
/home/login/man (par exemple)
FORCEINLINE : Use inlining for a few crucial functions [Y/n/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Host specific defines
*
DOMAINNAME : What is the domain name of your network [] (NEW)
Ici mettez votre nom de domaine pour acceder au serveur IRC.
Ex : tchat-fr.net
RANDOM_SEED : Please give a random seed of eight characters [12345678] (NEW)
Tapez 8 chiffres au hasard
Ex : 673194576
RELIABLE_CLOCK : Does your host have a reliable clock [N/y/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* General defines
*
CHROOTDIR : Change root (/) after start of daemon [N/y/?] (NEW)
Tapez : Entrée
CONFIG_SETUGID : Do you want the daemon set its own uid/gid [N/y/?] (NEW)
Tapez : Entrée
CMDLINE_CONFIG : Allow to specify configuration file on command line [N/y/?]
(NEW)
Tapez : Entrée
UNIXPORT : Set up a Unix domain socket to connect clients/servers [N/y/?] (NEW)
Tapez : Entrée
VIRTUAL_HOST : Do you need virtual hosting [N/y/?] (NEW)
Tapez : Y
HUB : Will you connect to more then one server at a time [N/y/?] (NEW)
Tapez : Y
*-----------------------------------------------------------------------------
* Debugging (do not define this on production servers)
*
DEBUGMODE : Do you want to enable debugging output [N/y/?] (NEW)
Tapez : Entrée
DEBUGMALLOC : Do you want memory- allocation and/or leak checking [N/y/?] (NEW)
Tapez : Entrée
NODNS : Are you testing on a host without DNS [N/y/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Options IrcProgs
*
ATTENTION: Veuillez entrer le pseudo suivant en MAJUSCULES !
Et ne donnez pas comme pseudo à votre robot le nom d'une commande qui
EXISTE, sous peine de disfonctionnement
MSG_Z : Entrez le pseudo du Service (uniquement pour l alias /<nick>.
ex: Z ou CHANSERV). [Z] (NEW)
Tapez le nom du Bot de Services
*-----------------------------------------------------------------------------
* Paths and files
*
DPATH : Directory where all ircd stuff resides [/usr/local/lib/ircd] (NEW)
/home/login/ircd (par exemple)
The following filenames are either full paths or files within DPATH
CPATH : Server configuration file [ircd.conf] (NEW)
Tapez : Entrée
MPATH : Server MOTD file [ircd.motd] (NEW)
Tapez : Entrée
OPATH : MOTD pour les IRCops [oper.motd] (NEW)
Tapez : Entrée
RPATH : Server remote MOTD file (3 lines max) [remote.motd] (NEW)
Tapez : Entrée
PPATH : File for server pid [ircd.pid] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Logging (filenames are either full paths or files within DPATH)
*
CONFIG_LOG_WHOX : Do you want to log the use of /WHO x% (recommended) [Y/n/?]
(NEW)
Tapez : Entrée
WPATH : Give the path and(or) filename of this log file [whox.log] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Bad Channel G-Lines allow operators to add channel masks to a list which prohibits
local clients from being able joining channels which match the mask. Remote
BadChan Glines allow Uworld to add or remove channels from the servers internal
list of badchans
*
BADCHAN : Do you want to enable Bad Channel G-lines [Y/n/?] (NEW)
Tapez : Entrée
WARNING DO _NOT_ USE LOCAL BADCHANNEL GLINES ON UNDERNET
Use of LOCAL BAD Channel G-Lines can be cause for REMOVAL
LOCAL_BADCHAN : Allow LOCAL BAD Channel G-lines [N/y/?] (NEW)
Tapez : Entrée
CONFIG_LOG_GLINES : Do you want to log G-lines to a separate file [N/y/?] (NEW)
Tapez : Entrée
CONFIG_LOG_USERS : Do you want to log connecting users to a separate file [N/y/?]
(NEW)
Tapez : Entrée
CONFIG_LOG_OPERS : Do you want to log Opers to a separate file [N/y/?] (NEW)
Tapez : Entrée
USE_SYSLOG : Do you want to use syslog [N/y/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Configuration
*
CRYPT_LINK_PASSWORD : Use crypted passwords for C: lines [Y/n/?] (NEW)
Tapez : Y ou N suivant si vous voulez les passwords des C-lines Cryptés
ou non.
CRYPT_OPER_PASSWORD : Use crypted passwords for operators [Y/n/?] (NEW)
Tapez : Y ou N suivant si vous voulez les passwords operators ou non.
BUFFERPOOL : Max size of the total of of all sendqs (bytes) [9000000] (NEW)
Tapez : Entrée
CLIENT_FLOOD : Max receive queue for clients (bytes) [1024] (NEW)
Tapez : Entrée
MAXCONNECTIONS : Maximum number of network connections (23 - (FD_SETSIZE-4))
[252] (NEW)
Tapez : Entrée
PORTNUM : Default client listen port [6667] (NEW)
Tapez : Entrée
NICKNAMEHISTORYLENGT: Nickname history length [800] (NEW)
Tapez : Entrée
ALLOW_SNO_CONNEXIT : Allow Opers to see (dis)connects of local clients [N/y/?]
(NEW)
Tapez : Y
R_LINES : Do you want to use R: lines in your configuration file [N/y/?] (NEW)
Tapez : Entrée
USEONE : Do you want support for the old I:*:ONE:*:: construct (read help text!)
[N/y/?] (NEW)
Tapez : Entrée
NODEFAULTMOTD : Send a short message instead of the MOTD to connecting clients
[Y/n/?] (NEW)
Tapez : N
*-----------------------------------------------------------------------------
* Oper commands
*
SHOW_INVISIBLE_USERS: Allow (local) Opers to see all local invisible users [Y/n/?]
(NEW)
Tapez : Entrée
SHOW_ALL_INVISIBLE_U: Allow Opers to see all invisible users [Y/n/?] (NEW)
Tapez : Entrée
OPERS_SEE_IN_SECRET_: Allow global Opers (O:) to see inside secret channels
[Y/n/?] (NEW)
Tapez : Entrée
LOCOP_SEE_IN_SECRET_: Allow local Opers (o:) to see inside secret channels [N/y/?]
(NEW)
Tapez : Entrée
UNLIMIT_OPER_QUERY : Do not truncate obnoxiously long /who output for opers
[N/y/?] (NEW)
Tapez : Entrée
OPER_KILL : Allow Opers to use the KILL command [Y/n/?] (NEW)
Tapez : Entrée
OPER_REHASH : Allow Opers to use the REHASH command [Y/n/?] (NEW)
Tapez : Entrée
OPER_RESTART : Allow Opers to use the RESTART command [Y/n/?] (NEW)
Tapez : Entrée
OPER_DIE : Allow Opers to use the DIE command [Y/n/?] (NEW)
Tapez : Entrée
OPER_LGLINE : Allow Opers to add local G-lines [Y/n/?] (NEW)
Tapez : Entrée
OPER_REMOTE : Allow Opers to connect from a remote site [Y/n/?] (NEW)
Tapez : Entrée
LOCOP_REHASH : Allow local opers to use the REHASH command [Y/n/?] (NEW)
Tapez : Entrée
LOCOP_RESTART : Allow local opers to use the RESTART command [N/y/?] (NEW)
Tapez : Entrée
LOCOP_DIE : Allow local opers to use the DIE command [N/y/?] (NEW)
Tapez : Entrée
LOCOP_LGLINE : Allow local opers to add local G-lines [Y/n/?] (NEW)
Tapez : Entrée
OPER_NO_CHAN_LIMIT : Allow local/global opers to be on any number of channels
[Y/n/?] (NEW)
Tapez : Entrée
OPER_MODE_LCHAN : Allow local/global opers to set modes on local channels [Y/n/?]
(NEW)
Tapez : Entrée
OPER_WALK_THROUGH_LM: Allow local/global opers to walk through local channels
modes [N/y/?] (NEW)
Tapez : Entrée
NO_OPER_DEOP_LCHAN : Prevent local/global opers from being kicked or deoped
on local channels [N/y/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Server characteristics
*
CONFIG_LIST : Do you want to have a default LIST parameter [Y/n/?] (NEW)
Tapez : N
COMMENT_IS_FILE : K: line comments treated as a file by default [Y/n/?] (NEW)
Tapez : Entrée
IDLE_FROM_MSG : Only nullify idle-time on PRIVMSG [Y/n/?] (NEW)
Tapez : Entrée
*-----------------------------------------------------------------------------
* Mandatory defines (you should leave these untouched)
*
MAXIMUM_LINKS : Max auto connects per class (1!) [1] (NEW)
Tapez : Entrée
* Never define this on a production server:
MSGLOG_ENABLED : Enable message logging [N/y/?] (NEW)
Tapez : Entrée
LOCAL_KILL_ONLY : Only allow KILLs of local clients [N/y/?] (NEW)
Tapez : Entrée
KILLCHASETIMELIMIT : KILL nick chase time limit (30) [30] (NEW)
Tapez : Entrée
MAXCHANNELSPERUSER : Max number of channels per user (recommended: 5) [10] (NEW)
Tapez : Entrée
MAXSILES : Max number of silence masks (15!) [15] (NEW)
Tapez : Entrée
AVBANLEN : Expected average banmask length (40!) [40] (NEW)
Tapez : Entrée
* These are default values, used for class 0:
TIMESEC : Max server idle time (60) [60] (NEW)
Tapez : Entrée
PINGFREQUENCY : Class 0 ping frequency (120) [120] (NEW)
Tapez : Entrée
CONNECTFREQUENCY : Class 0 connect frequency (600) [600] (NEW)
Tapez : Entrée
HANGONGOODLINK : Min time before a link is good (300) [300] (NEW)
Tapez : Entrée
HANGONRETRYDELAY : Wait before reconnecting to good link (10!) [10] (NEW)
Tapez : Entrée
CONNECTTIMEOUT : connect(2) timeout (90!) [90] (NEW)
Tapez : Entrée
DEFAULTMAXSENDQLENGT: Max send queue (40000) [40000] (NEW)
Tapez : Entrée
*
* CONFIG_NEW : Use .config of THIS source tree as your upgrade default [Y/n/?]
Tapez : Entrée
Taper ensuite :
- make
- make install
Aller en FTP à
présent. Uploader exemple.conf , éditer le, & renommer le
en ircd.conf .Voici un exemple de configuration :
## Configuration
de l'ircd.conf ##
M:Irc.Tchat-fr.Net:213.161.196.13:Tchat-fr.Net:4400:1
A:Tchat-fr.Net:Serveur IRC Francophone:Staff Staff@tchat-fr.net
P::213.161.196.13:C:6667
Y:90:90:60:1:1700000
Y:50:90:0:10:1700000
Y:1:90:0:400:160000
Y:30:30:0:5:1700000
Y:10:90:0:100:160000
I:*@*:2:*@*::1
J:*:Accueil:*
C:213.161.196.13:pass:Services.tchat-fr.net:4401:90
H:*.*::Services.tchat-fr.net
U:Services.tchat-fr.net:*
F:DENY_SERVICES_MSGS:TRUE (obliger les users à taper /<bot> au
lieu de /msg <bot>)
F:SERVICES_NAME:"Services.tchat-fr.net"
F:SERVICES_NICK:"UniX"
F:KLINE_MAIL:"Klines@tchat-fr.net"
F:OPER_MOTD:TRUE (Envoyer un motd lors d'un /oper)
F:DENY_SGMODES:FALSE (Seuls les IRcops peuvent se mettre +sg)
F:HOST_HIDING:TRUE (Quand un user se log il a une host <login>.<HIDDEN_HOST>)
F:HIDDEN_HOST:"users.tchat-fr.net"
F:XMODE:TRUE
O:*@*:password:hellhound:A:10
O:*@*:password:shazz:ORC^S:10
Petite aide
:
Les différents
flags des Olines :
O |
IRC
Operateur global pouvant s'op sur tout salon et se mettre en mode +p |
R |
Permet
de /rehash |
D |
Permet
de /restart et de /die |
C |
Permet
d'utiliser Chatops |
^ |
Permet
de se mettre +I |
S |
Permet
d'utiliser /svsnick /svsmode et /config |
v |
Permet
d'utiliser /config set (non inclus dans A) |
A |
IRC
Administrateur. Regroupe les flags ORDC^S. |
La J:line permettent de faire joindre un salon automatiquement lors de
la connexion
Notez l'absence des N-lines, jugées comme inutiles
Rendez-vous ensuite
en SSH, dans le répertoire où vous avez installer les binaires,
et taper ./ircd ou bien ./ircd -w ip-du-shell si ./ircd ne lance pas de process.
Source : csadmin.net
|