No default behavior for rpc is enabled by rtorrent, and using unix sockets for rpc is what im recommending. Rather, you should detach from the screen, so that rtorrent remains running in the background. Im trying to setup rutorrent on an up to date arch linux home server, but i. Because you use unix sockets, how can i connect with rtorrent. Xml, scgiunix sockets, and php are all however beyond me i only. In order to connect to the rtorrent screen session, simply issue the command. I am having a little difficulty in trying to connect sickbeard and couchpotato with rtorrent. After looking at it again this morning, i found that the issue was that rtorrent wasnt picking up the configuration file. Use unix domain sockets outlined above, for sane opsec, by way of setting unix permissions on the socket file.
Help me understand how rtorrent, rutorrent, xmlrpc. Anyone who can send rtorrent xmlrpc commands does have the ability to execute code with the privileges of the user running rtorrent. Enable the rtorrent xmlrpc interface on unix socket. Enable scgi on the socket you chose for rtorrent by adding this to. You can also make rtorrent listen to a unix socket. For all users, the rtorrent screen is simply named rtorrent. Set the rw permissions of the directory the socket will reside in to only allow the necessary processes. Script to install rtorrent and rutorrent for raspberry pi. So ive just started coding a new rails project a frontend for the awesome rtorrent bittorrent client and already wasted a bit of time getting started due to outdated instructions for setting up xmlrpc scgi on nginx from the rtorrent guide. Hackers exploiting rtorrent to install unix coin miner. Xml, scgi unix sockets, and php are all however beyond me i only really know python, and im totally clueless as to where i would start to begin learning.
If you want to be more secure on principle, use unix domain sockets. If you want to be more secure on principle, use unix domain sockets instead of tcp ports see below. Add the following line to your rtorrent config file, usually. Im familiar with rtorrent, somewhat familiar with nginx, and i know the basic theories of networking.
1047 1240 1034 1157 1253 1075 769 1457 167 1500 207 843 1096 1252 318 1462 1309 625 1476 663 502 491 1031 345 1165 1312 775 127 110 1070 24 1092 780 1233 629 673 979 905 828 218