News for hackers. Stuff that matters.
Re:I Know What You Download on BitTorrent by Arnavion on Monday July 13, 2020 @06:21PM (#23826227)
Use your client to create a .torrent. Send the .torrent over. Other party adds your IP as a seed. No trackers or DHT required.
Re:I Know What You Download on BitTorrent by StavrosK on Monday July 13, 2020 @07:27PM (#23826844)
Unfortunately, I've never managed to get this to work, even though the two computers have open ports and can connect to each other via nc/telnet. The other peer m just never starts downloading when I seed the file.

BitTorrent is a fantastic way to transfer files, except for this one hitch I keep hitting.

Re:I Know What You Download on BitTorrent by a1369209993 on Monday July 13, 2020 @10:11PM (#23827809)
The workaround I usually use when that happens is to pick a existing torrent that you added from a magnet link, then have the other end add the same magnet link, which downloads the magnet-linked file and then (IIUC) finds your source computer via PEX. YMMV; it's worked something like four times out of four for me, but it's a bit cargo-cult.
Re:I Know What You Download on BitTorrent by efreak on Tuesday July 14, 2020 @03:32AM (#23829441)
If your client/libtorrent hates you enough, it won't work with local peers regardless of settings, and two instances of the same version number of the same software will fail to communicate with each other despite the embedded tracker being accessible from the browser.

I wanted to about 2tb of data, mostly torrents, over a wlan from my NAS, and kept getting dropped packets. Eventually I gave up on smb and ftp, and set up opentracker (a simple download and build, with iirc two config options) on my windows desktop under WSL, and swapped the tracker to a local address; after this, it worked perfectly.

Re:I Know What You Download on BitTorrent by inopinatus on Tuesday July 14, 2020 @07:14PM (#23839260)
Many, many years ago I used to build distributed content delivery infrastructure for K-12 education systems, state and national.

I remember one customer (a state department of education) in particular had a server at each school with reasonable private bandwidth but unreliable routing and dismal internet connectivity, so we used the BitTorrent protocol for eventually-consistent asset distribution between their sites.

See also: using NNTP as your pub/sub message bus.

Re:I Know What You Download on BitTorrent by toxik on Monday July 13, 2020 @06:29PM (#23826312)
Can’t you just scp it at that point?
Re:I Know What You Download on BitTorrent by gpm on Monday July 13, 2020 @06:37PM (#23826400)
Hypothesizing - that would be more prone to network failure, torrents are very robust against either peer temporarily losing an internet connection.
Re:I Know What You Download on BitTorrent by Bnshsysjab on Monday July 13, 2020 @06:55PM (#23826576)
Iirc SCP supports resuming transfers. Granted torrent architecture is very robust, but I’ve never had a problem with the way scp resumes work.
Re:I Know What You Download on BitTorrent by wccrawford on Tuesday July 14, 2020 @06:35AM (#23830341)
To resume, someone would have to notice the failure and start it again. If this happens every few minutes, it's effectively impossible. Even once an hour means their overnight transfer is impossible with scp.
Re:I Know What You Download on BitTorrent by xorcist on Tuesday July 14, 2020 @05:36AM (#23830032)
Always use rsync. It's almost drop in compatible with scp, you could probably alias it for most uses, but it's more robust against failures and has more features.
Re:I Know What You Download on BitTorrent by toxik on Monday July 13, 2020 @06:44PM (#23826457)
That’s actually a good point, and it’d be real easy to spread to a third person were it necessary
Re:I Know What You Download on BitTorrent by hatsunearu on Tuesday July 14, 2020 @02:11AM (#23829049)
scp is terrible over links with low bandwidth and/or high ping.