Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.72 KB

nope.md

File metadata and controls

26 lines (22 loc) · 1.72 KB
title layout meta-description copyrights
oragono.io/nope Capability
spec
A capability that cannot be requested
name period email
Daniel Oaks
2019
name period email
Shivaram Lingamneni
2019

Introduction

The capability negotiation method used in IRC lets clients request protocol changes from servers. It's important to make sure that servers can continue introducing new capabilities that may change the protocol in drastic, backwards-incompatible ways.

The oragono.io/nope capability, inspired by the GREASE mechanism for TLS, is a capability that MAY NOT be requested by clients to help ensure their capability request mechanisms are working correctly and only requesting capabilities which the client can actually support (rather than, for example, assuming that all capabilities advertised by the server are fairly benign and blindly requesting all of them).

We don't expect other clients to implement this feature. We're doing it to catch out clients and break them early so we can get them fixed.

The Capability

The oragono.io/nope capability has no value. If a client requests it during registration, the server sends an ERROR message with a suitable description and closes the connection. If a client requests it outside of registration, the server does not close the client's connection (as this could inspire adventurous users to tell others to "type /QUOTE CAP REQ oragono.io/nope!").

Future work

In the future we may consider randomly generating the capability name, similar to how the GREASE specification does.