Page 1 of 1

Unknown Kills and Squits

Posted: Thu Jan 19, 2012 9:58 pm
by tgzero
I am curious about why certain kills happen after an upgrade to 3.2.9.

(This is a small network, mainly testing. I have ran UnrealIRCd without any *real* problems until now. For a few years now.) "Been sick for about three weeks now and once I am over being sick I will probably edit or reply to this post to provide more information.

Anyways, I have seen where one of my servers will kill anyone connecting to another server with responses like

[15:49:44] -scelestic.irc.turnergames.net- *** Notice -- Received KILL message for Zero![email protected] from mephisto.irc.turnergames.net Path: mephisto!mephisto.irc.turnergames.net (Zero(?) <- scelestic.irc.turnergames.net)

Continuing on, I have noticed the same server "mephisto" will kill(squit) any connecting server to "scelestic". This will happen until I manually squit both servers from either side, and then reconnect from scelestic's side.

I have also noticed during this, the map output on one servers will having a missing numeric for scelestic and/or mephisto.

What it is normally.
-
mephisto.irc.turnergames.net (1) 1
|-scelestic.irc.turnergames.net (1) 2
| `-stats.irc.turnergames.net (1) 102
`-services.irc.turnergames.net (9) 101
End of /MAP

What it sometimes shows...
-
mephisto.irc.turnergames.net (1) 1
|-scelestic.irc.turnergames.net (0)
`-services.irc.turnergames.net (9) 101
End of /MAP

------ Just to show Scelestic's end.
-
scelestic.irc.turnergames.net (1) 2
|-stats.irc.turnergames.net (1) 102
`-mephisto.irc.turnergames.net (1) 1
`-services.irc.turnergames.net (9) 101
End of /MAP

About the only real change in my config's is that I am now using the remote includes for motd's. If you need to see my config's let me know.

In the logs, I see "UNKNOWN ERROR", when it kills my connection.

It might be that I am sick that I can't figure this out. But if you need any more information, feel free to ask.

Re: Unknown Kills and Squits

Posted: Thu Jan 19, 2012 11:06 pm
by G50
tgzero wrote:I am curious about why certain kills happen after an upgrade to 3.2.9.

(This is a small network, mainly testing. I have ran UnrealIRCd without any *real* problems until now. For a few years now.) "Been sick for about three weeks now and once I am over being sick I will probably edit or reply to this post to provide more information.

Anyways, I have seen where one of my servers will kill anyone connecting to another server with responses like

[15:49:44] -scelestic.irc.turnergames.net- *** Notice -- Received KILL message for Zero![email protected] from mephisto.irc.turnergames.net Path: mephisto!mephisto.irc.turnergames.net (Zero(?) <- scelestic.irc.turnergames.net)

Continuing on, I have noticed the same server "mephisto" will kill(squit) any connecting server to "scelestic". This will happen until I manually squit both servers from either side, and then reconnect from scelestic's side.

I have also noticed during this, the map output on one servers will having a missing numeric for scelestic and/or mephisto.

What it is normally.
-
mephisto.irc.turnergames.net (1) 1
|-scelestic.irc.turnergames.net (1) 2
| `-stats.irc.turnergames.net (1) 102
`-services.irc.turnergames.net (9) 101
End of /MAP

What it sometimes shows...
-
mephisto.irc.turnergames.net (1) 1
|-scelestic.irc.turnergames.net (0)
`-services.irc.turnergames.net (9) 101
End of /MAP

------ Just to show Scelestic's end.
-
scelestic.irc.turnergames.net (1) 2
|-stats.irc.turnergames.net (1) 102
`-mephisto.irc.turnergames.net (1) 1
`-services.irc.turnergames.net (9) 101
End of /MAP

About the only real change in my config's is that I am now using the remote includes for motd's. If you need to see my config's let me know.

In the logs, I see "UNKNOWN ERROR", when it kills my connection.

It might be that I am sick that I can't figure this out. But if you need any more information, feel free to ask.
Are all numerics set and different, all set::cloak-keys are the same and all set::network-name are the same?

Re: Unknown Kills and Squits

Posted: Thu Jan 19, 2012 11:39 pm
by tgzero
Yeah each one is set with a different numeric in the configs.

Mephisto = 1
Scelestic = 2
Anope = 101
Denora = 102

Almost the entire configs for Mephisto and Scelestic match. I use includes to break each section down easier.
They share the same cloak keys and network name.

Re: Unknown Kills and Squits

Posted: Fri Jan 20, 2012 12:39 am
by katsklaw
Please reply with the output of: /tsctl alltime This command must be done as an oper and while all servers are connected.

Re: Unknown Kills and Squits

Posted: Fri Jan 20, 2012 12:45 am
by tgzero
[19:39:13] -scelestic.irc.turnergames.net- *** Server=scelestic.irc.turnergames.net TStime=1327020182 time()=1327019953 TSoffset=230
[19:39:13] -mephisto.irc.turnergames.net- *** Server=mephisto.irc.turnergames.net TStime=1327020189 time()=1327020190 TSoffset=0

Re: Unknown Kills and Squits

Posted: Fri Jan 20, 2012 2:38 pm
by katsklaw
A 230 second offset is nearly 4 minutes. I'd suggest using ntpd on both servers or at the very least use unreal's built in timesync. The former is highly recommended. 230 seconds is enough to cause ghosting and can certainly affect the nick creation timestamp.

Details on Unreal's internal timesync can be found at: http://www.unrealircd.com/files/docs/un ... e_timesync

Once you get the offset at or near 0, see if you still experience the kills.

Re: Unknown Kills and Squits

Posted: Fri Jan 20, 2012 4:12 pm
by tgzero
I know Windows doesn't follow the NTP perfectly, but simply by selecting the same server to time sync the computers I was able to get the offset extremely lower. I don't think I am going to be able to get it any better then that.

[10:45:40] -scelestic.irc.turnergames.net- *** Server=scelestic.irc.turnergames.net TStime=1327074340 time()=1327074340 TSoffset=2
[10:45:40] -mephisto.irc.turnergames.net- *** Server=mephisto.irc.turnergames.net TStime=1327074343 time()=1327074344 TSoffset=0

(I can't believe I overlooked the timestamp difference. I'll give an update to this if I have this problem anytime today.)

Side note; One of my friends decided to install Arch-Linux on his Wii, I just want you guys know that for a years time, we ran UnrealIRCd from a Nintendo Wii. Although it was very slow when remote accessing the system, it was pretty stable. I didn't see any downtime. (Until he went home. College connection.) He also used the Wii to run other IRC related projects/programs. We tested a lot of different stuff with it.