Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope 2.0.7 + UnrealIRCd4.2.4.1  (Read 5927 times)

0 Members and 1 Guest are viewing this topic.

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Anope 2.0.7 + UnrealIRCd4.2.4.1
« on: November 28, 2019, 03:03:12 PM »

Having problems with trying to connect the services and unrealircd...

After typing ./bin/services in the command line...


Code: [Select]
Anope 2.0.7, build #5, compiled 09:13:59 Nov 28 2019
Using configuration file conf/services.conf
Attempting to connect to uplink #1 IPHERE (IPHERE), port 5569
Successfully connected to uplink #1 IPHERE:5569
Lost connection from uplink #1 (IPHERE:5569): Connection reset by peer

How would I fix this to make it actually connect successful without errors?
Logged

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #1 on: November 29, 2019, 03:35:35 AM »

Now I am getting this error.

Code: [Select]
Anope 2.0.7, build #6, compiled 22:16:21 Nov 28 2019
Using configuration file conf/services.conf
Attempting to connect to uplink #1 IPHERE (IPHERE), port 6900
Successfully connected to uplink #1 IPHERE:6900
ERROR: Link 'services.domain.com' denied (Authentication failed) [@IPHERE.46324]
ERROR: Closing Link: [IPHERE] (Link denied (Authentication failed))
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #2 on: November 29, 2019, 04:44:27 AM »

You should read and check your errors, as explained on IRC, make sure your password type is the same on both sides.
Logged

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #3 on: November 29, 2019, 04:47:21 AM »

I have checked both and everything...
They are both correct.
Not sure what's going on with it, though.
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #4 on: November 29, 2019, 04:54:07 AM »

Without link blocks available to see, I cant help any further.
Logged

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #5 on: November 29, 2019, 05:01:14 AM »

Unrealircd
Code: [Select]
link scooby.paranoianet.com
{
        incoming {
                mask *192.99.249.221;
        };

        outgoing {
                bind-ip 192.99.249.221; /* or explicitly an IP */
                hostname scooby.paranoianet.com;
                port 6900;
        };

        /* We use the SPKI fingerprint of the other server for authentication.
         * Run './unrealircd spkifp' on the other side to get it.
         * NOTE: requires UnrealIRCd 4.0.16 or later.
         */
        password "2yhZqcqoBxA3rfIz5F4NfG4/+1rrilRpsbWnmsFnZ7g=" { spkifp; }

        class servers;
};

/* 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.paranoianet.com
{
        incoming {
                mask *192.99.249.221;
        };

        password "2yhZqcqoBxA3rfIz5F4NfG4/+1rrilRpsbWnmsFnZ7g=";

        class servers;
};

/* 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.paranoianet.com;
};

Logged

CrazyCat

  • Anope User
  • Online Online
  • Posts: 259
    • Réseau IRC francophone
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #6 on: November 29, 2019, 09:56:32 AM »

The anope configuration (uplink) could help to.
And the * in the incoming mask is useless.

ERROR: Link 'services.domain.com' denied (Authentication failed) [@IPHERE.46324] when you define link services.paranoianet.com ? check (again) the anope configuration.
« Last Edit: November 29, 2019, 09:58:12 AM by CrazyCat »
Logged

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #7 on: November 29, 2019, 12:21:54 PM »

Uplink from Anope

Code: [Select]
       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 local$
         *
         * NOTE: On some shell providers, this will not be an option.
         */
        host = "192.99.249.221"

        /*
         * 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 = "2yhZqcqoBxA3rfIz5F4NfG4/+1rrilRpsbWnmsFnZ7g=";
}
Logged

CrazyCat

  • Anope User
  • Online Online
  • Posts: 259
    • Réseau IRC francophone
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #8 on: November 29, 2019, 12:43:55 PM »

And did you check your serverinfo block in the .conf ? Particularly the name (must be services.paranoianet.com)

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #9 on: November 29, 2019, 12:48:43 PM »

My serverinfo block

Code: [Select]
serverinfo
{
        /*
         * The hostname that Services will be seen as, it must have no conflict$
         * other server names on the rest of your IRC network. Note that it doe$
         * to be an existing hostname, just one that isn't on your network alre$
         */
        name = "services.paranoianet.com"

        /*
         * The text which should appear as the server's information in /WHOIS a$
         * queries.
         */
        description = "Services for IRC Networks"

        /*
Logged

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #10 on: November 29, 2019, 03:10:15 PM »

This has been solved. :)
Logged

CrazyCat

  • Anope User
  • Online Online
  • Posts: 259
    • Réseau IRC francophone
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #11 on: December 02, 2019, 11:15:37 AM »

It could be interesting to say use what was the cause of the issue and how you solved it.

Phillip

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • ParanoiaNET
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #12 on: December 02, 2019, 09:14:13 PM »

Someone ended up helping me out with it and they sorted it all out for me. I'm not 100% sure what they did.
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: Anope 2.0.7 + UnrealIRCd4.2.4.1
« Reply #13 on: December 30, 2019, 05:21:13 PM »

probably the link blocks were wrong.
i hope now you use localhost or 127.0.0.1 since both the ircd and the services are on the same machine. right?
anyway. (y)
Logged
Pages: [1]   Go Up