{"id":5200,"date":"2024-11-13T13:10:25","date_gmt":"2024-11-13T05:10:25","guid":{"rendered":"https:\/\/benson80.eu.org\/?p=5200"},"modified":"2024-11-14T12:46:51","modified_gmt":"2024-11-14T04:46:51","slug":"nexttrace-%e4%b8%80%e6%ac%be%e5%bc%80%e6%ba%90%e7%9a%84%e5%85%a8%e8%83%bd%e5%8f%af%e8%a7%86%e5%8c%96%e7%bd%91%e7%bb%9c%e8%b7%af%e7%94%b1%e8%bf%bd%e8%b8%aa%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/benson80.eu.org\/?p=5200","title":{"rendered":"NextTrace: \u4e00\u6b3e\u5f00\u6e90\u7684\u5168\u80fd\u53ef\u89c6\u5316\u7f51\u7edc\u8def\u7531\u8ffd\u8e2a\u5de5\u5177"},"content":{"rendered":"\n<p>\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/nxtrace\/NTrace-core\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/nxtrace\/NTrace-core<\/a><\/p>\n\n\n\n<p>NextTrace \u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u53ef\u89c6\u5316\u8def\u7531\u8ffd\u8e2a\u5de5\u5177\uff0c\u5b83\u4f7f\u7528 Go \u8bed\u8a00\u7f16\u5199\uff0c\u8ffd\u6c42\u8f7b\u91cf\u5316\uff0c\u5e76\u63d0\u4f9b\u4e86\u547d\u4ee4\u884c\u754c\u9762\u3002\u8fd9\u4e2a\u5de5\u5177\u80fd\u591f\u5c55\u793a\u6e05\u6670\u7684 TraceRoute \u8def\u7531\u4fe1\u606f\uff0c\u5e76\u4e14\u652f\u6301\u5730\u56fe\u53ef\u89c6\u5316\uff0c\u4f7f\u5f97\u8def\u7531\u8ffd\u8e2a\u7ed3\u679c\u4e00\u76ee\u4e86\u7136\u3002NextTrace \u652f\u6301 IPv4 \u548c IPv6\uff0c\u5e76\u4e14\u9ed8\u8ba4\u4f7f\u7528 ICMP \u534f\u8bae\u53d1\u8d77 TraceRoute \u8bf7\u6c42\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b89\u88c5 NextTrace\uff0c\u5305\u62ec Linux \u7684\u4e00\u952e\u5b89\u88c5\u811a\u672c\u3001macOS \u7684 brew \u5b89\u88c5\u547d\u4ee4\u7b49 \u3002<\/p>\n\n\n\n<p><strong>NextTrace \u7279\u70b9<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u591a\u534f\u8bae\u652f\u6301<\/strong>\uff1aNextTrace \u652f\u6301 ICMP\u3001TCP \u548c UDP \u534f\u8bae\u8fdb\u884c\u8def\u7531\u8ddf\u8e2a\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u4f7f\u7528\u8fd9\u4e9b\u534f\u8bae\u8fdb\u884c\u7f51\u7edc\u8def\u5f84\u63a2\u6d4b \u3002<\/li>\n\n\n\n<li><strong>IPv4 \u548c&nbsp;IPv6&nbsp;\u517c\u5bb9<\/strong>\uff1a\u8be5\u5de5\u5177\u4e0d\u4ec5\u652f\u6301 IPv4\uff0c\u8fd8\u517c\u5bb9 IPv6\uff0c\u751a\u81f3\u652f\u6301\u7eaf IPv6 \u7f51\u7edc\u73af\u5883 \u3002<\/li>\n\n\n\n<li><strong>\u5730\u7406\u4fe1\u606f\u6570\u636e\u5e93<\/strong>\uff1aNextTrace \u63d0\u4f9b\u57fa\u4e8e Geofeed \u548c\u793e\u533a\u8d21\u732e\u7684 GeoIP \u6570\u636e\u5e93\uff0c\u6709\u52a9\u4e8e\u66f4\u76f4\u89c2\u5730\u7406\u89e3\u8def\u7531\u8def\u5f84\u3002<\/li>\n\n\n\n<li><strong>\u8def\u7531\u53ef\u89c6\u5316<\/strong>\uff1aNextTrace \u53ef\u4ee5\u6839\u636e traceroute \u7ed3\u679c\u751f\u6210\u57fa\u4e8e webmap \u7684\u8def\u7531\u5730\u56fe\uff0c\u5e2e\u52a9\u7528\u6237\u66f4\u76f4\u89c2\u5730\u7406\u89e3\u7f51\u7edc\u8def\u5f84\u3002<\/li>\n\n\n\n<li><strong>BGP&nbsp;\u8def\u7531\u8868\u548c AS \u8def\u5f84\u6570\u636e<\/strong>\uff1a\u63d0\u4f9b\u57fa\u4e8e\u591a\u4e2a\u6570\u636e\u6e90\u7684 BGP \u8def\u7531\u8868\u548c AS \u8def\u5f84\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>IP\/ASN&nbsp;Whois&nbsp;\u4fe1\u606f<\/strong>\uff1a\u63d0\u4f9b IP \u6216 ASN \u7684 Whois \u4fe1\u606f\uff0c\u5305\u62ec AS \u540d\u79f0\u3001IP \u5730\u5740\u6240\u6709\u8005\/ISP \u7b49\u3002<\/li>\n\n\n\n<li><strong>DN42 \u7f51\u7edc\u652f\u6301<\/strong>\uff1a\u652f\u6301 DN42 \u7f51\u7edc\uff0c\u8fd9\u662f\u4e00\u4e2a\u5927\u578b\u7684\u7f51\u7edc\u5b66\u4e60\u6e38\u4e50\u573a\u3002<\/li>\n\n\n\n<li><strong>\u591a\u8bed\u8a00\u652f\u6301<\/strong>\uff1aNextTrace \u652f\u6301\u82f1\u8bed\u548c\u4e2d\u6587\uff0c\u672a\u6765\u8ba1\u5212\u652f\u6301\u66f4\u591a\u8bed\u8a00\u3002<\/li>\n\n\n\n<li><strong>\u9ad8\u7ea7\u529f\u80fd<\/strong>\uff1a\u652f\u6301 TTL \u63a7\u5236\u3001\u5e76\u53d1\u6570\u63a7\u5236\u3001\u6a21\u5f0f\u5207\u6362\u7b49\u9ad8\u7ea7\u529f\u80fd\uff0c\u4ee5\u53ca\u5feb\u901f\u6d4b\u8bd5\u548c\u6307\u5b9a\u7f51\u5361\u8fdb\u884c\u8def\u7531\u8ddf\u8e2a\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u81ea\u52a8\u5b89\u88c5<\/p>\n\n\n\n<p><strong>Linux\u4e00\u952e\u5b89\u88c5\u811a\u672c<\/strong><\/p>\n\n\n\n<p>curl nxtrace.org\/nt |bash<\/p>\n\n\n\n<p><strong>Termux \u5b89\u88c5\u547d\u4ee4<\/strong><\/p>\n\n\n\n<p>pkg install root-repo<\/p>\n\n\n\n<p>pkg install nexttrace-enhanced<\/p>\n\n\n\n<p><strong>Windows Scoop \u5b89\u88c5\u547d\u4ee4<\/strong><\/p>\n\n\n\n<p>scoop bucket add extras &amp;&amp; scoop install extras\/nexttrace<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"795\" src=\"https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-2.png\" alt=\"\" class=\"wp-image-5208\" srcset=\"https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-2.png 845w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-2-300x282.png 300w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-2-768x723.png 768w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-2-319x300.png 319w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/figure>\n\n\n\n<p>NextTrace\u4f7f\u7528ICMP\u534f\u8bae\u9ed8\u8ba4\u6267\u884c TraceRoute \u8bf7\u6c42\uff0c\u8be5\u534f\u8bae\u540c\u65f6IPv4\u652f\u6301IPv6<\/p>\n\n\n\n<p>\u5728\u6267\u884c\u5b8c\u540e\u4f1a\u7ed9\u51fa\u4e00\u4e2a\u53ef\u89c6\u5316\u663e\u793a\u7684\u5730\u5740\uff0c\u76f4\u63a5\u67e5\u770b\u6548\u679c\uff0c\u53c2\u8003\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"665\" height=\"485\" src=\"https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-3.png\" alt=\"\" class=\"wp-image-5210\" srcset=\"https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-3.png 665w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-3-300x219.png 300w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-3-411x300.png 411w, https:\/\/benson80.eu.org\/wp-content\/uploads\/2024\/11\/image-3-413x300.png 413w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/n &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[],"class_list":["post-5200","post","type-post","status-publish","format-standard","hentry","category-linux","category-windows"],"_links":{"self":[{"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/5200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5200"}],"version-history":[{"count":9,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/5200\/revisions"}],"predecessor-version":[{"id":5228,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/5200\/revisions\/5228"}],"wp:attachment":[{"href":"https:\/\/benson80.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benson80.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}