Commit 41e8e393 authored by Éloïs's avatar Éloïs

Adapt endpoint utf8 format

parent e559737b
......@@ -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 :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment