ubuntu server blocklist
ubuntu server blocklist
in the "/etc/transmission-daemon/settings.json" I have set "blocklist-enabled: true". Where do I add my .dat blocklist? Thanks
Re: ubuntu server blocklist
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
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
Re: ubuntu server blocklist
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.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
Re: ubuntu server blocklist
would I call it blocklist or is their a shorter name the system will look for?
Re: ubuntu server blocklist
[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)
[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)
Re: ubuntu server blocklist
Last edited by ijuxda on Mon Feb 14, 2011 3:58 am, edited 1 time in total.
Re: ubuntu server blocklist
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:
Adjust the script if you want, and you might want to add it to a cron job.
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
Re: ubuntu server blocklist
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!
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!