Jump to content

Automatic ipfilter.dat updater


Recommended Posts

uTorrent ipfilter.dat updater 1.02

by Requi3m

Email: requi3m(at)requi3m.net



This program automatically downloads the peerguardian level1.txt file and converts it into an ipfilter.dat file that utorrent can read. I've also included the Visual Basic 6 source code so that you can modify the program yourself.

It works on win9x, XP, 2003, and probably vista, however it has not been tested on vista. It requires nothing other than msvbvm60.dll. Let me know if it doesn't work on your OS. Also, if you find any bugs please contact me using my email above so that I may correct them.


Put "ipfilter.dat updater.exe" and "7za.exe" in your utorrent folder (or whatever folder you want the program to run from.) If you want, you can also create a shortcut to "ipfilter.dat updater.exe" on your desktop for easy access later.


First make sure uTorrent is setup to use the ipfilter. Open uTorrent and go to "Options > Preferences > Advanced > Advanced options > ipfilter.enabled" and set it to "true"

Then just run "ipfilter.dat updater.exe" and click the button "Update ipfilter.dat!". The program will do the rest for you. Make sure to restart uTorrent afterwards.


If there's enough interest I could create a version that runs in the background and updates the file every so often. Post any questions/comments here.

Link to comment
Share on other sites

My server was down for a while today. Sorry about that. It's back up now.

You do know that ut doesn't auto-reload the ipfilter, right?

I'm pretty sure uTorrent does automatically reload the ip filter. Whenever I replace the file, if I go to the logging tab it says xxxxxx entries loaded.

edit: I've noticed peerguardian's mirrors have been having a lot of problems lately. You might get errors when you try to download level1.txt. Just keep trying or increase the number of times it retries the download.

Link to comment
Share on other sites

  • 3 weeks later...

I'm pretty sure uTorrent does automatically reload the ip filter

It doesn't; auto-reloading has never been implemented. I just tested to confirm, and it never reloaded until I manually selected the relevant item in the Peers list context menu.

Ultima is right, though this has been changed in the latest alpha build. Something can trigger the re-load but I haven't figured out what. Also you want to check out Ultima's manual (µManual in my signature). It has a wealth of knowledge.. and it looks cool.

Link to comment
Share on other sites

  • 2 months later...

It seems to work up to a point. I'm using on Windows Server 2003.

Run-time error '53'

File not found.

The error box appears after:

Successfully created ipfilter.dat (6034961 bytes)

There is no ipfilter.dat file after I click okay.

The level1.txt file is intact.

Link to comment
Share on other sites

  • 1 month later...

I guess they changed the archive so that it extracts to level1 instead of level1.txt. I just fixed it in version 1.02.

Firon why do you think they are worthless? I've never had a problem from using them. I don't know if I would have had a problem had I not used them, but I'd rather be safe than sorry.

Link to comment
Share on other sites

An article in which the effectiveness of blocklists was tested, states that of the Media Defender IPA's leaked, very few were in the sample taken from blocklists, coupled with the fact that IPA's change, makes using blocklists a game of cat and mouse, in which we are on the loosing side. Coupled with the fact that Bluetack blocks legitimate sites including a couple anti-virus update servers, makes them quite ineffective. The people at Bluetack can't be trusted to make a list, and from what I can tell forum members reject them due to the claim blocklists keep you safe, when they can't accomplish any such thing. Somewhat helpful perhaps, but also VERY hurtful.

Link to comment
Share on other sites

... The only useful ipfilter.dat is one you make yourself. Otherwise you're likely cutting yourself off from potential peers.

I will say this however. People who use ipfilter.dat in utorrent are more "protected" as uT won't allow or connect to peers on the list whereas for using peerguardian it blocks/kills the connections AFTER they are made.

It's up to the user, but the fact remains, for ANY organization to add update servers for a KNOWN anti-virus vendor without ANY corroboration AND with the sentiments the heirarchy in said organization apparently feel towards other human beings..... they deserve any and all bad press they get.

Link to comment
Share on other sites

Requi3m - thanks for the updated RAR, I just tested it and it is working correctly. The ipfilter.dat is saving to C:\Documents and Settings\User\Application Data\utorrent - My ipfilter.dat is actually in c:\program files\uTorrent but I prefer to merge your output file with my own blocklist since I block bad clients as well. Blocking all those ranges does have its disadvantages, but you're less likely to receive takedown notices from media companies. If you choose to play, at least you're in the cat and mouse game, versus not playing at all.

Is there a better method to minimize risk that doesn't cost money? EFF says leech and stop your torrent right after your download is complete. :)

FYI, ESET categorized PeerGuardian as malware when it clearly is not. Bluetack blocking ESET is a reasonable counter to the miscategorization.

Link to comment
Share on other sites

ESET vs. Peer Guardian issue has been addressed...The reason as discussed at te Peer Guardian forums is that because Peer Guardian blocked ESET from updating at regular intervals, it was considered Malware by the company. I would too if a program started blocking proper updates of my system protection...According to the forum info however this has been addressed and the programs now play well together, ESET updates.. and Peer Guardian stays...The SourceForge servers actually went down last week and stayed down for quite some time only issuing blank files, blocking 0 IP's...They offered Bluetack support for all lists and then some and if I am not mistaken, the servers are now back up.. Right now with all of this..LOL.. I am currently blocking 1,357,101,765 IP's total...Plus I am using the IP Filter List..

I think an auto-updater is a great idea, but it would be cool to be able to change and add more than one list.. :)

Link to comment
Share on other sites

Peer Guardian 2 is likely to prevent any outgoing connections from leaving your computer OR incoming connections from reaching uTorrent...but it won't prevent the attempts on both ends, so it's "wasteful" in terms of cpu and networking.

uTorrent will not even attempt outgoing connections to ips in the ipfilter.dat and will block incoming attempts...though they may still be able to detect a computer is on that connection. The same would likely be true even with Peer Guardian 2.

Link to comment
Share on other sites

  • 2 weeks later...

Nice tool, however I am not so sure that it works:

Just enabled ipfilter.dat in uTorrrent, ran the tool, reloaded ipfilter.dat from the peer list (rightclick)

When running PeerGuardian (updated block list) in addition to utorrent (with ipfilter.dat) I would somehow expect, that there are no more blocked events in the PeerGuardian log, at least no outgoing connections from my IP to banned IPs. But there are plenty.

Also I restarted uTorrent, but in the PG2 log there are still blocked outgoing events

Am I missing something here? Or is there either an error in the generated ipfilter.dat file or in uTorrent?


(BTW: I checked: the newly generated ipfilter.dat file (5.92MB) is in the application data directory)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...