bittornado | cvs version from http : //www.bittornado.com with updates | Stream Processing library
kandi X-RAY | bittornado Summary
kandi X-RAY | bittornado Summary
bittornado - fork of cvs version from with updates for wxpython 2.9. ![main application screen] ![details screen] ![advanced screen] ![preferences screen] bittorrent is a tool for distributing files. it’s extremely easy to use - downloads are started by clicking on hyperlinks. whenever more than one person is downloading at once they send pieces of the file(s) to each other, thus relieving the central server’s bandwidth burden. even with many simultaneous downloads, the upload burden on the central server remains quite small, since each new downloader introduces new upload capacity. windows web browser support is added by running an installer. a prebuilt one is available, but instructions for building it yourself are in build.windows.txt. instructions for unix installation are in install.unix.txt. to start hosting -. 1) start running a tracker. first, you need a tracker. if you’re on a dynamic ip or otherwise unreliable connection, you should find someone else’s tracker and use that. otherwise, follow the rest of this step. trackers refer downloaders to each other. the load on the tracker is very small, so you only need one for all your files. to run a tracker, execute the command bttrack.py here is an example -. --dfile is where persistent information is kept on the tracker across
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Setup advanced Preferences
- Updates the status flag
- initialize connection parameters
- Test bdecode .
- Generate torrents from a directory
- The main function .
- Unpickles a piece of data .
- update the stats_response
- Called when a connection is received .
- Main function .
bittornado Key Features
bittornado Examples and Code Snippets
Community Discussions
Trending Discussions on bittornado
QUESTION
I'm at a loss. I am trying to set up a private tracker for a friend (to distribute his content). He has a VPS, so I thought I would just install opentracker and be done with it. However, I've encountered a problem, or rather a multitude of problems:
NB: in all that follows the trackers are open and do not contain whitelists or such. In all the cases the clients get the correct number of peers. In all the cases, one of the peers has the file the other tries to download it.
#############################################
[2 Peers on same LAN]
Situation 1: Tracker is on server external to LAN
- Public tracker (first google search) => hours of wait and nothing
- Self hosted tracker on VPS (tried peertracker, bittornado/bttrack, opentracker) => hours of wait and nothing except one time with opentracker when it spontaneously transmitted the file after some wait time.
Situation 2: Tracker is on server internal to LAN on a third computer:
- opentracker on a third PC on LAN => hours of wait and nothing
Situation 3: Tracker is on the seeding computer:
- bttrack (bittornado) on seeding computer => half an hour of wait and then spontaneously transmitted.
- opentracker on seeding computer => hours of wait and nothing
Situation 4: Tracker is on receiving computer:
- opentracker on receiving computer => hours of wait and nothing.
[2 Peers on different LANs]
- Situation 1: Tracker is on server external to both LANs
- Public tracker (first google search) => hours of wait and nothing
- Self hosted tracker on VPS (tried peertracker, bittornado/bttrack, opentracker) => hours of wait and nothing
#############################################
The clients used are Transmission and Ktorrent.
I tried dissecting the communication using Wireshark. The response to the GET request seems to vary randomly at different parts of the day for the same setup. Sometimes the peers12 contains nothing. Sometimes it contains something like \177\000\000\001 which is obviously not my IP. Sometimes it transforms into peers18 and contains someting weird. One time it just spontaneously started responding with peers6.
I tried placing the servers behind a reverse proxy and not. I've tried adding the IP to the request both in-client (activating the option to use it in opentracker) and in-nginx by rewriting the request. But when I tried it on the same LAN and it didn't work I realised that was not the problem.
To resume, from the clients' perspective, the amount of peers is right but it connects to none of them and the clients do not show them in the lists of peers. Sometimes though it starts to work spontaneously (2 times only on same LAN in more than 50 hours of testing). I think I'm missing something trivial here.
If anyone has any idea... please go ahead. I can setup the VPS as a playground for a bit so that I can try out any solutions anyone has.
...ANSWER
Answered 2020-Mar-20 at 19:40The problem appears to be with the main computer I used to run tests. Turning on uTP allowed local connections. However it did not allow me to seed to an outside computer. Another computer on the same LAN however had no problem doing that. So, the problem is client-side and non-reproducible on another computer it would seem.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bittornado
You can use bittornado like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page