ipfilter updater for Unix, Mac OS, Linux
The ipfilter list contains the list of IPs that are invalid, i.e., set up by anti-p2p organizations. If your torrent client connects to one of these, you may get corrupted data or even have your IP recorded down by them.
This updater serves to download the list maintained by iblocklist.com for use by uTorrent.
Currently, this only works for uTorrent in Mac OS X, but it can be easily modified to work on any system. This is only tested for Mac OS X 10.8 (Mountain Lion), although it should also work for Snow Leopard.
This requires Python 2.3 and above.
-
In the uTorrent window in Mac, press Command+Option+, (yes, comma) all three keys at the same time.
-
The options window with the advanced tab should show up. Scroll down to ensure that ipfilter.enable is set to true.
The aim is to set up a cron job for the updater script.
-
Clone this repo to your local machine
-
Do
crontab -e
. This will bring up a text editor. -
Enter
00 21 * * * path/to/updater.py
on a line of its own without the quotes and save. Please escape any space in the path. This means run the updater at 9 PM (21:00) every day.If the editor is
vim
: To start typing in vim, pressi
. To save invim
, press Escape and then:wq
(colon w q) and Enter. -
Do
crontab -l
to verify you have entered the cron job correctly.