Accueil
Contact

CService (v2.5)
NService (v1.5)
OService (v1.1)
MyBoX ScripT (v6)





Allopass, le micro-paiement pour tous les Webmasters !

Télécharger CService mIRC
Valid CSS!



Installation d'IRCoxyd


Basé sur un IRCu2.10.07, ce deamon offre un peu plus de possibilités qu'un ircu dit ancien. Les notices à chaque OPER MODE & le cryptage des hosts sont très très peu réussis.

Pour installer ce deamon, procéder comme suit :

Taper ceci (étant loggué en SSH) :

- tar zxvf ircoxyd2.3.tgz
- cd ircoxyd2.3
- ./configure
- make config

Lors du make config, une série de questions vous ai posés, voici un exemple des réponses que vous pouvez éventuellement fournir :

*
* No defaults found
*
* Welcome to the Undernet IRC Daemon Configuration script.
* You can restart this configuration at any time by typing 'make config'.
* If you need help with your decision on any question, type a '?'
*
*-----------------------------------------------------------------------------
* 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)

Login de votre shell

IRCDGRP : Which group do you want the binary to have [user] (NEW)

Login du shell, ou nom de votre groupe

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

*-----------------------------------------------------------------------------
* 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

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 N: lines [Y/n/?] (NEW)

Tapez : Y ou N suivant si vous voulez les passwords des N-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
 

A présent, aller en FTP prendre 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:30
N:213.161.196.13:pass:Services.tchat-fr.net::30
H:*.*::Services.tchat-fr.net
U:Services.tchat-fr.net::*

Z:*@*:paswword:hellhound:A:10
O:*@*:password:shazz::10

W:sdojvqbjoqs 

Voila. Il ne vous reste plus qu'a taper ./ircd ou ./ircd - w ip-du-shell en SSH dans le répertoire où vous avez installer les binaires. Bonne chance:)

Petites précisions :

La J:line permettent de faire joindre un salon automatiquement lors de la connexion 
La W:line est la clé du cryptage des host 
La Z:line fera apparaître l'information "IRCadministrateur" lors d'un whois sur l'IRCop.

Source : csadmin.net


- Newsletter -
Contact



Webmaster : mybox - Megairc.fr © 2010 Tous droits réservés - Page générée en 0 secondes
Allopass, le micro-paiement pour tous les Webmasters !