SIP003 plugin for shadowsocks, based on WebSocket.
- CMake 3.16+
cmake -B build
cmake --build buildPrebuilt clients are available for Android 5.0+ (arm64-v8a), macOS 12+ (arm64 and x64), and Windows 7+ (x64).
ss-local -c xxx.json
{
"server": "xxx",
"server_port": 443,
"method": "none",
"local_address": "0.0.0.0",
"local_port": 1080,
"plugin": "/path/to/wss-proxy-client",
"plugin_opts": "tls;host=xxx;path=/xxx;mux=0"
}Options compatible with v2ray-plugin
tls,tlsfor https / wss (onlytlsis supported)host, host namepath, default/loglevel, defaultINFO, supportDEBUG,INFO,WARN,ERRORmux, default1(only0is supported, specify for compatible withv2ray-plugin)
extra-listen-port(since 0.3.0, 689f0e7), extra listen port for shadowsocks client without sip003usyslog(since 0.3.3, 47d4681), log to syslog if supportedipv6(since 0.3.4, a8b5f71), prefer ipv6, defaults to 1 (ipv6=0for ipv4 only)http2(since 0.4.0, WebSocket over HTTP/2, RFC 8441)http3(since 0.4.0, WebSocket over HTTP/3, RFC 9220)- requires OpenSSL 3.2+ (4.1+ recommended)
interface(since 0.5.5), prefer interface on macOS and Linux- Linux: requires 5.7+, or
CAP_NET_RAW/ root
- Linux: requires 5.7+, or
ss-server -c xxx.json
{
"server":"127.0.0.1",
"server_port":3448,
"timeout":60,
"method":"none",
"plugin": "/path/to/wss-proxy-server",
"plugin_opts": "mux=0"
}Options compatible with v2ray-plugin
loglevel, defaultINFO, supportDEBUG,INFO,WARN,ERRORmux, default1(only0is supported, specify for compatible withv2ray-plugin)
Unsupported options (configure these in the reverse proxy instead):
tls: the plugin server does not use TLS.host: the plugin server accepts any host.path: the plugin server accepts any path.
udp-port, udp port to shadowsocks server without sip003u- There is no
tcp-port, which is environmentSS_LOCAL_PORT.
- There is no
syslog(since 0.3.3, 47d4681), log to syslog if supported