Page 1 of 1

Problem with SSL-Connection

Posted: Tue Mar 13, 2007 3:31 pm
by skydriver
Hello,

i've a problem with my SSL-Connection.

If i want to connect (via mIRC) i get the following error:

Code: Select all

* Connecting to irc.*****.de (+7443)
-
* Unable to connect to server (Host disconnected)
-
* Connect cancelled
I have the 3 dll's in my mirc-folder.

I have compiled my unrealircd with SSL-Support

Code: Select all

(15:01:14) -> Server: version
(15:01:14)      —› raw 351: Unreal3.2.6. irc.*******.de FhiXeOoE [Linux irc.*******.de 2.6.9-42.0.10.EL #1 Tue Feb 27 09:24:42 EST 2007 i686 i686 i386 GNU/Linux=2309]
(15:01:14) -irc.******.de- OpenSSL 0.9.7a Feb 19 2003
This is my unrealircd.conf

Code: Select all

REMOVED
[Moderator: Conf removed. Please read the sticky posts in the forum.]

Posted: Tue Mar 13, 2007 3:42 pm
by Jobe
Can you give us the /stats P output from your IRCd please?

Also you say 3 DLL's? i only know of and use 2 that are required for mIRC to use SSL. (see http://www.mirc.co.uk/ssl.html for more info)

Posted: Tue Mar 13, 2007 4:38 pm
by skydriver

Code: Select all

/Stats P

-irc.******.de- *** Listener on *:7443, clients 1. is PERM 
-
-irc.******.de- *** Listener on *:7000, clients 1. is PERM 
-
End of /STATS report

I've copied the following dll's in my mirc-folder:

ssleay32.dll
libeay32.dll
MSVCR70d.dll

Posted: Tue Mar 13, 2007 4:40 pm
by Jobe
The .dll's are fine but your /stats P result shows no SSL ports. So im guessing you added the ssl option and rehashed. So i would suggest you restart your IRCd then try again.

For an SSL port in /stats P you should see somthing like this:
* *** Listener on *:6697, clients 7. is PERM SSL

Posted: Tue Mar 13, 2007 4:52 pm
by skydriver
ah ok .. seems i have a problem in my configfile...

I got the following output on "./unreal start"


Code: Select all

Starting UnrealIRCd
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2.6
                     using TRE 0.7.2 (GPL)
                     using OpenSSL 0.9.7a Feb 19 2003

* Loading IRCd configuration ..
* unrealircd.conf:98: No name for section start
* unrealircd.conf:102: Ignoring extra close brace
* unrealircd.conf:102 Ignoring extra semicolon
* unrealircd.conf:99: unknown directive options
* Configuration loaded without any problems ..
* Loading tunefile..
* Initializing SSL.
* Dynamic configuration initialized .. booting IRCd.
---------------------------------------------------------------------
[unreal@irc Unreal3.2]$

here are the lines 98 - 102

Code: Select all

listen *:7443; {
        options {
                        ssl;
                };
        };
i don't see the error... :(

Posted: Tue Mar 13, 2007 4:54 pm
by Jobe
Remove the ";" after the port number.

Posted: Tue Mar 13, 2007 4:55 pm
by skydriver
i see ... i've one semicolon too much...

Code: Select all


listen *:7443[b];[/b] {
        options {
                        ssl;
                };
        }; 

Thanks for help :D

Posted: Tue Mar 13, 2007 4:55 pm
by Stealth
listen *:7443; {
options {
ssl;
};
};

Take out the red part