Page 1 of 1

OpenSSL problems

Posted: Wed May 17, 2006 5:04 pm
by MarHazK
I downloaded and using an OpenSSL 0.9.8a (downloaded from http://www.vulnscan.org - http://www.syz.dds.nl/unreal-libs.zip) to works with UnrealIRCD 3.2.4 with SSL supports under Microsoft Visual .NET 2003 compiler. After I compiled an original UnrealIRCD 3.2.4 under Windows XP and 2003 version, I saw an errors and its wont start even i start it via services.msc or double-clicked at wircd.exe.
[!!!] OpenSSL version mismatch: compiled for 'OpenSSL 0.9.8a 11 Oct 2005', library is 'OpenSSL 0.9.7c 30 Sep 2003'
[!!!] Header<->library mismatches can make UnrealIRCd *CRASH*! This should never happen with official Windows builds... unless you overwrote any .dll files with newer/older ones or something.
* Loading IRCd configuration ..
* Configuration loaded without any problems ..
Please help me how to solve it. :(

Posted: Wed May 17, 2006 11:24 pm
by Stealth
I think it would work if you put the ssleay32.dll from the Unreal-libs in the Unreal folder

Posted: Thu May 18, 2006 12:52 am
by MarHazK
Done, but its still wont start. When I start it via services.msc (NT os), it shows errors. If I run and compiled my UnrealIRCD without SSL supports, it can run/started, but if I run and compiled my UnrealIRCD with SSL supports, it wont started. I copied all DLLs and LIBs (maybe all) into my unreal folder. There are:-
libcurl.dll
libeay32.dll
msvcr70.dll
ssleay32.dll
tre.dll
zlibwapi.dll
LIBs are:-
libcurl.lib
libleay32.lib
ssleay32.lib
tre.lib
zlibwapi.lib
When I run my UnrealIRCD 3.2.4, its returns (including in service.log):-
* Loading IRCd configuration ..
* Configuration loaded without any problems ..
Anyone can help me how to solve it?

P/s: By the way, I compiled my UnrealIRCD3.2.4 with OpenSSL, Lib-curl and zlib supports.

Posted: Fri May 19, 2006 12:23 pm
by MarHazK
Please help me... :(

Posted: Fri May 19, 2006 12:37 pm
by SpaceDoG
[!!!] OpenSSL version mismatch: compiled for 'OpenSSL 0.9.8a 11 Oct 2005', library is 'OpenSSL 0.9.7c 30 Sep 2003'
I'm not sure where the library came from but that seems to be the major issue. Have you tried installing OpenSSL 0.9.7c and seeing if that works?

Posted: Fri May 19, 2006 12:37 pm
by SpaceDoG
[!!!] OpenSSL version mismatch: compiled for 'OpenSSL 0.9.8a 11 Oct 2005', library is 'OpenSSL 0.9.7c 30 Sep 2003'
I'm not sure where the library came from but that seems to be the major issue. Have you tried installing OpenSSL 0.9.7c and seeing if that works?

Posted: Fri May 19, 2006 2:06 pm
by MarHazK
yerp, already. I download it from http://www.openssl.org

Posted: Fri May 19, 2006 3:46 pm
by SpaceDoG
Well what was the result? Did it not work? I'm not really too familiar with running UnrealIRCd on windows. I use it on Linux alone.

Posted: Sun May 21, 2006 7:20 pm
by MarHazK
nope. Its show error likes this in services.msc:-
  • Could not start the UnrealIRCd service on Local Computer.

    Error 1067: The process terminated unexpectly
Its mean, my unrealircd.conf works properly, but its seem show that there's an errors in the sources. Its maybe OpenSSL cause an errors, or im not sure does it..