Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
common
doc
Commits
41e8e393
Commit
41e8e393
authored
6 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
Adapt endpoint utf8 format
parent
e559737b
No related branches found
No related tags found
1 merge request
!8
WIP: WS2P v2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0006_ws2p_v2.md
+7
-7
7 additions, 7 deletions
rfc/0006_ws2p_v2.md
with
7 additions
and
7 deletions
rfc/0006_ws2p_v2.md
+
7
−
7
View file @
41e8e393
...
@@ -242,14 +242,14 @@ Network features :
...
@@ -242,14 +242,14 @@ Network features :
| bit | feature |
| bit | feature |
|:---------:|----------|
|:---------:|----------|
| 0000_0001 |
ip_v4
|
| 0000_0001 |
IP4
|
| 0000_0010 |
ip_v6
|
| 0000_0010 |
IP6
|
| 0000_0100 |
S
|
| 0000_0100 |
TLS
|
| 0000_1000 | TOR |
| 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.
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).
TL
S := 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).
TOR := This feature indicates that the endpoint must be contacted via the tor network (hidden service).
...
@@ -261,11 +261,11 @@ WS2PFeatures type definition :
...
@@ -261,11 +261,11 @@ WS2PFeatures type definition :
| bit | feature |
| bit | feature |
|:---------:|-----------|
|:---------:|-----------|
| 0000_0001 | DEF
LATE
|
| 0000_0001 | DEF |
| 0000_0010 | LOW |
| 0000_0010 | LOW |
| 0000_0100 | ABF |
| 0000_0100 | ABF |
DEF
LATE
:= Supports permessage-deflate extension
DEF := Supports permessage-deflate extension
LOW := Accept low speed connection requests
LOW := Accept low speed connection requests
...
@@ -286,7 +286,7 @@ AF := API_FEATURE
...
@@ -286,7 +286,7 @@ AF := API_FEATURE
Example:
Example:
WS2P 2 1 S 3 DEF
LATE
LOW
R
BF g1.durs.ifee.fr 443 ws2p
WS2P 2 1
TL
S 3 DEF LOW
A
BF g1.durs.ifee.fr 443 ws2p
Same endpoint in binary format :
Same endpoint in binary format :
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment