From 76e8e35e81fc3e2354257d4aaeff2c0ac237ae86 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Thu, 9 Apr 2020 23:33:24 +0800 Subject: [PATCH] Allow long traces for powerful traceroute binaries --- proxy/traceroute.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proxy/traceroute.go b/proxy/traceroute.go index 630f81e..5082216 100644 --- a/proxy/traceroute.go +++ b/proxy/traceroute.go @@ -96,8 +96,8 @@ func tracerouteRealHandler(useIPv6 bool, httpW http.ResponseWriter, httpR *http. "busybox", }, [][]string{ - {"-6", "-q1", "-N32", "-w1", query}, - {"-4", "-q1", "-N32", "-w1", query}, + {"-6", "-q1", "-N32", "-w1", "-m255", query}, + {"-4", "-q1", "-N32", "-w1", "-m255", query}, {"traceroute", "-6", "-q1", "-w1", query}, {"traceroute", "-4", "-q1", "-w1", query}, }, @@ -111,8 +111,8 @@ func tracerouteRealHandler(useIPv6 bool, httpW http.ResponseWriter, httpR *http. "busybox", }, [][]string{ - {"-4", "-q1", "-N32", "-w1", query}, - {"-6", "-q1", "-N32", "-w1", query}, + {"-4", "-q1", "-N32", "-w1", "-m255", query}, + {"-6", "-q1", "-N32", "-w1", "-m255", query}, {"traceroute", "-4", "-q1", "-w1", query}, {"traceroute", "-6", "-q1", "-w1", query}, },