commit 1b79962ca81e6d1db0c790b2d2d5e54a806148f4 Author: Shelikhoo xiaokangwang@outlook.com Date: Fri Nov 12 10:43:05 2021 +0000
Rename flag to nat-retest-seconds and retest daily by default
Adopted the change in according to the recommendation from
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowf...
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowf... --- proxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/main.go b/proxy/main.go index a8e56bb..baac52b 100644 --- a/proxy/main.go +++ b/proxy/main.go @@ -18,7 +18,7 @@ func main() { unsafeLogging := flag.Bool("unsafe-logging", false, "prevent logs from being scrubbed") keepLocalAddresses := flag.Bool("keep-local-addresses", false, "keep local LAN address ICE candidates") relayURL := flag.String("relay", sf.DefaultRelayURL, "websocket relay URL") - NATTypeMeasurementIntervalSecond := flag.Uint("nat-type-measurement-interval-second", 0, + NATTypeMeasurementIntervalSecond := flag.Uint("nat-retest-seconds", 86400, "the time interval in second before NAT type is retested, 0 disables retest")
flag.Parse()
tor-commits@lists.torproject.org