sliver icon indicating copy to clipboard operation
sliver copied to clipboard

wg-socks implant crash

Open pooki3bear opened this issue 2 years ago • 4 comments

Describe the bug While attempting to use a (probably misconfigured) wg-socks session, the WG implant became entirely unresponsive, and eventually session lost.

During the period before the session was lost, executing wg-socks from sliver-client made the client unresponsive.

Expected behavior Expect wg-socks output to have a reasonable timeout, and provide some error instead of very slow timeout.

pooki3bear avatar Aug 30 '21 21:08 pooki3bear

Let us know if you find a reliable way to reproduce the issue. I suspect this is due to a blocking read() call or something.

moloch-- avatar Aug 30 '21 23:08 moloch--

Yeah pretty sure it's the same bug that happens on the other cases, the server reading more bytes than expected and thus blocking.

rkervella avatar Sep 02 '21 09:09 rkervella

I think* this should be fixed in the stage branch.

moloch-- avatar Nov 23 '21 13:11 moloch--

Hm doesn't seem so. shell still doesn't work, and the behavior seems similar.

rkervella avatar Nov 23 '21 16:11 rkervella