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

Question #11

Open
Saeid008 opened this issue Feb 5, 2024 · 1 comment
Open

Question #11

Saeid008 opened this issue Feb 5, 2024 · 1 comment

Comments

@Saeid008
Copy link

Saeid008 commented Feb 5, 2024

HI.

UDP is not supported? because you guys name it as dns-tcp-socks-proxy

@vimagick
Copy link

vimagick commented Mar 9, 2024

image

From: https://en.wikipedia.org/wiki/SOCKS

The source code tell us, it connects to 53/tcp of upstream DNS server.

  memcpy(tmp, "\x05\x01\x00\x01", 4);
  memcpy(tmp + 4, &remote_dns, 4);
  memcpy(tmp + 8, "\x00\x35", 2);

https://github.com/jtripper/dns-tcp-socks-proxy/blob/master/dns_proxy.c#L177-L179

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

2 participants