├── .github
├── WinDivert.dll
├── WinDivert64.sys
├── ISSUE_TEMPLATE
│ ├── feature-request-功能请求.md
│ └── bug-report-错误报告.md
└── workflows
│ ├── build-macos.yml
│ ├── build-windows.yml
│ ├── build-linux.yml
│ └── build-release.yml
├── Assets
├── Icons
│ ├── Icon.icns
│ ├── icon.ico
│ └── icon.png
├── MapPages
│ └── openStreetMap.html
└── Scripts
│ ├── baiduMap.js
│ ├── googleMap.js
│ └── openStreetMap.js
├── opentrace.desktop
├── UI
├── Forms
│ ├── TextOutputForm.xeto
│ ├── TextOutputForm.xeto.cs
│ ├── ExceptionalOutputForm.xeto
│ └── ExceptionalOutputForm.xeto.cs
└── Dialogs
│ ├── PreferencesDialog.xeto.cs
│ └── PreferencesDialog.xeto
├── Models
├── TracerouteResult.cs
└── TracerouteHop.cs
├── traceroute.sln
├── readme_cn.md
├── Services
├── UpdateService.cs
├── IPDBLoader.cs
├── DnsResolverService.cs
├── PlatformService.cs
└── NextTraceWrapper.cs
├── readme.md
├── .gitattributes
├── OpenTrace.csproj
├── Infrastructure
└── UserSettings.cs
├── Program.cs
├── .gitignore
└── Properties
├── Resources.zh-TW.resx
├── Resources.zh-CN.resx
├── Resources.zh-HK.resx
└── Resources.es.resx
/.github/WinDivert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Archeb/opentrace/HEAD/.github/WinDivert.dll
--------------------------------------------------------------------------------
/.github/WinDivert64.sys:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Archeb/opentrace/HEAD/.github/WinDivert64.sys
--------------------------------------------------------------------------------
/Assets/Icons/Icon.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Archeb/opentrace/HEAD/Assets/Icons/Icon.icns
--------------------------------------------------------------------------------
/Assets/Icons/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Archeb/opentrace/HEAD/Assets/Icons/icon.ico
--------------------------------------------------------------------------------
/Assets/Icons/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Archeb/opentrace/HEAD/Assets/Icons/icon.png
--------------------------------------------------------------------------------
/opentrace.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Name=OpenTrace
3 | Exec=opentrace
4 | Icon=opentrace
5 | Type=Application
6 | Categories=Network;
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature-request-功能请求.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request 功能请求
3 | about: Suggest an idea for this project
4 | title: "[Feature Request] "
5 | labels: enhancement
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe. 您所请求的功能是否和某个问题有关?如果有,请说明**
11 |
12 |
13 | **Describe the solution you'd like 描述您想要的功能**
14 |
15 |
16 | **Describe alternatives you've considered (If applicable) 可能备选方案(如果有)**
17 |
18 |
19 | **Additional context 补充说明**
20 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug-report-错误报告.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report 错误报告
3 | about: Create a report to help us improve
4 | title: "[BUG] "
5 | labels: bug
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug 描述你遇到的BUG**
11 | (如果您遇到了 websocket: bad handshake,请[参考这里](https://www.github.com/Archeb/opentrace/issues/44))
12 |
13 |
14 | **To Reproduce 复现方法**
15 |
16 |
17 | **Screenshots (If applicable) 截图(如果有)**
18 |
19 |
20 | **Environment 使用环境**
21 | - OS 操作系统:
22 | - Version 程序版本:
23 |
24 | **Additional context 补充说明**
25 |
--------------------------------------------------------------------------------
/UI/Forms/TextOutputForm.xeto:
--------------------------------------------------------------------------------
1 |
2 |
3 |
29 |
--------------------------------------------------------------------------------
/Models/TracerouteResult.cs:
--------------------------------------------------------------------------------
1 | namespace OpenTrace.Models
2 | {
3 | class TracerouteResult
4 | {
5 | public TracerouteResult(string no, string ip, string time, string geolocation, string ASNumber, string hostname, string organization, string latitude, string longitude)
6 | {
7 | No = no;
8 | IP = ip;
9 | Time = time;
10 | Geolocation = geolocation;
11 | AS = ASNumber;
12 | Hostname = hostname;
13 | Organization = organization;
14 | Latitude = latitude;
15 | Longitude = longitude;
16 | }
17 | public string No { get; set; }
18 | public string IP { get; set; }
19 | public string Time { get; set; }
20 | public string Geolocation { get; set; }
21 | public string AS { get; set; }
22 | public string Hostname { get; set; }
23 | public string Organization { get; set; }
24 | public string Latitude { get; set; }
25 | public string Longitude { get; set; }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/UI/Forms/TextOutputForm.xeto.cs:
--------------------------------------------------------------------------------
1 | using Eto.Forms;
2 | using Eto.Serialization.Xaml;
3 | using System;
4 | using System.ComponentModel;
5 | using System.Diagnostics;
6 |
7 | namespace OpenTrace.UI.Forms
8 | {
9 | public partial class TextOutputForm : Form
10 | {
11 | private TextArea OutputContainer;
12 | public TextOutputForm()
13 | {
14 | XamlReader.Load(this);
15 | OutputContainer = this.FindChild