Libera Chat has been the current IRC network use by Nasqueron projects since May 2021.
As the decision to stay there is stabilizing, we should move the bots too.
Libera Chat has been the current IRC network use by Nasqueron projects since May 2021.
As the decision to stay there is stabilizing, we should move the bots too.
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T1721 Move IRC bots from Freenode to Libera | ||
Open | None | T1738 Allow darkbot to connect to IPv6 | ||
Open | None | T1739 Add SASL capability to Darkbot |
Libera requires NickServ SASL authentication for Ysul IP range. Going to generate them in Vault under apps/viperserv/libera/nickserv/<bot name>.
A policy will allow eggdrops to read apps/vipserv/* that will allow to migrate credentials out from the registry (a MySQL database with credentials in cleartext).
$ sudo -u odderon bash $ cd /opt/odderon $ /opt/odderon/bin/darkbot -DEBUG .: Connected to irc.libera.chat:6667! [2587268] OUT: NICK Darkbot NICK Darkbot OUT: USER darkbot 1656117385 1656117385 :http://darkbot.sourceforge.net 1 USER darkbot 1656117385 1656117385 :http://darkbot.sourceforge.net 1 OUT: PASS :nopass PASS :nopass OUT: PING :irc.libera.chat PING :irc.libera.chat
It pings the server, but doesn't print what the server says, and it doesn't really connect.
Let's reproduce connecting directly through netcat:
$ nc irc.libera.chat 6667 NICK Darkbot USER darkbot 1656117385 1656117385 :http://darkbot.sourceforge.net 1
That works correctly for /whois:
00:40:26 [Libera] -!- Darkbot [odderon@eglide.org] 00:40:26 [Libera] -!- ircname : http://darkbot.sourceforge.net 1 00:40:26 [Libera] -!- server : iridium.libera.chat [Stockholm, SE] 00:40:26 [Libera] -!- hostname : 2001:470:1f13:896:0:c0de:15:11fe
In IPv4:
$ nc -4 iridium.libera.chat 6667 [...] :iridium.libera.chat NOTICE Darkbot :*** Notice -- SASL authentication to a NickServ account with a verified email address is required to connect from your current network. Please see https://libera.chat/guides/sasl for configuration assistance.
SASL authentication is required for Iliad/Online/Scaleway network, but not for Hurricane Electric in IPv6, where it's fine.
Darkbot doesn't include SASL capability, nor IPv6 capability:
.: Connecting to 2001:6b0:78::100:6667 Can't create the connection!
.: Connecting to [2001:6b0:78::100]:6667 Can't create the connection!