Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Phillip 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...
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?
-
Now I am getting this error.
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))
-
You should read and check your errors, as explained on IRC, make sure your password type is the same on both sides.
-
I have checked both and everything...
They are both correct.
Not sure what's going on with it, though.
-
Without link blocks available to see, I cant help any further.
-
Unrealircd
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;
};
-
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.
-
Uplink from Anope
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=";
}
-
And did you check your serverinfo block in the .conf ? Particularly the name (must be services.paranoianet.com)
-
My serverinfo block
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"
/*
-
This has been solved. :)
-
It could be interesting to say use what was the cause of the issue and how you solved it.
-
Someone ended up helping me out with it and they sorted it all out for me. I'm not 100% sure what they did.
-
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)