Page 1 of 1

Anope and Unreal aren't getting along.

Posted: Sun Dec 16, 2007 8:32 am
by Bandit
I'm trying to set up an IRC server on Windows XP. I have unreal up and running, but anope is a totally different story.

anope's log:

Code: Select all

[Dec 16 03:01:11 2007] Loading IRCD Protocol Module: [unreal32]
[Dec 16 03:01:11 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:11 2007] Loading Encryption Module: [enc_none]
[Dec 16 03:01:11 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:11 2007] Launching Anope into the background
[Dec 16 03:01:11 2007] Anope 1.7.19 (1247) (ircd protocol: UnrealIRCd 3.2+) starting up
[Dec 16 03:01:12 2007] ns_sendpass requested unload...
[Dec 16 03:01:12 2007] debug: trying to load core module [ns_sendpass]
[Dec 16 03:01:12 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:14 2007] cs_sendpass requested unload...
[Dec 16 03:01:14 2007] debug: trying to load core module [cs_sendpass]
[Dec 16 03:01:14 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:15 2007] ms_rsend requested unload...
[Dec 16 03:01:15 2007] debug: trying to load core module [ms_rsend]
[Dec 16 03:01:15 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:20 2007] Databases loaded
[Dec 16 03:01:20 2007] Info: Reflecting database records.
[Dec 16 03:01:20 2007] Connected to Server 1 (localhost:6667)
[Dec 16 03:01:20 2007] trying to load [cs_appendtopic]
[Dec 16 03:01:21 2007] [cs_appendtopic] Loaded successfully
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [cs_enforce]
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [ns_maxemail]
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [os_info]
[Dec 16 03:01:21 2007] os_info: Loading configuration directives...
[Dec 16 03:01:21 2007] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Dec 16 03:01:21 2007] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [hs_request]
[Dec 16 03:01:21 2007] hs_request loaded
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] Read error from server: No such file or directory (error num: 2)
[Dec 16 03:01:21 2007] [cs_appendtopic] Unloaded successfully
[Dec 16 03:01:22 2007] hs_request un-loaded

Oper info:

Code: Select all

toxictitanium.homelinux.com- *** LocOps -- Link denied (Authentication failed [Bad password?]) [@127.0.0.1.4854]

unrealircd.conf:

Code: Select all

link            toxictitanium.homelinux.com
{
    username    *;
    hostname     127.0.0.1;
    bind-ip     *;
    port         7029;
    hub             *;
    password-connect "pass987";
    password-receive "pass987";
    class           servers;
};

ulines {
    toxictitanium.homelinux.com;
};

set {
    network-name         "Toxic Titanium";
    default-server         "toxictitanium.homelinux.com";
    services-server     "toxictitanium.homelinux.com";
    stats-server         "toxictitanium.homelinux.com";
    help-channel         "#help";
    hiddenhost-prefix    "tox";
    /* prefix-quit         "no"; */
    /* Cloak keys should be the same at all servers on the network.
     * They are used for generating masked hosts and should be kept secret.
     * The keys should be 3 random strings of 5-100 characters
     * (10-20 chars is just fine) and must consist of lowcase (a-z),
     * upcase (A-Z) and digits (0-9) [see first key example].
     */
    cloak-keys {
        "JD7x4YwpHR6gaoWs7hqz4br1nAl3";
        "DJx4nwpBadAj1ndR6wl3Ws7IqzPb";
        "WsIqPbaHePQhKmYadj1dRwlJxnwB";
    };
    /* on-oper host */
    hosts {
        local        "locop.toxictitanium.com";
        global        "ircop.toxictitanium.com";
        coadmin        "coadmin.toxictitanium.com";
        admin        "admin.toxictitanium.com";
        servicesadmin     "csops.toxictitanium.com";
        netadmin     "netadmin.toxictitanium.com";
        host-on-oper-up "no";
    };
};

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
include "aliases/anope.conf";


listen         *:7029;
listen         *:6667;

Services.conf:

Code: Select all

IRCDModule "unreal32"
RemoteServer    127.0.0.1 7029 "pass987"
ServerName  "toxictitanium.homelinux.com"




Note: Both services are on the same computer.
If you need more info, just ask. Thanks for any help!

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 16, 2007 12:12 pm
by Jobe
Well for a start services ServerName CANNOT be the same as Unreal's (in the me{} block).

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 16, 2007 4:24 pm
by Bandit
Ah, well, hm.. How would you recommend I fix this? get another sub-domain pointing to the same computer? or can I just use a fake sub-domain?

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 16, 2007 6:37 pm
by Jobe
You dont need a sub-domain for a server name.

You can call your server "services.microsoft.com" if you really wish.

The name doesnt have to be real, just cant already be in use on the same IRC network.

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 23, 2007 3:24 pm
by SNU
and btw:

listen *:7029;

for services isn't a good Idea. use options like servers-only and only listen on localhost for example. maybe you also won't use [enc_none] in anope. Your users will thank you :D

merry xmas.

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 23, 2007 7:05 pm
by Jobe
SNU wrote:and btw:

listen *:7029;

for services isn't a good Idea.
To be honest, I am yet to this day, to see any significant danger of allowing servers and users to use the same port. After all if you have set up your link blocks properly, unauthorised servers wont be able to connect anyway. That and once a user or a server is connected, which port they used doesnt make any difference. However I may be wrong, but I've never seen anything that it prevented.

Re: Anope and Unreal aren't getting along.

Posted: Sun Dec 23, 2007 8:28 pm
by Stealth
Jobe wrote:To be honest, I am yet to this day, to see any significant danger of allowing servers and users to use the same port. After all if you have set up your link blocks properly, unauthorised servers wont be able to connect anyway. That and once a user or a server is connected, which port they used doesnt make any difference. However I may be wrong, but I've never seen anything that it prevented.
This is correct. I have services connecting on the same ports as clients with absolutely no issues, and I have been doing that since I started running an IRC server.