GithubHelp home page GithubHelp logo

handleAssociate about socks5 HOT 5 CLOSED

wzshiming avatar wzshiming commented on July 21, 2024
handleAssociate

from socks5.

Comments (5)

wzshiming avatar wzshiming commented on July 21, 2024 1

I fix this problem with fedae2c. and release v0.3.5

from socks5.

temp3l avatar temp3l commented on July 21, 2024 1

Nice one, port is fixed ;)

I'm trying to send DNS-Queries from node.js via socks-udp-relay.

It works fine using this /etc/danted.conf https://gist.github.com/temp3l/d749413772b23ef66ffdfcd4b54a3f7f

FYI; The danted server logs show: (on success)

tcp/accept [: 127.0.0.1.51052 127.0.0.1.1090
udp/udpassociate [: 0.0.0.0.0 127.0.0.1.57753
udp/udpassociate -: 127.0.0.1.48145 127.0.0.1.57753 -> 192.168.0.15.58745 8.8.8.8.53 (31)
udp/udpreply -: 8.8.8.8.53 192.168.0.15.58745 -> 127.0.0.1.57753 127.0.0.1.48145 (136)

Setting port:address to: 0.0.0.0:0 still gives an error under linux
I did not try to customize the packet forwarding address yet

[socks5] 2021/10/28 00:11:36 connect to 0.0.0.0:0 failed: port number out of range 0

from socks5.

wzshiming avatar wzshiming commented on July 21, 2024

Thanks, You are right.
IP is Localhost is wrong, but the port is not 0 but a random port.

I think maybe adding a field to customize the packet forwarding address should solve this problem.

from socks5.

wzshiming avatar wzshiming commented on July 21, 2024

Hi @temp3l Thanks for the feedback on this bug, there is indeed a slight difference in behavior.
Now this problem is fixed, Please help to try the v0.4.0-rc0, If there are no other bugs, I will release v0.4.0.
😄😄😄

from socks5.

wzshiming avatar wzshiming commented on July 21, 2024

I tested it again and it works, I released v0.4.0, you can try it if you have time

from socks5.

Related Issues (4)

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.