r147 - /debtorrent/trunk/config.debtorrent.ini
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Tue Jul 10 23:46:34 UTC 2007
Author: camrdale-guest
Date: Tue Jul 10 23:46:34 2007
New Revision: 147
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=147
Log:
Cleanup the config file a bit.
Modified:
debtorrent/trunk/config.debtorrent.ini
Modified: debtorrent/trunk/config.debtorrent.ini
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/config.debtorrent.ini?rev=147&op=diff
==============================================================================
--- debtorrent/trunk/config.debtorrent.ini (original)
+++ debtorrent/trunk/config.debtorrent.ini Tue Jul 10 23:46:34 2007
@@ -56,6 +56,15 @@
# saveas_style = 1
+#
+# Expire Cache Data
+#
+# The number of days after which you wish to expire old cache data
+# (0 = disabled).
+#
+
+# expire_cache_data = 10
+
###############################################################################
# R A T E L I M I T S
###############################################################################
@@ -347,6 +356,15 @@
# download_slice_size = 16384
#
+# Maximum Slice Length
+#
+# The maximum length slice to send to peers, in bytes, larger requests are
+# ignored.
+#
+
+# max_slice_length = 131072
+
+#
# Maximum Message Length
#
# The maximum length (in bytes) prefix encoding you'll accept over the wire.
@@ -354,15 +372,6 @@
#
# max_message_length = 8388608
-
-#
-# Maximum Slice Length
-#
-# The maximum length slice to send to peers, in bytes, larger requests are
-# ignored.
-#
-
-# max_slice_length = 131072
#
# Rarest First Cutoff
@@ -429,14 +438,6 @@
# round_robin_period = 30
#
-# Security
-#
-# Whether to enable extra security features intended to prevent abuse.
-#
-
-# security = 1
-
-#
# Auto Kick
#
# Whether to allow the client to automatically kick/ban peers that send bad
@@ -445,6 +446,19 @@
# auto_kick = 1
+#
+# Security
+#
+# Whether to enable extra security features intended to prevent abuse. Enabling
+# this feature will prevent the client from accepting multiple connections from
+# the same IP address for the same torrent. It will also result in a banned
+# peer's IP address being banned from all connections for the duration of the
+# torrent. With Security set to 0, the ban would only apply to the combination
+# of IP address and Peer ID sending bad data.
+#
+
+# security = 1
+
###############################################################################
# F I L E S Y S T E M
###############################################################################
@@ -522,15 +536,6 @@
#
# auto_flush = 0
-
-#
-# Expire Cache Data
-#
-# The number of days after which you wish to expire old cache data
-# (0 = disabled).
-#
-
-# expire_cache_data = 10
###############################################################################
# A D V A N C E D B I T T O R R E N T S T U F F
@@ -602,6 +607,14 @@
# port = 9988
#
+# Log File
+#
+# File to write the APT request listener logs to.
+#
+
+# logfile = "/var/log/debtorrent/apt_access.log"
+
+#
# Min Time Between Log Flushes
#
# The minimum time it must have been since the last log flush to do another
@@ -619,6 +632,71 @@
# hupmonitor = 0
#
+# Show InfoPage
+#
+# Whether to display an information and statistics page when the APT
+# requester's root dir is loaded. If enabled, the page can be viewed at:
+#
+# http://localhost:9988/
+#
+# where 9988 is the port specified for listening for APT requests.
+#
+
+# show_infopage = 1
+
+#
+# InfoPage Redirect
+#
+# A URL to redirect the info page to. The Show InfoPage option must be set to
+# True (1) for this to work.
+#
+
+# infopage_redirect = ""
+
+#
+# favicon
+#
+# The file containing x-icon data to return when a browser requests
+# favicon.ico to the APT request listener.
+#
+
+# favicon = ""
+
+#
+# Allow Get
+#
+# Add a /file?hash={hash} url that allows users to download the torrent file
+# from the APT request linstener's info page.
+#
+
+# allow_get = 0
+
+#
+# Allowed IPs
+#
+# A file containing IPs to only allow connections from. The file must contain
+# a single subnet data on each line in the format:
+#
+# aa.bb.cc.dd/len
+#
+# Leaving this option empty allows all IPs to connect to the APT listener
+# (except for those listed in the Banned IPs ranges).
+#
+
+# allowed_ips = ""
+
+#
+# Banned IPs
+#
+# A file containing IPs to NOT allow connections from. The file must contain
+# IP range data on each line in the format:
+#
+# xxx:xxx:ip1-ip2
+#
+
+# banned_ips = ""
+
+#
# apt_parse_dir_interval
#
# The number of seconds between reloading of allowed_ips and banned_ips lists
@@ -626,76 +704,3 @@
#
# apt_parse_dir_interval = 60
-
-#
-# Show InfoPage
-#
-# Whether to display an information and statistics page when the APT
-# requester's root dir is loaded. If enabled, the page can be viewed at:
-#
-# http://localhost:9988/
-#
-# where 9988 is the port specified for listening for APT requests.
-#
-
-# show_infopage = 1
-
-#
-# InfoPage Redirect
-#
-# A URL to redirect the info page to. The Show InfoPage option must be set to
-# True (1) for this to work.
-#
-
-# infopage_redirect = ""
-
-#
-# favicon
-#
-# The file containing x-icon data to return when a browser requests
-# favicon.ico to the APT request listener.
-#
-
-# favicon = ""
-
-#
-# Allowed IPs
-#
-# A file containing IPs to only allow connections from. The file must contain
-# a single subnet data on each line in the format:
-#
-# aa.bb.cc.dd/len
-#
-# Leaving this option empty allows all IPs to connect to the APT listener
-# (except for those listed in the Banned IPs ranges).
-#
-
-# allowed_ips = ""
-
-#
-# Banned IPs
-#
-# A file containing IPs to NOT allow connections from. The file must contain
-# IP range data on each line in the format:
-#
-# xxx:xxx:ip1-ip2
-#
-
-# banned_ips = ""
-
-#
-# Log File
-#
-# File to write the APT request listener logs to.
-#
-
-# logfile = "/var/log/debtorrent/apt_access.log"
-
-#
-# Allow Get
-#
-# Add a /file?hash={hash} url that allows users to download the torrent file
-# from the APT request linstener's info page.
-#
-
-# allow_get = 0
More information about the Debtorrent-commits
mailing list