From 1ce38fdaedc097bd1027900d22e087dd704aeea4 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 11 Mar 2016 08:55:51 +0100 Subject: [PATCH] 0n - added experimental zeronet network which supports intranet peers (still needs work) --- defaults/yacy.network.zeronet.unit | 78 ++++++++++++++++++++++++++++++ defaults/yacy.networks | 3 +- 2 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 defaults/yacy.network.zeronet.unit diff --git a/defaults/yacy.network.zeronet.unit b/defaults/yacy.network.zeronet.unit new file mode 100644 index 000000000..997590fea --- /dev/null +++ b/defaults/yacy.network.zeronet.unit @@ -0,0 +1,78 @@ +# Network definition file for the freeworld network +# this is the default standard network for fresh YaCy Peers + +# -----------------------------------------------------------------# +# for an explanation please see the file yacy.network.readme # +# this is a work in progress. disabled properties are not yet used # +# -----------------------------------------------------------------# + +# define the name of the nework +# this nickname is also used to identifiy network requests +network.unit.name = zeronet + +# the visible name of the network +network.unit.description = ZeroNet Search Index + +# definition of the content domain: possible values are: +# global, local, any +network.unit.domain = any + +# maximum search time for remote queries (milliseconds) +network.unit.remotesearch.maxtime = 3000 + +# maximum number of results per remote query +network.unit.remotesearch.maxcount = 10 + +# flag to switch on dht transmission +# if the dht transmission is set to 'false' then for a global +# query all targets are accessed +network.unit.dht = false + +# the number of redundant target peers: +# redundant peers get a copy of the original dht target information +network.unit.dhtredundancy.junior = 1 +network.unit.dhtredundancy.senior = 3 + +# the vertical partition of the dht: this applies a division +# of the dht into 2^^ fragments which get +# all the same word-partition targets but a document-dht computed +# fragment of all documents +network.unit.dht.partitionExponent = 4 + +# network request burst attributes: this enables non-dht target +# positions for certain situations. This is not a 'traditional' burst-mode +# since it does not refer to a handshake to a single client but it refers +# to not-handshaking in a distributed way. It means to get data without using +# a dht transmission logic. + +# switch to enable verification of search results +# must be set to true in untrusted networks and can be +# set to false in completely trusted networks +network.unit.inspection.searchverify = false + +# speed of remote crawl de-queueing. this is the number of milliseconds +# as a pause between two requests +network.unit.remotecrawl.speed = 300 + +# addresses of seed-list bootstrap locations +network.unit.bootstrap.seedlist0 = http://search.yacy.net:7050/share/seed.txt + +# each network may use different yacy distributions. +# the auto-updater can access network-specific update locations +network.unit.update.location0 = http://yacy.net/en/index.html +network.unit.update.location0.key = MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAbGeo21lW3Ost86RxSrCLIHaYaaj/68jFrTMjAORGJqUTgnvYCd4T1HmD/pCYrW8sQtN4KFPbm8M/MbDWeojQpy+qVqewBilYIdNpArGknvFkw4jpDPu7aR6FRz56zcZTnBiOpqAbBXDB3o6D1w9zVDPd4LBSTLgedt0joZeVAVk= +network.unit.update.location1 = http://kaskelix.de/update/ +network.unit.update.location1.key = MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAbGeo21lW3Ost86RxSrCLIHaYaaj/68jFrTMjAORGJqUTgnvYCd4T1HmD/pCYrW8sQtN4KFPbm8M/MbDWeojQpy+qVqewBilYIdNpArGknvFkw4jpDPu7aR6FRz56zcZTnBiOpqAbBXDB3o6D1w9zVDPd4LBSTLgedt0joZeVAVk= +network.unit.update.location2 = http://latest.yacy.de/ +network.unit.update.location2.key = MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAbGeo21lW3Ost86RxSrCLIHaYaaj/68jFrTMjAORGJqUTgnvYCd4T1HmD/pCYrW8sQtN4KFPbm8M/MbDWeojQpy+qVqewBilYIdNpArGknvFkw4jpDPu7aR6FRz56zcZTnBiOpqAbBXDB3o6D1w9zVDPd4LBSTLgedt0joZeVAVk= + +# properties for in-protocol response authentication: +network.unit.protocol.control = uncontrolled + +# white/blacklists +network.unit.access.whitelist = 10\..*,127\..*,172\.(1[6-9]|2[0-9]|3[0-1])\..*,169\.254\..*,192\.168\..*,localhost +network.unit.access.blacklist = + +# greedy learning: fast information acquisition heuristic for new peers +greedylearning.enabled = false +greedylearning.limit.doccount = 1000 diff --git a/defaults/yacy.networks b/defaults/yacy.networks index 344d97c70..dc8936ae7 100644 --- a/defaults/yacy.networks +++ b/defaults/yacy.networks @@ -2,4 +2,5 @@ defaults/yacy.network.freeworld.unit defaults/yacy.network.webportal.unit defaults/yacy.network.intranet.unit defaults/yacy.network.allip.unit -defaults/yacy.network.metager.unit \ No newline at end of file +defaults/yacy.network.metager.unit +defaults/yacy.network.zeronet.unit \ No newline at end of file