Can not connect (v3.2.5 Win32)

These are old archives. They are kept for historic purposes only.
Post Reply
weazel
Posts: 5
Joined: Sun Dec 17, 2006 11:12 am

Can not connect (v3.2.5 Win32)

Post 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 !
SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Post by SpaceDoG »

Do you have a firewall running? Also is there anything in the log file?
weazel
Posts: 5
Joined: Sun Dec 17, 2006 11:12 am

Post 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).
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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...
weazel
Posts: 5
Joined: Sun Dec 17, 2006 11:12 am

Post 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).
weazel
Posts: 5
Joined: Sun Dec 17, 2006 11:12 am

Post 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)?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
weazel
Posts: 5
Joined: Sun Dec 17, 2006 11:12 am

Post 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 !
Post Reply