shadowsocks-libev icon indicating copy to clipboard operation
shadowsocks-libev copied to clipboard

经试验,libev已被检测

Open ttc0419 opened this issue 9 years ago • 30 comments

Please answer these questions before submitting your issue. Thanks!

(Please mention that if the issue you filed is solved, you may wish to close it by yourself. Thanks again.)

(PS, you can remove 3 lines above, including this one, before post your issue.)

What version of shadowsocks-libev are you using?

3.0.7

What operating system are you using?

Debian9 x86

What did you do?

正常开启服务端或客户端(附加参数:-a nobody --reuse-port)

What did you expect to see?

速度正常,访问正常

What did you see instead?

之前使用libev作为服务端一开始正常,后来每次出现一开始速度快后来很慢的现象,今天将libev版作为客户端作本地代理,手机连上出现无法执行次此操作,但是使用手机版shadowsocks可以正常访问。

What is your config in detail (with all sensitive info masked)?

{ "server":"my_server_ip", "server_port":443, "local_address": ”0.0.0.0", "local_port":23333, "password":"mypassword", "timeout":300, "method":"chacha20", "fast_open": false }

ttc0419 avatar Jul 19 '17 05:07 ttc0419

但是使用shadowsocks-go部署服务端速度稳定!

ttc0419 avatar Jul 19 '17 05:07 ttc0419

shadowsocks-android using shadowsocks-libev

honwen avatar Jul 19 '17 05:07 honwen

@chenhw2 作为本地代理和本机代理不一样,说明ss-local作本地代理有漏洞

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 19 '17 07:07 ttc0419

服务器端开 bbr 了吗?

hillwoodroc avatar Jul 20 '17 01:07 hillwoodroc

不是能不能复现的问题,现在确实已经被检测出来了

ghost avatar Jul 20 '17 03:07 ghost

@hillwoodroc 开了

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 06:07 ttc0419

You can try the new encrypt methods such as chacha20-ietf-poly1305, aes-256-gcm etc... If you have confirmed that your server has been identified as a shadowsocks server by GFW, you may need a new IP address.

ghost avatar Jul 20 '17 06:07 ghost

Unless you provide the traceroute results, no one can help you further.

madeye avatar Jul 20 '17 06:07 madeye

@Mr-indescribable the same

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 07:07 ttc0419

@madeye gfw 最近已经被强化,尤其今天开始大量探测活动已经进行,以下是shadowsocks-go日志 2017/07/20 03:34:34 error getting request 101.85.60.59:35362 67.209.178.39:80 verify one time auth failed, iv=[250 249 198 3 129 137 162 134 75 163 128 50 207 50 102 161] key=[211 244 94 188 233 219 235 76 61 93 34 116 221 226 137 122] data=[244 181 238 40 41 232 204 44 21 194 9 109 195 152 138 73 18 110 95] 2017/07/20 03:34:34 error getting request 101.85.60.59:35365 67.209.178.39:80 addr type 0 not supported 2017/07/20 03:34:34 error getting request 101.85.60.59:35364 67.209.178.39:80 addr type 7 not supported 2017/07/20 03:34:38 error getting request 101.85.60.59:35372 67.209.178.39:80 addr type 12 not supported 2017/07/20 03:34:38 error getting request 101.85.60.59:35373 67.209.178.39:80 addr type 5 not supported 2017/07/20 03:34:38 error getting request 101.85.60.59:35375 67.209.178.39:80 verify one time auth failed, iv=[142 55 106 251 210 30 29 137 150 186 8 17 208 14 176 130] key=[211 244 94 188 233 219 235 76 61 93 34 116 221 226 137 122] data=[20 24 164 42 255 250 27 237 10 51 249 137 215 198 246 237 2 111 177] 2017/07/20 03:34:38 error getting request 101.85.60.59:35371 67.209.178.39:80 addr type 13 not supported 2017/07/20 03:34:38 error getting request 101.85.60.59:35377 67.209.178.39:80 addr type 5 not supported 2017/07/20 03:34:41 error connecting to: 8.93.85.238:5385 dial tcp 8.93.85.238:5385: getsockopt: connection timed out 2017/07/20 03:35:25 error getting request 101.85.60.59:35389 67.209.178.39:80 addr type 14 not supported 2017/07/20 03:35:25 error getting request 101.85.60.59:35388 67.209.178.39:80 addr type 14 not supported 2017/07/20 03:35:25 error getting request 101.85.60.59:35394 67.209.178.39:80 addr type 0 not supported 2017/07/20 03:35:25 error connecting to: �,�Ks:24006 dial tcp: lookup �,�Ks: no such host 2017/07/20 03:35:27 error getting request 101.85.60.59:35399 67.209.178.39:80 addr type 9 not supported 2017/07/20 03:35:27 error getting request 101.85.60.59:35393 67.209.178.39:80 unexpected EOF

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 07:07 ttc0419

@madeye the traceroute result: 1?: [LOCALHOST] pmtu 1492 1: 192.168.0.1 3.113ms 1: 192.168.0.1 2.108ms 2: 192.168.1.1 2.882ms 3: 101.85.60.1 16.040ms 4: 124.74.122.13 18.508ms 5: 124.74.211.177 10.855ms 6: 101.95.120.158 12.139ms 7: 202.97.35.154 22.668ms 8: 202.97.90.29 17.271ms 9: 202.97.63.42 143.055ms 10: 203.14.186.206 161.761ms 11: 203.14.190.17 165.945ms asymm 10 12: 218.30.44.118 147.404ms 13: colo-lax13.as8100.net 142.981ms asymm 14 14: 192.161.173.82.static.quadranet.com 164.242ms asymm 15 15: no reply 16: no reply 17: no reply 18: no reply 19: no reply 20: no reply 21: no reply 22: no reply 23: no reply 24: no reply 25: no reply 26: no reply 27: no reply 28: no reply 29: no reply 30: no reply Too many hops: pmtu 1492 Resume: pmtu 1492

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 07:07 ttc0419

还有一个很奇怪的现象,shadowsocks go虽然显示了大量数据包修改日志但是速度却依旧稳定,是不是因为对待篡改数据行为的不同导致了一些特征产生?

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 08:07 ttc0419

  1. The traceroute shows no issue with your connection.
  2. The shadowsocks-go log shows you're running the service at port 80. It's expected that there are many requests from web spiders or port scanners.

Neither of the above logs are related to packet sniffer or blocking

madeye avatar Jul 20 '17 08:07 madeye

From your shadowsocks-go's logs, 101.85.60.59 looks your own IP and keeps connecting to the server with an incorrect cipher or password.

With shadowsocks-libev, this behavior would get the IP blocked by the server. It explains why you saw blocked connection when using shadowsocks.

madeye avatar Jul 20 '17 08:07 madeye

@madeye 加密和密码没有输入错误,shadowsocks-go的addr type not supported难道不是因为数据包被修改?

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 08:07 ttc0419

@Galaxy0419 Of course not. The log means you have a shadowsocks client using incorrect password or cipher in your LAN.

madeye avatar Jul 20 '17 09:07 madeye

@madeye 但是都是在加密和密码正确的情况下间接出现,而且是可以连通的情况下,顺便请教shadowsocks-libev现在还是出现速度突然下降情况(非80和443端口),服务端日志只有server recv: Connection timed out

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 09:07 ttc0419

Try port 80 and 443.

madeye avatar Jul 20 '17 09:07 madeye

我是QN机房,没发现掉速

lixingcong avatar Jul 20 '17 09:07 lixingcong

@madeye 测试结果相同

Sent from my Xiaomi MI 5 using FastHub

ttc0419 avatar Jul 20 '17 09:07 ttc0419