Qbitorrent Banned

Bug #407991 reported by Quantum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Medium
Christophe Dumez

Bug Description

It seems that qbt is banned by TheBox, because it "Does not identify its version correctly."

http://thebox.bz/redir.php?url=http://thebox.bz/forums.php?action=viewtopic&topicid=2189

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Sorry it looks like I cannot access this website from China. It must be banned.

I don't know what they mean by "Does not identify its version correctly.". I'm pretty sure I do it right (there used to be a problem but it was a long time ago).

Anyway, qBittorrent has a feature to spoof Azureus, enabling it should fix the problem, right?

Revision history for this message
Quantum (quantumstate) wrote :

I'd rather be IDed as qbt, as Azureus may be banned by some ISPs. I'll try it though.

Revision history for this message
Shiki (shiki) wrote :

Sorry it looks like I cannot access this website from China. < Same here. Tried proxy also, some tunnel.. but no use. Tried almost all the EU countries.. Are you sure that we could see the forum with the link ? In my opinion you should make a screenshot, upload it somewhere, and give us that link.

Revision history for this message
Quantum (quantumstate) wrote :

Setting ID to Azureus still does not enable downloads, unfortunately.

thebox.bz is the tracker for certain British shows that are hard to find, so this is why they can disable a client.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Did you restart qBT after enabling the option? I was pretty sure I spoofed Azureus right. I'm spoofing an old version now (v2.5.0 iirc).

Are you compiling qBT yourself? I could patch the Azureus spoofer to spoof latest Vuze maybe so you can tell me if it works better.

Revision history for this message
Quantum (quantumstate) wrote :

I did restart it, and am running the svn. I'll try a new version if you'll make one.

Over on thebox they say that the link I gave you would not work if you're not signed up, and that others in China are able to reach them. http://thebox.bz/signup.php

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Well, This is good news that you're using SVN. I'll check in a patch so that you can test if it works better.

However, it will probably take a day or two because my hard disk just died. I'm in the process of replacing it and reinstalling my OSes (I'm running a live CD right now).

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. After signing up, I can read the forum post. Maybe qbittorrent was banned a long time ago (because at some time, it used to identify its version incorrectly) and they did not check ever since?
This surprises me.

Anyway, I was planning to update Azureus spoofing to latest Vuze in qBT v1.4.0 so I guess this will be a good way to test.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Could you please try the following patch and tell me the result?

Index: src/bittorrent.cpp
===================================================================
--- src/bittorrent.cpp (révision 2410)
+++ src/bittorrent.cpp (copie de travail)
@@ -62,7 +62,7 @@
   // Check if we should spoof azureus
   QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
   if(settings.value(QString::fromUtf8("AzureusSpoof"), false).toBool()) {
- s = new session(fingerprint("AZ", 3, 0, 5, 2), 0);
+ s = new session(fingerprint("UT", 1, 8, 3, 0), 0);
   } else {
     s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0), 0);
   }

Revision history for this message
Quantum (quantumstate) wrote :

Here's the thread where I've tried and tried to get them to work with you:
http://thebox.bz/forums.php?action=viewtopic&topicid=24346&page=last#332995

I must go to work, but I'll try the patch tomorrow.

Revision history for this message
Quantum (quantumstate) wrote :

Since I've made some changes qbt is not working anymore -- does not recover downloaded files, and puts them on pause.

Here's my system: I am running qbt in a VirtualBox VM with Debian Testing host and guest. (security reasons) Starting the VM as a dreadfully non-privileged user. I am sharing a certain directory of my normal user to the VM with permissions of the non-prived user, which is actually a symlink to another folder. This was working fine until I decided to change the location of the underlying folder (and modify the symlink). Nothing had changed from the perspective of qbt (symlink name was the same), but now it cannot quick resume any of the downloaded files. It thinks the disk is full. (console) That 1.8TB partition is only 25% full, and the root is 50%. Permissions are all fine. I don't understand how it knew I'd made the change, and why it's having trouble.

I did apply the patch, but at the same time as the above change. None of the torrents from thebox have shown any sign of life while spoofing as Vuze. ('trying' state) Either no one's sharing, or I'm not fooling anyone.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Well, I don't know about your other problem but I have just tested rc2 and it works with thebox.bz :)

The new spoof code does work, thebox.bz tracker is finally accepting the connection and sending me peers :) You probably have another problem. I don't know virtualbox at all.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → Medium
milestone: none → 1.4.0
status: New → Fix Released
Revision history for this message
Quantum (quantumstate) wrote :

I've found that problem now. I hadn't adjusted the location of the Shared Folder in VirtualBox, so the directory was not there. However qbt proceeded by just dumping all my requested torrents in the user's home directory without notifying me that the assigned download directory was missing... thus the virtual disk quickly filled up.

Fixed now, and trying again with thebox. How do I know whether I'm getting peers or tracking from thebox?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

In Seeds/Leechs column, you should have values into parenthesis (they are provided by the tracker). Not all trackers provide this information but I know thebox.bz does.

Also, if you open torrent properties window, and check the tracker list:
- The tracker url should be green.

If the tracker url is red, then the error message should appear on mouse over.

For me:
- Without spoofing:
* Red tracker URL: Connection timed out

- With spoofing:
* Green tracker URL
* I got Seeds/Leechers values in parenthesis from the tracker
* qBT is downloading pretty fast :)

Revision history for this message
Quantum (quantumstate) wrote :

I have 0 seeds/leechers for all thebox files, and in properties tracker is red. (timed out) I do have spoof turned on and the patch made.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Patch is no longer required since it is in SVN now (even in rc2 for that matter).

I don't know what to say except that I have just tried this one:
http://thebox.bz/details.php?id=29303

It works fine. I'll join screenshots as proof

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
Revision history for this message
Quantum (quantumstate) wrote :

I don't have any reason to doubt you Christophe.

Now with today's SVN trying to add that torrent URL, it says "unable to decode torrent file". I dl the torrent file and examine, and it seems OK from what I can tell. I don't know what's wrong.

And today I tried to create a torrent file, but when It had hashed it it said "Created torrent is invalid. It won't be added to download list." Maybe these errors are related? I'm using the stock Debian libtorrent (0.12.4+tit-1) with the SVN qbt.

Another question; I have zero entries in Blocked IPs, even though I have the cvs.suche.org URL set. Is that normal?

And is there any way to keep it from constantly minimizing to the tray when I change desktops?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

> Now with today's SVN trying to add that torrent URL, it says "unable to decode torrent file". I dl the torrent file and
> examine, and it seems OK from what I can tell. I don't know what's wrong.
I noticed that too with thebox.bz URLs, they are probably using some kind of redirection which causes troubles to libcurl for downloading the torrent file. Downloading the torrent, then adding it to qBT works (I set qBT to handle downloaded torrents in Firefox so it is ok for me).

> And today I tried to create a torrent file, but when It had hashed it it said "Created torrent is invalid. It won't be added
> to download list." Maybe these errors are related? I'm using the stock Debian libtorrent (0.12.4+tit-1) with the SVN qbt.
This is not related. Maybe you could help me reproduce the problem and I will see. I tested the tool recently and it was still working on my part.

> Another question; I have zero entries in Blocked IPs, even though I have the cvs.suche.org URL set. Is that normal?
Seems odd but not impossible. However, I may know the source of a problem, given your input. In qBT preferences, you can only set a local file path as IP filter. Setting an URL will not work although this would be a suitable feature request. So please download the file and set the path to it in qBT preferences.

> And is there any way to keep it from constantly minimizing to the tray when I change desktops?
This is due to a bug in Qt which I reported a long time ago. This issue still has not been addressed though. The only solution right now is to disable "Iconify on minimizing" feature in qBT preferences. The thing is Qt4 does not allow me to differentiate workspace switch for a simple minimization.

Revision history for this message
Quantum (quantumstate) wrote :

OK, downloading the torrent from thebox works, and I've downloaded the ip.filter.dat file to test.

I am able to create a .torrent for a 6MB file, however when I zip several 6MB files together and try to create a torrent it fails with the error. I've attached the torrent file it creates, in case this is any help.

And when I create it there doesn't seem to be any mechanism to offer it for upload? Only Start Seeding is in the creation, but what about when I have a torrent and source file and want to offer it for upload?

After 20 minutes Captain Pugwash's tracker is still red. Looks like it doesn't work for me either.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I don't know if there is something wrong with VirtualBox or something but you've got odd problems.

You torrent file works fine here... I see a single zip file in it, size: 126.1 MB.

Regarding the seeding of existing torrent files, this is pretty easy (and the same in all clients as far as I know). Simply add the torrent to qBittorrent and select the destination folder where there files are already present. qBittorrent will check the files and then seed them.

Revision history for this message
Quantum (quantumstate) wrote :

I see. It is creating the .torrent correctly, even if it fails the validation at the end. When I then add the .torrent it is able to validate the source file and offer it up. At last I can offer files. The only commonality I can find is in the size of the file; a 6MB file I can create and offer, but a 126MB file or larger fails.

Captain Pugwash is just not working, nor is anything else from thebox. I don't know what to do.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.