Настройка IRC сервера для использования с IRC-IoT протоколом
Здесь пример изменений в конифгурационном файле /etc/ircd/ircd.conf
(из пакета Undernet Internet Relay Chat Daemon):
General {
name = "irc-iot.online";
description = "One of first IRC-IoT Servers";
numeric = 1;
};
Admin {
Location = "Novosibirsk, Russia";
Contact = "admin@irc-iot.online";
};
...
Class {
name = "Other";
pingfreq = 1 minutes 30 seconds;
sendq = 1500000; <────── Предотвращение "Excess Flood"
maxlinks = 100;
};
Class {
name = "LeafServer";
pingfreq = 1 minutes 30 seconds;
connectfreq = 5 minutes;
maxlinks = 3;
};
...
Client {
host = "*@*";
ip = "*@*";
class = "Other";
};
...
Port {
port = 6667;
};
Port {
port = 7777;
vhost = "192.168.1.1";
server = yes;
};
...
Connect {
host = "192.168.1.10";
password = "leafserverpassword";
class = "LeafServer";
name = "irc-iot-leaf.online";
};
...
Jupe {
nick = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q";
nick = "CRS,GDS,GRS,GTS"; <────── Добавить некоторые IRC-IoT сервисы
}
features {
"LOG" = "SYSTEM" "FILE" "ircd.log";
"LOG" = "SYSTEM" "LEVEL" "CRIT";
"SERVER_PORT" = "7771";
"HUB" = "TRUE";
"NETWORK" = "IRC-IoT"; <────── Тип IRC сети
"CLIENT_FLOOD"="8192"; <────── Предотвращение "Excess Flood"
};
© 2018–2020 Алексей Воронов, Все права защищены.
|