Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify RPL_LINKS #224

Open
delthas opened this issue Nov 15, 2023 · 0 comments
Open

Clarify RPL_LINKS #224

delthas opened this issue Nov 15, 2023 · 0 comments

Comments

@delthas
Copy link
Contributor

delthas commented Nov 15, 2023

Overview

It seems that RPL_LINKS is a bit more complex than what explained in the docs.

<client> * <server> :<hopcount> <server info>

From tests I've been running, the command is closer to:

<client> <child_server> <parent_server> :<hopcount> <server info>

Where "parent" and "child" means the child connects to its parent then to its parent, ..., then to your server. In particular, to get the host of the server of each line, the right parameter seems to be the first one, not the second one (excluding the client field).

Besides, there seems to be lines related to services on some server.

  • Should we update the syntax to mention both parameter and clarify what they mean?
  • Should we mention that servers can advertise services as a server?

Tests

Libera (solanum):

LINKS
:silver.libera.chat 364 nick services. silver.libera.chat :1 Atheme IRC Services
:silver.libera.chat 364 nick silver.libera.chat silver.libera.chat :0 Virginia, US
:silver.libera.chat 365 nick * :End of /LINKS list.

Rizon (plexus):

LINKS
:irc.uworld.se 364 nick irc.uworld.se irc.uworld.se :0 Rizon Client Server
:irc.uworld.se 364 nick irc.rizon.no irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.xtremeprovider.com irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.losslessone.com irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick helium.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick magnet.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.rizon.cc irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.tngnet.com irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.defineya.com irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.shells.org irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick lithium.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick rizonbnc.eu.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.sxci.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.rizon.io irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc2.rizon.io irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick solenoid.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick hydrogen.rizon.net irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.mufff.in irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 364 nick irc.rizon.club irc.uworld.se :1 Rizon Client Server
:irc.uworld.se 365 nick * :End of /LINKS list.

Linpro (InspIRCd):

LINKS
:carpo.redpill-linpro.com 364 nick ersa.redpill-linpro.com carpo.redpill-linpro.com :1 Redpill Linpro IRC Server
:carpo.redpill-linpro.com 364 nick ircservices.redpill-linpro.com leda.redpill-linpro.com :2 Services for IRC Networks
:carpo.redpill-linpro.com 364 nick leda.redpill-linpro.com carpo.redpill-linpro.com :1 Redpill Linpro IRC Server
:carpo.redpill-linpro.com 364 nick carpo.redpill-linpro.com carpo.redpill-linpro.com :0 Redpill Linpro IRC Server
:carpo.redpill-linpro.com 365 nick * :End of /LINKS list.

rezosup (InspIRCd):

LINKS
:irc.enst.rezosup.org 364 nick irc.ensc.rezosup.org hub.ensc.rezosup.org :3 Serveur IRC de l'ENS Cachan, hébergé par le Crans.
:irc.enst.rezosup.org 364 nick hub.ensc.rezosup.org hub.enst.rezosup.org :2 Hub IRC de l'ENS Cachan, hébergé par le Crans.
:irc.enst.rezosup.org 364 nick irc.telecom-bretagne.rezosup.org hub.enst.rezosup.org :2 Telecom Bretagne
:irc.enst.rezosup.org 364 nick hub.enst.rezosup.org irc.enst.rezosup.org :1 Telecom ParisTech
:irc.enst.rezosup.org 364 nick irc.enst.rezosup.org irc.enst.rezosup.org :0 Telecom ParisTech
:irc.enst.rezosup.org 365 nick * :End of /LINKS list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant