Improve trackers list (#107)

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
Antonio Navarro Perez 2021-12-17 23:28:35 -08:00 committed by GitHub
parent b98a93f59f
commit 0966713b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 32 deletions

View file

@ -70,26 +70,12 @@ func DefaultConfig() *Root {
Name: "server", Name: "server",
Path: serverFolder, Path: serverFolder,
Trackers: []string{ Trackers: []string{
"wss://tracker.btorrent.xyz",
"wss://tracker.openwebtorrent.com",
"http://p4p.arenabg.com:1337/announce", "http://p4p.arenabg.com:1337/announce",
"udp://tracker.opentrackr.org:1337/announce", "udp://tracker.opentrackr.org:1337/announce",
"udp://9.rarbg.com:2810/announce",
"udp://open.tracker.cl:1337/announce", "udp://open.tracker.cl:1337/announce",
"udp://open.stealth.si:80/announce",
"udp://exodus.desync.com:6969/announce",
"http://openbittorrent.com:80/announce", "http://openbittorrent.com:80/announce",
"udp://www.torrent.eu.org:451/announce",
"udp://vibe.sleepyinternetfun.xyz:1738/announce",
"udp://udp-tracker.shittyurl.org:6969/announce",
"udp://tracker1.bt.moack.co.kr:80/announce",
"udp://tracker0.ufibox.com:6969/announce",
"udp://tracker.zerobytes.xyz:1337/announce",
"udp://tracker.torrent.eu.org:451/announce",
"udp://tracker.tiny-vps.com:6969/announce",
"udp://tracker.theoks.net:6969/announce",
"udp://tracker.pomf.se:80/announce",
"udp://tracker.moeking.me:6969/announce",
"udp://tracker.leech.ie:1337/announce",
"udp://tracker.altrosky.nl:6969/announce",
}, },
}, },
}, },

View file

@ -17,6 +17,9 @@ func TestMain(m *testing.M) {
cfg := torrent.NewDefaultClientConfig() cfg := torrent.NewDefaultClientConfig()
cfg.DataDir = os.TempDir() cfg.DataDir = os.TempDir()
// disable webseeds to avoid a panic when closing client on tests
cfg.DisableWebseeds = true
client, err := torrent.NewClient(cfg) client, err := torrent.NewClient(cfg)
if err != nil { if err != nil {
panic(err) panic(err)

View file

@ -94,23 +94,9 @@ servers:
# Trackers to be used to announce the served content. If tracker_url is set and it fails, # Trackers to be used to announce the served content. If tracker_url is set and it fails,
# this list will be used instead. # this list will be used instead.
trackers: trackers:
- "wss://tracker.btorrent.xyz"
- "wss://tracker.openwebtorrent.com"
- "http://p4p.arenabg.com:1337/announce" - "http://p4p.arenabg.com:1337/announce"
- "udp://tracker.opentrackr.org:1337/announce" - "udp://tracker.opentrackr.org:1337/announce"
- "udp://9.rarbg.com:2810/announce"
- "udp://open.tracker.cl:1337/announce" - "udp://open.tracker.cl:1337/announce"
- "udp://open.stealth.si:80/announce"
- "udp://exodus.desync.com:6969/announce"
- "http://openbittorrent.com:80/announce" - "http://openbittorrent.com:80/announce"
- "udp://www.torrent.eu.org:451/announce"
- "udp://vibe.sleepyinternetfun.xyz:1738/announce"
- "udp://udp-tracker.shittyurl.org:6969/announce"
- "udp://tracker1.bt.moack.co.kr:80/announce"
- "udp://tracker0.ufibox.com:6969/announce"
- "udp://tracker.zerobytes.xyz:1337/announce"
- "udp://tracker.torrent.eu.org:451/announce"
- "udp://tracker.tiny-vps.com:6969/announce"
- "udp://tracker.theoks.net:6969/announce"
- "udp://tracker.pomf.se:80/announce"
- "udp://tracker.moeking.me:6969/announce"
- "udp://tracker.leech.ie:1337/announce"
- "udp://tracker.altrosky.nl:6969/announce"