shadowsocks / simple-obfs

A simple obfuscating tool (Deprecated)
GNU General Public License v3.0
2.36k stars 561 forks source link

how to setup uri with https proxy #173

Open debiansid opened 6 years ago

debiansid commented 6 years ago

https://github.com/shadowsocks/simple-obfs/issues/168 I found we can setup uri in simple-obfs client,so I did a test on my lede(client) and debian 10 (vps), here is my setup.

server side nghttpx:443 +shadowsocks-server:8443 nghttpx

backend=127.0.0.1,8443;abc.com/abcd/

ss-server

"plugin_opts":"obfs=tls;fast-open;obfs-host=abc.com"

client side

 "plugin_opts": "obfs=tls;obfs-host=abc.com;obfs-uri=/abcd/index.asp;fast-open",

my nghttpx or ss-server does not see any connection from obfs-local at all.

ghost commented 6 years ago

obfs-host and obfs-uri only work when obfs=http。 When obfs=tls, simple-obfs makes a TLS-LIKE TCP connection, while this is not a real tls connection.