shadowsocks / simple-obfs

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

simple-obfs 0.0.3 doesn't work with libev 3.0.7 #77

Open ggbalcal opened 7 years ago

ggbalcal commented 7 years ago

Environment

Shadowsocks version: shadowsocks-libev v3.0.7, simple-obfs 0.0.3

Configuration

server: { "server":"server_ip", "server_port":9189, "local_address": "127.0.0.1", "local_port":1080, "password":"password", "timeout":600, "method":"aes-256-cfb", "plugin":"obfs-server", "plugin_opts":"obfs=http" }

client: tried both Wingy in iOS and ShadowsocksX-NG in Mac

obfuscation wrapper: http obfuscation hostname: www.bing.com

Symptom:

While connecting without obfs plugin, the connection works fine. While connecting with obfs plugin enabled, connection failed and I can see below error messages in syslog: 2017-07-19 01:28:03 INFO: plugin "obfs-server" enabled 2017-07-19 01:28:03 INFO: initializing ciphers... aes-256-cfb 2017-07-19 01:28:03 INFO: tcp server listening at 127.0.0.1:43600 2017-07-19 01:28:03 INFO: running from root user 2017-07-19 01:28:03 [simple-obfs] INFO: obfuscating enabled 2017-07-19 01:28:03 [simple-obfs] INFO: tcp port reuse enabled 2017-07-19 01:28:03 [simple-obfs] INFO: listening at server_ip:9189 2017-07-19 01:28:03 [simple-obfs] INFO: running from root user 2017-07-19 01:28:13 ERROR: failed to handshake with 127.0.0.1: invalid address type 2017-07-19 01:28:13 [simple-obfs] ERROR: remote recv: Connection reset by peer

What did you do / What did you see:

I tried to change the obfs wrapper to tls on both server/client, still the same problem I tried using simple-obfs in plugin command line and in standalone mode, still the same problem and same message

Could you kindly suggest how to solve this issue?

Thanks and Regards,

ggbal

madeye commented 7 years ago

I don't think the clients you listed support simple-obfs.

plmsuper8 commented 7 years ago

for ios you can use shadowrocket

ggbalcal commented 7 years ago

I can try shadowrocket. Which app in Mac support simple-obfs? Do you know where I can see a list of client that support obfs?

One more question, what kind of obfs server does Wingy or ShadowsocksX-NG support?

ggbalcal commented 7 years ago

BTW, both Wingy or ShadowsocksX-NG support obfs with http_simple and tls1.2_ticket_auth. These are what shadowrocket suppots, aren't they?