如何获得 rtorrent 以使用 socks5 代理?我试图让socks5 与rtorrent 一起工作,但它似乎没有任何影响。
在端口 9800 上设置 socks5 代理:
ssh -ND 9800 user@otherhost
Run Code Online (Sandbox Code Playgroud)
在 .rtorrent.rc 中
http_proxy=127.0.0.7:9800
proxy_address=127.0.0.7:9800
Run Code Online (Sandbox Code Playgroud)
它无法从跟踪器下载任何数据。
Tracker: [Server returned nothing (no headers, no data)]
Run Code Online (Sandbox Code Playgroud)
当我查看http://www.checkmytorrentip.com/时,我的 IP 似乎没有使用来自“otherhost”的 IP
我也试过使用 tsocks rtorrent
server = 127.0.0.1
eserver_type = 5
server_port = 9800
Run Code Online (Sandbox Code Playgroud)
这显示我的 IP 来自“otherhost”,但几秒钟后 rtorrent 冻结。
我正在使用 rTorrent 0.9.2/0.13.2
我在一些磁力链接上使用过rtorrent
,它创建了一些“元”文件,这些文件似乎是由哈希命名的......
有没有办法以某种方式使用这些元文件来开始rtorrent
下载种子,而不是必须找到实际的磁铁?例如 rtorrent 637778299.meta 或其他什么?
我已经安装了 rTorrent(和 ruTorrent)的种子箱,并且我正在尝试尽可能自动化......
目前,我已在 rtorrent.rc 中将完成的文件移至 ~/Download:
system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/Download/;d.set_directory=~/Download/"
Run Code Online (Sandbox Code Playgroud)
然后我有一个脚本可以将这些已完成的文件同步回我的家庭计算机......
我已将 ruTorrent 设置为将标签应用于 torrent,并且我想根据标签移动文件,而不是将它们全部移动到同一个文件夹。但我根本找不到任何文档。有很多为“常见任务”配置 rTorrent 的示例,但我无法用来推断如何检查标签,更不用说根据标签移动已完成的 torrent...
所以有一个充满torrent文件的目录:
debian.iso.torrent
fedora.iso.torrent
Run Code Online (Sandbox Code Playgroud)
我可以开始下载它们:
rtorrent *.torrent
Run Code Online (Sandbox Code Playgroud)
命令,当工作目录与种子相同时。
但。每次当我以这种方式启动 rtorrent 时,它都会计算所有的哈希值……这需要很长时间才能完成,而且它是 CPU 密集型的事情。
有什么方法可以避免这种情况吗?(其他基于控制台的 torrent 客户端?或者在已经下载 torrent 而不计算所有 torrent 哈希时添加单个 torrent 的功能?)
出于测试目的,我什至提高了 root 的限制。
# /etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535
root soft nofile 65535
root hard nofile 65535
Run Code Online (Sandbox Code Playgroud)
rtorrent 进程由用户“user”运行。
user@localhost:~$ ulimit -n
65535
Run Code Online (Sandbox Code Playgroud)
但是当我查看 rtorrent 的最大打开文件数时:
user@localhost:~$ cat /proc/1141/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 15700 15700 …
Run Code Online (Sandbox Code Playgroud) 我试图以rtorrent
运行systemd service
,但服务无法启动。这是配置文件和我可以获得的任何日志。如果需要,请询问更多信息。\n我正在运行:
$ lsb_release -a\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription: Ubuntu 20.04.2 LTS\nRelease: 20.04\nCodename: focal\n
Run Code Online (Sandbox Code Playgroud)\n$ systemctl status rtorrent\n\xe2\x97\x8f rtorrent.service - rTorrent\n Loaded: loaded (/etc/systemd/system/rtorrent.service; enabled; vendor preset: enabled)\n Active: failed (Result: exit-code) since Thu 2021-05-27 08:52:43 EEST; 5min ago\n Process: 20199 ExecStart=/usr/bin/tmux new-session -d -P -s rt -n rtorrent /usr/bin/rtorrent (code=exited, status=0/SUCCESS)\n Process: 20205 ExecStop=/usr/bin/tmux send-keys -t rt:rtorrent C-q (code=exited, status=1/FAILURE)\n Main PID: 20201 (code=exited, status=0/SUCCESS)\n\nMay 27 08:52:43 $MACHINE systemd[1]: Starting rTorrent...\nMay …
Run Code Online (Sandbox Code Playgroud) 只是阅读手册页,但没有找到这个选项。也许我错过了它,也许它不存在。我在家里有一台服务器,我通过 SSH 连接到 rtorrent,但是 torrent 停止下载并且不会在 rtorrent 重新启动时重新启动,那么有没有一种方法可以进行守护进程,这样我就不必坐在那里观看它了?(如果这是相关的,rtorrent 正在新的 FreeBSD 9.1 安装上运行)