¶
Shdowsocks
这里以go-shdowsocks2进行分析,改动
https://github.com/ecksproxy/go-shadowsocks-x
app
app
ss-local
listen :1080
ss-local...
ss-remote
ss-remote
google.com
google.com
send encrypt(google.com)
send encrypt(google.com)
decrypt
decrypt
remote relay
remote relay
Establish tcp
conn0
to ss-local
send socks5 handshake
Establish tcp conn0 to ss-loca...
1
1
reply succeeded
reply succeeded
2
2
3
3
4
4
5
5
local relay
local relay
Get http google.com
Get http google.com
6
6
encrypt(http request)
encrypt(http request)
7
7
Greate Wall
Greate Wall
decrypt & relay 2 google.com
decrypt & relay 2 google.com
8
8
http response
http response
Establish tcp
conn2
to google
Establish tcp conn2 to google
encrypt(http response)
encrypt(http response)
10
10
decrypt & relay 2 app
decrypt & relay 2 app
11
11
9
9
Establish tcp
conn1
to ss-remote
Establish tcp conn1 to ss-remote
Text is not SVG - cannot display
¶
V2Ray
¶
trojan-go
¶
Tuic