View Issue Details

IDProjectCategoryView StatusLast Update
0004183unrealircdpublic2013-04-04 23:10
ReporterSunkat Assigned Tosyzop  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSWindowsOS Version7
Product Version3.2.10 
Fixed in Version3.2.10.1 
Summary0004183: Sync failure when a Linux and Windows server connect.
Description22* *** Notice -- (link) Link irc.snowkat.nl -> home.snowkat.nl[@myip] established
22* (link) Link home.snowkat.nl -> irc.snowkat.nl[@myip] established
22* *** Notice -- Cannot find server 1A (& nano 1 !1HN88w derp localhost 1A 0 +ix * fwAAAQ== :...)
22* Missing user nano in SJOIN for #debug from home.snowkat.nl (:home.snowkat.nl ~ !1HLgI0 #debug +ntr :nano )
22* Missing user nano in SJOIN for #o from home.snowkat.nl (:home.snowkat.nl ~ !1HLgI0 #o :nano )
22* Missing user nano in SJOIN for #nasa from home.snowkat.nl (:home.snowkat.nl ~ !1HLj5t #nasa +ntr :nano &Derp!*@* 'Houston!*@* 'Snowkat!*@* )
22* *** Notice -- Link home.snowkat.nl -> irc.snowkat.nl is now synced [secs: 0 recv: 1.887 sent: 3.74]
22* (sync) Link irc.snowkat.nl -> home.snowkat.nl is now synced [secs: 0 recv: 3.74 sent: 1.892]
22* *** Notice -- Cannot find server 1A (& nano 1 !1HN8BN derp localhost 1A 0 +ix * fwAAAQ== :...)
22* *** Notice -- Cannot find server 1A (& nano 1 !1HN8Be derp localhost 1A 0 +ix * fwAAAQ== :...)
Steps To ReproduceWindows configure file: http://pastebin.com/mDTt3hGp (home.*)
Linux configure file: http://pastebin.com/cXvmS3zN (irc.*)

Both version: Unreal3.2.10.
TagsNo tags attached.
3rd party modules

Activities

syzop

2013-04-04 22:39

administrator   ~0017469

Thanks, I can reproduce it here (with your config files).

syzop

2013-04-04 22:48

administrator   ~0017470

Last edited: 2013-04-04 23:10

And.. I think I know what causes it.

at one place it uses:

extern char serveropts[];

instead of:

extern MODVAR char serveropts[];

Result: total garbage in the SERVER protocol message.

This only happens on an OUTGOING connect. INCOMING connects (incoming to the windows server) are fine.

So if you really can't wait and want a quick fix right now: just autoconnect the other way around (Linux to Windows)..

I'll compile a new windows version tomorrow, and update this bugid.
EDIT: nah, did it tonight ;p

syzop

2013-04-04 23:10

administrator   ~0017471

- Windows: Fix strange linking bug. Outgoing connects from a Windows
  IRCd caused a garbled SERVER protocol message, causing 'cannot find
  server' errors and killing of users. Reported by Sunkat (0004183).

3.2: http://hg.unrealircd.com/hg/unreal/rev/85f541d0a1e5
3.4: http://hg.unrealircd.com/hg/unreal/rev/ad85960ae579

Sunkat: Updated windows installer (temporarily / quick for you)
https://www.vulnscan.org/tmp/unreal3.2.10-test.exe

Issue History

Date Modified Username Field Change
2013-04-03 22:19 Sunkat New Issue
2013-04-04 22:39 syzop Note Added: 0017469
2013-04-04 22:39 syzop Assigned To => syzop
2013-04-04 22:39 syzop Status new => confirmed
2013-04-04 22:48 syzop Note Added: 0017470
2013-04-04 22:49 syzop Status confirmed => assigned
2013-04-04 23:10 syzop Note Added: 0017471
2013-04-04 23:10 syzop Status assigned => resolved
2013-04-04 23:10 syzop Fixed in Version => 3.2.10.1
2013-04-04 23:10 syzop Resolution open => fixed
2013-04-04 23:10 syzop Note Edited: 0017470