From 41e8e39359287a644f941cc80921ede623c24c18 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Sun, 22 Jul 2018 17:41:12 +0200 Subject: [PATCH] Adapt endpoint utf8 format --- rfc/0006_ws2p_v2.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rfc/0006_ws2p_v2.md b/rfc/0006_ws2p_v2.md index 91f396d..105f845 100644 --- a/rfc/0006_ws2p_v2.md +++ b/rfc/0006_ws2p_v2.md @@ -242,14 +242,14 @@ Network features : | bit | feature | |:---------:|----------| -| 0000_0001 | ip_v4 | -| 0000_0010 | ip_v6 | -| 0000_0100 | S | +| 0000_0001 | IP4 | +| 0000_0010 | IP6 | +| 0000_0100 | TLS | | 0000_1000 | TOR | The first two features are a bit special because they must be read to parse the endpoint, indicating if the ipv4 and ipv6 fields are present or not. -S := This feature indicates that the endpoint should be contacted with an SSL/TLS overlay (HTTPS or WSS). +TLS := This feature indicates that the endpoint should be contacted with an SSL/TLS overlay (HTTPS or WSS). TOR := This feature indicates that the endpoint must be contacted via the tor network (hidden service). @@ -261,11 +261,11 @@ WS2PFeatures type definition : | bit | feature | |:---------:|-----------| -| 0000_0001 | DEFLATE | +| 0000_0001 | DEF | | 0000_0010 | LOW | | 0000_0100 | ABF | -DEFLATE := Supports permessage-deflate extension +DEF := Supports permessage-deflate extension LOW := Accept low speed connection requests @@ -286,7 +286,7 @@ AF := API_FEATURE Example: - WS2P 2 1 S 3 DEFLATE LOW RBF g1.durs.ifee.fr 443 ws2p + WS2P 2 1 TLS 3 DEF LOW ABF g1.durs.ifee.fr 443 ws2p Same endpoint in binary format : -- GitLab