Server per il P2P con Debian: differenze tra le versioni

Riga 78: Riga 78:
<br />&#35; Default directory to save the downloaded torrents.
<br />&#35; Default directory to save the downloaded torrents.
<br />&#35;directory = ./complete
<br />&#35;directory = ./complete
<br /><font style="color:red;">directory = /home/mulo/torrent/complete</font>
<br /><font style="color:red;">directory = /home/mulo/torrent/</font>


<br />&#35; Default session directory. Make sure you don't run multiple instance
<br />&#35; Default session directory. Make sure you don't run multiple instance
<br />&#35; of rtorrent using the same session directory. Perhaps using a
<br />&#35; of rtorrent using the same session directory. Perhaps using a
<br />&#35; relative path?
<br />&#35; relative path?
<br />session = /home/mulo/session
<br /><font style="color:red;">session = /home/mulo/torrent/session</font>


<br />&#35; Watch a directory for new torrents, and stop those that have been
<br />&#35; Watch a directory for new torrents, and stop those that have been
<br />&#35; deleted.
<br />&#35; deleted.
<br />schedule = watch_directory,10,10,load_start=/home/mulo/watch/*.torrent
font style="color:red;"><br />schedule = watch_directory,10,10,load_start=/home/mulo/watch/*.torrent
<br />schedule = tied_directory,10,10,start_tied=
<br />schedule = tied_directory,10,10,start_tied=
<br />schedule = untied_directory,10,10,close_untied=
<br />schedule = untied_directory,10,10,close_untied=</font>
<br />&#35; */
<br />&#35; */
<br />&#35; Close torrents when diskspace is low.
<br />&#35; Close torrents when diskspace is low.
<br />&#35;schedule = low_diskspace,5,60,close_low_diskspace=100M
font style="color:red;"><br />&#35;schedule = low_diskspace,5,60,close_low_diskspace=100M</font>


<br />&#35; Stop torrents when reaching upload ratio in percent,
<br />&#35; Stop torrents when reaching upload ratio in percent,
Riga 98: Riga 98:
<br />&#35; reaching final upload ratio in percent.
<br />&#35; reaching final upload ratio in percent.
<br />&#35; example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
<br />&#35; example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
<br />schedule = ratio,60,60,"stop_on_ratio=250,250M,2500"
font style="color:red;"><br />schedule = ratio,60,60,"stop_on_ratio=250,250M,2500"</font>
<br />&#35; Move completed torrents
<br />&#35; Move completed torrents
<br />system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,/home/mulo/complete;d.set_directory=/home/mulo/complete"
<br />system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,/home/mulo/complete;d.set_directory=/home/mulo/complete"
Riga 112: Riga 112:


<br />&#35; Port range to use for listening.
<br />&#35; Port range to use for listening.
<br />port_range = 6881-6999
<font style="color:red;"><br />port_range = 6881-6999</font>


<br />&#35; Start opening ports at a random position within the port range.
<br />&#35; Start opening ports at a random position within the port range.
Riga 123: Riga 123:


<br />&#35; Set whetever the client should try to connect to UDP trackers.
<br />&#35; Set whetever the client should try to connect to UDP trackers.
<br />use_udp_trackers = yes
<font style="color:red;"><br />use_udp_trackers = yes</font>


<br />&#35; Alternative calls to bind and ip that should handle dynamic ip's.
<br />&#35; Alternative calls to bind and ip that should handle dynamic ip's.
Riga 137: Riga 137:
<br />&#35;
<br />&#35;
<br />&#35; encryption = allow_incoming,enable_retry,prefer_plaintext
<br />&#35; encryption = allow_incoming,enable_retry,prefer_plaintext
<br />encryption = allow_incoming,try_outgoing,enable_retry
<font style="color:red;"><br />encryption = allow_incoming,try_outgoing,enable_retry</font>


<br />&#35; Enable DHT support for trackerless torrents or when all trackers are down.
<br />&#35; Enable DHT support for trackerless torrents or when all trackers are down.
Riga 144: Riga 144:
<br />&#35; The default is "off". For DHT to work, a session directory must be defined.
<br />&#35; The default is "off". For DHT to work, a session directory must be defined.
<br />&#35;  
<br />&#35;  
<br />dht = auto
<font style="color:red;"><br />dht = auto</font>


<br />&#35; UDP port to use for DHT.  
<br />&#35; UDP port to use for DHT.  
909

contributi