Anope with Unreal TLS

This forum is for everyone having trouble with linking two UnrealIRCd servers

Moderator: Supporters

Post Reply
bynw
Posts: 4
Joined: Wed Jan 04, 2023 12:37 am

Anope with Unreal TLS

Post by bynw »

I have Unreal 6.0.5 and Anope 2.0.12 but running on the same *nix machine.

Using the default configurations for linking. (slightly edited to not show passwords and true host names)

Code: Select all


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

link services.example.com
{
        incoming {
                mask 127.0.0.1;
        }

        password "*************************";

        class servers;
}

And in Anope:

Code: Select all


uplink
{
        host = "127.0.0.1"
        ipv6 = no
        ssl = yes
        port = 6900
        password = "*************************"
}


Starting Anope up with the above configurations and I get this:

Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1/6900) with protocol UnrealIRCd 4+
Successfully connected to uplink #1 127.0.0.1:6900
Lost connection from uplink #1 (127.0.0.1:6900): Connection reset by peer

If it remove the TLS option from Unreal and change Anope to SSL = no. Then it works.

Anope 2.0.12, build #2, compiled 21:35:45 Jan 15 2023
Using configuration file conf/services.conf
Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1/6900) with protocol UnrealIRCd 4+
Successfully connected to uplink #1 127.0.0.1:6900
Successfully linked, launching into background...

I would like to find out where its' going wrong so I can get it working with the TLS connection for Services and other servers.
Lord255
Posts: 95
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Anope with Unreal TLS

Post by Lord255 »

1st of all: you dont need to enable tls on localhost. its pointless.

if you still insists.. you need to enable the extra module in anope (./extras) and load a tls module in modules.conf (like m_ssl_openssl).
you need to generate keys,. etc..

good luck.
bynw
Posts: 4
Joined: Wed Jan 04, 2023 12:37 am

Re: Anope with Unreal TLS

Post by bynw »

Thanks for the info!
Post Reply