For background on my experience leading to this post ,
from the past few days:
viewtopic.php?f=2&t=14964
and from 18 months-2 years ago ago:
viewtopic.php?f=2&t=11401
viewtopic.php?f=2&t=12522
It concerns running a T daemon on a remote VPS managed with the web UI, bearing in mind that the VPS ISP may have a more restrictive Ports policy for the nework than the individual VPS's hosted on it.
Could somebody provide concise details of the port/protocol permissions in and out plus any required port forwarding, for the T daemon to work with both DHT's and most trackers.
Port permissions required for DHT and most trackers to work
-
- Posts: 21
- Joined: Mon Mar 07, 2011 5:07 pm
-
- Posts: 21
- Joined: Mon Mar 07, 2011 5:07 pm
Re: Port permissions required for DHT and most trackers to w
I'm pretty sure that 51413 IS open for both protocols, since the Web UI reports it as open and Nmap reports it as Open/TCP and Open|filtered/UDP. I will check the UDP thing by other means though.
So, if it IS open and those are the only required open ports, why does neither DHT or connectionn to ANY trackers work?
So, if it IS open and those are the only required open ports, why does neither DHT or connectionn to ANY trackers work?
-
- Posts: 21
- Joined: Mon Mar 07, 2011 5:07 pm
Re: Port permissions required for DHT and most trackers to w
Already posted in previous thread viewtopic.php?f=2&t=14964Specific error messages might help.
Here it is again - log level set to 3:
Code: Select all
[20:17:24.956] Transmission 2.76 (13786) started (session.c:722)
[20:17:24.956] Couldn't read "/var/lib/transmission/stats.json": No such file or directory (utils.c:445)
[20:17:24.956] Couldn't read "/var/lib/transmission/stats.benc": No such file or directory (utils.c:445)
[20:17:24.956] Cache Maximum cache size set to 4.00 MiB (256 blocks) (cache.c:262)
[20:17:24.956] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[20:17:24.956] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[20:17:24.956] RPC Server Whitelist enabled (rpc-server.c:1001)
[20:17:24.956] Bound socket 13 to port 51413 on 0.0.0.0 (net.c:377)
[20:17:24.956] Bound socket 14 to port 51413 on :: (net.c:377)
[20:17:24.956] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[20:17:24.956] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[20:17:24.956] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[20:17:24.956] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[20:17:24.956] DHT Initializing DHT (tr-dht.c:276)
[20:17:24.956] Couldn't read "/var/lib/transmission/dht.dat": No such file or directory (utils.c:445)
[20:17:24.956] DHT Generating new id (tr-dht.c:309)
[20:17:24.956] DHT DHT initialized (tr-dht.c:330)
[20:17:24.956] LPD Initialising Local Peer Discovery (tr-lpd.c:283)
[20:17:24.956] LPD Local Peer Discovery initialised (tr-lpd.c:354)
[20:17:24.956] Using settings from "/var/lib/transmission" (daemon.c:517)
[20:17:24.956] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[20:17:24.956] ubuntu-13.04-desktop-amd64.iso Read resume file "/var/lib/transmission/resume/ubuntu-13.04-desktop-amd64.iso.f41989f9797a8850.resume" (resume.c:692)
[20:17:24.956] ubuntu-13.04-desktop-amd64.iso Resume file found 1 files marked for download (resume.c:205)
[20:17:24.956] ubuntu-13.04-desktop-i386.iso Read resume file "/var/lib/transmission/resume/ubuntu-13.04-desktop-i386.iso.daac7008e2e3a6e4.resume" (resume.c:692)
[20:17:24.956] ubuntu-13.04-desktop-i386.iso Resume file found 1 files marked for download (resume.c:205)
[20:17:24.956] Loaded 2 torrents (session.c:1943)
[20:17:24.956] Port Forwarding (NAT-PMP) initnatpmp failed. Natpmp returned -8 (connect() failed); errno is 22 (Invalid argument) (natpmp.c:77)
[20:17:24.956] Port Forwarding (NAT-PMP) sendpublicaddressrequest failed. Natpmp returned -10 (send() failed); errno is 89 (Destination address required) (natpmp.c:77)
[20:17:32.964] Port Forwarding (UPnP) UPNP_GetValidIGD failed (errno 0 - Success) (upnp.c:214)
[20:17:32.964] Port Forwarding (UPnP) If your router supports UPnP, please make sure UPnP is enabled! (upnp.c:217)
[20:17:32.964] Port Forwarding State changed from "Not forwarded" to "???" (port-forwarding.c:93)
[20:17:58.005] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:247)
[20:18:32.056] ubuntu-13.04-desktop-amd64.iso Scrape error: Could not connect to tracker (announcer.c:1259)
[20:18:32.056] ubuntu-13.04-desktop-amd64.iso Retrying scrape in 319 seconds. (announcer.c:1268)
[20:18:42.066] ubuntu-13.04-desktop-i386.iso Scrape error: Could not connect to tracker (announcer.c:1259)
[20:18:42.066] ubuntu-13.04-desktop-i386.iso Retrying scrape in 310 seconds. (announcer.c:1268)
[20:19:43.163] ubuntu-13.04-desktop-i386.iso Scrape error: Could not connect to tracker (announcer.c:1259)
[20:19:43.163] ubuntu-13.04-desktop-i386.iso Retrying scrape in 305 seconds. (announcer.c:1268)
[20:20:22.204] ubuntu-13.04-desktop-amd64.iso Scrape error: Could not connect to tracker (announcer.c:1259)
[20:20:22.204] ubuntu-13.04-desktop-amd64.iso Retrying scrape in 352 seconds. (announcer.c:1268)
[20:21:29.275] Searching for web interface file "/var/lib/transmission/.local/share/transmission/web/index.html" (platform.c:537)
[20:21:29.275] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:537)
[20:21:37.284] ubuntu-13.04-desktop-amd64.iso LPD announce message away (tr-lpd.c:473)
[20:21:38.285] ubuntu-13.04-desktop-amd64.iso Announcing to tracker (announcer.c:1532)
[20:21:38.285] ubuntu-13.04-desktop-amd64.iso Announcing to tracker (announcer.c:1532)
[20:21:38.285] ubuntu-13.04-desktop-i386.iso Announcing to tracker (announcer.c:1532)
[20:21:38.285] ubuntu-13.04-desktop-i386.iso Announcing to tracker (announcer.c:1532)
[20:21:39.286] ubuntu-13.04-desktop-amd64.iso Could not connect to tracker (announcer.c:994)
[20:21:39.286] ubuntu-13.04-desktop-amd64.iso Retrying announce in 910 seconds. (announcer.c:1003)
[20:21:39.286] ubuntu-13.04-desktop-amd64.iso Could not connect to tracker (announcer.c:994)
[20:21:39.286] ubuntu-13.04-desktop-amd64.iso Retrying announce in 944 seconds. (announcer.c:1003)
[20:21:39.286] ubuntu-13.04-desktop-i386.iso Could not connect to tracker (announcer.c:994)
[20:21:39.286] ubuntu-13.04-desktop-i386.iso Retrying announce in 945 seconds. (announcer.c:1003)
[20:21:39.286] ubuntu-13.04-desktop-i386.iso Could not connect to tracker (announcer.c:994)
[20:21:39.286] ubuntu-13.04-desktop-i386.iso Retrying announce in 931 seconds. (announcer.c:1003)
[20:21:42.289] ubuntu-13.04-desktop-i386.iso LPD announce message away (tr-lpd.c:473)
[20:21:51.300] ubuntu-13.04-desktop-i386.iso IPv4 DHT not ready (broken, 1 nodes) (tr-dht.c:590)
[20:21:53.302] ubuntu-13.04-desktop-amd64.iso IPv4 DHT not ready (broken, 1 nodes) (tr-dht.c:590)
-
- Posts: 21
- Joined: Mon Mar 07, 2011 5:07 pm
Re: Port permissions required for DHT and most trackers to w
I've waited over 2 weeks now - with many other torrents too. Still not a single byte in or out with the 'broken nodes' number raching 15-20 before apparently recycling to 1 again (though this may be because of several T restarts).IPv4 DHT not ready (broken, 1 nodes) (tr-dht.c:590)That may be quite normal. You just need to wait longer; it could take 30-60 min to get enough good nodes.
Does port 80 need to be open and in which directions, for UDP traffic to connect to a udp://xxxx:80 tracker. If so, how might this impact on the VPS web server that uses the same port?
Also which ports(s) need to be open and in which directions for DHTs to work because, so far, with port 51413 reported as 'open' by the T web UI and 51413/UDP reported as 'open|filtered' by Nmap, there have been precisely zero connections over http, UDP or DHT in 2 weeks of near-continuous VPS/T uptime on at least 10 high volume torrents that download in minutes when using uTorrent on my Windows home machine?
Frankly, I'm close to abandoning T and trying something else - though I recognise that the problem is probably something dead simple that remins hidden in plain sight - a bit like a misplaced comma or semi-colon in a php script
