The mechanism for primary STUN servers, is still intact, in case this gets retried with a different domain. ### Purpose As seen in [stun.syncthing.net doesn’t resolve anymore](https://forum.syncthing.net/t/stun-syncthing-net-doesnt-resolve-anymore/24075/2?u=marbens) on the forums, stun.syncthing.net has been shut down, so I think it's probably a good idea to remove it. ### Testing 1. Have two or more devices 2. Disable Relaying 3. Have no Internet ports open on either end for incoming connections trigger STUN) 4. Enable the `stun` debugging facility in the Actions -> Logs -> Debugging Facilities 5. Verify that it doesn't output something like this within a few seconds: ``` 2025-03-30 05:51:32 Enabled debug data for "stun" 2025-03-30 05:51:47 Starting stun for Stun@udp://[::]:22000 2025-03-30 05:51:47 Running stun for Stun@udp://[::]:22000 via stun.syncthing.net:3478 2025-03-30 05:51:47 Stun@udp://[::]:22000 stun addr resolution on stun.syncthing.net:3478: lookup stun.syncthing.net: no such host ``` --------- Co-authored-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
co-authored by
Jakob Borg
parent
0d6117d585
commit
e5b72da607
@@ -71,7 +71,8 @@ var (
|
||||
|
||||
// DefaultPrimaryStunServers are servers provided by us (to avoid causing the public servers burden)
|
||||
DefaultPrimaryStunServers = []string{
|
||||
"stun.syncthing.net:3478",
|
||||
// Discontinued because of misuse. See https://forum.syncthing.net/t/stun-server-misuse/23319
|
||||
//"stun.syncthing.net:3478",
|
||||
}
|
||||
DefaultSecondaryStunServers = []string{
|
||||
"stun.callwithus.com:3478",
|
||||
|
||||
Reference in New Issue
Block a user