DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1476 2010-11-27 02:06:07

graffix
Member
Registered: 2008-04-05
Posts: 6

Re: [REL] Transmission 1.3

Soprano wrote:

Something is wrong with the latest update. I was running 1.92 for along time with no issues, once I upgraded to 2.12, Every torrent from a few private trackers and public trackers error out with "Announce error: tracker did not respond - Today 09:33:58 PM
Next announce in 31 min 45 seconds"

I did get it to work after rebooting my router, but any newly added torrents gave this same error. I even tried downgrading back to 1.92, and I still have this issue. Any ideas?

I have this exact issue too.  Did you find anything that works Soprano?

Thanks,

Dave

Edit: Actually I get 404 errors.

Last edited by graffix (2010-11-27 02:09:57)

Offline

 

#1477 2010-11-27 02:51:23

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Can you post an example? Mask out any sensitive info if necessary.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1478 2010-11-27 03:14:09

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

I've uploaded a new Transmission package. This is still v2.12, but I fixed the problem FunFiler was talking about (gzopen64 not available).

The problem was that I had installed a newer version of zlib, which was a bad idea smile

On a sidenote, charles from transmissionbt.com let me know that the blocklist from transmissionbt.com won't be available much longer.
Anyone using the blocklist, and using the update feature of the daemon should go look for other sources.

Offline

 

#1479 2010-11-27 03:53:24

graffix
Member
Registered: 2008-04-05
Posts: 6

Re: [REL] Transmission 1.3

FunFiler wrote:

Can you post an example? Mask out any sensitive info if necessary.

Thanks FunFiler

Here's a screen of what's happening.  I also put on there a curious finding from nslookup for the tracker, but seems to be normal for google.

Thanks,

Dave


Attachments:
Attachment Icon Screenshot.png, Size: 202,309 bytes, Downloads: 172

Offline

 

#1480 2010-11-27 04:51:16

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

graffix, I'd say the curious part is that a previous version works as TPB seems to resolve to local loopback

Code:

[root@www scripts]# dig tracker.thepiratebay.org

; <<>> DiG 9.2.1 <<>> tracker.thepiratebay.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8184
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;tracker.thepiratebay.org.      IN      A

;; ANSWER SECTION:
tracker.thepiratebay.org. 3525  IN      A       127.0.0.1

;; AUTHORITY SECTION:
thepiratebay.org.       86325   IN      NS      ns0.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns1.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns2.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns3.thepiratebay.org.

KyleK, thanks, it did indeed resolve the issue. This will be useful even when transmissionbt stops providing a blocklist as I'm sure others will also offer gzipped downloads. Thanks


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1481 2010-11-27 12:24:39

SkyNet
Member
Registered: 2009-01-14
Posts: 25

Re: [REL] Transmission 1.3

FunFiler wrote:

If you are running Transmission 2.12, I don't thing it will work even if you enter a proper URL value. See my post a few pages back on this issue.

Yes running Transmission 2.12.
Supposedly the update to Transmission you posted will resolve this issue yes?

Also if somebody can help me out with SSL connection to tha daemon would be appreciated. Is there a link that describes the process?

Offline

 

#1482 2010-11-27 12:35:30

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Define "connectiong via SSL". Do you want to use the web interface via secure interface (https://)? Then you would need to set up a separate web server on the NAS (lighttpd for example) and configure it so it accepts secure connections on port 443, and redirects them to the daemon's internal webserver.

Other than that, you can always open a SSH connection (which uses SSL) to open a shell, and then talk to the daemon via command-line.

Offline

 

#1483 2010-11-28 02:58:41

SkyNet
Member
Registered: 2009-01-14
Posts: 25

Re: [REL] Transmission 1.3

KyleK wrote:

Define "connectiong via SSL". Do you want to use the web interface via secure interface (https://)? Then you would need to set up a separate web server on the NAS (lighttpd for example) and configure it so it accepts secure connections on port 443, and redirects them to the daemon's internal webserver.

Other than that, you can always open a SSH connection (which uses SSL) to open a shell, and then talk to the daemon via command-line.

Kyle hi,

I want to connect with the Transmission Remote GUI directly to the daemon(just ticking the SSL thing). I don't care for web access (https://). Is there a way?
Update blocklist thing doesn't work, even with the new Transmission 2.12 package :-(

Offline

 

#1484 2010-11-28 04:11:38

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

You'd have to ask the Transmission Remote GUI devs on how tocconnect via SSH, I don't use that tool.

The blocklist update probably doesn't work because the Transmission website won't provide the list anymore. You'll have to find another site that has the blocklists. Check the official Transmission forum for more information.

Offline

 

#1485 2010-11-28 04:55:34

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

The blocklist update does work with the repackaged 2.12. I have it installed and running. You have to enter an appropriate URL in the config file of course.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1486 2010-11-28 17:00:31

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

Hi everyone!
Recently I upgraded transmission from 1.72-4 to 2.12-2 on my NSA220 in the way how it is given at the top of this thread.
Since what I see that transmission is using some other configuration, not matching with settings.json
It can be seen if I give the transmission-remote -l from ssh session to NSA. As a result the system responding with 401: Unauthorized
This mean, that rpc whitelist is enabled. With settings dump it is confirming with "rpc-whitelist-enabled": true, string inside.
But! settings.json has this option disabled (false)! Also, some other settings are different.
So, transmission is running without using settings.json, is it?
If so, how to bind the settings.json with transmission? Which fconfiguration file content I see then giving transmission-daemon -d now???
Attached I've put some outputs helping to illustrate my issue.
Could anyone advise me, please?

P.S. Sorry for bad english, it is not my native language.

Last edited by Lector (2010-11-28 17:01:00)


Attachments:
Attachment Icon json_file, Size: 4,976 bytes, Downloads: 708

Offline

 

#1487 2010-11-28 17:06:24

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

From the attachment I gather that your transmission settings are located at /ffp/share/transmission/.transmission-daemon

Have you modified the startup file (/ffp/start/transmission.sh) to reflect this?
The default settings path is /mnt/HD_a2/.transmission-daemon

Offline

 

#1488 2010-11-28 17:13:31

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

Yes, shure.
I did the same changes like it was before for 1.72: TRANSMISSION_HOME=/ffp/share/transmission/.transmission-daemon

Offline

 

#1489 2010-11-28 17:25:18

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

There should be a logfile that may have a clue as to why it doesn't read your settings file.
My guess is either the JSON is badly formatted for some reason, or Transmission doesn't have enough user rights to read the file.

If all fails, I suggest you rename the current .transmission-daemon folder to something else and setup Transmission from scratch.

Offline

 

#1490 2010-11-28 17:46:21

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

I did the following:
- chmod 777 settings.json
- started daemon again
- setting.json mode become 600 again
Pls. see transmission-daemon.log from last restart.
There is a string with <Saved "/ffp/share/transmission/.transmission-daemon/settings.json" (bencode.c:1686)>
This mean, that json-file is available for reading by daemon.
And also I believe that everything fine with formatting of this file as it was used by previous transmission version perfectly.

Last edited by Lector (2010-11-28 17:46:51)


Attachments:
Attachment Icon transmission-daemon.log, Size: 1,628 bytes, Downloads: 430

Offline

 

#1491 2010-11-28 17:53:11

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

A lot of stuff changed between v1.74 an 2.12, configuration-wise. I can only assume that Transmission does expect something different in the settings file than it is getting, since most of its values are default values (see download folder for example).

I fear you might not get around a reconfiguration hmm

Offline

 

#1492 2010-11-28 18:06:23

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

FunFiler wrote:

graffix, I'd say the curious part is that a previous version works as TPB seems to resolve to local loopback

Code:

[root@www scripts]# dig tracker.thepiratebay.org

; <<>> DiG 9.2.1 <<>> tracker.thepiratebay.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8184
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;tracker.thepiratebay.org.      IN      A

;; ANSWER SECTION:
tracker.thepiratebay.org. 3525  IN      A       127.0.0.1

;; AUTHORITY SECTION:
thepiratebay.org.       86325   IN      NS      ns0.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns1.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns2.thepiratebay.org.
thepiratebay.org.       86325   IN      NS      ns3.thepiratebay.org.

Imho this is a server-side issue, either on the side of TPB, or whoever hosts the DNS server you're using (e.g. your ISP).

That tracker address resolves to localhost for me as well, on both the NAS and Windows.

Maybe the other clients you tested with happened to have the original IP address of the tracker cached, so they were able to connect? This just a wild guess :)

Btw, I thought TPB was shutdown anyway?

Offline

 

#1493 2010-11-28 18:08:24

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

Heh, I just did the following trick:

- stopped daemon
- renamed the old settings.json
- started daemon again

The new settings.json has appeared with exact the same content like it can be gathered from "transmission-daemon -d" command
Then I stopped daemon again, made some changes in json-file with vi editor and started daemon finally.
Damn, althought the settings have been saved in json- file itself, but "transmission-daemon -d" showes the old (unchanged) settings!
It seemes to be what settings.json is not used at all!
I even tried to do the following:

Code:

transmission-daemon -g /ffp/share/transmission/.transmission-daemon/

but result is always the same.
There should be some simple solution, as it seemes to be not a bug but missconfiguration. But I'm still can't find it out.

Added later:

Actually there are no any special tricks needed. Just remove an old setting.json from transmission home directory, let daemon to create a new one and then simply configure it according to the settings which where used with previous transmission release. That's it!  :-)

Last edited by Lector (2010-11-28 19:02:18)

Offline

 

#1494 2010-11-28 19:45:58

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Make sure that after you stop transmission there isn't another copy tisll running. Your log shows

Code:

Address already in use

So, do this:

- stop transmission
- check to make sure there are no left over processes using "ps -ef|grep transmission". If there are, stop it again or kill the processes.
- edit settings.json as required
- start transmission
- check the log again to ensure it starts clean

Last edited by FunFiler (2010-11-28 19:46:29)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1495 2010-11-28 20:01:20

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

Experimenting again and again...

The only thing I found, that daemon really not using settings.json :-(
All changes I've made via ssh session (transmission-daemon with options) are not reflected to json-file.
For instance, I did

Code:

transmission-daemon -P 6881

and I can see with -d option that peer port has been really changed to 6881, but inside of settings.json it remain unchanged.
That's crazy thing indeed.

In this way I can't set rpc-whitelist-enabled to "false" as I don't need this feature at all, because of editing json-file does not give an effect,
and in other hand I can't find the right option to do it via ssh session (there is only -a available to change the IP range for whitelist screening).
I'm really going crazy with it!
Any suggestions, guys?

Last edited by Lector (2010-11-28 20:09:10)

Offline

 

#1496 2010-11-29 01:35:16

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

DId you verify that all instances of transmission were shut down as outlined in my previous post? No one else seems to be experiencing this issue, so I must assume that it is something unique to your setup. If indeed all instances are shut down, I would completely remove transmission and any associated directories and files then start from scratch using the default install locations (although I've never had an issue running from a custom path myself).


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1497 2010-11-29 20:04:19

Lector
Member
From: Novosibirsk, Russia
Registered: 2010-11-28
Posts: 6

Re: [REL] Transmission 1.3

I would like to know, if any option to switch "rpc-whitelist-enable" from 'true' to 'false' available for transmission-daemon command?
I can not find any. Does any one knows?

Offline

 

#1498 2010-11-29 20:46:30

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

The proper settings string is "rpc-whitelist-enabled", and no, there isn't an option to transmission-daemon or transmission-remote to enable/disable it.

It wouldn't help you anyway, since obviously Transmission does not like your settings.json and always loads the default values.

As much as you might hate to do it, the only option you have left is to delete (better: rename) your current .transsmission-daemon folder and start from scratch (as posted in the first post of this thread).

Without the concrete setup of your NAS I simply can't tell you exactly what the error is, I can only give you advise on how you might fix it.

Offline

 

#1499 2010-11-29 21:08:32

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Just for kicks, I tried the settings.json you posted earlier.

I only changed the rpc-password so I could actually try it, and it works just fine, as expected.

I put the settings.json in a folder called /mnt/USB/.tm-test and then issued this command:

Code:

$ su KyleK -c "/ffp/bin/transmission-daemon -f -g /mnt/USB/.tm-test"

Subsequent calls with transmission-remote work just fine.

Maybe it's  permission issue after all? Or, as FunFiler said, maybe there's still an instance of TM running and it's getting confused?

Offline

 

#1500 2010-11-29 23:18:53

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Running the "ps -ef" command will tell you instanatly if there is another copy running.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB