diff --git a/protocols.csv b/protocols.csv index 2b6eed9..257e063 100644 --- a/protocols.csv +++ b/protocols.csv @@ -40,3 +40,4 @@ code, size, name, comment 281, 0, webrtc, webrtc transport where connection establishment is according to w3c spec 290, 0, p2p-circuit, 777, V, memory, in memory transport for self-dialing and testing; arbitrary +9849, V, ech, ECHConfigList per RFC 9849 diff --git a/protocols/ech.md b/protocols/ech.md new file mode 100644 index 0000000..29d0f44 --- /dev/null +++ b/protocols/ech.md @@ -0,0 +1,11 @@ +# ech + +This protocol encodes a server's ECHConfigList as defined in [RFC +9849](https://www.rfc-editor.org/info/rfc9849/). + +Its binary representation is the length prefixed bytes of the ECHConfigList. +Its string representation is the multibase encoding bytes of the ECHConfigList. + +## Usage + +`/ech` should be appended directly after `/tls` or `/quic-v1`.