[開啟 DHT 功能] ※可以在 Nas-01g 上使用 cd /usr/src mkdir rtorrent cd rtorrent svn co svn://rakshasa.no/libtorrent/trunk cd trunk [編譯 rtor...
[開啟 DHT 功能] ※可以在 Nas-01g 上使用
- cd /usr/src
- mkdir rtorrent
- cd rtorrent
- svn co svn://rakshasa.no/libtorrent/trunk
- cd trunk
[編譯 rtorrent]
- cd trunk
- cd libtorrent
- ./autogen.sh
- ./configure
- make
- make install
- cd ../rtorrent
- ./autogen.sh
- ./configure
- make
- make install
[DHT 設定]
在 rtorrent.rc 加入下面, 就可以啟用 DHT 功能.
dht = auto
dht_port = 6881
[傳輸加密啟用]
在 rtorrent.rc 加入下面, 就可以啟用傳輸加密功能.
encryption = allow_incoming,enable_retry,prefer_plaintext
[目前全部之設定]
min_peers = 40 # Move completed downloads on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/downloads/rtorrent/downloaded/ ;d.set_directory=/downloads/rtorrent/downloaded/" schedule = watch_directory,10,10,load_start=/share/torrent/*.torrent schedule = ratio,60,60,"stop_on_ratio=200,200M,2000" use_udp_trackers = yes send_buffer_size = 1M dht = auto encoding_list=utf-8
max_peers = 200
max_uploads = 12
download_rate = 200
upload_rate = 12
directory = /share
session = /tmp/rtorrent
schedule = tied_directory,10,10,start_tied=
schedule = untied_directory,10,10,close_untied=
port_range = 6890-6890
receive_buffer_size = 2M
dht_port = 6881
encryption = allow_incoming,enable_retry,prefer_plaintext