nxtrace / NTrace-core

NextTrace, an open source visual route tracking CLI tool
https://www.nxtrace.org
GNU General Public License v3.0
5.62k stars 333 forks source link

请求支持模拟发包和延时预测 #63

Closed plasmafree closed 1 year ago

plasmafree commented 1 year ago

请求支持在不进行真实路由跟踪时 通过服务器ip能够得出路由结果 同时可以支持未来几小时的延时变动情况

sjlleo commented 1 year ago

您好,

如果你要在不进行实际的 Traceroute 的情况下,仅根据服务器 IP 的 ASN 以及 Peer 信息来推测路由跟踪结果,这是极其困难的。

NextTrace 不是一个做深度学习相关的项目,况且我们也没有那么多样本数据供机器学习,更不用说去推测未来几小时的延时变动情况。

谢谢

plasmafree commented 1 year ago

有没有做这方面产品的

stydxm commented 1 year ago

预测怎么可能,海缆断了或者运营商切线路这种事件在小小一台机器上根本无法提前获知,就算知道了也没法算出延迟

plasmafree commented 1 year ago

预测怎么可能,海缆断了或者运营商切线路这种事件在小小一台机器上根本无法提前获知,就算知道了也没法算出延迟

不能拿到对面机器 想知道对面机器回程 现在没有软件提供这样功能的 对我很有用 延迟给个区间 大致情况了解就可以

sjlleo commented 1 year ago

您是想说,您希望 NT 增加一个功能,可以看任意个 IP 的反向路由?不仅能看到走了什么骨干网,还能看到这些骨干网真实的 IP Path 和延时,同时要这里面 IP 的未来三小时延时变化趋势。我理解的没错吧?

fkx4-p commented 1 year ago

Hello, What you described is a product every user wanted, but it is definitely impossible to realize because of the following reasons:

  1. Traffic from a single IP can change every second due to a large amount of reasons including DDoS attacks, broken submarine communication cables, change of peering and so on.
  2. Traffic using different protocols may travel through different routes due to policies set by different operators.
  3. Collecting data is also impossible unless every person that has a public IP is willing to give us their traceroute and latency data. However, you can do this for us if you are able to, and everyone on Earth will appreciate it.

There are a lot more reasons that makes this thing extremely hard, but I think these are enough for now.

If you want, you can use ISPs' looking glass services and get real-time data. Prediction is also possible if you train your own model, but still this can not predict the damage of submarine communication cables and, of course, operators changing BGP rules from time to time.

FFEE