View Issue Details

IDProjectCategoryView StatusLast Update
0002693unrealmodule apipublic2006-04-16 18:31
Reportersniffy Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.3 
Summary0002693: Cloak fails comparision between 64bit ircd and 32bit ircd (sparc vs. x86)
Description32bit IRCd prints out the following upon completion of link with the ircd running on a 64bit sparc. Values in the unrealircd.conf is exactly the same. It seems as if it doesn't take into account that it's running on a 64bit system, and hence just fills out the remaing positions in the MD5 string with 'f' numbers.

13:19 [chatsociety] !copenhagen.dk.eu.chatsociety.net *** Notice -- Link copenhagen2.dk.eu.chatsociety.net has a DIFFERENT CLOAK KEY - MD5:401fffffffe3300bfffffffa23cfffffff91fffffffe10d1b3048fffffff9778627 != MD5:401e3300ba23c91e10d1b30489778627. YOU SHOULD CORRECT THIS ASAP.
Steps To ReproduceFor the purpose of the fix I'll grant access from static IPs with DSA SSH keys. I'd suggest linking it to either the network it'll have to sit on eventually or any other test network you might have, which has a 32bit x86 architecture running an IRCd.
Additional InformationConfigure flags used:
 ./configure --with-showlistmodes --enable-nospoof --enable-hub --enable-ssl
--enable-ziplinks --with-listen=5 --prefix=/var/irc/ircd/running/Unreal-3.2.3 --with-nick-history=20000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=tortoise --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking

CFLAGS/CXXFLAGS: -Xa -fast -native -xstrconst -mt -xarch=v9
3rd party modules

Activities

syzop

2005-11-14 10:14

administrator   ~0010741

The cloaking algorithm has been tested on amd64 and (IIRC) itanium as well. But as you know, not all 64bit archs are the same ;p, very interested to take a look and fix this.

I'll send you my ssh keys via email.

syzop

2005-12-09 16:37

administrator   ~0010844

Hm, sniffy, did you try compiling with GCC etc (so set the paths right, then do a ./Config and make)? I'm pretty sure it would work.

(yes sorry, your email was not clear to me, it sounded like you only tested the non-gcc compiler)

Nazzy

2005-12-10 02:30

reporter   ~0010846

I'm almost tempted to fire up one of the old DEC Alphas i have sitting around and see what that thinks of it.

401fffffffe3300bfffffffa23cfffffff91fffffffe10d1b3048fffffff9778627
401.......e3300b.......a23c.......91.......e10d1b3048.......9778627
...1234567......1234567....1234567..1234567..........1234567.......
123.......123456.......1234.......12.......1234567890.......1234567

looks fun hehe

syzop

2006-04-16 18:31

administrator   ~0011561

sounded like non-gcc, use gcc instead.

Issue History

Date Modified Username Field Change
2005-11-14 10:10 sniffy New Issue
2005-11-14 10:14 syzop Note Added: 0010741
2005-11-14 10:22 syzop Status new => assigned
2005-11-14 10:22 syzop Assigned To => syzop
2005-12-09 16:37 syzop Note Added: 0010844
2005-12-10 02:30 Nazzy Note Added: 0010846
2006-04-16 18:31 syzop Status assigned => closed
2006-04-16 18:31 syzop Note Added: 0011561
2006-04-16 18:31 syzop Resolution open => no change required
2017-01-06 15:48 syzop Category module => module api