Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webseed leaks and causes 100s of GB of traffic #581

Closed
MPW1412 opened this issue Apr 13, 2013 · 14 comments
Closed

Webseed leaks and causes 100s of GB of traffic #581

MPW1412 opened this issue Apr 13, 2013 · 14 comments

Comments

@MPW1412
Copy link

MPW1412 commented Apr 13, 2013

Hello,

I noticed that there is a webseed download leak in V 3.1.0alpha. It happens quite often (around 1/20), that when I download a file via http-webseed, that qbittorrent has some hashing problems. It redownloads the same part again and again and causes lots of dropped traffic. In my case up to 50 or 60 GB sometimes until I noticed it and stoped it manually.

There should be two things fixed:

1.) If more than 100 or 200 MB of traffic for one torrent was droppend, eliminate the webseed. Just as it would happen with a torrent peer that uploads useless parts aswell.

2.) All the webseeds, that caused these problems, could be loaded perfectly via wget or any browser. After the download was completed, I could easyly import them with the torrent file to qbittorrent in order to seed them. So the torrent file was not corrupted either and there must be an issue around the validating of downloaded data via webseed.

Until 3.0 qbittorent did not have this leak!

Bye
MPW

@sledgehammer999
Copy link
Member

Does this behavior happen with the same torrent/webseed or does the same torrent/webseed sometimes work and sometimes not?

If it is the first can you link to such a problematic torrent/webseed?

@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

No, because deleting the torrent and the file from the harddisk always fixes the problem.

I guess the problem is, that qbittorrent does not drop the problematic part and recharges it - somehow. Because just deleting the torrent, but leaving the partial file on disk, does not fix it.

@sledgehammer999
Copy link
Member

Most probably this is a libtorrent problem. As far as I know qbt doesn't do anything fancy with the webseeds. This is handle by libtorrent.
Do you have any webseeded torrents for reference? I cannot find anything searching with google...

@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

I create them by myself. Guess I need to explain this: I use the onlinetvrecorder.com. You get your recordings as files and can download them via http oder torrent. But not all series have seeders, so I manually add the webseed-link to a torrent to become the initial seeder.

I created a litte example. Don't worry, as the onlinetvrecorder encrypts the files, it's absolutly legal. It's an episode of "Little House on the Prairie". I downloaded the torrent and inserted the http-webseed. But as it comes from a mirror, it will only be available for a few hours.Name: Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey
File: Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey.torrent

GENERAL

Name: Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey
Hash: 4e9ea4b762f9e4cd7b352a46b2bb9a68ac8122dd
Created by: libtorrent
Created on: Sun Apr 14 07:30:40 2013
Piece Count: 503
Piece Size: 1.00 MiB
Total Size: 527.3 MB
Privacy: Public torrent

TRACKERS

Tier #1
http://81.95.11.2:8080/announce

Tier #2
http://otr.dwolp.de/pt/announce

WEBSEEDS

http://s33.otr-download.de:80/dl-high-otr/170320f853626908c73afff3cdc72c63/516a808b/Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey

FILES

Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey (527.3 MB)

Link to the torrent-file: http://wwu.dyndns.info/privat/Unsere_kleine_Farm_13.04.14_04-45_kabel1_50_TVOON_DE.mpg.avi.otrkey.torrent

Try it out - but as I said: Most time it will work.

@cdumez
Copy link
Contributor

cdumez commented Apr 14, 2013

This issue would be better addressed at http://code.google.com/p/libtorrent/issues/entry as qBittorrent is just an GUI and does not handle BitTorrent networking.

@cdumez cdumez closed this as completed Apr 14, 2013
@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

So why is this bug only in V3.1.0alpha then? The libtorrent-rastabar6 wasn't updated by the repo, I think?

@cdumez
Copy link
Contributor

cdumez commented Apr 14, 2013

Your libtorrent version must have changed? In any case, qBittorrent does not handle communication with Web seeds so I cannot see how it would be responsible for such behavior.

@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

It's not in the repo, so why should it have changed?

Anyway, I reported it here: http://code.google.com/p/libtorrent/issues/detail?id=463

@sledgehammer999
Copy link
Member

@MPW1412 what version of libtorrent are you using? (help->about->libraries)
And also from where did you get that build?

@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

I have these ones installed, guess it's the first one:

dpkg -l |grep -i libtorrent
ii libtorrent-rasterbar6 0.15.10-1 C++ bittorrent library by Rasterbar Software
rc libtorrent13 0.12.7-6 C++ BitTorrent library by Rakshasa
ii libtorrent14 0.12.9-3 C++ BitTorrent library by Rakshasa
rc qbittorrent 3.1.x-04278-20130407precise1 bittorrent client based on libtorrent-rasterbar with a Qt4 GUI
ii qbittorrent-nox 3.1.x-04278-20130407precise1 bittorrent client based on libtorrent-rasterbar (without X support)
ii rtorrent 0.8.9-2 ncurses BitTorrent client based on LibTorrent from rakshasa

I think it's from ubuntu's repo.

@sledgehammer999
Copy link
Member

Just so you know, latest stable libtorrent-rasterbar version is 0.16.9 and not 0.15.10...

@MPW1412
Copy link
Author

MPW1412 commented Apr 14, 2013

Is there a repo for it somewhere?

For Ubuntu 12.04 I can just find repos with 15.x.

@Belove0
Copy link

Belove0 commented Apr 17, 2013

I don't run Ubuntu, but take a look here: http://packages.ubuntu.com/raring/libtorrent-rasterbar7 for just the library, or http://packages.ubuntu.com/source/raring/libtorrent-rasterbar for docs, python bindings, etc., too.
Above links are at version 0.16.7 as of today. Distros are usually a little behind. You can download the sources and build it yourself to get the latest when needed. http://www.rasterbar.com/products/libtorrent/building.html

@UrbanPotato
Copy link

lib torrent bug
update your copy of libttorrent to the latest svn
./close

@qbittorrent qbittorrent locked and limited conversation to collaborators Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants