mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-15 21:56:18 +00:00
* Added support for DHT. Patch by Josef Drexler, public domain as per
prior agreement. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1013 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+34
-1
@@ -1,4 +1,5 @@
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
|
||||
"http://oasis-open.org/docbook/xml/4.1/docbookx.dtd">
|
||||
|
||||
<refentry id="rtorrent">
|
||||
|
||||
@@ -706,6 +707,38 @@ not allow connections to UDP trackers.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>dht = <replaceable>disabled|off|auto|on</replaceable></term>
|
||||
<listitem><para>
|
||||
Support for querying the distributed hash table (DHT) to find peers for trackerless
|
||||
torrents or when all trackers are down. Set to <emphasis>disable</emphasis> to completely
|
||||
disable DHT, <emphasis>off</emphasis> (default) to enable DHT but to not start the
|
||||
DHT server, <emphasis>auto</emphasis> to automatically start and stop the DHT server
|
||||
as needed or <emphasis>on</emphasis> for permanently keeping the DHT server running.
|
||||
When set to automatic, the DHT server will start up when the first non-private torrent
|
||||
is started, and will stop 15-30 minutes after the last non-private torrent is
|
||||
stopped (or when rTorrent quits). For DHT to work, a session directory must be set (for
|
||||
saving the DHT cache).
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>dht_port = <replaceable>number</replaceable></term>
|
||||
<listitem><para>
|
||||
Set the UDP listen port for DHT. Defaults to 6881.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>dht_add_node = <replaceable>host[:port]</replaceable></term>
|
||||
<listitem><para>
|
||||
Not intended for use in the configuration file but as one-time option in the
|
||||
client or on the command line to bootstrap an empty DHT node table. Contacts
|
||||
the given node and attempts to bootstrap from it if it replies.
|
||||
The port is optional, with port 6881 being used by default.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>http_capath = <replaceable>path</replaceable></term>
|
||||
<term>http_cacert = <replaceable>filename</replaceable></term>
|
||||
|
||||
@@ -74,6 +74,17 @@
|
||||
#
|
||||
# encryption = allow_incoming,enable_retry,prefer_plaintext
|
||||
|
||||
# Enable DHT support for trackerless torrents or when all trackers are down.
|
||||
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
|
||||
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
|
||||
# The default is "off". For DHT to work, a session directory must be defined.
|
||||
#
|
||||
# dht = auto
|
||||
|
||||
# UDP port to use for DHT.
|
||||
#
|
||||
# dht_port = 6881
|
||||
|
||||
# Enable peer exchange (for torrents not marked private)
|
||||
#
|
||||
# peer_exchange = yes
|
||||
|
||||
Reference in New Issue
Block a user