Set up IP filtering in uTorrent and keep your ipfilter.dat up to date easily

The IPFilter Updater application now has its own page: http://www.davidmoore.info/ipfilter-updater/

uTorrent is one of the most popular BitTorrent clients out there. In my opinion it’s the best.

You can set up IP filtering in uTorrent to block bad seeds and peers from a list maintained by the community.

How to set up IP filtering in uTorrent

  1. Open up uTorrent and go to Options > Preferences from the menu or click the Preferences button in the toolbar
  2. Select the Advanced option in the tree
  3. Find ipfilter.enabled in the list and make sure it’s set to true
  4. Click OK

How to get and update the ipfilter.dat

I’ve written a simple program that will download the ipfilter.dat from SourceForge and copy it into the file where uTorrent expects it.

uTorrent IPFilter Updater [ Requires .NET 3.5 ]

UPDATED  26 Jan 2010: Now requires .NET 3.5, and allows mirror selection

  1. Extract the files to a folder, and run IPFilter.UI.exe
  2. Wait for it to download the mirrors, select the one you want, and click Go
  3. Once the file has downloaded and extracted, you can close the window

Enhancements

Done:

  • Download and extract zip file to speed up the download time and minimize the download usage
  • Allow selection of mirror you want to use

To Do:

  • Automation through command-line arguments, for scheduled tasks

Source Code: http://github.com/DavidMoore/IP-Filter-Updater/

How to get uTorrent to pick up the new ipfilter.dat

You have two options:

  1. You can simply exit and restart uTorrent to load theIPFilter or
  2. You can leave uTorrent open and reload the IPFilter by selecting the Peers tab, right clicking in the list and choosing Reload IPFilter. Annoyingly you need a selected torrent for this to work.

Looking in the Log should show a message similar to “Loaded ipfilter.dat xxxxxx entries)”

Because IP ranges and addresses change often, it’s a good idea to update your filter list often too.]]>

36 thoughts on “Set up IP filtering in uTorrent and keep your ipfilter.dat up to date easily

  1. Anonymous

    < ![CDATA[Great app, thank you very much indeed!

    Just what I've been looking for to prompt my migration away from over-bloated Vuse/Azureus. All set up now and getting the same speed as previously, at a fraction of the resources.

    If you don't mind my asking, how often will you be updating the list at your end?

    Many thanks again,

    Jon]]>

    Reply
    1. Anonymous

      < ![CDATA[Hi

      I don't maintain or update the list, it's taken from http://emulepawcio.sourceforge.net/nieuwe_site/ipfilter_fake_list.html which is regularly updated. I will be updating the app to let you configure where to get the updated list from, and support zip so you don't have to download a huge uncompressed text file.]]>

      Reply
  2. Anonymous

    < ![CDATA[I wrote a post a while back including a graphical view of installing ipfilter on uTorrent: http://blog.robertkania.com/2007/12/09/utorrent/]]>

    Reply
  3. Anonymous

    < ![CDATA[Oh and a quick note; I had to make a new txt file in the target dir and name it ipfilter.dat before this tool would write the downloaded file.]]>

    Reply
  4. Anonymous

    < ![CDATA[what about port settings in utorrent.I was told to put in anything above 7000 but dont know what to put there exactly.does anyone have some settings to share?]]>

    Reply
  5. Anonymous

    < ![CDATA[I have been playing with the Blocklist Manager to create my ipfilters.dat file. Do you know what format the file is in? Thanks! Nice program by the way as well. Thanks for sharing!]]>

    Reply
  6. Anonymous

    < ![CDATA[Thanks for creating this program. Is it possible to run this as a scheduled task? Are there any switches available to get around having to click the download button every time?]]>

    Reply
  7. Anonymous

    < ![CDATA[There are no command-line switches or scheduling built in yet. I do have a new version but it's not ready for release yet (maybe January)]]>

    Reply
  8. Anonymous

    < ![CDATA[So, I've read the quesions and comments. So, it seems to me that vuze dont need a ipfilter.dat. But utorrent do. Is that true.]]>

    Reply
  9. Anonymous

    < ![CDATA[So, how do you uninstall or get rid of this after you have run the update thing. I'm clueless when it comes to this stuff.]]>

    Reply
  10. Anonymous

    < ![CDATA[Sorry for the double post but I needed to add something. I just downloaded what was in the link and ran the update. It seems like since that it is causing more problems than it is helping.]]>

    Reply
  11. Anonymous

    < ![CDATA[If you want to turn this off, in uTorrent you can go Options > Advanced, find ipfilter.enable and set it to false. Then Apply. You might want to restart uTorrent for it.

    This utility program doesn’t install anything or run when you don’t tell it too (or stay running after you close it). It simply puts a file in certain place where uTorrent expects it, and uTorrent uses it.]]>

    Reply
  12. Anonymous

    < ![CDATA[Thanks for the program, great!
    It downloaded the list but when tried to write it down there was no file with that name on that location so it gave an error. I created a text file with noting in it, rename it as ipfilter.dat and then al was good, it did loaded into uTorrent. Maybe you can add that function to it for future.
    Windows7 x64 here.]]>

    Reply
  13. Anonymous

    < ![CDATA[Cool app dude! I really like the idea, especially since I can't run PG2 on my W7 x64 without doing forward somersaults and jumping through hoops! I really like the KISS approach, sometimes that is just the best way to do things. My only suggestion would be to make a version 'invisible' whereas a simple run of the program with no user input so it can be added as a scheduled task. I could use a program like this since I do IT work (no programming experience though..) to download certain apps (ie Combofix) which are updated daily and send them to a folder on my PC. Would you be willing to post the source files? (was this done in VB?)

    Before I go too far off topic, may I ask what (if any) difference using the ipfilter.dat in utorrent as compared to using PG2? Besides of course, the interface and autoupdate features....I'm only concerned about the functionality as far as blocking the 'harmful' ip's. Any thoughts?]]>

    Reply
  14. Anonymous

    < ![CDATA[@doug: I think so, I can find quite a few in there (you can open up ipfilter.dat in a text editor)

    @Mike: I can't find the original code for this app, though you have permission to decompile it with something like Reflector.

    When I post the next update, I will also post code (in fact I'm probably going to host this thing on one of the sites like GitHub, CodePlex or SourceFourge etc)]]>

    Reply
  15. Anonymous

    < ![CDATA[hey, does this filter out bad ppl like riaa/mpaa whatever evil peoples or just people who send bad data?]]>

    Reply
  16. Anonymous

    < ![CDATA[will i have to update this every once in a while (run the ui manually) or once i do it once, it auto updates when availalble?]]>

    Reply
    1. Anonymous

      < ![CDATA[@Jason and @doug: Yes for now you should run this manually, at least monthly. I will add in scheduling features in the next few weeks.]]>

      Reply
  17. Anonymous

    < ![CDATA[so im wondering whats going on here?
    Symantec: ver.20091.2.0.41 2010/03/11
    File infected: Suspicious.Insight

    http://www.virustotal.com/analisis/dc40ce61a5c49de5031d93107b574caf7864313a797713016f5cc82dea0b4d84-1268342035

    i downloaded this file directly off your download link.
    File size: 87808 bytes IPFilterUpdater.zip]]>

    Reply
    1. Anonymous

      < ![CDATA[@curious: The Suspicious.Insight warning from Symantec is more that a file is "unproven" rather than contains a virus or trojan so you can safely ignore this warning. More details on that here: http://www.symantec.com/connect/blogs/reputation-based-security-suspiciousinsight-detections-virus-total

      The zip file is an old link and you can get a newer, self-updating version of the updater from http://www.davidmoore.info/ipfilter-updater/ or clicking the IPFilter Updater link at the top of this page.]]>

      Reply
  18. Anonymous

    < ![CDATA[The ip filter list doesn't seem to be updated anymore...

    Last changelog is dated 2008 and last post on the forum thread dates Nov 2009.

    forum url taken from the URL you provided (http://emulepawcio.sourceforge.net/nieuwe_site/ipfilter_fake_list.html) http://forum.emule-project.net/index.php?showtopic=19247&st=0

    Any info ?]]>

    Reply
  19. Anonymous

    < ![CDATA[Updated filters can be found here:

    http://blocklistpro.com/download-center/ip-filters/

    and entered manually in the ipfilter.dat in the utorrent appdata folder.

    cheers]]>

    Reply
  20. Anonymous

    < ![CDATA[I don't think there's an easy way in uTorrent to see if IPs are being blocked; I may check this later. You can make sure that the ipfilter is being loaded though.

    While the forum threads and dates are old for the site links, the files themselves are still reasonably up to date, but I am working to support other sources such as BISS.]]>

    Reply
  21. Pingback: Anonymous

  22. Anonymous

    < ![CDATA[I use a win system so I dropped a link to the batch file in my startup folder. Updates every time I log in! No problems.]]>

    Reply
  23. Pingback: Anonymous

  24. Anonymous

    < ![CDATA[Such a confusing set of instructions. How about posting a simple set of instructions of what NEEDS to be done in order to maintain an updated list for non-tech people]]>

    Reply
  25. Anonymous

    < ![CDATA[Nice and useful app but the button is a bit confusing:
    changing from "Done" to "Go", I ended up downloading the filter a couple of times...
    Could it be changed to (close and) "Launch uTorrent" ?]]>

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>