Questions tagged [torrent]
If your question is related to the BitTorrent peer-to-peer filesharing protocol, use [bittorrent] instead
259
questions
-1
votes
0
answers
84
views
How to download a torrent file? node js [closed]
I used the node-torrent library.
But it gives the following error and does not download the file to the end.
When I clear this error, the downloading of the file stops, most likely another solution is ...
2
votes
0
answers
35
views
Torrent Trackers return port 0 in for peer in peer list
I've began writing a torrent application in Go, and I've now gotten to parsing the HTTP tracker response, however, after trying with several different torrents, each time I've gotten a valid IP ...
0
votes
1
answer
89
views
Why is my qbittorrent search plugin not supported?
I started to write a search plugin for qBitTorrent, to search through a torrent website.
I followed the instructions given in qbittorrent's wiki : https://github.com/qbittorrent/search-plugins/wiki/...
0
votes
1
answer
31
views
In Bittorrent how to announce utp port for other peers
I'm developing a torrent client in Dart, but while implementing utp socket I see no way to announce the utp port
looking at the specifications of the main peer discovery mechanisms bep0003 bep0005 I ...
0
votes
0
answers
46
views
UDP Tracker not sending any response
I am trying to implement a torrent client in golang using the UDP Tracker Protocol. I first open a UDP connection and send a connect message to the tracker but receive no response in return.
Here's ...
1
vote
2
answers
174
views
How to read the hash of a torrent file?
I'm trying to read the hash of a torrent file, so I'm using a simple program called torrenttools.
When I run this php file on my localhost:
<html>
<head>
<?php
ini_set('...
1
vote
0
answers
67
views
The real part that downloads data in github.com/anacrolix/torrent
Recently, I have been using this project(github.com/anacrolix/torrent). Specifically, it's a library. I use the cmd/torrent module in it to learn how this library works.
The command is like this:
cd ...
0
votes
1
answer
60
views
C++ Tracker NAT-PMP operation and other solutions
I created a torrent tracker as a hobby. The question would be how to solve the seed without manual port forward?
In general, everyone writes NAT-PMP and UPNP solutions. But upnp is not a very ...
-1
votes
1
answer
60
views
How to send a file to the ton storage provider?
I'm trying to send file to the ton storage provider
First I generated file, using storage-daemon-cli. Command like this:
new-contract-message <BagID> <file> --query-id 0 --provider <...
0
votes
1
answer
36
views
trying to understand the flow chart of the extended message protocol as mentioned in bep 10
I was reading bep 10 and I'm trying to fit the article to the packets I've captured.
essentially through what I understand a client (the initiator) would begin by sending a normal handshake message (...
0
votes
0
answers
75
views
How could I escape EMFILE: too many open files
I'm writing an application with electron js and webtorrent for downloading torrent files, and there while downloading appears an error that there is too many open files this error appears with large ...
0
votes
0
answers
62
views
How to connect to a tracker manually
I'm trying to download some torrent pieces manually.I have the tracker url. How can I connect to the tracker via python and obtain peer info.
I already created simple client using libtorrent. but my ...
0
votes
0
answers
115
views
Is there a way to make rtorrent write bytes "on-the-go" in the disk?
Hello stackoverflow users,
I am having a bit of trouble getting something to work.
What I want to accomplish?
I want to read bytes (and write them somewhere) while the file is downloading in rtorrent,...
1
vote
1
answer
54
views
How is a token value generated in mainline dht's get_peers query
I am reading bep 5 and trying to understand how a token value is generated. As I understand the token value is a randomly generated value that is used in a get_peers query for safety. This same token ...
0
votes
2
answers
233
views
How can I decode binary "pieces root" key in info metadata of a .torrent file in new BitTorrent v2?
In BitTorrent v2 there's pieces root key (string) which has root sha256 of a file encoded in binary form, in documentation there's written:
"pieces root" is the the root hash of a merkle ...
1
vote
2
answers
353
views
Creating and seeding a torrent in golang
I want to use the golang library https://github.com/anacrolix/torrent to create to torrent and get a magnet and seed the torrent. Below you can find the code I wrote. Yet, if I use the magnet the code ...
0
votes
2
answers
100
views
receiving unreadable text while trying to bencode a "find_node" query
Im using the bencodeNET trying to send a find_node query and receive an answer using a bootstrapping node.
it seems like the request works well and I do get a response on wireshark and c#. the ...
0
votes
2
answers
78
views
Does the length field in a peer TCP message includes the length of itself or just the length of every byte afterwards?
I work on a BitTorrent client and I now need to send messages to my peers (bitfield, interested, etc).
While parsing and building structs I need to include the first field which is len - the length of ...
0
votes
1
answer
130
views
How does the routing table work in mainline dht?
Initially this was a different question. But the questions I ended up answering which gave me a good idea of how everything works were:
How are buckets organized?- how does the range system work.
How ...
1
vote
0
answers
176
views
I want to send a magnet using transmission-remote in window
You could start downloading remotely from linux to
http://localhost:9091/transmission/web/
using the command in
transmission-remote 9091-nid:password -a {magnet}.
I want to do this on Windows as well.
...
-1
votes
1
answer
131
views
How do I fetch the metadata of a torrent using an Infohash?
I am assuming that after finding peers using that Infohash you send handshake messages until one peer establishes a connection. But I can't seem to find any packet in Wireshark that has the metadata ...
0
votes
1
answer
125
views
C#. Torrent client. Peer handshake. Strange peer responses
I'm developing my own torrent client(for self-improvement) and during the step of peer handshake I'm constantly retrieving "incorrect" responses like that one:
by specification(https://wiki....
1
vote
1
answer
154
views
How to perform a BitTorrent handshake given an infohash and it's peers?
I'd like to continue my last related thread in my attempt to understand and build a BitTorrent search engine. While listening the network for "get_peers" messages, I manage to grab ...
-1
votes
1
answer
342
views
How can i extract the name of the directory a given `.torrent` would create from the underlying bencode data?
What is the simplest way to parse bencode in python to get the directory name that a .torrent file produces?
.torrent files names and the directory names they produce are rarely if ever the same. I am ...
1
vote
1
answer
2k
views
How to download a torrent knowing only it's infohash and peers?
I've built a DHT crawler reading/using BEP 5 from the bittorrent standard. With it I can gather infohashes from torrents and query DHT nodes for peers. Thus said, having:
A torrent infohash.
Current ...
2
votes
1
answer
898
views
Is there a way to stream a torrent with web torrent to a video tag
This code is the code on their website that downloads torrents
const WebTorrent = require('webtorrent')
const client = new WebTorrent()
// Sintel, a free, Creative Commons movie
const torrentId = '...
0
votes
0
answers
235
views
Can i forward torrent packages from UDP/TCP peers to WebRTC peers using Webtorrent?
Webtorrent
Webtorrent-hybrid
WebTorrent uses TCP/UDP to talk to other torrent clients, but using webtorrent-hybrid it can connect to all type of peers including WebRTC.
My question is if it's possible ...
0
votes
0
answers
256
views
RTorrent help disabling tracker for target
I have a torrent of a Linux image saved in my home directory, I added it to rtorrent via:
rtorrent /home/echo/linux.iso.torrent
However, I keep getting the error:
tracker couldn't connect to server
...
-1
votes
1
answer
821
views
How to download magnet or torrent file in react native
Is there a way for downloading and saving torrent files in react native? I tried using react-native-torrent-streamer but it doesn't work anymore with the latest version of react native. So is there ...
0
votes
0
answers
329
views
How to use host machine local hard drive storage in minikube persistant volume
I have case with torrent client, where I need it to download files to /srv/downloads directory where /srv is my hard drive mount point. I know that minikube creates a vm for docker user, and only ...
0
votes
1
answer
583
views
I want to get the information of a torrent file in a desired format through python
I am writing code to parse tracker information in torrent file using python.
import bencoder
import sys
target = './'+sys.argv[1]
with open(target, 'rb') as torrent_file:
torrent = bencoder....
1
vote
1
answer
83
views
Simple perl script doesn't work with itorrents API (12 LINES)
yesterday i tried to code an example script with perl and itorrents api, i'm using the perl IDE Padre. Basically, this script sends data to a server (itorrents) here's the link of the api: itorrents....
0
votes
1
answer
90
views
Trying to get script working for Disk check and Deluge
I managed to get this script working earlier but then it stopped working and now I always get this error and the logs don't show any information the .log file is empty
My script was working fine until ...
1
vote
0
answers
499
views
Qbittorrent Api error: AttributeError: 'Client' object has no attribute 'download_from_link'
I'm trying to use the qbittorrent api to download links from magnet links, and I don't seem to remember running into this error before. Feels like it's a recent thing, because this section of my code ...
0
votes
2
answers
1k
views
Rust (Bittorrent): Failing at announcing, with response "Requested download is not authorized for use with this tracker"
I'm trying to find peers in the Bittorrent network, but I'm getting the response "Requested download is not authorized for use with this tracker". The torrent file I'm trying to download is &...
1
vote
1
answer
2k
views
MonoTorrent C# Downloading torrent
I'm creating a torrent application.I found a library called "MonoTorrent" which i decided to use.There is some problems this code below doesnt work.I think a lot of code are changed like ...
0
votes
1
answer
7k
views
Download file using requests python
I have a list of Url of files that open as Download Dialogue box with an option to save and open.
I'm using the python requests module to download the files. While using Python IDLE I'm able to ...
0
votes
0
answers
301
views
merge progress bar with transport (copy or move) codes in colab
can you tell me,how can i solve this runtime error?
i have a move file code in colab :
import shutil
import os
source_path="/content/colab_torrent_download/"
destination_path = "/...
0
votes
1
answer
57
views
Are PEX messages exchanged between 2 Seeds
I have a fair knowledge of BitTorrent protocol. One questions has been bugging me for a while.
Always a seeding client immediately disconnects from another seed. Got a couple of questions there.
Is ...
0
votes
2
answers
454
views
python-libtorrent torrent_info method
I've been using python-libtorrent to check what pieces belong to a file in a torrent containing multiple files.
I'm using the below code to iterate over the torrent file
info = libtorrent.torrent_info(...
0
votes
1
answer
106
views
Is there a way to pull the complete download path of the python libtorrent module?
I have tried using
myvar = handle.save_path
But when I try to call the variable, I get <bound method save_path of <libtorrent.torrent_handle object at 0x7f906d3e38d0>>
How do I call the ...
0
votes
1
answer
144
views
How to extract pieces info from a file using JS or node JS
As a part of my self-learning process, I am trying to write a program that creates a torrent from a file.
so I opened a torrent file. I got this info from it. I like to know what is the "pieces&...
0
votes
0
answers
369
views
UDP Tracker only gives me my ip as answer to announce request
I've recently been trying to create a torrent client in python, and have just got the UDP announce protocol to work.
The tracker accepts my connect request just fine but only returns my IP and port as ...
0
votes
1
answer
263
views
Why this is showing 1 File Download but saving 2 files in LibTorrent
I want to download torrent specific files from large torrent I have written this code but it is showing the download status of 1 file in the colab but there are two files in the drive after the ...
0
votes
1
answer
193
views
Implementing DHT got find_node responses but never got get_peers or announce_peers requests
I'm implementing the DHT protocol, and I have received many find_node responses from which I got new nodes. I put the nodes in the queue, send a find_node request to them too. I'm running my java ...
0
votes
1
answer
119
views
'private: true' and 'lsd: false' not recognised as valid torrent options, won't allow torrent to be converted to private. NodeJS | WebTorrent
What version of this package are you using?
[email protected]
[email protected]
What operating system, Node.js, and npm version?
OS: Linux Lite 5 (64 bit)
Node.js: 14.15.1
npm: 6.14.8
What ...
-2
votes
1
answer
3k
views
Most Seeded Torrent [closed]
What is currently the most seeded torrent in the world?
Is it even possible to accurately determine the most connected torrent ?
I suppose if you had access to every ISP's network and could filter out ...
0
votes
1
answer
2k
views
how can i download data into s3 using a torrent file
is it possible that i upload a torrent file in some web-app(may be angular) and then i link it to my aws s3 bucket.
after getting the torrent file, all the data inside that torrent is uploaded to my ...
0
votes
1
answer
1k
views
Download a torrent via python
I've searched all around the web on how to download torrent files via python.
The only thing I've managed to find was libtorrent, the problem with it, is that there is no clear documentation.
My ...
0
votes
1
answer
626
views
Peer not responding to Handshake Message in BitTorrent Protocol
I am sending a handshake to a peer. This is what the handshake looks like:
b'\x13BitTorrent Protocol\x00\x00\x00\x00\x00\x00\x00\x00\x08O\xae=J2\xc5g\x98Y\xafK\x9e\x8d\xbb\x7f`qcG\x08O\xff=J2\xc5g\...