unrealircd-5.0.7anope-2.0.9Debian 10 - OVH
:~# netstat -anp|grep unrealircdtcp 0 0 0.0.0.0:6697 0.0.0.0:* LISTEN 10372/unrealircdtcp 0 0 0.0.0.0:6667 0.0.0.0:* LISTEN 10372/unrealircdtcp 0 0 0.0.0.0:6900 0.0.0.0:* LISTEN 10372/unrealircdtcp6 0 0 :::6697 :::* LISTEN 10372/unrealircdtcp6 0 0 :::6667 :::* LISTEN 10372/unrealircdtcp6 0 0 :::6900 :::* LISTEN 10372/unrealircdunix 2 [ ] DGRAM 1406585 10372/unrealircd
:~/unrealircd$ ./unrealircd startStarting UnrealIRCd _ _ _ ___________ _____ _| | | | | |_ _| ___ \/ __ \ | || | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| || | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` || |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| | \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_| v5.0.7UnrealIRCd is brought to you by Bram Matthys (Syzop), Gottem and iUsing the following libraries:* PCRE2 10.33 2019-04-16* OpenSSL 1.1.1d 10 Sep 2019This server can handle 8192 concurrent sockets (8184 clients + 8 reserve)Loading IRCd configuration..Configuration loaded.Loading tunefile..Initializing TLS..Dynamic configuration initialized.. booting IRCd.UnrealIRCd is now listening on the following addresses/ports:IPv4: *:6900, *:6697(SSL/TLS), *:6667IPv6: *:6900, *:6697(SSL/TLS), *:6667UnrealIRCd started.debian@vps-dkd875:~/unrealircd$
/* Port SSL/TLS spécial pour la connexion entre serveurs */listen { ip *; port 6900; options { serversonly; }}
link services.mydomain.com{ incoming { mask 127.0.0.1; }; outgoing { bind-ip 127.0.0.1; /* or explicitly an IP */ hostname 127.0.0.1; port 6900; options { }; }; password "mypass1"; /* SSL fingerprint of other server */ class servers;};
ulines { services.mydomain.com;}
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 = "127.0.0.1" /* * 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 = no /* * 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 = "mypass1"}/* * [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.mydomain.com"
debian@vps-dkd875:~$ cd services/bin/debian@vps-dkd875:~/services/bin$ ./anoperc startStarting AnopeAnope 2.0.9, build #2, compiled 16:29:27 Nov 10 2020Using configuration file conf/services.confAttempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 6900Successfully connected to uplink #1 127.0.0.1:6900ERROR: Missing passwordERROR: Closing Link: [127.0.0.1] (Missing password)Unfortunately it seems Anope did not start successfullyThis error has been logged in your Anope Log fileLocated in /home/debian/services/logs/This may help you diagnose the problemFurther help may be available from https://www.anope.org/debian@vps-dkd875:~/services/bin$
/connect services.mydomain.com
/* * [REQUIRED] Protocol module * * This directive tells Anope which IRCd Protocol to speak when connecting. * You MUST modify this to match the IRCd you run. * * Supported: * - bahamut * - charybdis * - hybrid * - inspircd12 * - inspircd20 * - inspircd3 * - ngircd * - plexus * - ratbox * - unreal (for 3.2.x) * - unreal4 (for 4.x or later) */module{ name = "inspircd20"
name = "inspircd20"
name = "unreal4"
cd services/bin./anoperc start