-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Improve PacketHandshake explanation (#124)
Closes #123
- Loading branch information
1 parent
7d812ac
commit 3295c4d
Showing
3 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
@startuml | ||
|
||
actor "Player A" as A | ||
entity "Router A" as RA | ||
boundary Internet as Net | ||
entity "Router B" as RB | ||
actor "Player B" as B | ||
|
||
A -> Net : "$-w-" | ||
B -> Net: "$-w-" | ||
A -> B : "$-w-" | ||
B -> A : "$rw-" | ||
A -> B : "$rw-" | ||
B -> A : "$rwx" | ||
A -> B : "$rwx" | ||
A ->x RB : $-w- | ||
note over RB: Packet denied | ||
|
||
B ->x RA : $-w- | ||
note over RA: Packet denied | ||
|
||
note over RA, RB: NAT table updated on both routers | ||
|
||
A -> B: $-w- | ||
note over RB: Packed allowed | ||
|
||
B -> A: $-w- | ||
note over RB: Packed allowed | ||
|
||
A -> B: $rwx | ||
B -> A: $rwx | ||
|
||
note over Net #lightgreen: Connection established | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters