forked from wu67/my_aria2_conf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aria2.conf
133 lines (128 loc) · 13.7 KB
/
aria2.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
################ RPC ################
# Enable JSON-RPC/XML-RPC server.
enable-rpc=true
# Add Access-Control-Allow-Origin header field with value * to the RPC response.
rpc-allow-origin-all=true
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces.
rpc-listen-all=true
# Specify a port number for JSON-RPC/XML-RPC server to listen to.
rpc-listen-port=6800
# Use the private key in FILE for RPC server.
# rpc-private-key=<FILE>
# Set RPC secret authorization token. Read RPC authorization secret token to know how this option value is used.
# rpc-secret=
################ File system ################
# Save a control file(*.aria2) every SEC seconds.
auto-save-interval=10
# Enable disk cache.
disk-cache=32M
# Specify file allocation method.
file-allocation=trunc
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.
save-session-interval=10
# Change directory
# Change the configuration file path to PATH.
conf-path=$HOME/.aria2/aria2.conf
# Downloads the URIs listed in FILE.
input-file=$HOME/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=$HOME/.aria2/aria2.session
# The directory to store the downloaded file
dir=$HOME/Downloads
# Proxy
# Use a proxy server for all protocols.
# all-proxy=http://127.0.0.1:1089
# Set the method to use in proxy request. METHOD is either get or tunnel. HTTPS downloads always use tunnel regardless of this option.
# proxy-method=tunnel
################ Task ################
# Continue downloading a partially downloaded file.
continue=true
# Set the maximum number of parallel downloads for every queue item. See also the --split option.
max-concurrent-downloads=32
# Exclude seed only downloads when counting concurrent active downloads (See -j option).
bt-detach-seed-only=true
# The maximum number of connections to one server for each download.
max-connection-per-server=32
# Download a file using N connections.
split=128
# Set a piece length for HTTP/FTP downloads.
# piece-length=1M
# Enable HTTP/1.1 pipelining.
# enable-http-pipelining=false
# Verify the peer using certificates specified in --ca-certificate option.
check-certificate=false
# If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times without getting a single byte, then force the download to fail. Specify 0 to disable this option. This options is effective only when using HTTP/FTP servers. The number of retry attempt is counted toward --max-tries, so it should be configured too.
max-file-not-found=5
# Set number of tries. 0 means unlimited.
max-tries=5
# aria2 does not split less than 2*SIZE byte range.
min-split-size=1M
# Set user agent for HTTP(S) downloads. Default: aria2/$VERSION, $VERSION is replaced by package version.
user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
# Send Accept: deflate, gzip request header and inflate response if remote server responds with Content-Encoding: gzip or Content-Encoding: deflate. Default: false
http-accept-gzip=true
# Set max overall download speed in bytes/sec. 0 means unrestricted.
max-overall-download-limit=0
# Set max download speed per each download in bytes/sec. 0 means unrestricted.
max-download-limit=0
# Set max overall upload speed in bytes/sec. 0 means unrestricted.
max-overall-upload-limit=0
# Set max upload speed per each torrent in bytes/sec. 0 means unrestricted.
max-upload-limit=0
################ BT Task ################
# Save the uploaded torrent or metalink meta data in the directory specified by --dir option. The file name consists of SHA-1 hash hex string of meta data plus extension. For torrent, the extension is '.torrent'. For metalink, it is '.meta4'. If false is given to this option, the downloads added by aria2.addTorrent() or aria2.addMetalink() will not be saved by --save-session option.
rpc-save-upload-metadata=false
# Save meta data as ".torrent" file.
bt-save-metadata=true
# Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option. If it is successful, then skip downloading metadata from DHT.
bt-load-saved-metadata=true
# Set UDP listening port used by DHT(IPv4, IPv6) and UDP tracker. Multiple ports can be specified by using ,, for example: 6881,6885. You can also use - to specify a range: 6881-6999. , and - can be used together. Default: 6881-6999
dht-listen-port=6881-7000
# Enable Local Peer Discovery. If a private flag is set in a torrent, aria2 doesn't use this feature for that download even if true is given.
bt-enable-lpd=true
# Requires BitTorrent message payload encryption with arc4.
# bt-force-encryption=true
# If true is given, aria2 doesn't accept and establish connection with legacy BitTorrent handshake(\19BitTorrent protocol). Thus aria2 always uses Obfuscation handshake.
# bt-require-crypto=true
# Set minimum level of encryption method. If several encryption methods are provided by a peer, aria2 chooses the lowest one which satisfies the given level.
# bt-min-crypto-level=plain
# If true is given, after hash check using --check-integrity option and file is complete, continue to seed file. If you want to check file and download it only when it is damaged or incomplete, set this option to false.
bt-hash-check-seed=true
# Specify the maximum number of peers per torrent.
bt-max-peers=256
# If the whole download speed of every torrent is lower than SPEED, aria2 temporarily increases the number of peers to try for more download speed.
bt-request-peer-speed-limit=100K
# Set TCP port number for BitTorrent downloads. Multiple ports can be specified by using ,, for example: 6881,6885. You can also use - to specify a range: 6881-6999. , and - can be used together: 6881-6889,6999.
listen-port=51413
# Specify share ratio. Seed completed torrents until share ratio reaches RATIO. You are strongly encouraged to specify equals or more than 1.0 here. Specify 0.0 if you intend to do seeding regardless of share ratio. If --seed-time option is specified along with this option, seeding ends when at least one of the conditions is satisfied.
seed-ratio=0.4
# Specify seeding time in (fractional) minutes.
seed-time=10080
# Try to download first and last pieces of each file first. This is useful for previewing files. The argument can contain 2 keywords: head and tail. To include both keywords, they must be separated by comma. These keywords can take one parameter, SIZE. For example, if head=<SIZE> is specified, pieces in the range of first SIZE bytes of each file get higher priority. tail=<SIZE> means the range of last SIZE bytes of each file.
bt-prioritize-piece=head
# Removes the unselected files when download is completed in BitTorrent.
bt-remove-unselected-file=true
# Seed previously downloaded files without verifying piece hashes.
bt-seed-unverified=true
# Set host and port as an entry point to IPv4 DHT network.
dht-entry-point=dht.transmissionbt.com:6881
# Set host and port as an entry point to IPv6 DHT network.
dht-entry-point6=dht.transmissionbt.com:6881
# Enable IPv4 DHT functionality. It also enables UDP tracker support. If a private flag is set in a torrent, aria2 doesn't use DHT for that download even if true is given.
enable-dht=true
# Enable IPv6 DHT functionality. If a private flag is set in a torrent, aria2 doesn't use DHT for that download even if true is given.
enable-dht6=true
# Enable Peer Exchange extension. If a private flag is set in a torrent, this feature is disabled for that download even if true is given.
enable-peer-exchange=true
# Specify the string used during the bitorrent extended handshake for the peer's client version.
peer-agent=Transmission/2.94
# peer-agent=uTorrentMac/1870(43796)
# peer-agent=Deluge 1.3.15
# Specify the prefix of peer ID. The peer ID in BitTorrent is 20 byte length. If more than 20 bytes are specified, only first 20 bytes are used. If less than 20 bytes are specified, random byte data are added to make its length 20 bytes.
peer-id-prefix=-TR2940-
# peer-id-prefix=-UM1870-
# peer-id-prefix=-DE13F0-
# Set bt-tracker timeout in seconds.
# bt-tracker-timeout=30
# Comma separated list of additional BitTorrent tracker's announce URI.
bt-tracker=<udp://tracker.opentrackr.org:1337/announce,udp://9.rarbg.com:2810/announce,udp://opentracker.i2p.rocks:6969/announce,https://opentracker.i2p.rocks:443/announce,udp://tracker.torrent.eu.org:451/announce,udp://tracker.dler.org:6969/announce,udp://tr.cili001.com:8070/announce,udp://p4p.arenabg.com:1337/announce,udp://open.stealth.si:80/announce,udp://open.demonii.com:1337/announce,udp://explodie.org:6969/announce,udp://exodus.desync.com:6969/announce,https://tracker.tamersunion.org:443/announce,https://tracker.nanoha.org:443/announce,https://tracker.lilithraws.org:443/announce,https://tr.burnabyhighstar.com:443/announce,https://1337.abcvg.info:443/announce,http://tracker.mywaifu.best:6969/announce,http://bt.okmp3.ru:2710/announce,http://1337.abcvg.info:80/announce,http://i-p-v-6.tk:6969/announce,http://ipv6.1337.cx:6969/announce,http://ipv6.govt.hu:6969/announce,http://nyaa.tracker.wf:7777/announce,http://open-v6.demonoid.ch:6969/announce,http://open.acgnxtracker.com:80/announce,http://open.tracker.ink:6969/announce,http://p2p.0g.cx:6969/announce,http://share.camoe.cn:8080/announce,http://t.acg.rip:6699/announce,http://t.nyaatracker.com:80/announce,http://torrentsmd.com:8080/announce,http://tr.cili001.com:8070/announce,http://tracker.bt4g.com:2095/announce,http://tracker.files.fm:6969/announce,http://tracker.gbitt.info:80/announce,http://tracker.ipv6tracker.ru:80/announce,http://tracker.k.vu:6969/announce,http://tracker.letpo.com:80/announce,http://tracker.skyts.net:6969/announce,http://trackme.theom.nz:80/announce,http://v6-tracker.0g.cx:6969/announce,http://www.all4nothin.net:80/announce.php,http://www.wareztorrent.com:80/announce,https://t1.hloli.org:443/announce,https://tr.abiir.top:443/announce,https://tr.abir.ga:443/announce,https://tracker.foreverpirates.co:443/announce,https://tracker.gbitt.info:443/announce,https://tracker.imgoingto.icu:443/announce,https://tracker.jiesen.life:8443/announce,https://tracker.kuroy.me:443/announce,https://tracker.lilithraws.cf:443/announce,https://tracker.loligirl.cn:443/announce,https://tracker.m-team.cc:443/announce.php,https://tracker.mlsub.net:443/announce,https://tracker1.520.jp:443/announce,https://trackers.mlsub.net:443/announce,https://trackme.theom.nz:443/announce,udp://aarsen.me:6969/announce,udp://acxx.de:6969/announce,udp://aegir.sexy:6969/announce,udp://astrr.ru:6969/announce,udp://bt.ktrackers.com:6666/announce,udp://bt1.archive.org:6969/announce,udp://cutscloud.duckdns.org:6969/announce,udp://dht.bt251.com:6969/announce,udp://free.publictracker.xyz:6969/announce,udp://htz3.noho.st:6969/announce,udp://ipv6.69.mu:6969/announce,udp://ipv6.tracker.monitorit4.me:6969/announce,udp://laze.cc:6969/announce,udp://mail.artixlinux.org:6969/announce,udp://mirror.aptus.co.tz:6969/announce,udp://moonburrow.club:6969/announce,udp://movies.zsw.ca:6969/announce,udp://new-line.net:6969/announce,udp://open.4ever.tk:6969/announce,udp://open.dstud.io:6969/announce,udp://open.free-tracker.ga:6969/announce,udp://open.publictracker.xyz:6969/announce,udp://open.tracker.ink:6969/announce,udp://opentor.org:2710/announce,udp://private.anonseed.com:6969/announce,udp://psyco.fr:6969/announce,udp://rep-art.ynh.fr:6969/announce,udp://sanincode.com:6969/announce,udp://static.54.161.216.95.clients.your-server.de:6969/announce,udp://t.133335.xyz:6969/announce,udp://thagoat.rocks:6969/announce,udp://thetracker.org:80/announce,udp://torrentclub.space:6969/announce,udp://torrents.artixlinux.org:6969/announce,udp://tracker.4.babico.name.tr:3131/announce,udp://tracker.altrosky.nl:6969/announce,udp://tracker.artixlinux.org:6969/announce,udp://tracker.auctor.tv:6969/announce,udp://tracker.beeimg.com:6969/announce,udp://tracker.birkenwald.de:6969/announce,udp://tracker.bitsearch.to:1337/announce,udp://tracker.cyberia.is:6969/announce,udp://tracker.jonaslsa.com:6969/announce,udp://tracker.leech.ie:1337/announce,udp://tracker.lelux.fi:6969/announce,udp://tracker.moeking.me:6969/announce,udp://tracker.monitorit4.me:6969/announce,udp://tracker.openbtba.com:6969/announce,udp://tracker.pimpmyworld.to:6969/announce,udp://tracker.publictracker.xyz:6969/announce,udp://tracker.skynetcloud.site:6969/announce,udp://tracker.skyts.net:6969/announce,udp://tracker.tcp.exchange:6969/announce,udp://tracker.theoks.net:6969/announce,udp://tracker1.bt.moack.co.kr:80/announce,udp://tracker2.dler.com:80/announce,udp://trackerb.jonaslsa.com:6969/announce,udp://uploads.gamecoast.net:6969/announce,udp://v1046920.hosted-by-vdsina.ru:6969/announce,udp://wepzone.net:6969/announce,udp://www.peckservers.com:9000/announce,udp://zecircle.xyz:6969/announce,ws://hub.bugout.link:80/announce,wss://tracker.openwebtorrent.com:443/announce,http://open.acgtracker.com:1096/announce,udp://tracker4.itzmx.com:2710/announce,udp://tracker3.itzmx.com:6961/announce,udp://tracker2.itzmx.com:6961/announce,udp://tracker1.itzmx.com:8080/announce,http://tracker4.itzmx.com:2710/announce,http://tracker3.itzmx.com:6961/announce,http://tracker2.itzmx.com:6961/announce,http://tracker1.itzmx.com:8080/announce,udp://tracker.publicbt.com:80/announce,http://tr.bangumi.moe:6969/announce,http://104.238.198.186:8000/announce,udp://93.158.213.92:1337/announce,udp://23.137.251.45:6969/announce,udp://89.234.156.205:451/announce,udp://185.181.60.155:80/announce,udp://156.234.201.18:80/announce,udp://171.104.110.21:6969/announce,udp://45.154.253.9:6969/announce,udp://107.189.11.230:6969/announce,udp://185.70.187.79:6969/announce,udp://185.230.4.150:1337/announce,udp://185.44.82.25:1337/announce,udp://198.100.149.66:6969/announce,udp://149.202.88.193:80/announce,udp://208.83.20.20:6969/announce,udp://tracker.openbittorrent.com:6969/announce,udp://ipv4.tracker.harry.lu:80/announce>