Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm trying to find some documentation on how to update and maintain a blocklist in the Web GUI of Transmission.
I went to http://www.iblocklist.com/lists.php and downloaded a .gz version of a block list. Went to the web GUI settings, browsed for the .gz file and clicked Enable Blocklists and clicked Save. Is that it?
1) Did I choose the right file format (.gz, .zip, .7zip)?
2) Is there a way to add more than one .gz?
I noticed that transmission creates a file (/mnt/HD_a2/.transmission-daemon/blocklists/blocklist.bin), but it is not plain text.
If anyone has any experience, would love to hear about it. I've searched these forums and didn't find much related to the topic.
Thank you
Offline
Solved: https://trac.transmissionbt.com/wiki/Blocklists
I used a roundabout method that worked:
1. Enter a URL and hit Update
2. Go to the blocklist folder and move and rename it (1-blocklist.bin for example)
3. Enter another URL and hit Update
4. Again move and rename (2-....)
5. Do this for all blocklists
6. Stop Transmission
7. Move all renamed blocklists (I have 11) back into the folder
8. Remove the "blocklist.bin" that is in there currently, if any
9. Restart Transmission
10. When you go to Settings then the Peers tab, you should see "Blocklist has x,xxx,xxx Rules". This should be the sum of all rules in all files.
The link shows an easier way by just dropping the .gz files in the blocklist folder and restarting. But thats 11 restarts.
Offline
Hi,
feel free to modify this script that I wrote to do a similar task.
Please note I am not a linux person so it may not be the best code but it works for me
wgetblocklists.sh
# Script to # . Stop Transmission # . Change to Block List DIR # . Delete old blocklists # . wget level1 npip and pip # . gunzip # . Start Transmission /ffp/start/transmission.sh stop # cd /mnt/HD_a2/.transmission-daemon/blocklists/ # rm level1 rm nipfilter.dat rm pipfilter.dat rm level1.gz rm nipfilter.dat.gz rm pipfilter.dat.gz # wget http://www.bluetack.co.uk/config/level1.gz wget http://www.bluetack.co.uk/config/nipfilter.dat.gz wget http://www.bluetack.co.uk/config/pipfilter.dat.gz # gunzip -f pipfilter.dat.gz gunzip -f nipfilter.dat.gz gunzip -f level1.gz # /ffp/start/transmission.sh start
Offline
phil5250,
Thanks for the script - set it up as a cron job to run every sunday to keep things up to date automatically!
Offline
Phil, I took your script and just added a few simple checks. It is also a bit easier for others to modify with their own settings this way.
#!/ffp/bin/sh # Script to update the Transmission blocklists # Set the path to the directory that contains the Transmission blocklist files BLPath="/mnt/usb/transmission/blocklists" # Set the Transmission control script TRBat="/ffp/start/transmission.sh" # Set the URL of the blocklists URL="http://www.bluetack.co.uk/config" #----------------------------------------- echo "`date +'[%y/%m/%d %T]'` Running the Transmission update script [$0]" # Change to the blocklist directory echo "`date +'[%y/%m/%d %T]'` Changing to the Blocklist directory ${BLPath}" cd "${BLPath}" # Stop Transmission if [ -f "${TRBat}" ]; then echo "`date +'[%y/%m/%d %T]'` Stopping Transmission" ${TRBat} stop fi for _f in "level1" "nipfilter.dat" "pipfilter.dat"; do if [ -f "${_f}" ]; then rm "${_f}" fi if [ -f "${_f}.gz" ]; then rm "${_f}.gz" fi echo "`date +'[%y/%m/%d %T]'` Downloading the blocklist ${URL}/${_f}.gz" /ffp/bin/wget ${URL}/${_f}.gz if [ -f "${_f}.gz" ]; then echo "`date +'[%y/%m/%d %T]'` Unzipping the blocklist ${_f}.gz" /ffp/bin/gunzip -f "${_f}.gz" chown nobody:501 "${_f}" fi done # Start Transmission again if [ -f "${TRBat}" ]; then echo "`date +'[%y/%m/%d %T]'` Starting Transmsission" ${TRBat} start fi echo "`date +'[%y/%m/%d %T]'` End of the Transmission update script [$0]" #EoS
Last edited by FunFiler (2012-07-14 23:35:55)
Offline