Skip to content

Instantly share code, notes, and snippets.

@RyanSquared
Last active January 6, 2017 23:34
Show Gist options
  • Save RyanSquared/215ebf7819dab5d10988e6d62f78a926 to your computer and use it in GitHub Desktop.
Save RyanSquared/215ebf7819dab5d10988e6d62f78a926 to your computer and use it in GitHub Desktop.
Recommended Practices for IRC Clients, Servers, and Libraries
layout title excerpt meta-description index
page
Recommended Practices
Recommended Practices
Recommended practices that don't strictly relate to IRC
true

Certain protocols and algorithms exist that can improve IRC performance but aren't strictly related to IRCv3. This page lists some of these that are recommended to be implemented. They're not listed as specifications because they are not implemented in the IRC protocol.

Note: This page is a draft. Pls no use kthx <3

Happy Eyeballs

Happy Eyeballs is an algorithm to improve connection times to an IPv6 host which can also support IPv4 connections. This is useful when IPv6 is not accessible from a client to a server. Happy Eyeballs works by attempting to quickly connect to an IPv6 address. If the connection is not accessible with IPv6, an IPv4 address should be used instead. IPv6 should always be favored over IPv4.


Server Name Indication

Server Name Indication (SNI) is a protocol used to identify the server name a client is expecting to connect to. This can be useful in a "round robin" situation so that a client can receive the correct certificate when connecting to a server.


TLS Connections

Plaintext connections can fall victim to "man in the middle" and many other vulnerabilities; to prevent this, along with the leaking of passwords and other sensitive data, clients should attempt to connect with TLS before attempting to connect with a plaintext connection. This practice goes well with STS.

@jwheare
Copy link

jwheare commented Jan 6, 2017

Looks good. Can you PR it so we can keep working on it and it doesn't get lost?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment