PDA

View Full Version : Anti-RIAA plugin


kripkenstein
November 3rd, 2006, 09:06 AM
Well, after some boring bugs (remembering which files to download didn't always work) and some neat items from the issues list (alpha channel on the network graph), I figured it was time to work on something even more fun.

So I started to work on the ARIAAAI plugin, which currently appears in svn. ARIAAAI stands for Anti-RIAA Artificial Intelligence (apologies for the name). The goal is to implement some strategies for detecting when a torrent is either fake or poisoned. The purpose of this thread is to discuss strategies related to this, and to get feedback on how well the plugin works.

Note: I suggest you activate the plugin in parallel with the PopupNotifier plugin, for convenience (and make sure the PopupNotifier is configured to show "Critical" messages, so set it to any level but "Fatal").

OK, the strategy I implemented to start things off is the one that I have personally found works most of the time: to check for suspicious frequencies of percentages. If a torrent has peers with percentages ranging randomly from 0 to 100, then all is probably well, but often in poisoned or fake torrents you see lots of people getting stuck at some particular value (often 99.7 or such, but also other ones; I saw 57 the other day). So currently the plugin checks for 10% or more of all peers having the same percentage. No idea if this will actually end up being useful, but who knows :)

So, as I said before, any comments on related ideas (I am sure people here have their own original methods of detecting fake torrents) are welcome. Also discussion of the strategy I explained, and results from testing it, are welcome.

mithras86
November 3rd, 2006, 02:56 PM
The first thing I thought when I read this: how would you detect when there are 3 peers and 1 seeder. The moment the seeder goes offline, after a while all the peers have the same percentage. It could be that the seeder will go back online, and the peers can complete their downloads.
So: the ARIAAAI plugin (http://gathering.tweakers.net/global/smileys/cry.gif http://gathering.tweakers.net/global/smileys/worshippy.gif) should only warn you, and nothing more.

But the strategy which will work fine should look like this I think:

Check whether >=10% has the same percentage (the 10% could be discussed)
Check whether these peers are missing all the same range of packets
The second part could be difficult, but then ARIAAAI is more secure. Because Deluge has atm no graph which blocks are downloaded and which not, I don't know if libtorrent support this. But it could be worth it. Although, the ARIAAAI plugin doesn't need that immediately, it could take a couple of versions.

But it'd be really a nice plugin!

Anonii
November 3rd, 2006, 03:00 PM
Relevant to my interests, but I cant help, because I'm lacking the programming skills.

mmcmonster
November 3rd, 2006, 03:31 PM
How about a distributed list of all IP addresses owned by RIAA members, with only trusted sources being able to add a new IP address on to the list.

kripkenstein
November 3rd, 2006, 04:49 PM
How about a distributed list of all IP addresses owned by RIAA members, with only trusted sources being able to add a new IP address on to the list.

That's similar to the idea behind PeerGuardian and the SafePeer plugin for Azureus. Something like this would be nice for Deluge, but when I tried to look into it the website had some DNS error... perhaps some other time.

buildid
November 11th, 2006, 03:45 PM
So currently the plugin checks for 10% or more of all peers having the same percentage. No idea if this will actually end up being useful, but who knows


how about using also some kind of timer , now the plugin check for 10% of peers with same percentage , also this same percentage must be the same for some time before the plugin give a warning ...

i know some site have an strategy to seed , seeder get ofline , all clients get 45%, then the seeder will get online and seed again , etc etc

i assume the fake plugin give lots of warnings with a strategy like that