ipv6 kernel parameters
[dotFiles.git] / .rtorrent.rc
blob28f61e7868df86c9a5edee2f39a75696423d1b60
1 #Color / Canvas patch
2 #done_fg_color=6
3 #done_bg_color=2
4 #active_fg_color=2
5 #active_bg_color=4
7 set_max_open_http = 8
9 #最小和最大允许peer数
10 min_peers = 30
11 max_peers = 200
13 # Same as above but for seeding completed torrents (-1 = same as downloading)
14 min_peers_seed = 3
15 max_peers_seed = 20
17 #最大同时上传用户数
18 max_uploads = 4
20 #最大下载和上传速度,adsl请酌情修改
21 download_rate = 420
22 upload_rate = 50
24 #下载目录
25 directory = "/mnt/Media/Downloads/Temp"
26 #下载历史目录(此目录中包括下载进度信息和DHT节点缓存)
27 session = "/mnt/Media/Downloads/.session"
29 #配置自动监视,把bt种子扔进(拿走)~/Download目录就自动下载(停止)
30 schedule = watch_directory,10,10,load_start="/mnt/Media/Downloads/watch/*.torrent"
31 #schedule =watch_directory,10,10,"load_start_verbose=~/Downloads/watch/*.torrent,d.set_custom1=~/Downloads,\"branch={d.is_private=,,{d.set_custom2=BT,view.set_visible=RatioBT}}\""
32 schedule = tied_directory,10,10,start_tied=
33 schedule = untied_directory,10,10,stop_untied=
35 #硬盘空间低于100M就自动停止一切下载)
36 schedule = low_diskspace,5,60,close_low_diskspace=100M
38 #在总上传量达到2000M的情况下上传/下载率达到150%,或者在总上传量不足2000M情况下上传/下载率达到1500%,则停止上传
39 ratio.enable=1
40 ratio.min.set=150
41 ratio.max.set=1500
42 ratio.upload.set=2000M
43 #system.method.set=group.seeding.ratio.command,d.close=,d.stop=,d.set_ignore_commands=1
45 #group.insert_persistent_view = RatioBT
46 #group.RatioBT.ratio.enable=
47 #group.RatioBT.ratio.min.set=1
48 #group.RatioBT.ratio.max.set=2
49 #group.RatioBT.ratio.upload.set=10M
50 #system.method.set=group.RatioBT.ratio.command,d.close=,d.stop=,d.set_ignore_commands=1
52 # The ip address reported to the tracker.
53 #ip = 127.0.0.1
54 #ip = rakshasa.no
56 # The ip address the listening socket and outgoing connections is bound to.
57 #bind = 127.0.0.1
58 #bind = rakshasa.no
60 #bt监听端口
61 port_range = 17898-17899
62 #随机从上面范围内选择端口
63 port_random = yes
65 # Check hash for finished torrents. Might be usefull until the bug is fixed that causes lack of diskspace not to be properly reported.
66 #check_hash = no
68 # Set whetever the client should try to connect to UDP trackers.
69 use_udp_trackers = yes
71 # Alternative calls to bind and ip that should handle dynamic ip's.
72 #schedule = ip_tick,0,1800,ip=rakshasa
73 #schedule = bind_tick,0,1800,bind=rakshasa
75 # Encryption options, set to none (default) or any combination of the following:
76 # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
78 # The example value allows incoming encrypted connections, starts unencrypted
79 # outgoing connections but retries with encryption if they fail, preferring
80 # plaintext to RC4 encryption after the encrypted handshake
82 encryption = allow_incoming,enable_retry,prefer_plaintext
83 #encryption = allow_incoming,require,prefer_plaintext
84 #encryption = allow_incoming,try_outgoing,require_RC4 prefer_plaintext
86 #开启DHT
87 # Enable DHT support for trackerless torrents or when all trackers are down.
88 # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
89 # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
90 # The default is "off". For DHT to work, a session directory must be defined.
91 dht = auto
93 #DHT所用的UDP端口
94 dht_port = 17900
96 #种子交换功能
97 peer_exchange = yes
99 #(上传缓存,每个种子10M,小内存用户请酌情修改)
100 #send_buffer_size = 20M
102 #(下载缓存,每个种子20M,小内存用户请酌情修改)
103 #receive_buffer_size = 40M
105 #(修改编码以避免中文乱码)
106 encoding_list=UTF-8
108 #rtorrent创建的文件夹(或文件)的权限,默认是0644,建议改成0000(感谢xuanwuhu),使所有用户都能访问。
109 #umask = 0644
111 #最后这个参数和web配置以及远程管理有关,稍后再介绍
112 #scgi_port = :5000
114 # Hash read-ahead controls how many MB to request the kernel to read
115 # ahead. If the value is too low the disk may not be fully utilized,
116 # while if too high the kernel might not be able to keep the read
117 # pages in memory thus end up trashing.
118 #hash_read_ahead = 10
120 # Interval between attempts to check the hash, in milliseconds.
121 #hash_interval = 100
123 # Number of attempts to check the hash while using the mincore status,
124 # before forcing. Overworked systems might need lower values to get a
125 # decent hash checking rate.
126 #hash_max_tries = 10
128 #完成后移动目录同时删除watch目录下相应种子文件,同时开启超级种子
129 #method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,/mnt/Media/Video/ ;d.set_directory=/mnt/Media/Video/"
130 #method.set_key = event.download.finished,remove_tied,"d.delete_tied="
133 #method.set_key = event.download.start,"d.set_connection_seed=initial_seed"
134 #method.set_key = event.download.finished,"d.set_connection_seed=initial_seed"