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

Closed
opened 2026-02-21 15:08:10 -05:00 by deekerman · 14 comments
Owner

Originally created by @MPW1412 on GitHub (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

Originally created by @MPW1412 on GitHub (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
Author
Owner

@sledgehammer999 commented on GitHub (Apr 13, 2013):

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?

@sledgehammer999 commented on GitHub (Apr 13, 2013): 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?
Author
Owner

@MPW1412 commented on GitHub (Apr 13, 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.

@MPW1412 commented on GitHub (Apr 13, 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.
Author
Owner

@sledgehammer999 commented on GitHub (Apr 13, 2013):

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...

@sledgehammer999 commented on GitHub (Apr 13, 2013): 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...
Author
Owner

@MPW1412 commented on GitHub (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.

@MPW1412 commented on GitHub (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.
Author
Owner

@cdumez commented on GitHub (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 commented on GitHub (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.
Author
Owner

@MPW1412 commented on GitHub (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?

@MPW1412 commented on GitHub (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?
Author
Owner

@cdumez commented on GitHub (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.

@cdumez commented on GitHub (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.
Author
Owner

@MPW1412 commented on GitHub (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

@MPW1412 commented on GitHub (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
Author
Owner

@sledgehammer999 commented on GitHub (Apr 14, 2013):

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

@sledgehammer999 commented on GitHub (Apr 14, 2013): @MPW1412 what version of libtorrent are you using? (help->about->libraries) And also from where did you get that build?
Author
Owner

@MPW1412 commented on GitHub (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.

@MPW1412 commented on GitHub (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-0~4278-20130407~precise1 bittorrent client based on libtorrent-rasterbar with a Qt4 GUI ii qbittorrent-nox 3.1.x-0~4278-20130407~precise1 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.
Author
Owner

@sledgehammer999 commented on GitHub (Apr 14, 2013):

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

@sledgehammer999 commented on GitHub (Apr 14, 2013): Just so you know, latest stable libtorrent-rasterbar version is 0.16.9 and not 0.15.10...
Author
Owner

@MPW1412 commented on GitHub (Apr 14, 2013):

Is there a repo for it somewhere?

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

@MPW1412 commented on GitHub (Apr 14, 2013): Is there a repo for it somewhere? For Ubuntu 12.04 I can just find repos with 15.x.
Author
Owner

@Belove0 commented on GitHub (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

@Belove0 commented on GitHub (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
Author
Owner

@UrbanPotato commented on GitHub (Jun 4, 2013):

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

@UrbanPotato commented on GitHub (Jun 4, 2013): lib torrent bug update your copy of libttorrent to the latest svn ./close
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#486
No description provided.