Coder Social home page Coder Social logo

archeb / opentrace Goto Github PK

View Code? Open in Web Editor NEW
1.8K 9.0 69.0 1.55 MB

A cross-platform GUI wrapper for NextTrace. Bringing you the familiar traceroute experience. OpenTrace 是 NextTrace 的跨平台 GUI 界面,带来您熟悉但更强大的用户体验。

License: GNU General Public License v3.0

C# 91.18% JavaScript 7.47% Shell 1.34%
network network-analysis traceroute utility

opentrace's Introduction

Logo

OpenTrace

OpenTrace 是 NextTrace 的跨平台 GUI 界面,带来您熟悉但更强大的用户体验。

OpenTrace is a cross-platform GUI wrapper for NextTrace. Bringing you a sense of familiarity.

您需要 NextTrace V1 (>= 1.1.7) 的可执行文件才能使用 OpenTrace

You need a working NextTrace V1 (>= 1.1.7) executable to use this.

English Version

使用方法

  • 自行编译或从 releases 里下载 OpenTrace

  • 下载并安装 NextTrace V1: 从 这里 下载对应系统架构的 NextTrace,然后将其放置于 OpenTrace 目录下,或者放置到系统 PATH 环境变量包含的目录中;您亦可以放到任意位置并手动指定路径(macOS 用户推荐)。

  • 运行 OpenTrace(.exe)

功能

  • 跨平台原生GUI(Windows WPF / Linux GTK / macOS)

  • 您熟悉但功能更强大的界面

  • 用户友好的GUI和易于理解的参数描述

  • MTR (My Traceroute) 功能

  • 多语言支持

  • 自定义 DNS 服务器 (DNS、DoH)

  • 支持使用本地 MMDB 格式的 IP 数据库

新功能不断添加中...欢迎向我们提出功能请求

提示:您也可以在本项目的 Actions 页面 下载对应架构的最新测试版;但其可能包含错误或者漏洞,或出现运行不稳定等现象。

预览图

Windows MTR on Linux macOS Preferences on macOS

opentrace's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opentrace's Issues

Windows 版本问题

2023/11/25 11:56:14 dial: websocket: bad handshake
2023/11/25 11:56:15 dial: websocket: bad handshake
2023/11/25 11:56:16 dial: websocket: bad handshake
2023/11/25 11:56:17 dial: websocket: bad handshake
2023/11/25 11:56:18 dial: websocket: bad handshake
2023/11/25 11:56:19 dial: websocket: bad handshake
2023/11/25 11:56:20 dial: websocket: bad handshake
2023/11/25 11:56:21 dial: websocket: bad handshake
2023/11/25 11:56:22 dial: websocket: bad handshake
2023/11/25 11:56:23 dial: websocket: bad handshake
2023/11/25 11:56:25 dial: websocket: bad handshake
2023/11/25 11:56:26 dial: websocket: bad handshake
2023/11/25 11:56:27 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xf9036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00027f980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

随便ping个网站就这样。。。。。

中文输入法冲突

按下回车键时,OpenTrace 会解析输入的目标,但是使用中文输入法按下回车输出英文时,也会触发解析。如果此时输入的是不正确的目标,则会报 could not find host 错误。

[Feature Request] Right click to copy address

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明
No

Describe the solution you'd like 描述您想要的功能
Hope can copy the ip address of a node in the path by right-click.

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明

感谢与建议

非常激动,NextTrace终于有了非常优秀完备的图形化二创🎆,作为Nexttrace开发团队的一员非常感谢此项目的作者让我再次看到了开源社区的行动力🙏以及非常乐见越来越多的二创。
提一个小建议,Nexttrace这个commit中的两个ENV不知道您注意到没有,还有这个ENV# 纯真IP数据库默认使用 http://127.0.0.1:2060 作为查询接口,如需自定义请使用环境变量 export NEXTTRACE_CHUNZHENURL=http://127.0.0.1:2060,如果您能把这几个环境变量加入到preference内我想会大有裨益的。
再次感谢开发者🫡。

error

2023/12/10 21:23:28 dial: websocket: bad handshake
2023/12/10 21:23:29 dial: websocket: bad handshake
2023/12/10 21:23:30 dial: websocket: bad handshake
2023/12/10 21:23:31 dial: websocket: bad handshake
2023/12/10 21:23:32 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x118052e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00007f978?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:186 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:357 +0x22b0
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

bad handshake

2023/06/11 00:54:49 dial: websocket: bad handshake
2023/06/11 00:54:50 dial: websocket: bad handshake
2023/06/11 00:54:51 dial: websocket: bad handshake
2023/06/11 00:54:51 dial: websocket: bad handshake
2023/06/11 00:54:52 dial: websocket: bad handshake
2023/06/11 00:54:53 dial: websocket: bad handshake
2023/06/11 00:54:55 dial: websocket: bad handshake
2023/06/11 00:54:57 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xf2fbd4]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc0000bbab8?)
github.com/gorilla/[email protected]/conn.go:345 +0x14
github.com/xgadget-lab/nexttrace/cmd.Excute.func1()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:165 +0x25
github.com/xgadget-lab/nexttrace/cmd.Excute()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:315 +0x1f73
main.main()
github.com/xgadget-lab/nexttrace/main.go:8 +0x17

无法运行

2023/06/04 10:47:24 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xb6fbd4]

goroutine 6 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00010df30?)
github.com/gorilla/[email protected]/conn.go:345 +0x14
github.com/xgadget-lab/nexttrace/cmd.Excute.func1.1()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:161 +0x25
github.com/xgadget-lab/nexttrace/cmd.Excute.func1()
github.com/xgadget-lab/nexttrace/cmd/cmd.go:165 +0x1a7
created by github.com/xgadget-lab/nexttrace/cmd.Excute
github.com/xgadget-lab/nexttrace/cmd/cmd.go:150 +0x135f

ERROR IN leomoeapi

image
image

2023/11/27 10:49:16 dial: websocket: bad handshake
2023/11/27 10:49:17 dial: websocket: bad handshake
2023/11/27 10:49:18 dial: websocket: bad handshake
2023/11/27 10:49:19 dial: websocket: bad handshake
2023/11/27 10:49:20 dial: websocket: bad handshake
2023/11/27 10:49:20 dial: websocket: bad handshake
2023/11/27 10:49:22 dial: websocket: bad handshake
2023/11/27 10:49:23 dial: websocket: bad handshake
2023/11/27 10:49:25 dial: websocket: bad handshake
2023/11/27 10:49:26 dial: websocket: bad handshake
2023/11/27 10:49:28 dial: websocket: bad handshake
2023/11/27 10:49:29 dial: websocket: bad handshake
2023/11/27 10:49:31 dial: websocket: bad handshake
2023/11/27 10:49:32 dial: websocket: bad handshake
2023/11/27 10:49:34 dial: websocket: bad handshake
2023/11/27 10:49:35 dial: websocket: bad handshake
2023/11/27 10:49:37 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x55036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc0006af980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf
2023/11/27 10:49:53 dial: websocket: bad handshake
2023/11/27 10:49:53 dial: websocket: bad handshake
2023/11/27 10:49:54 dial: websocket: bad handshake
2023/11/27 10:49:54 dial: websocket: bad handshake
2023/11/27 10:49:55 dial: websocket: bad handshake
2023/11/27 10:49:55 dial: websocket: bad handshake
2023/11/27 10:49:56 dial: websocket: bad handshake
2023/11/27 10:49:57 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x55036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc0000b9980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf
2023/11/27 10:55:00 dial: websocket: bad handshake
2023/11/27 10:55:01 dial: websocket: bad handshake
2023/11/27 10:55:01 dial: websocket: bad handshake
2023/11/27 10:55:02 dial: websocket: bad handshake
2023/11/27 10:55:03 dial: websocket: bad handshake
2023/11/27 10:55:03 dial: websocket: bad handshake
2023/11/27 10:55:04 dial: websocket: bad handshake
2023/11/27 10:55:05 dial: websocket: bad handshake
2023/11/27 10:55:06 dial: websocket: bad handshake
2023/11/27 10:55:06 dial: websocket: bad handshake
2023/11/27 10:55:07 dial: websocket: bad handshake
2023/11/27 10:55:08 dial: websocket: bad handshake
2023/11/27 10:55:09 dial: websocket: bad handshake
2023/11/27 10:55:09 dial: websocket: bad handshake
2023/11/27 10:55:10 dial: websocket: bad handshake
2023/11/27 10:55:11 dial: websocket: bad handshake
2023/11/27 10:55:11 dial: websocket: bad handshake
2023/11/27 10:55:12 dial: websocket: bad handshake
2023/11/27 10:55:13 dial: websocket: bad handshake
2023/11/27 10:55:13 dial: websocket: bad handshake
2023/11/27 10:55:14 dial: websocket: bad handshake
2023/11/27 10:55:15 dial: websocket: bad handshake
2023/11/27 10:55:16 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x55036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00071f980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

[Feature Request] Add opentrace to Flathub

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

No
Describe the solution you'd like 描述您想要的功能
build a flatpak version and use flathub bot to automate builds.

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)
I'm currently working on it. Once finished, if you agree, we can make this official and add a flathub link to README :)

Additional context 补充说明

[BUG] Linux上缺失依赖 以及百度地图无法显示

Describe the bug 描述你遇到的BUG
程序报错无法启动:

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libwebkit2gtk-4.0.so.37' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibwebkit2gtk-4.0.so.37: 无法打开共享对象文件: 没有那个文件或目录
   at Eto.GtkSharp.NativeMethods.NMLinux.webkit_web_view_new()
   at Eto.GtkSharp.NativeMethods.webkit_web_view_new()
   at Eto.GtkSharp.Forms.Controls.WebViewHandler..ctor()
   at Eto.GtkSharp.Platform.<>c.<AddTo>b__12_61()
   at Eto.Widget..ctor()
   at OpenTrace.MainForm..ctor() in /home/runner/work/opentrace/opentrace/MainForm.cs:line 132
   at OpenTrace.Program.Main(String[] args) in /home/runner/work/opentrace/opentrace/Program.cs:line 36
[1]    95980 IOT instruction (core dumped)  OpenTrace

安装 libwebkit2gtk-4.0-37 包后程序能够启动,但是点击开始按钮有概率弹出此错误信息:(另外建议加一个回车开始的功能)
图片

百度地图无法显示:
图片

Environment 使用环境

  • OS: Debian GNU/Linux trixie/testing x86_64
  • Kernel: 6.4.0-3-amd64
  • DE: Plasma 5.27.7 (wayland)
  • Version 程序版本: 1.2.4.1

[Feature Request] Add opentrace to Homebrew

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

N/A

Describe the solution you'd like 描述您想要的功能

  • Please add opentrace to Homebrew for macOS users.
  • For reference, please take a look at this site.

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

N/A

Additional context 补充说明

N/A

问题

win系统无法正常使用opentrace,表现为直到最后才出现目的地
image

[BUG] 产生异常输出

Describe the bug 描述你遇到的BUG
点击开始按钮开始运行就会直接跳出异常输出窗口

To Reproduce 复现方法
只要点击开始按钮开始运行就会出现

Screenshots (If applicable) 截图(如果有)
image

Environment 使用环境

  • OS 操作系统:win10
  • Version 程序版本:22H2 19045.3324

Additional context 补充说明
这是报错信息

2023/11/27 21:50:28 dial: websocket: bad handshake
2023/11/27 21:50:28 dial: websocket: bad handshake
2023/11/27 21:50:29 dial: websocket: bad handshake
2023/11/27 21:50:30 dial: websocket: bad handshake
2023/11/27 21:50:31 dial: websocket: bad handshake
2023/11/27 21:50:32 dial: websocket: bad handshake
2023/11/27 21:50:33 dial: websocket: bad handshake
2023/11/27 21:50:34 dial: websocket: bad handshake
2023/11/27 21:50:35 dial: websocket: bad handshake
2023/11/27 21:50:37 dial: websocket: bad handshake
2023/11/27 21:50:38 dial: websocket: bad handshake
2023/11/27 21:50:39 dial: websocket: bad handshake
2023/11/27 21:50:40 dial: websocket: bad handshake
2023/11/27 21:50:41 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xf3036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc000287980?)
	github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
	github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
	github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
	github.com/nxtrace/NTrace-core/main.go:8 +0xf

[BUG] Exception occurred when started on macOS sonoma.

Describe the bug 描述你遇到的BUG

To Reproduce 复现方法
Occasionally, mostly when first open.

Screenshots (If applicable) 截图(如果有)
图片

Environment 使用环境

  • OS 操作系统: macOS sonoma 14.1.1 (23B81)
  • Version 程序版本:the latest

Additional context 补充说明

[BUG] 使用没有 UI 的 Google Map

Describe the bug 描述你遇到的BUG
因为目前使用的 Google Map 有不必要的按钮,所以我就想把程序内置的 geo-devrel-javascript-samples.web.app/samples/map-simple/app/dist/ 换成 geo-devrel-javascript-samples.web.app/samples/control-disableUI/app/dist/ 。这个地图在浏览器上正常打开,但是在 OpenTrace 的源码里替换后,OpenTrace 无法打开,详见 github.com/People-11/opentrace/actions/runs/5184433346

To Reproduce 复现方法

Screenshots (If applicable) 截图(如果有)

Environment 使用环境

  • Windows 11 22621.1194
  • 1.2.3.0

Additional context 补充说明

panic: runtime error: invalid memory address or nil pointer dereference

2023/11/20 18:08:05 api.ip.sb 璇锋眰瓒呮椂(2s)锛岃鍒囨崲鍏朵粬API浣跨敤
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x28 pc=0x117d932]

goroutine 278 [running]:
github.com/nxtrace/NTrace-core/printer.applyLangSetting(0x1329240?)
github.com/nxtrace/NTrace-core/printer/basic.go:94 +0x12
github.com/nxtrace/NTrace-core/printer.EasyPrinter(0xc0000d0a68, 0x5)
github.com/nxtrace/NTrace-core/printer/easy.go:15 +0xd6
github.com/nxtrace/NTrace-core/trace.(*ICMPTracer).PrintFunc(0xc0000d09a0)
github.com/nxtrace/NTrace-core/trace/icmp_ipv4.go:48 +0xfd
created by github.com/nxtrace/NTrace-core/trace.(*ICMPTracer).Execute in goroutine 1
github.com/nxtrace/NTrace-core/trace/icmp_ipv4.go:85 +0x28b

异常输出

2023/12/08 16:30:29 dial: websocket: bad handshake
2023/12/08 16:30:29 dial: websocket: bad handshake
2023/12/08 16:30:30 dial: websocket: bad handshake
2023/12/08 16:30:31 dial: websocket: bad handshake
2023/12/08 16:30:32 dial: websocket: bad handshake
2023/12/08 16:30:32 dial: websocket: bad handshake
2023/12/08 16:30:35 dial: websocket: bad handshake
2023/12/08 16:30:37 dial: websocket: bad handshake
2023/12/08 16:30:40 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x106a44e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00011d978?)
github.com/gorilla/[email protected]/conn.go:345 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:173 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:340 +0x22b0
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

地图展示问题

Trace 完成后地图自动移动到以非洲为中心,而非展示 trace 的路径

看不懂,乱码

2023/06/05 19:24:08 绾湡 璇锋眰瓒呮椂(2s)锛岃鍒囨崲鍏朵粬API浣跨敤
2023/06/05 19:24:10 绾湡 璇锋眰瓒呮椂(2s)锛岃鍒囨崲鍏朵粬API浣跨敤
2023/06/05 19:24:12 绾湡 璇锋眰瓒呮椂(2s)锛岃鍒囨崲鍏朵粬API浣跨敤
2023/06/05 19:24:14 绾湡 璇锋眰瓒呮椂(2s)锛岃鍒囨崲鍏朵粬API浣跨敤

bad handshake

2023/12/07 08:42:41 dial: websocket: bad handshake
2023/12/07 08:42:46 dial: websocket: bad handshake
2023/12/07 08:42:47 dial: websocket: bad handshake
2023/12/07 08:42:51 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x4c052e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00007d978?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:186 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:357 +0x22b0
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

[BUG] 第一跳主机名显示不全

Describe the bug 描述你遇到的BUG
我的第一跳主机名是smartdns,但是程序中只显示smartdn,拉宽那一列也无法显示完全,其他正常

To Reproduce 复现方法
no idea

Screenshots (If applicable) 截图(如果有)
image

Environment 使用环境

  • OS 操作系统:Windows 10 20H2 x64
  • Version 程序版本:1.4.1.1

Additional context 补充说明
下面是使用nexttrace的结果,可以看到nexttrace解析不出来主机名

./nexttrace.exe 223.6.6.6
NextTrace v1.2.7 2023-12-01T08:40:30Z c0455ca
[NextTrace API] preferred API IP - [2605:52c0:2:954::] - 534.20ms - DMIT.LAX
IP Geo Data Provider: LeoMoeAPI
traceroute to 223.6.6.6, 30 hops max, 52 bytes packets
1   192.168.123.1   *                         RFC1918
                                              2.57 ms / 1.36 ms / 1.61 ms
2   *
3   122.193.94.49   AS4837   [UNICOM-JS]      ** 江苏省 苏州市 常熟 chinaunicom.cn  联通
                                              4.51 ms / 6.44 ms / 4.51 ms
4   58.240.200.61   AS4837                    ** 江苏省 苏州市 姑苏 chinaunicom.cn  联通
                                              8.79 ms / 115.96 ms / * ms
5   219.158.111.85  AS4837   [CU169-BACKBONE] ** 北京市   chinaunicom.cn  联通
                                              25.61 ms / * ms / * ms
6   *
7   125.33.185.118  AS4808   [UNICOM-BJ]      ** 北京市   chinaunicom.cn  联通
                                              24.37 ms / * ms / * ms
8   61.49.143.2     AS4808                    ** 北京市   chinaunicom.cn  联通
                                              138.40 ms / * ms / * ms
9   *
10  *
11  *
12  *
13  223.6.6.6       AS45102  [ALISOFT]        **    alibabagroup.com
    public2.alidns.com                        29.20 ms / 28.67 ms / 29.14 ms
MapTrace URL: https://assets.nxtrace.org/tracemap/9b824c5d-028b-51e9-a513-b72c7a4af0a1.html

cmd nslookup显示主机名正常:

C:\Users\Administrator>nslookup
默认服务器:  smartdns
Address:  192.168.123.1

> 1.1.1.1
服务器:  smartdns
Address:  192.168.123.1

名称:    one.one.one.one
Address:  1.1.1.1

[Feature Request] 可以支持下GeoLite2 的mmdb本地库吗

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

Describe the solution you'd like 描述您想要的功能
感觉geolite2的库挺准的

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明

[BUG]

Describe the bug 描述你遇到的BUG
(如果您遇到了 websocket: bad handshake,请参考 #44

{"error":"Wrong request_id"}

RetToken failed 3 times, please try again after a while, exit

To Reproduce 复现方法

Screenshots (If applicable) 截图(如果有)

Uploading WX20240111-093841.png…

Environment 使用环境

  • OS 操作系统:Mac os sonoma14.2 ,cup:M2
  • Version 程序版本:

Additional context 补充说明

[Feature Request] Add more map provider

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明
Map Provider 地图数据源

Describe the solution you'd like 描述您想要的功能
Add more map provider (e.g. Bing Maps API) 添加更多地图源(例如Bing**** Maps API)

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明

错误

2023/11/20 17:24:01 dial: websocket: bad handshake
2023/11/20 17:24:02 dial: websocket: bad handshake
2023/11/20 17:24:03 dial: websocket: bad handshake
2023/11/20 17:24:04 dial: websocket: bad handshake
2023/11/20 17:24:04 dial: websocket: bad handshake
2023/11/20 17:24:07 dial: websocket: bad handshake
2023/11/20 17:24:07 dial: websocket: bad handshake
2023/11/20 17:24:08 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x94036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc0000b9980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

[BUG] 无法运行

Describe the bug 描述你遇到的BUG
运行后输入地址,直接闪退

To Reproduce 复现方法
运行后输入地址,只把ICMP改成TCP

Screenshots (If applicable) 截图(如果有)

Environment 使用环境

  • OS 操作系统:Ubuntu 22
  • Version 程序版本:1.2.3.0

Additional context 补充说明
日志:

Process terminated. A callback was made on a garbage collected delegate of type 'Eto.Gtk!Eto.GtkSharp.Forms.Controls.WebViewHandler+FinishScriptExecutionDelegate::Invoke'.
   at Eto.GtkSharp.Forms.ApplicationHandler.Run()
   at Eto.Forms.Application.Run(Eto.Forms.Form)
   at OpenTrace.Program.Main(System.String[])
已放弃 (核心已转储)

[Feature Request] 添加单独的IP信息查询功能

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

Describe the solution you'd like 描述您想要的功能
可以只查询IP信息而不进行路由追踪,查询IP和路由追踪这两个功能经常会一起用到。可以做一个单独的页面或者按钮。如果能软件做在后台监视剪切板查询就更是锦上添花了。

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明

[Feature Request] Enlarge the map window

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

Describe the solution you'd like 描述您想要的功能
In the initial state, the map and the tracking list each take up half of the entire window, but I would like the map to be a bit larger, allocating the window as 35% tracking list and 65% map, which would give a better visual tracking experience

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明
Like this
image

websocket: bad handshake 问题

如果您遇到了 websocket: bad handshake

此问题是 NextTrace 相关问题,
表示 NextTrace IP 地理位置 API 无法连接,可能是网络异常。

因为 NextTrace 默认使用的 LeoMoeAPI 是社区的免费项目,使用 CloudFlare 免费 CDN,连接性可能受地区运营商的影响。

建议把问题向上游 NextTrace 报告,也可以考虑在主界面右上角切换其他数据源或者在设置中配置本地数据源。

[Feature Request] Hard to find version in the program

Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明

Describe the solution you'd like 描述您想要的功能
Hope there will be a version or about page including version info in the program.

Describe alternatives you've considered (If applicable) 可能备选方案(如果有)

Additional context 补充说明

panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x5b052e]

report
2023/12/11 15:15:16 dial: websocket: bad handshake
2023/12/11 15:15:17 dial: websocket: bad handshake
2023/12/11 15:15:18 dial: websocket: bad handshake
2023/12/11 15:15:18 dial: websocket: bad handshake
2023/12/11 15:15:19 dial: websocket: bad handshake
2023/12/11 15:15:20 dial: websocket: bad handshake
2023/12/11 15:15:21 dial: websocket: bad handshake
2023/12/11 15:15:21 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x5b052e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc00007f978?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:186 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:357 +0x22b0
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf
2023/12/11 15:17:03 dial: websocket: bad handshake
2023/12/11 15:17:04 dial: websocket: bad handshake
2023/12/11 15:17:05 dial: websocket: bad handshake

www.futbin.com

2023/11/25 16:49:24 dial: websocket: bad handshake
2023/11/25 16:49:24 dial: websocket: bad handshake
2023/11/25 16:49:25 dial: websocket: bad handshake
2023/11/25 16:49:26 dial: websocket: bad handshake
2023/11/25 16:49:26 dial: websocket: bad handshake
2023/11/25 16:49:27 dial: websocket: bad handshake
2023/11/25 16:49:28 dial: websocket: bad handshake
2023/11/25 16:49:28 dial: websocket: bad handshake
2023/11/25 16:49:29 dial: websocket: bad handshake
2023/11/25 16:49:30 dial: websocket: bad handshake
2023/11/25 16:49:31 dial: websocket: bad handshake
2023/11/25 16:49:31 dial: websocket: bad handshake
2023/11/25 16:49:32 dial: websocket: bad handshake
2023/11/25 16:49:33 dial: websocket: bad handshake
2023/11/25 16:49:33 dial: websocket: bad handshake
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x9c036e]

goroutine 1 [running]:
github.com/gorilla/websocket.(*Conn).Close(0xc000671980?)
github.com/gorilla/[email protected]/conn.go:352 +0xe
github.com/nxtrace/NTrace-core/cmd.Excute.func1()
github.com/nxtrace/NTrace-core/cmd/cmd.go:178 +0x1b
github.com/nxtrace/NTrace-core/cmd.Excute()
github.com/nxtrace/NTrace-core/cmd/cmd.go:349 +0x2230
main.main()
github.com/nxtrace/NTrace-core/main.go:8 +0xf

[BUG] Unexpected string truncate in hostname

Describe the bug 描述你遇到的BUG
Unexpected hostname string truncate

To Reproduce 复现方法
When resolving iKuai default hostname 'iKuaiOS', the last letter 'S' was abandoned.

Screenshots (If applicable) 截图(如果有)
image

Environment 使用环境

  • OS 操作系统:Windows 10 22H2
  • Version 程序版本:1.3.0.1

Additional context 补充说明

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.