Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Y on January 07, 2017, 03:04:49 PM
-
I'm sure I'm doing something thoroughly wrong here. These are the uplink/link block details that I've set:
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 = "irc.x-peria.net"
/*
* 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 = 8803
/*
* 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 = "PK3PW101lel360"
}
<link name="services.x-peria.net"
ipaddr="172.0.0.13"
port="8803"
allowmask="127.0.0.0/8"
ssl="openssl"
recvpass="PK3PW101lel360">
<uline server="services.host" silent="yes">
Every time I attempt to connect anope to the IRCD, it immediately closes the socket. I ran the debug on anope, and it does connect successfully, even sends the given pass. Just that immediately after that, well, yeah, nothing. :(
Any help would be greatly appreciated. :)
-
Actual logs (pastebin'ed unless short) make debugging things a tad easier. What are you seeing on InspIRCd's end for logs or snotices (enable the appropriate snomasks).
At a glance, the Anope uplink block looks fine.
I'd try adding the 'sendpass' line to InspIRCd's link block (same password). Actually, a look at the source shows you should be able to use a single line of: password = "..."
Also (unrelated to current issue) your uline is incorrect. "services.host" will be read literally by InspIRCd, either set it to the actual name or read up on InspIRCd's define tags.
-
I had the exact same problem with Anope-2.0.5 linking to InspIRCd 2.0.24 and the only way I could get it to link is by taking out "ssl="openssl"" from the link block on the ircd's config, it linked even though I had openssl enabled in Anope.