Bonjour je vous donne le code source pour l'insérer dans votre Fichier de Configuration de Unrealircd
Le fichier de config ce trouve dans => /home/votre-shell/unrealircd/conf
Nom du fichier => unrealircd.conf
Après taper via terminal
./unrealircd rehash
Ou directement sur IRC
/rehash
Le fichier de config ce trouve dans => /home/votre-shell/unrealircd/conf
Nom du fichier => unrealircd.conf
Code :
/* Bannir des nicks qui utilise des proxy
*/
blacklist dronebl {
dns {
name dnsbl.dronebl.org;
type record;
reply { 3; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; };
};
action gline;
ban-time 24h;
reason "Proxy/Drone detected. Check https://dronebl.org/lookup?ip=$ip for details.";
};
/* EFnetRBL, see https://rbl.efnetrbl.org/ for documentation
* and the meaning of the reply types.
* At time of writing: 1 is open proxy, 4 is TOR, 5 is drones/flooding.
*
* NOTE: If you want to permit TOR proxies on your server, then
* you need to remove the '4;' below in the reply section.
*/
blacklist efnetrbl {
dns {
name rbl.efnetrbl.org;
type record;
reply { 1; 4; 5; };
};
action gline;
ban-time 24h;
reason "Proxy/Drone/TOR detected. Check http://rbl.efnetrbl.org/?i=$ip for details.";
};
Après taper via terminal
./unrealircd rehash
Ou directement sur IRC
/rehash