Unable to link Unreal 6.0.7 with Anope-2.0.12

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Post Reply
KpuCko
Posts: 1
Joined: Tue Apr 04, 2023 4:28 pm

Unable to link Unreal 6.0.7 with Anope-2.0.12

Post by KpuCko »

Hello guys,
This should be quite trivial but I'm fighting with it last two days and it gets me crazy.

Here is the config:

Code: Select all

/* Special SSL/TLS servers-only port for linking */
listen {
        ip *;
        port 6900;
        options { tls; serversonly; }
}

Code: Select all

/* The link block for services is usually much simpler.
 * For more information about what Services are,
 * see https://www.unrealircd.org/docs/Services
 */
link services.ma3x.org
{
    incoming {
        mask [email protected];
}

    password "llMRa4fVV6Nq6ZrgJdaiv2yz";
    class servers;
    verify-certificate no;
}

Code: Select all

/* U-lines give other servers (even) more power/commands.
 * If you use services you must add them here.
 * NEVER put the name of an UnrealIRCd server here!!!
 */
ulines {
        services.ma3x.org;
}

Code: Select all

/* Network configuration */
set {
        network-name            "Ma3x";
        default-server          "irc.ma3x.org";
        services-server         "services.ma3x.org";

Code: Select all

uplink
{
        /*
         * The IP or hostname of the IRC server you wish to connect Services to.
         * Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
         *
         * NOTE: On some shell providers, this will not be an option.
         */
        host = "192.168.0.9"

        /*
         * Enable if Services should connect using IPv6.
         */
        ipv6 = no

        /*
         * Enable if Services should connect using SSL.
         * You must have an SSL module loaded for this to work.
         */
        ssl = yes

        /*
         * The port to connect to.
         * The IRCd *MUST* be configured to listen on this port, and to accept
         * server connections.
         *
         * Refer to your IRCd documentation for how this is to be done.
         */
        port = 6900

        /*
         * The password to send to the IRC server for authentication.
         * This must match the link block on your IRCd.
         *
         * Refer to your IRCd documentation for more information on link blocks.
         */
        password = "llMRa4fVV6Nq6ZrgJdaiv2yz"
}

Code: Select all

/*
 * [REQUIRED] Server Information
 *
 * This section contains information about the Services server.
 */
serverinfo
{
        /*
         * The hostname that Services will be seen as, it must have no conflicts with any
         * other server names on the rest of your IRC network. Note that it does not have
         * to be an existing hostname, just one that isn't on your network already.
         */
        name = "services.ma3x.org"

Code: Select all

/*
 * [REQUIRED] Network Information
 *
 * This section contains information about the IRC network that Services will be
 * connecting to.
 */
networkinfo
{
        /*
         * This is the name of the network that Services will be running on.
         */
        networkname = "Ma3x"
I really don;t know what else to check.
The error is as follow:

Code: Select all

[Apr 05 06:15:57 2023] Successfully connected to uplink #1 192.168.0.9:6900
[Apr 05 06:15:58 2023] ERROR: Closing Link: services.ma3x.org[jest.lab.lan] (Link denied (No link block found with your server name or link::incoming::mask did not match))
[Apr 05 06:15:58 2023] Received ERROR from uplink: Closing Link: services.ma3x.org[jest.lab.lan] (Link denied (No link block found with your server name or link::incoming::mask did not match))
Please help me to solve it.
Thanks :-)
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Unable to link Unreal 6.0.7 with Anope-2.0.12

Post by Syzop »

In your UnrealIRCd conf you have a bit of an unusual mask that can't be right:

Code: Select all

incoming {
        mask [email protected];
}
Change that to:

Code: Select all

incoming {
        mask *@192.168.0.126;
}
(if 192.168.0.126 is really the IP that services is connecting from)

Then REHASH the ircd and try linking again.
Post Reply