May 23 2006

IP filtering with uTorrent

  • Written by dubstylee
  • 32 Comments

If you’ve been using BitTorrent to download any of the more popular files, such as the latest episode of some major TV show, you may have found yourself receiving lots of “Wasted” data. This is data that has been discarded after being deemed corrupt or invalid by your BitTorrent client. Every so often, you will have received more wasted data than the size of the files you are downloading!

This is happening because Anti-P2P organizations are actively polluting P2P networks with fake peers, which send out fake or corrupt data in order to waste bandwidth and slow down file transfers. At its worst, when downloading major copyrighted torrents, as much as a fourth of the peers you are connected to can be attributed to various Anti-P2P agencies. There is also a much more serious side to this. Once you’ve established a connection to one of these fake “peers”, your IP has been logged and will most likely be sent to the RIAA/MPAA!

But there is a way to fight back! If you are using the latest µTorrent (1.5), you can employ a little known feature called IP filtering. The author of µTorrent has gone out of his way to hide it, but it’s there nonetheless. But before we can activate this filter, we need to retrieve a list of currently known Anti-P2P organization IPs.

This is most easily done by downloading the latest blacklist from Bluetack (the same people who wrote SafePeer for the Azureus BT client) at http://www.bluetack.co.uk/config/nipfilter.dat.gz. This list is updated daily, and contains all known Anti-P2P organizations, trackers and peers, aswell as all known Goverment/Military IP addresses as collected by the Bluetack team. Once downloaded, extract and rename the file to “ipfilter.dat” in preparation for the final step.

To make the list available to µTorrent, you need to put it in %AppData%uTorrent. So type this into the Address Bar, or click Start -> Run and type it there. After placing the ipfilter.dat in this folder, start µTorrent and go into preferences (Ctrl+P), then click on “Advanced”. In the right hand pane, make sure that “ipfilter.enable” is set to true, and then close the dialog. That’s it for the configuration.

You can verify that the list has been loaded by looking under the “Logging” tab of µTorrent, where you should see the line “Loaded ipfilter.dat (X entries)”.

Congratulations! You are now protected against most of the garbage-distributing peers; and the likelyhood of the RIAA or MPAA knocking at your door has been substantially reduced! I’d go as far as to say that you shouldn’t be using µTorrent at all without this feature turned on! And even if the law enforcement side of it doesn’t bother you, you should still be interested in reducing the amount of garbage data that gets sent your way, which in turn leads to quicker downloads, and isn’t that something everybody should strive for? ;)

Note: It’s advised that you update the list at least once a month, to keep you updated on the movement of the Anti-P2P organizations. One tool that will aid you getting these updates is the “Blocklist Manager” from the same people who made the list; go to http://www.bluetack.co.uk/ and download it. On a related note, this note from the µTorrent FAQ should come in handy: “To reload ipfilter.dat without restarting µTorrent, simply open the preferences (ctrl+p), and press enter to close it again.”

Related Posts

  1. Peerguardian blocks uTorrent.com
  2. uTorrent 1.5 Released
  3. uTorrent – A Beginner’s guide to BitTorrent downloading
  4. uTorrent 1.7 Stable is Released
  5. uTorrent exploit revealed
Zeropaid on Facebook

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Comments

  1. axlman

    Ok so how can we retrieve the list Anti-P2P organization IPs

  2. Greylin

    Follow the story link and read.

  3. MrGonzo

    I’ve done everything it said to do and the log of UTorrent doesn’t say the DAT file is loaded…HELP!

  4. Ne007

    Yeh..well…who cares if they get our IP addresses…they can’t sue a million people or more.

    This is the same thing as peerguardian from the looks of it.

    Utorrent should send out a list of banned IP address that are giving out bad data…then have a community banning protocol in place.

  5. Boomer The Dog

    I’ve never run into one of those bad seeds I’ve had at most a couple of megs wasted on a file and very rarely any ‘hashfails’.

    I could see the torrent program being set to put a session ban on any peer that gives out too many bad pieces then damage to the torrent would be limited. Snub them.

  6. phalkon30

    Azureus does this allready. In fact it warns you then blocks the IP’s that send you bad data. It keeps a running total at the bottom and allows you to easily clear it if you want. It also allows you to import IP’s from huge blocklists.

  7. Theinfamousone

    Yeah I’m sure more clients will start banning these morons that upload worthless data say 10MB?

  8. Theinfamousone

    What’s the MPAA/RIAA gonna do if you download a TV show anyway? Let’s just say I’m downloading a few episodes of Lost that are obviously recorded off “the air” with commercials cut out first of all the MPAA doesn’t care and they can’t sue you even if they did because they dont have copyrights to it maybe Fox or NBC or whoever but I’ve never heard of them worrying about an already aired TV show being dlownloaded so much that they are going to hire 4 million lawyers and start their own bot searches etc. etc. and try to upload fake data LOL. I can’t see that happening any time soon either.

  9. thepuzzler

    Even if it has aired in America thats not to say it has in the rest of the world. Fox / NBC / Whatever sell these shows to networks in other countries. If they’re freely available on the net then they’re value depreciates.

    “Lost” is a perfect example in the UK we’re on episode 4 I’m watching the second to last episode thanks to the yanks and as such don’t follow the series on UK TV.

    Less people watching means less ad revenue.

    It all comes down to money.

  10. DigitalJunkie

    @MrGonzo

    Go download the free Blocklist Manager from BlueTack use the converter tool included to export Generic – IP Range “Unpadded” List as ipfilter.dat. Once you have the ipfilter.dat & follow the instructions from the story’s link uTorrent would be able to use it! Have a safer computing experience! :)

  11. WRFan

    don’t forget to rename the file to ipfilter.dat! I totally forgot and was wondering why the hell the file is not loaded.
    this file really does it! I was trying to download 2 files for several days always getting bad chunks. then I added the ipfilter restarted utorrent and 2 minutes later the downloads finished! great!

  12. AbsolutePwn

    for some reason the link you provided just came up with the list of ip addresses nothing else. how do i download them?!

  13. Poe420

    Heres how to make it work since the instructions did not work for me first go to start–>Run type %AppData% then find utorrent folder put in ifilter.dat file go to utorrent set filter to false then exit utorrent open it back up and set ifilter value to true then it should work

  14. Zain101

    watch online tv channls and online movies Download movies

    http://masti101.net

  15. eminn3m

    the instructions say: “%AppData%uTorrent”
    it should be: “%AppData%uTorrent”

  16. eminn3m

    this site seems to take out the slash sign but there should be a backslash between %appdata% and utorrent

  17. basu

    hey guys eminn3m is wrong …the correct one is given below..cheers…

    %AppData%\uTorrent

  18. basu

    and there is nothing like http://www.bluetack.co.uk/config/nipfilter.dat.gz. as well..so how to get the list

  19. basu

    hey I am getting [2009-03-27 18:37:54] Loaded ipfilter.dat (0 entries)…howz going

  20. dr.karajlic

    Does this happen if you download torrents off of Frostwire?

  21. joe

    THE LINK DOESN’T WORK ANYMORE PLEASE GIVE US A REAL WORKING LINK!

  22. torstoy

    new place for the file mentioned: http://blocklistpro.com/download-center/start-download/p2p-ip-filters/1541-nipfilter.dat.gz.html

  23. TheParadox

    It is my strong opinion to NOT use uTorrent to filter your IPs. Its dumb to me for the following reasons:

    1) uTorrent is now owned by BitTorrent INC. BitTorrent also can not be trusted.

    2) Its NOT in BT’s interest to protect those that may or may NOT be infringing on copyrights. In fact, it wouldn’t surpise me if these clients start reporting people.

    3) uTorrent is now CLOSED source, so who knows what it may do behind our back. (i know — I’m paranoid). This is a big deal because of 1 & 2.

    Verdict: Based on 1 2 & 3, its no wonder its so difficult to setup a block list on uTorrent, and keeping it up to date is just as unfriendly too. This is even a bigger deal because having a list means nothing if it can take 3 seconds to get a new IP address… Staying CURRENT is everything!

    These corporate scumbags are organized… and while people say “they can’t sue 1 million people”, they certainly seem to try if you study up on some of these lawsuits — google around and see yourself.

    We need to stop this crap. Its not up to them to decided EVERYTHING we DL is a copyright infringement. We also need to be organized too. I’d like to point out blue tack… it’s the revolution in play to save us from these jerks.

    While blue tack provides us with good lists, we need something thats NOT corperate owned to in force this list!

    The answer is PeerGuardian2. I use peerguardian2 to filter out — 2,493,137,904 IPs — which are updated from blue tacks blacklist. so with a blacklist thats this big, i block nearly 60% of every available IP address on the net! This list can be updated by supplying a URL to the files location on the new, and every list gets updated at the click of a button. As a bonus, PG2 will filter out anything and everything else that may be connecting to these IPs (such as windows!) You also can enable/disable this list for HTTP traffic as well.

    Check out peer guardian2: http://phoenixlabs.org/pg2/
    get the lists: http://blocklistpro.com/

  24. TheParadox

    ok, my blocklist pro site doens’t work

    Just Google Bluetack — it should set up here: http://www.bluetack.co.uk/

  25. TheParadox

    Ok, one last rant:

    I just started uTorrent, and the second it started it tried to connect with a BitTorrent INC IP.(probably checking for updates)

    But you see my point.

  26. 1cooldude

    paradox, you read like an advertising dick. Peerguardian sucks and if you think it will protect your balls from being squeezed by RIAA and/or anyone who wants you, you’re gravely mistaken.

  27. IPREDator

    1cooldude u are correct.

    I have experienced being stung by AntiP2P group last month and my banned IP list did squat. While all my ISP could do was inform me that “I may or may not be involved in downloading copyright content” and block my IP Address for 1min, I thought it was time to look at new ways to stay off the radar. The pirate bay are launching IPREDator – so far this may be the best way to mask your IP address. Proxies are not enough. So google it and find out for yourself.

    BTW as I discovered ANTIP2P groups don’t need to worry about having their IP addresses on a ban list, all they have to do is connect to a torrent and logg IP addresses that connect to the torrent then send out emails to ur ISP. Ban lists only help to keep them out of ur box.

  28. ur a dik

    @Ne007
    are you dum they can get ur ip and sue ur parents u fucking dick and den ul be like mummy otherppl do it as wel, ul get a slap boi

  29. SOMERANDOMGUY

    Anyone having trouble downloading? New site name:

    http://blocklistpro.com/download-center/start-download/p2p-ip-filters/1541-nipfilter.dat.gz.html

    Yeah it’s %AppData%\uTorrent

    I STRONGLY recommend using this AND PeerGuardian2. Some of these people are half-right. PG2 is great, but doing both is even safer!

  30. moi

    how can I add an IP to the list? I use utorrent. thx.

  31. plex

    You’re all going to jail!

  32. path

    cd %AppData%\uTorrent

    This will take you to the path you need to be in to start a batch file, which you automate to have the most current and up to date version loaded into uTorrent.

    It works something like this -> copy and paste into a text editor such as notepad and save it with the “.BAT” file extension. A batch file can be run in Windows / OSX / Linux alike.

    @echo off
    if exist ipfilter.dat copy ipfilter.dat ipfilter.bak > nul
    if exist ipfilter.dat del ipfilter.dat
    wget.exe -r –tries=3 http://emulepawcio.sourceforge.net/ipfilter.dat -O ipfilter.dat

    I’ve saved as “IPFilterUpdate.bat” and have this scheduled to run every 24 hours. I’ve encountered a minor hiccup or two, such as the file might “sometimes” be non-existent, unfounded, smaller than expected and basically a load of old rubbish.

    Now your going to need the program “wget” installed, which is available in Chocolate, Strawberry, Linux, Unix, OS/X and Windaz flavors.

    Bonnnnn Appetite!

Trackbacks url:

Leave a Comment...

Giganews Newsgroups


1 Star2 Stars3 Stars4 Stars5 Stars
(1 votes, average: 3.00 out of 5)
Loading ... Loading ...

  • john o: would appreciate an invite to iptorrents as demonoid is still down. if i am lucky then Thank U. ...
  • Lethal: 1337x.org is owned by a two faced, retarded, 55 year old child molester named "Mustangx". He will promise you ...
  • malcolm hume: The times are getting shorter though, used to be forever before a video release and now it's a couple of months. So...
  • malcolm hume: The whole release schedule thing is annoying, but it helps them pay for the movies and minimize the risk. Most of the m...
  • malcolm hume: They're not trying to stop piracy altogether. They know there's a few people who will go to the trouble to do ...
  • malcolm hume: The other thing is, the basic system we have is Capitalist. Trying to change that by making artists conform to a seperat...
  • malcolm hume: Well, the first one is mob rule and I think if we go down that road we'll have a lot more probelms than not being a...
  • malcolm hume: Ummm, no? ...
  • sdsd