eycorsican / go-tun2socks

A tun2socks implementation written in Go.
MIT License
1.29k stars 431 forks source link

is some way to better detect DNS data? #147

Closed rurirei closed 3 years ago

rurirei commented 3 years ago

https://github.com/eycorsican/go-tun2socks/blob/256d181632768de921ebfb048b58b5cc51c2a51f/proxy/dnsfallback/udp.go#L29-L34 to check if port 53 is simple way but not steady enough. is there some way better?

addition, what is happening when enables DNS over TLS inside system Android, mostly it causes unavailbility of Fake DNS, and some other problem i had not known.

thanks for reply in advance.

eycorsican commented 3 years ago

There's a fork of go-tun2socks with many extra features you might be interested. It's based on another fork of go-tun2socks that is used by the Google Play version of Kitsunebi.

rurirei commented 3 years ago

great thanks to make project so good open source of you.

though it do not solve my question in this post.

rurirei commented 3 years ago

addition, seems leaf is also a cross platform solution, what is the different purpose of it and mellow, is it on different language based? @eycorsican

eycorsican commented 3 years ago

leaf is an experimental project originally tries to address several unsolved issues in mellow/go-tun2socks/v2ray.

rurirei commented 3 years ago

got it. big thanks for all your great project.