News for hackers. Stuff that matters.
Re:Libtorrent adds support for the WebTorrent protocol by lovasoa on Monday July 13, 2020 @11:14AM (#23821598)
When opening the javascript codepen demo linked in the article, the video plays immediately, but I noticed HTTP GET requests to https://webtorrent.io/torrents/Sintel/Sintel.mp4

Is this normal ? I know nothing about WebTorrent, but isn't the file supposed to be streamed from pairs, and not requested from a central server in an HTTP request ?

Re:Libtorrent adds support for the WebTorrent protocol by xd1936 on Monday July 13, 2020 @11:29AM (#23821789)
One of the Webseeds[1] specified in the Sintel torrent is that URL. That HTTP address basically acts as another peer in the swarm.

1. https://www.bittorrent.org/beps/bep_0019.html

Re:Libtorrent adds support for the WebTorrent protocol by techntoke on Monday July 13, 2020 @12:35PM (#23822646)
And leaks your IP address and makes it possible to pirate content for simply visiting a website. You could target someone with all kinds of illegal stuff.
Re:Libtorrent adds support for the WebTorrent protocol by anyhooo on Friday July 17, 2020 @09:38AM (#23870316)
It's already possible for a website to get your browser to download illegal content simply by visiting the page, and expose your IP in the process to whoever they want. You don't even need to use JavaScript to do the downloading (just a image or video tag, for example), and the uploading can be done with xmlhttprequest/fetch.