En:YaCy-i2p

Aus YaCyWiki
Wechseln zu: Navigation, Suche

YaCy operating with I2P

Warning.png This shortly written howto article do not claim to be complete. It should serve only as a starting point for your own experiments. So, please, improve it.

Current Status

  • YaCy under i2p-Domain make attainable functioned (see the following configuration)
  • on i2p-Domains surf with Proxy did not function, DNS problem
  • crawling also does not function, DNS problem
  • appearance-final problem is still the Port of YaCy, because about i2p-Domains everything is called more than 80, even if YaCy runs locally on 8090, therefore YaCy itself is not found

I2P installation

Install I2P. For Gentoo distribution there is in the Overlay zugaina (?) moreover the package net-p2p/i2p.

I2P setup

Lege in der Webconsole unter I2PTunnel (http://localhost:7657/i2ptunnel/) einen neuen "Local Server Tunnel" an.

Name: Name der Konfiguration, z.B. yacy

Description: Beschreibung des (i2p) Peer

Auto Start: erstmal nicht setzen, kann später nachgeholt werden wenn alles läuft

Target/Host: localhost Port: 8282

(Der Hostname und der Port von YaCy, am besten einen anderen Port als 8090 benutzen (z.B. 8282), das muß auch in YaCy entsprechend konfiguriert werden.)

Website name: (i2p) Hostname des Services, z.B. yacy_mypeername.i2p

Private key file: ein Dateiname für den privaten Key des Servers (relativ zum i2p-Verzeichnis), wird dann durch i2p erstellt und befüllt, z.B. yacy.privKey

Profile: interactive connection

Local destination: bleibt erstmal leer, hier ist später der Pubkey zu finden

I2CP Options/Host: ist (immer?) localhost Port: 7654

Yacy i2p.jpg

(this I2P screen shot was made in 2006)

YaCy setup

YaCy must be configured as follows:

  • Connection with the public cluster may not happen (See. the article Configuration Tor-YaCy)
  • I2P Proxy on localhost:4444 must be used
  • static-IP is the i2p-Hostname
  • adapt the used Port number (s.o.)

Blacklist

In order that only I2P domains are indexed, and that the crawler does not follow links unrelated with the I2P network, something must be write in the Blacklist. Simply add the following entry:

 .*[^\.i2p]/.*

(go to YaCy's 'Administration page' > 'Administration' > 'Filter & Blacklists'

This way, all links which do not have i2p as a TLD (TLD: Top-level Domain) are blocked.

Other I2P eepsites that you may wish to block can be added in the Blackliste.

Warning.png Unfortunately, this entry is not 100 % sure. Some external links still get in the German Railways. Only with a real Whiteliste - which is not available for a moment - there will not be a safe method around i2p to lock out Domains.

Note of Irdran: How on the discussion side described, I recommend the "regex Whitelistengine" and as an expression: ^http://[^/]+\.i2p/.*

Start

Translation to improve :

Now YaCy and afterwards the tunnel start. About the Preview badge test. In addition the I2P-Proxy (localhost:4444) must be used. If everything clicks the configuration of the tunnel can be opened again. Now there should be to be thought under Local destination of the public Key he can become other-applied (see in addition Doku from I2P).

Links


Flag-germany.gif Von dieser Seite existiert auch eine deutsche Version.