Question
MrSaeid007 opened this issue · 1 comments
MrSaeid007 commented
HI.
UDP is not supported? because you guys name it as dns-tcp-socks-proxy
vimagick commented
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