From 2f1e086c7dd4d67ea52343ecf636ce35e11fe10f Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:58:27 +0800 Subject: [PATCH] =?UTF-8?q?update:=20FT=20mode=E5=A2=9E=E5=8A=A0=20CAN.CN2?= =?UTF-8?q?/CMIN2/CNC=20PEK.CN2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fast_trace/basic.go | 20 ++++++++++++++++++++ fast_trace/fast_trace.go | 13 +++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/fast_trace/basic.go b/fast_trace/basic.go index fd86a1ee..618c9db3 100644 --- a/fast_trace/basic.go +++ b/fast_trace/basic.go @@ -54,6 +54,11 @@ var Beijing = BackBoneCollection{ IPv6: "ipv6.pek-4134.endpoint.nxtrace.org.", }, + CTCN2: ISPCollection{ + ISPName: CTCN2, + IP: "ipv4.pek-4809.endpoint.nxtrace.org.", + }, + CU169: ISPCollection{ ISPName: CU169, IP: "ipv4.pek-4837.endpoint.nxtrace.org.", @@ -141,18 +146,33 @@ var Guangzhou = BackBoneCollection{ IPv6: "ipv6.can-4134.endpoint.nxtrace.org.", }, + CTCN2: ISPCollection{ + ISPName: CTCN2, + IP: "ipv4.can-4809.endpoint.nxtrace.org.", + }, + CU169: ISPCollection{ ISPName: CU169, IP: "ipv4.can-4837.endpoint.nxtrace.org.", IPv6: "ipv6.can-4837.endpoint.nxtrace.org.", }, + CU9929: ISPCollection{ + ISPName: CU9929, + IP: "ipv4.can-9929.endpoint.nxtrace.org.", + }, + CM: ISPCollection{ ISPName: CM, IP: "ipv4.can-9808.endpoint.nxtrace.org.", IPv6: "ipv6.can-9808.endpoint.nxtrace.org.", }, + CMIN2: ISPCollection{ + ISPName: CMIN2, + IP: "ipv4.can-58807.endpoint.nxtrace.org.", + }, + // 中山大学 EDU: ISPCollection{ ISPName: EDU, diff --git a/fast_trace/fast_trace.go b/fast_trace/fast_trace.go index 5824a468..eda5d6d0 100644 --- a/fast_trace/fast_trace.go +++ b/fast_trace/fast_trace.go @@ -35,7 +35,7 @@ type ParamsFastTrace struct { Timeout time.Duration File string DontFragment bool - Dot string + Dot string } type IpListElement struct { @@ -385,10 +385,12 @@ func (f *FastTracer) testAll() { func (f *FastTracer) testCT() { f.tracert(TestIPsCollection.Beijing.Location, TestIPsCollection.Beijing.CT163) + f.tracert(TestIPsCollection.Beijing.Location, TestIPsCollection.Beijing.CTCN2) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CT163) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CTCN2) - f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CT163) f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CT163) + f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CTCN2) + f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CT163) } func (f *FastTracer) testCU() { @@ -396,8 +398,10 @@ func (f *FastTracer) testCU() { f.tracert(TestIPsCollection.Beijing.Location, TestIPsCollection.Beijing.CU9929) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CU169) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CU9929) - f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CU169) f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CU169) + f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CU9929) + f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CU169) + } func (f *FastTracer) testCM() { @@ -405,8 +409,9 @@ func (f *FastTracer) testCM() { f.tracert(TestIPsCollection.Beijing.Location, TestIPsCollection.Beijing.CMIN2) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CM) f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CMIN2) - f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CM) f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CM) + f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CMIN2) + f.tracert(TestIPsCollection.Hangzhou.Location, TestIPsCollection.Hangzhou.CM) } func (f *FastTracer) testEDU() {