Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
integrated tor-patch for crawling, if yacyDebugMode is set. (replaces: http://yacy.deruwe.de/overlay/net-misc/yacy-tor/files/disable_dns_checks-svn3132.patch)
allof04097c3dd3d
diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.javaindex d95d986b4..2791114fe 100644--- a/source/de/anomic/plasma/plasmaCrawlStacker.java+++ b/source/de/anomic/plasma/plasmaCrawlStacker.java@@ -297,7 +297,9 @@ public final class plasmaCrawlStacker {// check if ip is local ip addresscheckInterruption(); // TODO: this is protocol specificInetAddress hostAddress = httpc.dnsResolve(nexturl.getHost());- if (hostAddress == null) {+ if(this.sb.getConfig("yacyDebugMode", "true").equals("true")){+ //just ignore the check in debugmode (useful for tor(.eff.org)+ }else if (hostAddress == null) {// if a http proxy is configured name resolution may not workif (this.sb.remoteProxyConfig == null || !this.sb.remoteProxyConfig.useProxy()) {reason = plasmaCrawlEURL.DENIED_UNKNOWN_HOST;