Люди добрые! Помогите, пожалуйста... Сил моих больще нет на это смотреть.
Есть IRC сервер ircd-ru-1.0.7 и сервисы для него ircservices-5.0.0, всё это поставлено на FreeBSD 4.10 из портов.
Выкладываю свои конфиги полностью (мало ли что...), но сначала лог:
###ircservices.log
#без ключа -debug
[Mar 02 00:22:38 2005] IRC Services 5.0.23 starting up
[Mar 02 00:22:39 2005] httpd/main: Listening on 127.0.0.1:12701
[Mar 02 00:22:39 2005] unknown message from server (ERROR :Closing Link: 0.0.0.0 (NO N line))
[Mar 02 00:22:39 2005] Read error from server: Connection reset by peer
#с ключём -debug
[Mar 02 01:04:17.172441 2005] IRC Services 5.0.23 starting up (options: debug)
[Mar 02 01:04:17.182531 2005] debug: Loading language 0 from file `languages/en_us'
[Mar 02 01:04:17.265407 2005] debug: Loading language 10 from file `languages/nl'
[Mar 02 01:04:17.344468 2005] debug: Loading language 6 from file `languages/fr'
[Mar 02 01:04:17.421594 2005] debug: Loading language 9 from file `languages/de'
[Mar 02 01:04:17.552406 2005] debug: Loading language 11 from file `languages/hu'
[Mar 02 01:04:17.695902 2005] debug: Loading language 8 from file `languages/it'
[Mar 02 01:04:17.720756 2005] debug: Loading language 2 from file `languages/ja_euc'
[Mar 02 01:04:17.785893 2005] debug: Loading language 3 from file `languages/ja_sjis'
[Mar 02 01:04:17.855946 2005] debug: Loading language 5 from file `languages/pt'
[Mar 02 01:04:17.892134 2005] debug: Loading language 4 from file `languages/es'
[Mar 02 01:04:17.963360 2005] debug: Loading language 7 from file `languages/tr'
[Mar 02 01:04:18.030232 2005] debug: Loaded languages
[Mar 02 01:04:18.030534 2005] debug: Loading module `protocol/bahamut'
[Mar 02 01:04:18.061319 2005] debug: Successfully loaded module `protocol/bahamut'
[Mar 02 01:04:18.061668 2005] debug: Loading module `database/version4'
[Mar 02 01:04:18.136084 2005] debug: Successfully loaded module `database/version4'
[Mar 02 01:04:18.136367 2005] debug: Loading module `mail/main'
[Mar 02 01:04:18.140465 2005] debug: Successfully loaded module `mail/main'
[Mar 02 01:04:18.151806 2005] debug: Loading module `mail/smtp'
[Mar 02 01:04:18.154774 2005] debug: Successfully loaded module `mail/smtp'
[Mar 02 01:04:18.155045 2005] debug: Loading module `operserv/main'
[Mar 02 01:04:18.178050 2005] debug: Successfully loaded module `operserv/main'
[Mar 02 01:04:18.178331 2005] debug: Loading module `operserv/akill'
[Mar 02 01:04:18.196877 2005] debug: Successfully loaded module `operserv/akill'
[Mar 02 01:04:18.197103 2005] debug: Loading module `operserv/news'
[Mar 02 01:04:18.200911 2005] debug: Successfully loaded module `operserv/news'
[Mar 02 01:04:18.201155 2005] debug: Loading module `operserv/sessions'
[Mar 02 01:04:18.205472 2005] debug: Successfully loaded module `operserv/sessions'
[Mar 02 01:04:18.205717 2005] debug: Loading module `operserv/sline'
[Mar 02 01:04:18.210245 2005] debug: Successfully loaded module `operserv/sline'
[Mar 02 01:04:18.210523 2005] debug: Loading module `nickserv/main'
[Mar 02 01:04:18.227365 2005] debug: Successfully loaded module `nickserv/main'
[Mar 02 01:04:18.227689 2005] debug: Loading module `nickserv/access'
[Mar 02 01:04:18.231929 2005] debug: Successfully loaded module `nickserv/access'
[Mar 02 01:04:18.232187 2005] debug: Loading module `nickserv/link'
[Mar 02 01:04:18.236549 2005] debug: Successfully loaded module `nickserv/link'
[Mar 02 01:04:18.236814 2005] debug: Loading module `nickserv/mail-auth'
[Mar 02 01:04:18.241238 2005] debug: Successfully loaded module `nickserv/mail-auth'
[Mar 02 01:04:18.241504 2005] debug: Loading module `nickserv/sendpass'
[Mar 02 01:04:18.245589 2005] debug: Successfully loaded module `nickserv/sendpass'
[Mar 02 01:04:18.245859 2005] debug: Loading module `chanserv/main'
[Mar 02 01:04:18.256638 2005] debug: Successfully loaded module `chanserv/main'
[Mar 02 01:04:18.256918 2005] debug: Loading module `chanserv/access-levels'
[Mar 02 01:04:18.262421 2005] debug: Successfully loaded module `chanserv/access-levels'
[Mar 02 01:04:18.262683 2005] debug: Loading module `chanserv/sendpass'
[Mar 02 01:04:18.276613 2005] debug: Successfully loaded module `chanserv/sendpass'
[Mar 02 01:04:18.276883 2005] debug: Loading module `memoserv/main'
[Mar 02 01:04:18.283591 2005] debug: Successfully loaded module `memoserv/main'
[Mar 02 01:04:18.283866 2005] debug: Loading module `memoserv/forward'
[Mar 02 01:04:18.292930 2005] debug: Successfully loaded module `memoserv/forward'
[Mar 02 01:04:18.293231 2005] debug: Loading module `memoserv/ignore'
[Mar 02 01:04:18.297774 2005] debug: Successfully loaded module `memoserv/ignore'
[Mar 02 01:04:18.298040 2005] debug: Loading module `statserv/main'
[Mar 02 01:04:18.309138 2005] debug: Successfully loaded module `statserv/main'
[Mar 02 01:04:18.309399 2005] debug: Loading module `misc/helpserv'
[Mar 02 01:04:18.314472 2005] debug: Successfully loaded module `misc/helpserv'
[Mar 02 01:04:18.314744 2005] debug: Loading module `httpd/main'
[Mar 02 01:04:18.322925 2005] httpd/main: Listening on 127.0.0.1:12701
[Mar 02 01:04:18.323193 2005] debug: Successfully loaded module `httpd/main'
[Mar 02 01:04:18.323334 2005] debug: Loading module `httpd/auth-ip'
[Mar 02 01:04:18.328383 2005] debug: Successfully loaded module `httpd/auth-ip'
[Mar 02 01:04:18.328653 2005] debug: Loading module `httpd/auth-password'
[Mar 02 01:04:18.333791 2005] debug: Successfully loaded module `httpd/auth-password'
[Mar 02 01:04:18.334065 2005] debug: Loading module `misc/xml-export'
[Mar 02 01:04:18.339721 2005] debug: Successfully loaded module `misc/xml-export'
[Mar 02 01:04:18.340035 2005] debug: Loading module `misc/xml-import'
[Mar 02 01:04:18.348363 2005] debug: Successfully loaded module `misc/xml-import'
[Mar 02 01:04:18.348645 2005] debug: Loaded modules
[Mar 02 01:04:18.385377 2005] debug: Sent: PASS services :TS
[Mar 02 01:04:18.385704 2005] debug: Sent: CAPAB TS3 SSJOIN NICKIP NOQUIT
[Mar 02 01:04:18.385842 2005] debug: Sent: SERVER services.mars.edu.ru 1 :Services for IRC Networks
[Mar 02 01:04:18.385974 2005] debug: Sent: SVINFO 3 3 0 :1109714658
[Mar 02 01:04:18.386092 2005] Initiated connection to 192.168.1.200:6667
[Mar 02 01:04:18.386804 2005] debug: Sent: NICK OperServ 1 1109714658 +oi services mars.edu.ru services.mars.edu.ru 0 0 :Operator Server
[Mar 02 01:04:18.387009 2005] debug: Sent: NICK Global 1 1109714658 +oi services mars.edu.ru services.mars.edu.ru 0 0 :Global Noticer
[Mar 02 01:04:18.387164 2005] debug: Sent: NICK NickServ 1 1109714658 +o services mars.edu.ru services.mars.edu.ru 0 0 :Nickname Server
[Mar 02 01:04:18.387314 2005] debug: Sent: NICK ChanServ 1 1109714658 +o services mars.edu.ru services.mars.edu.ru 0 0 :Channel Server
[Mar 02 01:04:18.387462 2005] debug: Sent: NICK MemoServ 1 1109714658 +o services mars.edu.ru services.mars.edu.ru 0 0 :Memo Server
[Mar 02 01:04:18.387608 2005] debug: Sent: NICK StatServ 1 1109714658 +i services mars.edu.ru services.mars.edu.ru 0 0 :Statistics Server
[Mar 02 01:04:18.387753 2005] debug: Sent: NICK HelpServ 1 1109714658 + services mars.edu.ru services.mars.edu.ru 0 0 :Help Server
[Mar 02 01:04:18.387888 2005] debug: Received: :deimos.mars.edu.ru NOTICE AUTH :*** Looking up your hostname...
[Mar 02 01:04:18.388027 2005] debug: Received: :deimos.mars.edu.ru NOTICE AUTH :*** Found your hostname, cached
[Mar 02 01:04:18.388144 2005] debug: Received: :deimos.mars.edu.ru NOTICE AUTH :*** Checking Ident
#ВОТ НА ЭТО ПРОШУ ОБРАТИТЬ ОСОБОЕ ВНИМАНИЕ (ОНА ТАК И НЕКОТОРЫМ КЛИЕНТАМ #ПИШЕТ, А НЕКОТОРЫМ НЕТ, чего я тоже не могу понять...)
[Mar 02 01:04:18.388261 2005] debug: Received: :deimos.mars.edu.ru NOTICE AUTH :*** No Ident response
[Mar 02 01:04:18.481898 2005] debug: Received: ERROR :Closing Link: 0.0.0.0 (NO N line)
[Mar 02 01:04:18.482230 2005] unknown message from server (ERROR :Closing Link: 0.0.0.0 (NO N line))
[Mar 02 01:04:18.482571 2005] debug: sockets: read(0): Connection reset by peer
[Mar 02 01:04:18.483399 2005] debug: Saving databases
[Mar 02 01:04:18.488219 2005] Read error from server: Connection reset by peer
[Mar 02 01:04:18.488451 2005] debug: Unloading module `misc/xml-import'
[Mar 02 01:04:18.489019 2005] debug: Unloading module `misc/xml-export'
[Mar 02 01:04:18.489339 2005] debug: Unloading module `httpd/auth-password'
[Mar 02 01:04:18.489611 2005] debug: Unloading module `httpd/auth-ip'
[Mar 02 01:04:18.489975 2005] debug: Unloading module `httpd/main'
[Mar 02 01:04:18.490360 2005] debug: Unloading module `misc/helpserv'
[Mar 02 01:04:18.490665 2005] debug: Unloading module `statserv/main'
[Mar 02 01:04:18.491027 2005] debug: Unloading module `memoserv/ignore'
[Mar 02 01:04:18.491379 2005] debug: Unloading module `memoserv/forward'
[Mar 02 01:04:18.491651 2005] debug: Unloading module `memoserv/main'
[Mar 02 01:04:18.491969 2005] debug: Unloading module `chanserv/sendpass'
[Mar 02 01:04:18.492243 2005] debug: Unloading module `chanserv/access-levels'
[Mar 02 01:04:18.492493 2005] debug: Unloading module `chanserv/main'
[Mar 02 01:04:18.492927 2005] debug: Unloading module `nickserv/sendpass'
[Mar 02 01:04:18.493211 2005] debug: Unloading module `nickserv/mail-auth'
[Mar 02 01:04:18.493491 2005] debug: Unloading module `nickserv/link'
[Mar 02 01:04:18.493751 2005] debug: Unloading module `nickserv/access'
[Mar 02 01:04:18.494010 2005] debug: Unloading module `nickserv/main'
[Mar 02 01:04:18.494452 2005] debug: Unloading module `operserv/sline'
[Mar 02 01:04:18.494760 2005] debug: Unloading module `operserv/sessions'
[Mar 02 01:04:18.495054 2005] debug: Unloading module `operserv/news'
[Mar 02 01:04:18.495319 2005] debug: Unloading module `operserv/akill'
[Mar 02 01:04:18.495597 2005] debug: Unloading module `operserv/main'
[Mar 02 01:04:18.495900 2005] debug: Unloading module `mail/smtp'
[Mar 02 01:04:18.496199 2005] debug: Unloading module `mail/main'
[Mar 02 01:04:18.496412 2005] debug: Unloading module `database/version4'
[Mar 02 01:04:18.496665 2005] debug: Unloading module `protocol/bahamut'###ircd.conf
M:deimos.mars.edu.ru:192.168.1.200:Some WeNet Server:6660Y:50:90:60:1:15000000
Y:51:90:60:0:12000000
Y:40:90:90:1:5000000
Y:41:180:90:1:5000000
Y:30:90:90:0:5000000
Y:31:180:90:0:5000000
Y:10:90:0:10:500000
Y:1:90:0:500:100000::2
Y:2:90:0:1000:100000::2
Y:3:90:0:1000:100000::50I:*@*::*@*::1
I:NOMATCH::192.168.1.*::1U:services.mars.edu.ru:*:*
C:192.168.1.200:$V9vUJ2RfK6TbE:services.mars.edu.ru::50
N:192.168.1.200:$V9vUJ2RfK6TbE:services:services.mars.edu.ru:ZV:50H:*::services.mars.edu.ru
Q::Reserved for services:*ChanServ*
Q::Reserved for services:*NickServ*
Q::Reserved for services:*MemoServ*
Q::Reserved for services:*OperServ*
Q::Reserved for services:*HelpServ*
Q::Reserved for services:*StatServ*
Q::Reserved for services:*RootServ*
Q::Reserved for services:*BotServ*
Q::Reserved for services:*OpmServ*
Q::Reserved for services:*SeenServ*
Q::Reserved for services:*IrcIIHelp*
Q::Reserved for services:*Global*
Q::Reserved for services:*DevNull*
Q::Reserved for services:*WeNet*
#
Q::Reserved for operators:*IRCop*P:*:::6660
P:*::CP1251:6667
P:*::TRANSLIT:6668
P:*::KOI8-F:6669
P:*::KOI8-R:6670
P:*::CP866:6671
P:*::ISO8859-5:6672
#ircservices.conf
RemoteServer 192.168.1.200 6667 "services"
ServerName "services.mars.edu.ru"
ServerDesc "Services for IRC Networks"
ServiceUser "services@mars.edu.ru"
Umask 077 # Disallows access to all but file owner
LogFilename ircservices.log
PIDFilename ircservices.pid
MOTDFilename ircservices.motd
LockFilename .lock
StrictPasswords
BadPassLimit 5
BadPassTimeout 1h
BadPassWarning 5
UpdateTimeout 5m
WarningTimeout 4h
ReadTimeout 3
TimeoutCheck 1.0
NetBufferSize 4194304 1048576 # 4MB and 1MB
NetBufferLimit 80 95
GuestNickPrefix "Guest"
LogMaxUsers
EnableGetpass
WallGetpass
WallSetpass
LoadModule protocol/bahamut
LoadModule database/version4
LoadModule mail/main
LoadModule mail/smtp
LoadModule operserv/main
LoadModule operserv/akill
LoadModule operserv/news
LoadModule operserv/sessions
LoadModule operserv/slineLoadModule nickserv/main
LoadModule nickserv/access
#LoadModule nickserv/autojoin
LoadModule nickserv/link
LoadModule nickserv/mail-auth
#LoadModule nickserv/oldlink
LoadModule nickserv/sendpassLoadModule chanserv/main
LoadModule chanserv/access-levels
#LoadModule chanserv/access-xop
LoadModule chanserv/sendpassLoadModule memoserv/main
LoadModule memoserv/forward
LoadModule memoserv/ignoreLoadModule statserv/main
LoadModule misc/helpserv
LoadModule httpd/main
LoadModule httpd/auth-ip
LoadModule httpd/auth-password
#LoadModule httpd/dbaccess
#LoadModule httpd/debug
#LoadModule httpd/redirect
#LoadModule httpd/top-pageLoadModule misc/xml-export
LoadModule misc/xml-import
###modules.confModule protocol/bahamut
EndModuleModule mail/main
EndModuleSendmailPath /usr/lib/sendmail
EndModule
Module mail/smtp
SMTPName services.mars.edu.ru
MaxSockets 100
EndModule
Module operserv/main
OperServName "OperServ" "Operator Server"
GlobalName "Global" "Global Noticer"
OperServDB "oper.db"
ServicesRoot tim
KillClonesAutokill 30m
WallSU
EndModuleModule operserv/akill
AutokillDB "akill.db"
AutokillReason "You are banned from this network"
AutokillExpiry 30d
ExcludeReason "IRC operator host"
ExcludeExpiry 30d
EndModule
NewsDB "news.db"EndModule
Module operserv/sessions
ExceptionDB "exception.db"
DefSessionLimit 3
MaxSessionLimit 100ExceptionExpiry 1d
SessionLimitExceeded "The session limit for your host %s has been exceeded."
EndModule
Module operserv/sline
SlineDB "sline.db"SGlineReason "Invalid real name"
SQlineReason "Reserved nickname"
SZlineReason "You are banned from this network"SZlineExpiry 30d
SQlineIgnoreOpers
EndModule
Module nickserv/mainNickServName "NickServ" "Nickname Server"
NickServDB "nick.db"
NSEnableRegister
NSRequireEmailNSRegDelay 5m
NSDefSecure
#NSDefPrivate
#NSDefHideEmail
#NSDefHideUsermask
#NSDefHideQuit
NSDefMemoSignon
NSDefMemoReceive
NSExpire 30d
NSExpireWarning 3d
NSSuspendExpire 25d 5dNSShowPassword
NSEnforcerUser enforcer@localhost
NSReleaseTimeout 1mNSListMax 50
NSSecureAdmins
NSDropEmailExpire 10m
EndModule
Module nickserv/access
NSAccessMax 32
NSFirstAccessEnable
NSFirstAccessWildEndModule
Module nickserv/autojoin
NSAutojoinMax 10EndModule
Module nickserv/link
NSLinkMax 20EndModule
Module nickserv/mail-auth
NSSendauthDelay 1dEndModule
Module nickserv/sendpass
NSSendpassDelay 1dEndModule
Module chanserv/main
ChanServName "ChanServ" "Channel Server"ChanServDB "chan.db"
CSEnableRegisterCSMaxReg 20
CSDefKeepTopic
#CSDefSecureOps
#CSDefPrivate
#CSDefTopicLock
#CSDefLeaveOps
CSDefSecure
CSExpire 14dCSSuspendExpire 12d 2d
CSShowPassword
CSAccessMax 1024
CSAutokickMax 32
CSAutokickReason "User has been banned from the channel"
CSInhabit 15s
CSRestrictDelay 15sCSListMax 50
EndModule
Module chanserv/sendpassCSSendpassDelay 1h
EndModule
Module memoserv/main
MemoServName "MemoServ" "Memo Server"
MSMaxMemos 20
MSSendDelay 3sMSNotifyAll
EndModule
Module memoserv/forward
MSAllowForward
MSForwardDelay 10sEndModule
Module memoserv/ignore
MSIgnoreMax 32EndModule
Module statserv/mainStatServName "StatServ" "Statistics Server"
StatServDB "stats.db"
EndModule
Module httpd/main
ListenTo 127.0.0.1:12701ListenBacklog 5
RequestBufferSize 4096
MaxConnections 10
MaxRequests 20
IdleTimeout 30sLogConnections
EndModule
Module httpd/auth-ip
AllowHost / *
EndModule
Module httpd/auth-password
AuthName "IRC Services"
EndModule
Module httpd/dbaccessEndModule
Module httpd/debugDebugURL "/debug"
EndModule
Module httpd/redirect
NicknamePrefix "/~"
ChannelPrefix "/channel/"EndModule
Module httpd/top-page
EndModule
Module misc/devnull
DevNullName "DevNull" "/dev/null -- message sink"EndModule
Module misc/helpservHelpServName "HelpServ" "Help Server"
HelpDir helpfilesEndModule
Module misc/xml-exportEndModule
Module misc/xml-import
VerboseImportEndModule
Вот вроде и всё... В FAQ по данному поводу написано, что такое может быть из-за проверки протокола (отключил, флаг V), поддержки 8битных ников (отключил в include/config.h.in) и ещё чего-то, но тоже не помогает. Может кто сталкивался, а то это уже дело принципа.
>C:192.168.1.200:$V9vUJ2RfK6TbE:services.mars.edu.ru::50
>N:192.168.1.200:$V9vUJ2RfK6TbE:services:services.mars.edu.ru:ZV:50У меня стоит класс соединения - 40, флаги VNC. Компрессия - она вам нужна, одно дело между серверами, сервисам она на кой, и вообще, они её потдерживают? ИМХО, здесь лажа..
>H:*::services.mars.edu.ru
Здесь у меня прописан собственный адрес - не адрес сервисов, и сервер скомпилен с поддержкой хаба.
>Вот вроде и всё... В FAQ по данному поводу написано, что такое
>может быть из-за проверки протокола (отключил, флаг V), поддержки 8битных никовПопробуйте отключить компрессию между сервером и сервисами.
>C:192.168.1.200:$V9vUJ2RfK6TbE:services.mars.edu.ru::50
^^^
Укажите порт, он должн соответсвовать этому:
>RemoteServer 192.168.1.200 6667 "services"
И вообще, что у вас в этих линиях творится?>C:192.168.1.200:$V9vUJ2RfK6TbE:services.mars.edu.ru::50
>N:192.168.1.200:$V9vUJ2RfK6TbE:services:services.mars.edu.ru:ZV:50Формат такой:
C:Удаленный адрес:Пароль:Имя удаленного сервера:Порт:Класс:Локальный IP
N:Удаленный адрес:Пароль:Имя удаленного сервера:Флаги:КлассПароль задаётся в plain text.
У вас должно быть:
C:192.168.1.200:services:services.mars.edu.ru:6667:50
N:192.168.1.200:services:services.mars.edu.ru:V:50Это если не учитывать предыдущие мои замечания касательно флагов и класса соединения.
Сделал всё, как написали... Не помогло, в логах всё тоже самое
>Сделал всё, как написали... Не помогло, в логах всё тоже самоеНу не знаю.. Удалите всё и с нуля настраивайте :)
Я когда ставил никаких проблем не было, с первого раза всё настроил, вот при линковке серверов повозился немного, а так ничего особенного вроде нет..