18/12/2012, 17:30
Code :
############################
# Configuration du Serveur #
############################
#
#
######################
# Modules UnrealIRCd #
######################
#
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
#
######################
# Include UnrealIRCd #
######################
#
include "doc/help.fr.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/* include "klines.conf"; */
#
#################
# Configuration #
#################
#
me
{
name "irc.JuuOnAir.com";
info "Serveur de Juu On Air";
numeric 1;
};
set {
network-name "irc.JuuOnAir.com";
default-server "irc.JuuOnAir.com";
services-server "Services.JuuOnAir.com";
stats-server "Statistiques.JuuOnAir.com";
help-channel "#Aide";
auto-join "#JuuOnAir";
hiddenhost-prefix "JuuOnAir";
modes-on-join "+ntVT";
maxchannelsperuser 500;
anti-spam-quit-message-time 60s;
default-bantime 1d;
prefix-quit "Quit:";
cloak-keys {
"204P409CGOhT67R";
"oh2V308X3hNqN5H";
"13R8t5YpufG5Oe5";
};
hosts {
local "Local-Operateur.JuuOnAir.com";
global "IRC-Operateur.JuuOnAir.com";
coadmin "Co-Administrateur.JuuOnAir.com";
admin "Administrateur.JuuOnAir.com";
servicesadmin "Service-Administrateur.JuuOnAir.com";
netadmin "Super-Administrateur.JuuOnAir.com";
host-on-oper-up "no";
};
kline-address "irc@diimsdesign.net";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#Services,#Staff,#Aide";
options {
hide-ulines;
identd-check;
show-connect-info;
};
static-quit "Quit : A bientôt sur le serveur de Juu On Air !";
/* static-part yes; */
oper-only-stats "okfGsMRUEelLCXzdD";
throttle {
connections 3;
period 60s;
};
anti-flood {
nick-flood 3:60;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#Aide";
};
};
admin {
"Diims";
"Diims";
"diims@diimsdesign.net";
};
drpass {
restart "***";
die "***";
};
log "ircd.log" {
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
#
#####################
# Connexion Serveur #
#####################
#
listen *:6667
{
options
{
clientsonly;
};
};
listen *:7000
{
options
{
serversonly;
};
};
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 20;
sendq 1000000;
connfreq 100;
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
#
###############
# O:Line/Oper #
###############
#
oper Diims {
class clients;
from {
userhost *@*;
};
password "***";
flags
{
netadmin;
admin;
helpop;
global;
can_rehash;
can_restart;
can_die;
can_globops;
can_wallops;
can_localroute;
can_localkill;
can_kline;
can_unkline;
can_localnotice;
can_globalroute;
can_globalkill;
can_globalnotice;
can_dccdeny;
can_setq;
can_gkline;
can_gzline;
can_zline;
can_override;
get_umodew;
get_host;
};
maxlogins 3;
};
#
######################
# Oline des eggdrops #
######################
#
oper X {
class clients;
from {
userhost *@*;
};
password "***";
flags {
services-admin;
global;
get_umodew;
get_host;
can_gkline;
can_gzline;
can_zline;
can_override;
};
};
oper Sophie {
class clients;
from {
userhost *@*;
};
password "***";
flags
{
services-admin;
global;
can_globops;
can_wallops;
can_localroute;
can_localkill;
can_kline;
can_unkline;
can_localnotice;
can_globalroute;
can_globalkill;
can_globalnotice;
can_gkline;
can_gzline;
can_zline;
can_override;
get_umodew;
};
maxlogins 10;
};
#
#################
# Link Services #
#################
#
link Services.JuuOnAir.com
{
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
#
############
# Link Lea #
############
#
link Lea.JuuOnAir.com
{
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
#
############
# Link Eva #
############
#
link Eva.JuuOnAir.com
{
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
#
##############
# Link Talis #
##############
#
link Talis.JuuOnAir.com
{
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
#
##############
# Link Stats #
##############
#
link Statistiques.JuuOnAir.com
{
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
#
#############
# Link Anna #
#############
#
link Anna.JuuOnAir.com {
username *;
hostname ***.***.***.***;
bind-ip *;
port 7000;
hub *;
password-connect "***";
password-receive "***";
class servers;
};
ulines {
Services.JuuOnAir.com;
Lea.JuuOnAir.com;
Eva.JuuOnAir.com;
Talis.JuuOnAir.com;
Statistiques.JuuOnAir.com;
Anna.JuuOnAir.com;
};
alias NickServ {
target "NickServ";
type services;
};
alias ns {
target "NickServ";
type services;
};
alias ChanServ {
target "ChanServ";
type services;
};
alias cs {
target "ChanServ";
type services;
};
alias OperServ {
target "OperServ";
type services;
};
alias os {
target "OperServ";
type services;
};
alias BotServ {
target "BotServ";
type services;
};
alias bs {
target "BotServ";
type services;
};
alias HostServ {
target "HostServ";
type services;
};
alias hs {
target "HostServ";
type services;
};
alias MemoServ {
target "MemoServ";
type services;
};
alias ms {
target "MemoServ";
type services;
};
// Faire pointer la commande /superbot vers l'utilisateur SuperBot
//alias SuperBot { type normal; };
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Les bots ne sont pas permis sur ce serveur, lisez s'il-vous-plait la faq sur http://www.example.com/faq/123";
};
type command;
};
files
{
/* motd ircd.motd; */
/* shortmotd ircd.smotd; */
/* opermotd oper.motd; */
/* svsmotd ircd.svsmotd; */
/* botmotd bot.motd; */
/* rules ircd.rules; */
/* tunefile ircd.tune; */
/* pidfile ircd.pid; */
};
#
############
# Ban Nick #
############
#
ban nick {
mask "NickServ";
reason "Pseudo Protégé";
};
ban nick {
mask "Global";
reason "Pseudo Protégé";
};
ban nick {
mask "OperServ";
reason "Pseudo Protégé";
};
ban nick {
mask "BotServ";
reason "Pseudo Protégé";
};
ban nick {
mask "ChanServ";
reason "Pseudo Protégé";
};
ban nick {
mask "HostServ";
reason "Pseudo Protégé";
};
ban nick {
mask "HelpServ";
reason "Pseudo Protégé";
};
ban nick {
mask "MemoServ";
reason "Pseudo Protégé";
};
ban nick {
mask "ConnectServ";
reason "Pseudo Protégé";
};
ban nick {
mask "*ÿ*";
reason "Pseudo Interdit";
};
ban nick {
mask "*salop*";
reason "Pseudo Interdit";
};
ban nick {
mask "*putain*";
reason "Pseudo Interdit";
};
ban nick {
mask "*connard*";
reason "Pseudo Interdit";
};
ban nick {
mask "*batard*";
reason "Pseudo Interdit";
};
ban nick {
mask "*pute*";
reason "Pseudo Interdit";
};
ban nick {
mask "*xdcc*";
reason "Pseudo Interdit";
};
ban nick {
mask "*warez*";
reason "Pseudo Interdit";
};
ban nick {
mask "*anal*";
reason "Pseudo Interdit";
};
ban nick {
mask "*nazi*";
reason "Pseudo Interdit";
};
ban nick {
mask "con";
reason "Pseudo Interdit";
};
ban nick {
mask "cons";
reason "Pseudo Interdit";
};
ban nick {
mask "merde";
reason "Pseudo Interdit";
};
#
#############
# Bad Ident #
#############
#
ban user {
mask "Ev1Ls*@*";
reason "Ident Interdit";
};
ban user {
mask "c324eb47*@*";
reason "Ident Interdit";
};
ban user {
mask "d4c27f08*@*";
reason "Ident Interdit";
};
ban user {
mask "53c86262*@*";
reason "Ident Interdit";
};
ban user {
mask "D-IRCV*@*";
reason "Ident Interdit";
};
ban user {
mask "sex*@*";
reason "Ident Interdit";
};
ban user {
mask "pute*@*";
reason "Ident Interdit";
};
ban user {
mask "putain*@*";
reason "Ident Interdit";
};
ban user {
mask "bite*@*";
reason "Ident Interdit";
};
ban user {
mask "xdcc*@*";
reason "Ident Interdit";
};
ban user {
mask "warez*@*";
reason "Ident Interdit";
};
ban user {
mask "anal*@*";
reason "Ident Interdit";
};
ban user {
mask "nazi*@*";
reason "Ident Interdit";
};
ban user {
mask "salop*@*";
reason "Ident Interdit";
};
ban user {
mask "connard*@*";
reason "Ident Interdit";
};
ban user {
mask "batard*@*";
reason "Ident Interdit";
};
ban user {
mask "con@*";
reason "Ident Interdit";
};
ban user {
mask "cons@*";
reason "Ident Interdit";
};
ban user {
mask "merde@*";
reason "Ident Interdit";
};
#
################
# Bad Realname #
################
#
ban realname {
mask "*sexe*";
reason "Realname Interdit";
};
ban realname {
mask "*pute*";
reason "Realname Interdit";
};
ban realname {
mask "*putain*";
reason "Realname Interdit";
};
ban realname {
mask "*bite*";
reason "Realname Interdit";
};
ban realname {
mask "*xdcc*";
reason "Realname Interdit";
};
ban realname {
mask "*warez*";
reason "Realname Interdit";
};
ban realname {
mask "*anal*";
reason "Realname Interdit";
};
ban realname {
mask "*nazi*";
reason "Realname Interdit";
};
ban realname {
mask "*salop*";
reason "Realname Interdit";
};
ban realname {
mask "*connard*";
reason "Realname Interdit";
};
ban realname {
mask "*batard*";
reason "Realname Interdit";
};
ban realname {
mask "con";
reason "Realname Interdit";
};
ban realname {
mask "cons";
reason "Realname Interdit";
};
ban realname {
mask "merde";
reason "Realname Interdit";
};
#
############
# Bad Chan #
############
#
deny channel {
channel "*$*";
reason "Salon Interdit";
};
deny channel {
channel "#*salope*";
reason "Salon Interdit";
};
deny channel {
channel "#*warez*";
reason "Salon Interdit";
};
deny channel {
channel "#*xdcc*";
reason "Salon Interdit";
};
deny channel {
channel "#*nazi*";
reason "Salon Interdit";
};
deny channel {
channel "#*pute*";
reason "Salon Interdit";
};
deny channel {
channel "#*bite*";
reason "Salon Interdit";
};
deny channel {
channel "#*connard*";
reason "Salon Interdit";
};
deny channel {
channel "#*batard*";
reason "Salon Interdit";
};
deny channel {
channel "#*merde*";
reason "Salon Interdit";
};
deny channel {
channel "#con";
reason "Salon Interdit";
};
deny channel {
channel "#cons";
reason "Salon Interdit";
};
deny channel {
channel "#putain";
reason "Salon Interdit";
};
deny channel {
channel "#anal";
reason "Salon Interdit";
};
#
#######
# Dcc #
#######
#
deny dcc {
filename "*";
reason "Transfert Interdit";
soft yes;
};
allow dcc {
filename "*.htm";
soft yes;
};
allow dcc {
filename "*.html";
soft yes;
};
allow dcc {
filename "*.xml";
soft yes;
};
allow dcc {
filename "*.php";
soft yes;
};
allow dcc {
filename "*.php3";
soft yes;
};
allow dcc {
filename "*.php4";
soft yes;
};
allow dcc {
filename "*.php5";
soft yes;
};
allow dcc {
filename "*.pl";
soft yes;
};
allow dcc {
filename "*.cgi";
soft yes;
};
allow dcc {
filename "*.tcl";
soft yes;
};
allow dcc {
filename "*.mrc";
soft yes;
};
allow dcc {
filename "*.jpg";
soft yes;
};
allow dcc {
filename "*.jpeg";
soft yes;
};
allow dcc {
filename "*.gif";
soft yes;
};
allow dcc {
filename "*.png";
soft yes;
};
allow dcc {
filename "*.bmp";
soft yes;
};
allow dcc {
filename "*.mp3";
soft yes;
};
allow dcc {
filename "*.mpg";
soft yes;
};
allow dcc {
filename "*.mpeg";
soft yes;
};
allow dcc {
filename "*.avi";
soft yes;
};
allow dcc {
filename "*.wav";
soft yes;
};
allow dcc {
filename "*.wma";
soft yes;
};
allow dcc {
filename "*.wmv";
soft yes;
};
allow dcc {
filename "*.txt";
soft yes;
};
allow dcc {
filename "*.log";
soft yes;
};
allow dcc {
filename "*.pdf";
soft yes;
};
allow dcc {
filename "*.c";
soft yes;
};
allow dcc {
filename "*.zip";
soft yes;
};
allow dcc {
filename "*.exe";
soft yes;
};
allow dcc {
filename "*.rar";
soft yes;
};
allow dcc {
filename "*.ace";
soft yes;
};
allow dcc {
filename "*.tgz";
soft yes;
};
allow dcc {
filename "*.gz";
soft yes;
};
allow dcc {
filename "*.bz2";
soft yes;
};
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
deny dcc {
filename "*sub7*";
reason "Possible Sub7 Virus";
};
ban realname {
mask "sub7server";
reason "sub7";
};
ban ip {
mask 195.86.232.81;
reason "Serveur délinké";
};
ban server {
mask eris.berkeley.edu;
reason "Va-t-en d'ici.";
};
deny channel {
channel "*warez*";
reason "Warez is illegal";
};
allow channel {
channel "#WarezSucks";
};
#
##################
# Protection Ban #
##################
#
except ban {
mask "*@localhost";
};
#
#######################
# Protection Throttle #
#######################
#
except throttle {
mask "*@localhost";
};
#
####################
# Salons Officiels #
####################
#
official-channels {
"#JuuOnAir";
"#Aide";
"#Services";
"#Staff";
};