ubuntu server blocklist

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
onthejazz
Posts: 5
Joined: Mon Dec 27, 2010 6:02 pm

ubuntu server blocklist

Post by onthejazz »

in the "/etc/transmission-daemon/settings.json" I have set "blocklist-enabled: true". Where do I add my .dat blocklist? Thanks
onthejazz
Posts: 5
Joined: Mon Dec 27, 2010 6:02 pm

Re: ubuntu server blocklist

Post by onthejazz »

I have already tried ~/.config/transmission and ~/.config/transmission-daemon and the directories can not be located

I have also tried putting a directory called "blocklists" into both

"/etc/transmission-daemon" and "/var/lib/transmission-daemon/",

how do I know if the blocklists have been loaded
onthejazz
Posts: 5
Joined: Mon Dec 27, 2010 6:02 pm

Re: ubuntu server blocklist

Post by onthejazz »

x190 wrote:Do you have a log for Transmission?

Take a look at this:

https://trac.transmissionbt.com/wiki/UnixServer/Debian

/etc/transmission-daemon symlinked to /var/lib/transmsision-daemon/info/settings.json
I'm having trouble locating the log file. The blocklist directory does not seem to be automatically created in any of the directories in the link.
onthejazz
Posts: 5
Joined: Mon Dec 27, 2010 6:02 pm

Re: ubuntu server blocklist

Post by onthejazz »

would I call it blocklist or is their a shorter name the system will look for?
onthejazz
Posts: 5
Joined: Mon Dec 27, 2010 6:02 pm

Re: ubuntu server blocklist

Post by onthejazz »

[09:11:58.599] Transmission 2.04 (11151) started (session.c:622)
[09:11:58.599] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:767)
[09:11:58.599] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:940)
[09:11:58.599] RPC Server Whitelist enabled (rpc-server.c:944)
[09:11:58.599] DHT Reusing old id (tr-dht.c:374)
[09:11:58.599] DHT Bootstrapping from 58 nodes (tr-dht.c:146)
[09:11:58.599] Using settings from "/home/gareth/.config/transmission-daemon" (daemon.c:443)
[09:11:58.599] Saved "/home/gareth/.config/transmission-daemon/settings.json" (bencode.c:1651)
[09:11:58.599] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:67)
[09:11:58.599] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:67)
[09:12:00.600] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.1.254:80/upnp/control/igd/wanipc_1_1_1" (upnp.c:113)
[09:12:00.600] Port Forwarding (UPnP) Local Address is "192.168.1.210" (upnp.c:115)
[09:12:09.601] Port Forwarding (UPnP) Port forwarding through "http://192.168.1.254:80/upnp/control/igd/wanipc_1_1_1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local add$
[09:12:09.601] Port Forwarding (UPnP) Port forwarding successful! (upnp.c:205)
[09:12:09.601] Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:89)
ijuxda

Re: ubuntu server blocklist

Post by ijuxda »

There is some blocklist documentation here:

https://trac.transmissionbt.com/wiki/Blocklists
Last edited by ijuxda on Mon Feb 14, 2011 3:58 am, edited 1 time in total.
n_i_x
Posts: 2
Joined: Thu Dec 30, 2010 5:13 am

Re: ubuntu server blocklist

Post by n_i_x »

Since I couldn't find the information online, I figured it out myself.

Place the blocklists files in /var/lib/transmission-daemon/info/blocklists/

I wrote a bash script to pull the blocklists:

Code: Select all

#!/bin/bash

BLOCKLISTDIR="/var/lib/transmission-daemon/info/blocklists"
BASEURL="http://www.bluetack.co.uk/config"
FILES=( level1 level2 level3 )

for i in "${FILES[@]}"
do
  curl -L $BASEURL/$i.gz -o $BLOCKLISTDIR/$i.gz
  gunzip -f $BLOCKLISTDIR/$i.gz
  mv $BLOCKLISTDIR/$i $BLOCKLISTDIR/$i.txt
done

service transmission-daemon restart
Adjust the script if you want, and you might want to add it to a cron job.
woak1611
Posts: 1
Joined: Sun Jan 02, 2011 9:03 am

Re: ubuntu server blocklist

Post by woak1611 »

Hi n_i_x,

I saw the script you created and would like to run it on my Mac. I am completely retarded when it comes to this, would you mind just walking me through the steps starting on my desktop screen in order to enter this script and activate it successfully? I have downloaded Transmission, and I complete all of my downloads via Vuze through torrents gotten from demonoid.... don't know if you need that info at all, but there it is fyi. Thanks for any help you could provide!
Post Reply