Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding on the wrong address type if request is "0.0.0.0" #621

Open
nipatriknilsson opened this issue Dec 11, 2024 · 0 comments
Open

Binding on the wrong address type if request is "0.0.0.0" #621

nipatriknilsson opened this issue Dec 11, 2024 · 0 comments

Comments

@nipatriknilsson
Copy link

Requesting gost to start binding with the address "0.0.0.0:0" returns "127.0.0.1", but starts listening on "::1", but if I ask for "127.0.0.1:0" it works.

Version of gost:

$ ./gost -V
gost 3.0.0 (go1.23.3 linux/amd64)

Command to start gost:

$ ./gost -L "socks5://127.0.0.1:1084?bind=true"

Here is a screenshot of the request:

request

And the response:

response

As shown also in the response screenshot, which port was opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant