summaryrefslogtreecommitdiff
path: root/defaults/yacy.network.intranet.unit
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-01-12 10:55:48 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-01-12 10:55:48 +0000
commit9ef77d57f58048a469fb9395e93b112068e99ca7 (patch)
treea6926323c838c242280d11c791e3a56dc89d7712 /defaults/yacy.network.intranet.unit
parentac89e8e84d5e5ba7c75ee354c41e5b9e94d8f320 (diff)
added an access control to the search interface using white/blacklists:
in the network configuration, you can configure a whiteliste and a blacklist - blacklistet clients cannot search - whitelistet client get never any search restrictions - for all other clients: apply DoS search restrictions Please see the example configuriation in yacy.network.freeworld.unit by default, all clients from localhosts get whitlistet. If you have your own YaCy network, please put all the IPs of your peers into the whitelist git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5475 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'defaults/yacy.network.intranet.unit')
-rw-r--r--defaults/yacy.network.intranet.unit6
1 files changed, 5 insertions, 1 deletions
diff --git a/defaults/yacy.network.intranet.unit b/defaults/yacy.network.intranet.unit
index 947c360e4..be7a80b2b 100644
--- a/defaults/yacy.network.intranet.unit
+++ b/defaults/yacy.network.intranet.unit
@@ -23,4 +23,8 @@ network.unit.update.location2 = http://www.findenstattsuchen.info/YaCy/latest/in
network.unit.update.location3 = http://www.yacystats.de/yacybuild/
# properties for in-protocol response authentication:
-network.unit.protocol.control = uncontrolled \ No newline at end of file
+network.unit.protocol.control = uncontrolled
+
+# white/blacklists
+network.unit.access.whitelist = 10.*,127.*,172.16.*,169.254.*,192.168.*,localhost
+network.unit.access.blacklist = \ No newline at end of file