X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=debian%2Fapt-p2p.conf.sgml;h=793c1cd6659b5fa9f8fd402f8492cd8d3be7472a;hp=ce9913744d0d0268a516078e3e09dd62cb224e95;hb=a5dd904be839e2b2896483724d6238b5a970b5de;hpb=6d23f1559df1435172f1da25ae0f57ae11a24bde diff --git a/debian/apt-p2p.conf.sgml b/debian/apt-p2p.conf.sgml index ce99137..793c1cd 100644 --- a/debian/apt-p2p.conf.sgml +++ b/debian/apt-p2p.conf.sgml @@ -4,14 +4,14 @@ Cameron"> Dale"> - February 17, 2008"> + April 25, 2008"> 5"> camrdale@gmail.com"> apt-p2p.conf"> - + Debian"> GNU"> @@ -62,15 +62,15 @@ FORMAT &dhpackage; has a structure similar to Microsoft Windows INI files. - The configuration file consists of sections, led by a ``[section]'' header and followed - by ``name = value'' or ``name: value'' entries, with continuations in the style of RFC 822 + The configuration file consists of sections, led by a '[section]' header and followed + by 'name = value' or 'name: value' entries, with continuations in the style of RFC 822 (values can span multiple lines by starting the subsequent lines with one or more spaces). Some values indicate times, in which case a suffix of 'd' for days, 'h' for hours, 'm' for minutes, and 's' for seconds can be used. Boolean values can be '1', 'yes', 'true', and 'on' to evaluate to True, or '0', 'no', 'false', and 'off' to evaluate to false. Note that leading whitespace is removed from values, and case is not important. - Lines beginning with "#" or ";" are ignored and may be used to provide comments. + Lines beginning with '#' or ';' are ignored and may be used to provide comments. @@ -101,6 +101,16 @@ (Default is 0) + + + + The minimum number of peers before the mirror is not used. + If there are fewer peers than this for a file, the mirror will also be + used to speed up the download. Set to 0 to never use the mirror if + there are peers. + (Default is 3) + + @@ -119,10 +129,17 @@ - Whether it's OK to use an IP addres from a known local or private range. + Whether it's OK to use an IP address from a known local or private range. (Default is false) + + + + Whether a remote peer can access the statistics page. + (Default is True) + + @@ -136,16 +153,24 @@ The time after which to refresh DHT keys. This should be a time slightly less than the DHT's KEY_EXPIRE value. - (Default is 57 minutes.) + (Default is 2.5 hours.) + + + + + + The user name to try and run as. + Leaving this blank will try to run as current user. + (Default is 'apt-p2p'.) - The DHT implementation to use. It must be possile to do (in python) - ``from <DHT>.DHT import DHT'' to get a class that implements the IDHT interface. - There should also be a similarly named section below to specify the options for the DHT. - (Default is `apt_p2p_Khashmir') + The DHT implementation to use. It must be possile to do (in python) 'from + <DHT>.DHT import DHT' to get a class that implements the IDHT interface. + There should also be a similarly named section in the config file to specify + the options for the DHT. (Default is 'apt_p2p_Khashmir') @@ -184,21 +209,6 @@ (Default is false) - - - - The number of the Kademlia "K" constant. - It should be an even number. - (Default is 8.) - - - - - - The number of bits in the hash to use. - (Default is 160.) - - @@ -210,7 +220,7 @@ The concurrent number of calls per find node/value request. - (Default is 4.) + (Default is 8.) @@ -253,11 +263,37 @@ (Default is 1 hour.) + + + + Whether it's OK to add nodes to the routing table that use an IP address + from a known local or private range. + (Default is to use the value specified in the DEFAULT section.) + + The time to wait before expiring unrefreshed keys. - (Default is 1 hour.) + (Default is 3 hours.) + + + + + + The time to wait before KRPC requests timeout. + (Default is 9 seconds.) + + + + + + The time to start with when resending KRPC requests using exponential backoff. + The request will first be resent after the delay set here. + The request will be resent again after twice the delay set here, and so on. + e.g. if TIMEOUT is 9 sec., and INITIAL_DELAY is 2 sec., then requests will + be resent at times 0, 2 (2 sec. later), and 6 (4 sec. later), and then will + timeout at 9. (Default is 2 seconds.)