News for hackers. Stuff that matters.
Re:Magnet link generator by JeremyBanks on Saturday February 23, 2019 @01:12PM (#19234617)
I suggest including a few of the largest open trackers by default. You'll have a high hit rate for semi-popular torrents, and they can be faster than waiting for a cold DHT lookup in most clients. It's a minor decrease in privacy, but the BitTorrent network isn't really eavesdropping-resistant in the first place.

I wish IPFS had finished their BitTorrent support so we could use their standard gateway paths instead. The prefix https://ipfs.io/ipfs/f017b1114 should identify a hex-encoded BitTorrent infohash, letting us use a full URL like https://ipfs.io/ipfs/f017b111464d052f755e01d1c947848ad3d2218... through any IPFS gateway, which would resolve the content using a combination of IPFS' own network and BitTorrent with its DHT, but the implementation was never completed.

Re:Magnet link generator by tengio on Saturday February 23, 2019 @01:20PM (#19234658)
Good point. Is there any place where to get an updated list of trackers?
Re:Magnet link generator by CorralPeltzer on Saturday February 23, 2019 @03:57PM (#19235427)
Re:Magnet link generator by itdaniher on Saturday February 23, 2019 @04:04PM (#19235461)
This is great! Thanks for the recommendation.
Re:Magnet link generator by crtasm on Sunday February 24, 2019 @06:42AM (#19238194)
But don't add all 54 on a magnet/torrent, two should be enough, maybe four at most.
Re:Magnet link generator by DavideNL on Saturday February 23, 2019 @05:17PM (#19235795)
Re:Magnet link generator by sp332 on Saturday February 23, 2019 @03:17PM (#19235248)
I haven't used trackers in years. Have you noticed a "cold DHT lookup" taking a long time recently?
Re:Magnet link generator by itdaniher on Saturday February 23, 2019 @03:55PM (#19235414)
I don't understand why, but I believe I've observed similar. Possible hypotheses include:

DHT Sybil attack? Hash ring bloat? Bad peers distributing exclusively irrelevant content?

Wonder if this is a common observation, and if so, what kind of research might elucidate the underlying change.

Re:Magnet link generator by qwerty456127 on Saturday February 23, 2019 @04:45PM (#19235654)
In qBitTorrent you can juct click "Open URL" and paste the hash itself without any magnet URI boilerplate and it will understand.
Re:Magnet link generator by dmos62 on Sunday February 24, 2019 @03:28PM (#19240438)
I'll use the occassion to recommend Tixati [0]. I've gone through many BT clients, sometimes coming back to them multiple times, and Tixati is definitely my favourite. Disk usage, features, configurability, project's activity are all great. The only semi-weird thing is that while it's free and without adware or ads, it's also a closed-source one-man show.

[0] https://www.tixati.com/

Re:Magnet link generator by riffraff on Saturday February 23, 2019 @03:33PM (#19235312)
> Magnet links are an alternative way to download and share bittorrent files

but magnet URIs are not torrent specific, are they?

I'm fairly sure I'd used them in some other p2p apps years ago.

AFAIR, they are just content identifiers, and could work with any content-addressable system that wanted to support them (IPFS, Gnutella or whatever).

Re:Magnet link generator by JeremyBanks on Saturday February 23, 2019 @04:18PM (#19235531)
The way BitTorrent uses magnet URLs isn't quite semantically consistent with the way other P2P networks have used them. They probably should have just picked a different scheme.
Re:Magnet link generator by LeoPanthera on Saturday February 23, 2019 @09:18PM (#19236740)
Is it possible to create a magnet link for a file you know a SHA-1/256 hash for? It's my understanding that the hash used in magnets is not the same.
Re:Magnet link generator by jondumbau on Saturday February 23, 2019 @09:22PM (#19236755)
No. You need to match all the metadata in the info part of the torrent file, the final hash is a hash of that info dictionary. The fields you lack are largely name and piece size, but without the original file you cannot create the hash of each correctly sized piece. If you have the constituent file (not just it's sha1) you could eventually get it by trying common piece sizes and knowing its name.

*Edit, I overlooked somethkng.

Re:Magnet link generator by Jerry2 on Sunday February 24, 2019 @02:49AM (#19237623)
How does the torrent client find peers from magnet links if a magnet link doesn't have a tracker listed?

I've come across magnet links in the past and the torrent client would just find some peers... it was like magic.

Re:Magnet link generator by jchw on Sunday February 24, 2019 @03:01AM (#19237645)
I believe that ultimately happens via DHT bootstrapping, where your client finds peers to join the DHT via a bootstrapping server that provides nodes, then DHT lookups are used from that point forward.
Re:Magnet link generator by anarcat on Saturday February 23, 2019 @02:02PM (#19234918)
my experience with magnet links is that they are unpredictably slow: sometimes it works almost instantaneously, sometimes it takes literally forever to fetch the peers and the transfer never completes. busiest torrents will of course propagate better...

I was hoping I could transfer semi-public files (say some music with a friend) without putting them on the public trackers, but my tests with different clients were not conclusive, so those really only make sense for busy, wide-distribution torrents and not one-to-a-few transfers, for which things like magic-wormhole are a better alternative.

Re:Magnet link generator by jondumbau on Saturday February 23, 2019 @09:23PM (#19236761)
The DHT performs poorly for unpopular hashes, cold starts and with poorly configured networking. Particularly the last point, an open udp port is required for best results.
Re:Magnet link generator by toomuchtodo on Saturday February 23, 2019 @02:14PM (#19234979)
You might consider syncthing [1] for a private file sharing solution between friends.

[1] https://syncthing.net/

Re:Magnet link generator by AnaniasAnanas on Saturday February 23, 2019 @02:48PM (#19235129)
Wouldn't the issue be solved if you added a tracker to it?
Re:Magnet link generator by anarcat on Monday February 25, 2019 @10:17AM (#19246180)
yes it would, but then it's not semi-private and if there's a tracker, why do you need magnet links in the first place?
Re:Magnet link generator by qwerty456127 on Saturday February 23, 2019 @04:48PM (#19235668)
You could also try OnionShare
Re:Magnet link generator by Meph504 on Saturday February 23, 2019 @09:23PM (#19236759)
"Copy and past"...