Code Monkey home page Code Monkey logo

Comments (6)

fonlan avatar fonlan commented on July 22, 2024

查TCP端口的我一直有个疑问,SmartDns只是一个DNS Server,并不知道客户端实际连的哪个TCP端口,毕竟不是所有DNS请求的客户端都是要连接目标的80或者443端口,所以如果Smart DNS用TCP测速到底该用哪个端口来测?

from smartdns.

pymumu avatar pymumu commented on July 22, 2024

现在是通过80端口测速的。只要80端口有响应,不管是链接成功,还是拒绝,都算测速。

现在测速是先ping,ping全部不通的情况下才使用tcp 80端口测速。

后面还会考虑增加tcp half open测速,这样相对更加准确。即使对端开启防火墙也没有问题。

from smartdns.

cjjdaq avatar cjjdaq commented on July 22, 2024

貌似回答的和我想要的不是一个呀

from smartdns.

pymumu avatar pymumu commented on July 22, 2024

支持TCP查询的代码已经发布,可以获取验证。

from smartdns.

cjjdaq avatar cjjdaq commented on July 22, 2024

@pymumu 升级了并未监听tcp端口,依然只有udp端口,还需要特殊配置?

from smartdns.

pymumu avatar pymumu commented on July 22, 2024

默认配置没启用。
openwrt的话,页面配置,其他情况,增加如下配置项
bind-tcp [::]:53

from smartdns.

Related Issues (20)

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.