Created
March 14, 2018 14:43
-
-
Save evianzhow/3f0e3a1b41237f386addf60f61dd5294 to your computer and use it in GitHub Desktop.
FBPortForwarding Flow Map
This file contains hidden or 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
| | |
iOS Device | Mac | |
| | |
+----------------+ +----------------+ | |
|Peertalk Server | connect |Peertalk Client | | |
| <------------+ | | |
| | | | | |
| Port 8025| | | | |
+----+-----------+ +---------^------+ | |
| | | |
| | | |
incoming +----------------+ | | +--------------+ | |
connections |Proxy Server | | | |Real Server | | |
------------->> | | +-------------+ commands | | | | |
| Port 8081| | create | | stream | | Port 8081| | |
+-+--------------+ +---------> Peertalk <----------+ +-^------------+ | |
| | Channel | ^ | |
| +--------+ | | +--------+ | outgoing | |
| | | onConnect | | connect | | | connections | |
+---> Client +---------------> OpenPipe +---------------> Client +-----+ | |
| #[tag] | onRead | | write | #[tag] | | |
| +---------------> WriteToPipe +---------------> | | |
| | onDisconnect | | disconnect | | | |
| +---------------> ClosePipe +---------------> | | |
| | | | | | | |
| | write | | onRead | | | |
| <---------------+ WriteToPipe <---------------+ | | |
| | close | | onDisconnect | | | |
| <---------------+ ClosePipe <---------------+ | | |
| | | | | | | |
+--------+ | | +--------+ | |
+-------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment