Total Pageviews

Friday, 9 October 2015

ShadowSPDY

ShadowSPDY is a tunnel proxy, which builds on top of Shadowsocks and SPDY.
Experiments show that ShadowSPDY is less efficient than Shadowsocks with TCP Fast Open support.

Usage

ShadowSPDY is currently beta. Future versions may NOT be compatible with this version.
This project is experimental and in its very early stage. DO NOT DEPLOY IT FOR PRODUCTION USAGE!
You can submit bugs and issues on the issue tracker.
For those who are willing to help developing or testing, here's the manual.
# install node.js v0.10 from http://nodejs.org/ first
git clone https://github.com/clowwindy/ShadowSPDY.git
cd ShadowSPDY/
npm install
vim config.json
bin/splocal  # or bin/spserver
# then point your browser proxy into "socks5 127.0.0.1:1081"

Protocol

ShadowSPDY simply adds an SPDY layer into Shadowsocks. Thus it provides benefits from SPDY, such as low latency, low resource consumption. On the other hands, all disadvantages, such as one single packet loss will slow down all active streams.
ShadowSPDY works best on VPS with > 200ms RTT, < 2% packet loss, according to Google's research on SPDY. Notice that when packet loss is high (e.g. >10%), ShadowSPDY will be significantly slower than Shadowsocks.

Shadowsocks

|-------------------------|
|          Socks5         |
|-------------------------|
|    Shadow Encryption    |
|-------------------------|

ShadowSPDY

|-------------------------|
|         Socks5          |
|-------------------------|
|          SPDY           |
|-------------------------|
|    Shadow Encryption
 
from https://github.com/clowwindy/ShadowSPDY