Giter Club home page Giter Club logo

Comments (17)

rofl0r avatar rofl0r commented on July 22, 2024

can you try the latest release ? it may have been broken inadvertently by the last commits.
also an strace of the server process would be interesting. (on mac, there's dtruss).

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

Still doesn't work. The trace is from the last release:

<removed useless huge paste>

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

This does happen with SSH and shadowsocks, so it might be a limitation in the SOCKS protocol.

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

the thing you pasted doesnt actually give me a trace. rather, it appears to be the tracing script.

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

Oh, I had to disable SIP first. It doesn't crash though, so how long do I hold the trace?

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

it should be sufficient to have one failed transaction in the trace.

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

Here's a stack with it failing: https://pastebin.com/CR5LtX8Z

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

it takes until about line 1000 to see the first connect(), therefore it appears the previous connections dont even reach line 187. maybe sprinkle a couple debug printfs into that function to see what it does and how far it gets.

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

I do want to say that no connections go through, though.

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

what are you doing, anyway? you mentioned shadowsocks and ssh. please provide more details.

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

I just want to connect to a SOCKS proxy that is running on the same machine. SSH and shadowsocks are two ways to run SOCKS proxy.

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

Interestingly enough, if I run it on another IP address (like the one provided by Wireguard), it now gives "SOCKS_CONNECTION_FAILED".

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

change line 57 to 128*1024 and recompile

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

from microsocks.

rofl0r avatar rofl0r commented on July 22, 2024

in THE file, sockssrv.c

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

Still says "Connection Closed".

from microsocks.

DUOLabs333 avatar DUOLabs333 commented on July 22, 2024

I got it to work -- apparently, it is a problem with MacOS's Proxy configuration. Using FoxyProxy solved this problem.

from microsocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.