-
Notifications
You must be signed in to change notification settings - Fork 11
Development Notes
krrr edited this page Dec 15, 2019
·
7 revisions
- Active probing
- Why auto-ping
- http://blog.zorinaq.com/my-experience-with-the-great-firewall-of-china/
- shadowsocks one-time-auth
- WS handshake request: 1 - (342 + 16) / 670 = 45%
- WS handshake reply: 1 - 16 / 166 = 90%
- normal data (per message): 1 - 1448 / 1460 = 0.8%
browser http get:
b'GET / HTTP/1.1\r\nhost: xxx-krrr.rhcloud.com:8443\r\nuser-agent: ...\r\naccept: ...\r\naccept-language: ...\r\naccept-encoding: ...\r\nconnection: keep-alive\r\nX-Forwarded-For: ...\r\nX-Client-IP: ...\r\nX-Forwarded-Proto: https\r\nX-Forwarded-Host: xxx-krrr.rhcloud.com\r\nX-Forwarded-Port: 8443\r\n\r\n'
wstan http upgrade:
b'GET / HTTP/1.1\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: MTMtMTQ0NTQ4NTMzODE4NQ==\r\nHost: 127.12.57.1:8080\r\n\r\n'
and sec-key will be changed by the proxy