Shadowsocks-libev: About TCP RST packets

Created on 30 Apr 2019  ·  4Comments  ·  Source: shadowsocks/shadowsocks-libev

Sorry for bothering.
Several days ago I opened an issue at the python version respority. Shadowsocks changes all the RST packages into FIN.
The behavior is exactly the same on libev version, both in ss-local and ss-redir.
Is this 'Yes But' method designed on purpose? If not, is there a workaround? Could you please explain the reason of this behavior?
Thank you and best wishes!

question

Most helpful comment

Yes, it's just by design.

All 4 comments

Yes, it's just by design.

Thanks for replying.
Is it for avoiding handshake failure due to high lag?

Shadowsocks is designed to avoid any kind of handshake.

Given shadowsocks works as a TCP proxy, RST to close a connection is just okay.

Got it, thanks a lot.
I tried to use shadowsocks to proxy a net-scanning tool, which depends on the RST packs to recognize if the port is open. I'll try using OpenVPN via shadowsocks instead.

Was this page helpful?
0 / 5 - 0 ratings