Giter Club home page Giter Club logo

Comments (4)

gubatron avatar gubatron commented on June 3, 2024 1

I believe we currently do something similar, can't remember at the moment when... I think when a new torrent is created but not tracked by DHT we add a list of default trackers

This is in TorrentUtil.java (desktop only)

    private static void makeTorrentAndDownload(final File file, final UITorrentMakerListener uiTorrentMakerListener, final boolean showShareTorrentDialog, boolean dhtTrackedOnly) {
        try {
            file_storage fs = new file_storage();
            libtorrent.add_files(fs, file.getAbsolutePath());
            create_torrent torrentCreator = new create_torrent(fs);
            if (!dhtTrackedOnly) {
                torrentCreator.add_tracker("udp://tracker.openbittorrent.com:80", 0);
                torrentCreator.add_tracker("udp://tracker.publicbt.com:80", 0);
                torrentCreator.add_tracker("udp://open.demonii.com:1337", 0);
                torrentCreator.add_tracker("udp://tracker.coppersurfer.tk:6969", 0);
                torrentCreator.add_tracker("udp://tracker.leechers-paradise.org:6969", 0);
                torrentCreator.add_tracker("udp://exodus.desync.com:6969", 0);
                torrentCreator.add_tracker("udp://tracker.pomf.se", 0);
            }

This list probably needs an update

from frostwire.

gubatron avatar gubatron commented on June 3, 2024

trackers_best:

udp://tracker.opentrackr.org:1337/announce

https://tracker2.ctix.cn:443/announce

https://tracker1.520.jp:443/announce

udp://opentracker.i2p.rocks:6969/announce

udp://tracker.openbittorrent.com:6969/announce

http://tracker.openbittorrent.com:80/announce

udp://open.demonii.com:1337/announce

udp://open.stealth.si:80/announce

udp://exodus.desync.com:6969/announce

udp://tracker.torrent.eu.org:451/announce

udp://tracker.moeking.me:6969/announce

udp://explodie.org:6969/announce

http://bt.endpot.com:80/announce

udp://tracker1.bt.moack.co.kr:80/announce

udp://movies.zsw.ca:6969/announce

udp://htz3.noho.st:6969/announce

https://tracker.tamersunion.org:443/announce

udp://v1046920.hosted-by-vdsina.ru:6969/announce

udp://uploads.gamecoast.net:6969/announce

udp://trackerb.jonaslsa.com:6969/announce

from frostwire.

gubatron avatar gubatron commented on June 3, 2024

it'd be cool if someone submitted a patch that would fetch the contents of trackers_best, made a String array with the tracker list, and saved it as a StringArraySetting in the BitTorrentSettings class, also the timestamp when this list was last fetched, we could try and refresh that list if the current list is older than 24 hours.

Then we can use that list when creating torrents, and we can then use that list to announce all torrents being downloaded/seeded to the latest list of best trackers.

from frostwire.

hollownights avatar hollownights commented on June 3, 2024

I believe we currently do something similar, can't remember at the moment when... I think when a new torrent is created but not tracked by DHT we add a list of default trackers

That's nice to know, but I think you may have that backwards. That list is to be added to torrent with no trackers, so, "only tracked" by DHT.

it'd be cool if someone submitted a patch that would fetch the contents of trackers_best, made a String array with the tracker list, and saved it as a StringArraySetting in the BitTorrentSettings class, also the timestamp when this list was last fetched, we could try and refresh that list if the current list is older than 24 hours.

Yeah, I wouldn't go down that route. That list works as a quick reference to what trackers are active right now, but it has problems, as there is even a tracker for I2P there. Plus, I am not even sure all those trackers work, as I couldn't get a response from all of them (but maybe is a geo/IP thing...),

EDIT: It seems like udp://opentracker.i2p.rocks:6969/announce is actually fine for BitTorrent.

from frostwire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.