X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=apt_dht%2Fapt_dht_conf.py;h=4f77d6f61188ad0550cce674c182b18b9d9cff2a;hp=98bbd884358bbd1b09ae69945e500d8fd9b06b68;hb=61a8482b596a221a97e0f3cdcc7452468bee85f1;hpb=e6beef78406c3093fc4eb98c4293b9257b44aa61 diff --git a/apt_dht/apt_dht_conf.py b/apt_dht/apt_dht_conf.py index 98bbd88..4f77d6f 100644 --- a/apt_dht/apt_dht_conf.py +++ b/apt_dht/apt_dht_conf.py @@ -25,8 +25,16 @@ DEFAULTS = { # Directory to store the downloaded files in 'CACHE_DIR': home + '/.apt-dht/cache', + # Other directories containing packages to share with others + # WARNING: all files in these directories will be hashed and available + # for everybody to download + 'OTHER_DIRS': """""", + # User name to try and run as 'USERNAME': '', + + # Whether it's OK to use an IP addres from a known local/private range + 'LOCAL_OK': 'no', # Which DHT implementation to use. # It must be possile to do "from .DHT import DHT" to get a class that