Skip to content

Commit

Permalink
Enable peer exchange, UDP tracker, DHT support (Closes #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
chros authored and chros committed May 16, 2017
1 parent 066a3ed commit 7afeb64
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions ubuntu-14.04/home/chros73/.rtorrent-config.rc
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ method.insert = cfg.global.upmain.threshold,value, 1100
method.insert = cfg.global.slot.uprate.min, value, 5




# Set the numwant field sent to the tracker, which indicates how many peers we want. A negative value disables this feature. Default: -1 (tracker_numwant)
trackers.numwant.set = 100

Expand Down Expand Up @@ -147,17 +145,23 @@ schedule2 = ip_tick, 0, 1800, network.local_address.set=chros73.no-ip.org
network.port_range.set = 62820-62820

# Set whether the client should try to connect to UDP trackers (It can cause various problems if it's enabled, if you experience any with this option enabled then disable it.)
trackers.use_udp.set = 0
trackers.use_udp.set = 1

# 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.mode.set = auto
dht.mode.set = auto

# UDP port to use for DHT
#dht.port.set = 62882
dht.port.set = 62882

# Adding public DHT servers for easy bootstrapping
schedule2 = dht_node, 5, 0, "dht.add_node=router.utorrent.com:6881"
schedule2 = dht_node, 5, 0, "dht.add_node=dht.transmissionbt.com:6881"
schedule2 = dht_node, 5, 0, "dht.add_node=router.bitcomet.com:6881"
schedule2 = dht_node, 5, 0, "dht.add_node=dht.aelitis.com:6881"

# Enable/disable peer exchange for torrents that aren't marked private. Disabled by default. (peer_exchange)
#protocol.pex.set = no
protocol.pex.set = yes

# Check hash for finished torrents. (check_hash)
pieces.hash.on_completion.set = no
Expand Down

0 comments on commit 7afeb64

Please sign in to comment.