mav Posted May 22, 2005 Posted May 22, 2005 Установил из портов UnrealIRCD, подправил конфигурационный файл: unrealircd.conf loadmodule "modules/commands.so"; loadmodule "modules/cloak.so"; include "help.conf"; include "badwords.channel.conf"; include "badwords.message.conf"; include "badwords.quit.conf"; me { name "irc.host.ru"; info "IRC Server"; numeric 1; }; admin { "mx"; "mx"; "info@host.ru"; class clients { pingfreq 90; maxclients 200; sendq 100000; recvq 8000; }; class servers { pingfreq 90; maxclients 10; /* Max servers we can have linked at a time */ sendq 1000000; connfreq 100; /* How many seconds between each connection attempt */ }; allow { ip *@*; hostname *@*; class clients; maxperip 5; }; allow { ip *@255.255.255.0; hostname *@*; class clients; password "ik"; maxperip 1; }; oper bobsmith { class clients; from { userhost info@host.ru; }; password "ik1"; flags { netadmin; global; }; }; }; listen *:6697 { options { clientsonly; }; }; listen *:6667; ulines { irc.host.ru; irc.host.ru; }; log "ircd.log" { /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the same log */ maxsize 2097152; flags { oper; kline; connects; server-connects; kills; errors; sadmin-commands; chg-commands; oper-override; spamfilter; }; }; /* Standard aliases */ alias NickServ { type services; }; alias ChanServ { type services; }; alias OperServ { type services; }; alias HelpServ { type services; }; alias StatServ { type stats; }; /* Standard aliases */ alias "services" { format "^#" { nick "chanserv"; type services; parameters "%1-"; }; format "^[^#]" { nick "nickserv"; type services; parameters "%1-"; }; type command; }; alias "identify" { format "^#" { nick "chanserv"; type services; parameters "IDENTIFY %1-"; }; format "^[^#]" { nick "nickserv"; type services; parameters "IDENTIFY %1-"; }; type command; }; tld { mask *@*.fr; motd "ircd.motd"; rules "ircd.rules.fr"; }; ban nick { mask "*C*h*a*n*S*e*r*v*"; reason "Reserved for Services"; }; ban ip { mask 195.86.232.81; reason "Delinked server"; }; ban server { mask eris.berkeley.edu; reason "Get out of here."; }; /* Network configuration */ set { network-name "IRCD"; default-server "irc.host.ru"; services-server "irc.host.ru"; stats-server "irc.host.ru"; help-channel "#Support"; hiddenhost-prefix "rox"; /* prefix-quit "no"; */ /* Cloak keys should be the same at all servers on the network. * They are used for generating masked hosts and should be kept secret. * The keys should be 3 random strings of 5-100 characters * (10-20 chars is just fine) and must consist of lowcase (a-z), * upcase (A-Z) and digits (0-9) [see first key example]. */ cloak-keys { "aoAr1HfR6gl3sJ7hVz4Mb7x4awpW"; "Vz4Ab7x4YfpY"; "a3sJ7hVz4Zb7x4YFpq"; }; /* on-oper host */ hosts { local "locop.host.ru"; global "ircop.fhost.ru"; coadmin "coadmin.host.ru"; admin "admin.host.ru"; servicesadmin "csops.host.ru"; netadmin "netadmin.host.ru"; host-on-oper-up "no"; }; }; /* Server specific configuration */ set { kline-address "info@host.ru"; modes-on-connect "+ixw"; modes-on-oper "+xwgs"; oper-auto-join "#opers"; dns { nameserver 127.0.0.1; timeout 2s; retries 2; }; options { hide-ulines; /* You can enable ident checking here if you want */ /* identd-check; */ show-connect-info; }; maxchannelsperuser 10; /* The minimum time a user must be connected before being allowed to use a QUIT message, * This will hopefully help stop spam */ anti-spam-quit-message-time 10s; /* Make the message in static-quit show in all quits - meaning no custom quits are allowed on local server */ /* static-quit "Client quit"; */ /* You can also block all part reasons by uncommenting this and say 'yes', * or specify some other text (eg: "Bye bye!") to always use as a comment.. */ /* static-part yes; */ /* This allows you to make certain stats oper only, use * for all stats, * leave it out to allow users to see all stats. Type '/stats' for a full list. * Some admins might want to remove the 'kGs' to allow normal users to list * klines, glines and shuns. */ oper-only-stats "adfGsMEUEelLCszdM"; /* Throttling: this example sets a limit of 3 connections per 60s (per host). */ throttle { connections 3; period 60s; }; /* Anti flood protection */ anti-flood { nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */ }; /* Spam filter */ spamfilter { ban-time 1d; /* default duration of a *line ban set by spamfilter */ ban-reason "Spam/Advertising"; /* default reason */ virus-help-channel "#help"; /* channel to use for 'viruschan' action */ /* except "#help"; channel to exempt from filtering */ }; }; При подключении mirc'ом, выдает: * Подключение к 192.168.0.1 ... (6667) - -irc.host.ru- *** Looking up your hostname... - -irc.host.ru- *** Couldn't resolve your hostname; using your IP address instead - -irc.host.ru- *** If you are having problems connecting due to ping timeouts, please type /quote pong 7381B489 or /raw pong 7381B489 now. - Ping? Pong! - .... Я так понимаю он не может преобразовать имя. Что исправить? Вставить ник Quote
Guest Posted May 23, 2005 Posted May 23, 2005 Поднятием ДНС сервера в сети и прописыванием вех клиентов в обратную зону. А вообще это не является критической ошибкой, судя по надпись Пинг? Понг! соединение установилось нормально... Вставить ник Quote
mav Posted May 25, 2005 Author Posted May 25, 2005 Поднятием ДНС сервера в сети и прописыванием вех клиентов в обратную зону. А вообще это не является критической ошибкой, судя по надпись Пинг? Понг! соединение установилось нормально... ну не кретическое да... но хотелось, чтобы вообще без ошибок. Каждого в ДНС прописать??? во-первых долго, во-вторых зря только нагружать лишними записями. Я имел ввиду, что надо указать в конфиге, чтобы он не пытался резолвить ip? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.