after the latest apt-get upgrade, I got blocked form accessing Transmission's web interface (running on Ubuntu 16.04.2 LTS). Installing an older version doesn't help.
The transmission-daemon service (
Code: Select all
service transmission-daemon start
403: Forbidden
Unauthorized IP Address.
Either disable the IP address whitelist or add your address to it.
If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.
If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
Killing everything and running
Code: Select all
transmission-daemon
settings.json is parsed correctly.
This is inside /etc/default:
Code: Select all
# defaults for transmission-daemon
# sourced by /etc/init.d/transmission-daemon
# Change to 0 to disable daemon
ENABLE_DAEMON=1
# This directory stores some runtime information, like torrent files
# and links to the config file, which itself can be found in
# /etc/transmission-daemon/settings.json
CONFIG_DIR="/var/lib/transmission-daemon/info"
# Default options for daemon, see transmission-daemon(1) for more options
OPTIONS="--config-dir $CONFIG_DIR"
# (optional) extra options to start-stop-daemon
#START_STOP_OPTIONS="--iosched idle --nicelevel 10"
Code: Select all
[2017-03-25 00:08:34.361] Transmission 2.92 (14714) started (session.c:738)
[2017-03-25 00:08:34.361] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:903)
[2017-03-25 00:08:34.361] RPC Server Adding address to whitelist: (rpc-server.c:903)
[2017-03-25 00:08:34.361] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:903)
[2017-03-25 00:08:34.361] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1110)
[2017-03-25 00:08:34.361] RPC Server Password required (rpc-server.c:1117)
[2017-03-25 00:08:34.361] Port Forwarding Stopped (port-forwarding.c:180)
[2017-03-25 00:08:34.361] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
[2017-03-25 00:08:34.361] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:89)
[2017-03-25 00:08:34.361] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
[2017-03-25 00:08:34.361] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:100)
[2017-03-25 00:08:34.361] DHT Generating new id (tr-dht.c:311)
[2017-03-25 00:08:34.361] Using settings from "/root/.config/transmission-daemon" (daemon.c:528)
[2017-03-25 00:08:34.361] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1266)
[2017-03-25 00:08:34.361] transmission-daemon requiring authentication (daemon.c:554)
Code: Select all
{
"alt-speed-down": 10000,
"alt-speed-enabled": false,
"alt-speed-time-begin": [REDACTED],
"alt-speed-time-day": [REDACTED],
"alt-speed-time-enabled": true,
"alt-speed-time-end": [REDACTED],
"alt-speed-up": 2000,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "[REDACTED]",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "[REDACTED]",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 2,
"idle-seeding-limit": 115,
"idle-seeding-limit-enabled": true,
"incomplete-dir": "[REDACTED]",
"incomplete-dir-enabled": true,
"lpd-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 300,
"peer-limit-per-torrent": 50,
"peer-port": [REDACTED],
"peer-port-random-high": [REDACTED],
"peer-port-random-low": [REDACTED],
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"prefetch-enabled": true,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "[REDACTED]",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "admin",
"rpc-whitelist": "127.0.0.1,192.168.*.*",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 8192,
"speed-limit-down-enabled": true,
"speed-limit-up": 1024,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 0,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
Any help would be greatly appreciated.
Thanks.