Page 1 of 1

Can not connect (v3.2.5 Win32)

Posted: Sun Dec 17, 2006 11:25 am
by weazel
Hi,

I installed the v3.2.5 binaries for Win32 on WinXP Pro with SP2.

I disabled all firewalls running on WinXP.

I created a new conf file with all required settings.

When I start Unreal, the service.log file shows:

Code: Select all

* Loading IRCd configuration ..
* Configuration loaded without any problems ..
BUT ... when I try to connect (from the same computer running Unreal), it does not work and I receive a connection refused (no matter if I try 127.0.0.1 or localhost or my real IP).

This is (part of) my conf file:

Code: Select all

me {
	 name "127.0.0.1";
	 info "My IRC Server";
   numeric 1;
};

admin {
	    "sa";
	    "[email protected]";
};

class clients {
	            pingfreq 150;
	            maxclients 10;
	            sendq 100000;
	            recvq 10000;
};

allow {
    	ip *;
	    hostname *;
	    class clients;
};

listen *:6667 {
};

include aliases/anope.conf;

loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";

set {
	  kline-address      "[email protected]";
    maxchannelsperuser 10;

    dns {
        nameserver 127.0.0.1;
        timeout    3s;
        retries    0;
    };

    network-name    "My IRC";
    default-server 	"127.0.0.1";
    services-server "127.0.0.1";
    help-channel    "#help";

    cloak-keys {
               "Cloaked123Cloaked";
               "Cloaked456Cloaked";
               "Cloaked789Cloaked";
    };

    hiddenhost-prefix "irc";

    hosts {
          global        "global.mail.me";
          coadmin       "coadmin.mail.me";
          admin         "admin.mail.me";
          servicesadmin "servicesadmin.mail.me";
          netadmin      "netadmin.mail.me";
    };
};
Any idea what could be wrong? Or where to start looking?

Is there any way I can generate a more detailed debug log when the wIRCd is starting?

Thanks a lot !

Posted: Sun Dec 17, 2006 4:28 pm
by SpaceDoG
Do you have a firewall running? Also is there anything in the log file?

Posted: Sun Dec 17, 2006 7:16 pm
by weazel
SpaceDoG wrote:Do you have a firewall running? Also is there anything in the log file?
Like I said in my original post, all firewalls running are disabled.

The log (a file called service.log) only lists the following two lines:

Code: Select all

* Loading IRCd configuration .. 
* Configuration loaded without any problems .. 
Is there another log file I need to check?

Anyone an idea why I can not connect locally (from the same machine).

Posted: Sun Dec 17, 2006 7:24 pm
by Syzop
Is the ircd still running after you boot it?

You could also reinstall it to GUI mode (or run 'unreal uninstall' in the Unreal3.2 directory), and then try to boot it (by running wircd.exe), sometimes this gives more information...

Posted: Mon Dec 18, 2006 9:02 am
by weazel
Syzop wrote:Is the ircd still running after you boot it?
Yes it is running. When I open the Windows Task Manager I can see the wIRCd.exe process.
Syzop wrote:You could also reinstall it to GUI mode (or run 'unreal uninstall' in the Unreal3.2 directory), and then try to boot it (by running wircd.exe), sometimes this gives more information...
I followed this procedure to uninstall it. When I then start it up, it is asking for the password for my SSL private key. Once entered it is up and running fine!

Thanks for the tip for running the IRCd in GUI mode. It does give some additional info :wink:

One LAST question :!: :?:
How can I change my config file (or alter the startup of the IRCd service) to include the password for my SSL key? I tried to search for the answer but could not find it.

I would like the IRCd to startup automatically with SSL enabled (keeping my private key password).

Posted: Mon Dec 18, 2006 11:44 am
by weazel
Ignore my previous question. I did some further searching and it seems like it is not possible.

Maybe a new feature request (include an encrypted password hash in the config file)?

Posted: Mon Dec 18, 2006 2:03 pm
by Stealth
That would defeat the purpose of an SSL passkey. Anything encrypted can be decryped - especially with open source software. Also, a 'hash' is one-way encryption, meaning it cannot be decoded once it is hashed. An example of a hash would be: 123 = 1+2+3 = 6 -> the 6 cannot be turned back into 123, because there are many ways to get 6 by adding numbers.

Posted: Tue Dec 19, 2006 9:39 am
by weazel
Stealth wrote:That would defeat the purpose of an SSL passkey. Anything encrypted can be decryped - especially with open source software. Also, a 'hash' is one-way encryption, meaning it cannot be decoded once it is hashed. An example of a hash would be: 123 = 1+2+3 = 6 -> the 6 cannot be turned back into 123, because there are many ways to get 6 by adding numbers.
Thanks for the explanation! I did not know the hash was one-way.

Anyway, I have re-created my SSL key without password and have put some OS level protection on the file. At least I can now start the IRCd as a service :wink:

Thanks to all for your help !