Giter Site home page Giter Site logo

socks5 proxy error about wstunnel HOT 6 CLOSED

erebe avatar erebe commented on August 11, 2024
socks5 proxy error

from wstunnel.

Comments (6)

erebe avatar erebe commented on August 11, 2024 1

ok, so that's my crappy implementation.
I will look into it :)

from wstunnel.

erebe avatar erebe commented on August 11, 2024

Hello,

First, thanks for reporting it !

Are you using firefox ? If yes, when I tried to reproduce your issue I had also the same kind of errors (but instead of method = Login I had method = GSSAPI), so I suppose Firefox changed its behavior and is forcing by default an authentification, but I am not sure.

I will look into it this week, but in the mean time you can use google chrome.
For me with this version Google Chrome 67.0.3396.62 and starting chrome with google-chrome-stable --proxy-server="socks://localhost:5566" I can use the socks5 proxy

from wstunnel.

suconghou avatar suconghou commented on August 11, 2024

yes , I am using firefox. and I also test it with curl ,

curl myip.ipip.net -v -x socks5://127.0.0.1:5566

and also got error

* Rebuilt URL to: myip.ipip.net/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* SOCKS5 communication to myip.ipip.net:80
* SOCKS5 connect to IPv4 111.202.98.86 (locally resolved)
* Failed to receive SOCKS5 connect request ack.
* Closing connection 0
curl: (7) Failed to receive SOCKS5 connect request ack.

only with chrome . it works well

from wstunnel.

erebe avatar erebe commented on August 11, 2024

Hi back,
you can download this version https://github.com/erebe/wstunnel/releases/tag/1.2 and it should work properly.
You only need to replace the wstunnel that is acting as the client

Regarding the why, I was not handling ipv4 connection methods but only domainname one. Firefox was using the 2nd one by default in earlier version, which changed now. In fact if you check the box "use dns through socks proxy' it will works properly. also curl myip.ipip.net -v -x socks5h://127.0.0.1:5566 notice the h after the 5 was working properly.

Now I handle both case so It should not matter.
I would a proper realease later this week (during the weekend most likely)

from wstunnel.

suconghou avatar suconghou commented on August 11, 2024

I tested it , It works fine . thank you !

from wstunnel.

erebe avatar erebe commented on August 11, 2024

done

from wstunnel.

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.