Jump to content

I've made a program to download auto-update ipfilter.dat blocklist


merwin

Recommended Posts

Introduction note:

I'd like somewhere better to host this file, as the current server is a not a great place for it. If anyone has ideas, feel free to tell me.

Download Link:

uTorrent Update Blocklist v1.0

-------------------------------------

uTorrent Blocklist auto-update script

--------------------------version 1.0

--------------------created by merwin

-------------------------------------

---------------

Introduction---

---------------

This little batch file will automatically download and update your ipfilter.dat

in uTorrent. A very handy tool that I haven't seen anywhere else. It probably

has some problems, but it works fine for me. I tried to put all of the necessary

safeguards in it to avoid any unexpected results.

The blocklist will automatically be downloaded and the current ipfilter.dat (if any)

will be replaced with the downloaded version. Next time you run uTorrent, it

will load the new ipfilter.dat. If don't want to restart uTorrent, you can open

up the uTorrent Preferences and then click OK. The ipfilter.dat will be reloaded.

---------------

How to use it--

---------------

Just unzip the program to a folder somewhere and execute UpdateBlocklist.bat

Normally, it will pause after the update. If you want to have it not pause after

it completes, then execute the batch file with any parameter, such as:

UpdateBlocklist.bat script

Link to comment
Share on other sites

There might be a small problem with it when run in automation. Windows has a bug where it will sometimes not process the %AppData% environment variable properly. If that happens, then you'll still have the ipfilter.dat downloaded, but you need to copy it to the proper folder. It will be located under the folder that you put the batch file in, in the 'temp' directory.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...

I don't think it would be too hard to avoid re-downloading the blocklist if it hasn't changed.

The bat file uses wget to download the file and uses the --no-cache option.

1) I haven't used wget before, but from what I can tell, I don't think the "no-cache" is necessary (and possibly harder on the server?).

From the documentation: --no-cache

Disable server-side cache. In this case, Wget will send the remote server an appropriate directive (Pragma: no-cache) to get the file from the remote service, rather than returning the cached version. This is especially useful for retrieving and flushing out-of-date documents on proxy servers. Caching is allowed by default.

2) If we use the -N option, wget will use timestamping and only download the file if it is newer than the local version (or the file does not exist locally).

If this option works correctly, we'd also need to remove the two lines where the old files get deleted.

Maybe someone that is more familiar with wget will know if these changes are appropriate.

Link to comment
Share on other sites

  • 1 month later...

Works fine under Vista. You probably just need to update the bat file from the original program to match where to download aka the "set httpsite=" field.

Edit: It is to be noted that the blocklist used here is only updated once a week and so you shouldn't use this program more often than that as the publisher of that blocklist has said that they have bandwidth issues and will not publish the filters anymore if they constantly run out of bandwidth or have to pay more for bandwidth. (I do it on Tuesday of every week).

Link to comment
Share on other sites

  • 11 months later...
  • 2 weeks later...
  • 11 months later...

Didn't work for me

Created the temp folder and removed files

temp/nipfilter.dat.gz

Resolved

www.bluetack.info ......74.208.63.50

Connected

www.bluetack.info ......74.208.63.50:80

HTTP request sent awaiting response.... 404 Not found

<time> ERROR 404 :Not found....

Any Tips !!!

----------------

I have tried the httpsite=http://www.btack.info/bluetack, this resolves 74.208.57.249:80 connects then fails as before with ERROR 404.

also tried the httpsite=http://www.bluetack.co.uk, this resolves 67.18.178.4:80 connects then fails as before with ERROR 404.

also tried the httpsite=http://blocklistpro.com/download-center/ip-filters/ , this resolves 74.220.215.70:80 connects then fails as before with ERROR 404.

I am using PG2 which is turned off.

SpideRaY

Link to comment
Share on other sites

Gave up with merwins version kept getting 404 errors so I made my own that uses the copy kept at sourceforge so here is it.

http://rapidshare.com/files/245210409/update_ipfilter.dat.zip

Also check out my PG2 and HostMan help groups on Facebook

http://www.facebook.com/home.php?ref=home#/group.php?gid=54763846805&ref=ts

http://www.facebook.com/home.php?ref=home#/group.php?gid=60058847027&ref=ts

LOL

The SpideRaY

Link to comment
Share on other sites

FOUND THIS AT SOURCE FORGE

http://forums.phoenixlabs.org/showthread.php?t=12907&highlight=utorrent+updater

Originally Posted by firstaid

µtorrent ipblocker does work!

I have previously stated that µtorrents ipblocker only blocked single ip's but that was wrong. µtorrent will block IP's within full ranges in vers 1.6.x. I looked for the thread here about that but the thread was closed so I am making this post. I am sorry for any problems this may have caused. It was older versions that did not work correctly, I am not sure what versions all do work atm.

It has also come to my attention that some Developer named merwin has made a µtorrent updater and has posted it at the µtorrent forums ( uTorrentUpdateBlocklist_1.0 ) In this updater he has linked directly to our lists and that is not permitted. The updater will not work soon as we are going to changed the links to the list he has direct linked to. (just a heads up for anyone using that updater)

So don;t bother trying merwins script use mine !!!

Link to comment
Share on other sites

As far back as I can remember, uTorrent actually had the reverse problem where it would only work with ip RANGES -- even single ips had to be expressed as an ip range of 1 ip.

Needless to say, the usefulness of Peer Guardian 2's blocklists are extremely questionable at best, dangerous snake oil at worst:

http://forum.utorrent.com/viewtopic.php?pid=374690#p374690

Link to comment
Share on other sites

  • 2 years later...
FOUND THIS AT SOURCE FORGE

http://forums.phoenixlabs.org/showthread.php?t=12907&highlight=utorrent+updater

Originally Posted by firstaid

µtorrent ipblocker does work!

I have previously stated that µtorrents ipblocker only blocked single ip's but that was wrong. µtorrent will block IP's within full ranges in vers 1.6.x. I looked for the thread here about that but the thread was closed so I am making this post. I am sorry for any problems this may have caused. It was older versions that did not work correctly, I am not sure what versions all do work atm.

It has also come to my attention that some Developer named merwin has made a µtorrent updater and has posted it at the µtorrent forums ( uTorrentUpdateBlocklist_1.0 ) In this updater he has linked directly to our lists and that is not permitted. The updater will not work soon as we are going to changed the links to the list he has direct linked to. (just a heads up for anyone using that updater)

So don;t bother trying merwins script use mine !!!

Good thing I read on because I downloaded your .bat file and made a task in win & to run every week. Is this proper procedure for this script? I put the folder in the utorrent directory to have the task run from there. Please let me know if I need to make any changes.

Link to comment
Share on other sites

Archived

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...