I2P: Difference between revisions

From ArchWiki
m (→‎Eepsite: - use a better link description)
(update status of external links)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
[[Category:Anonymity networks]]
[[Category:Anonymity networks]]
[[ja:I2P]]
[[ja:I2P]]
[[ru:I2P]]
[[ru:I2P]]
[[zh-hans:I2P]]
[[zh-hans:I2P]]
{{Related articles start}}
{{Related|Tor}}
{{Related|GNUnet}}
{{Related|Freenet}}
{{Related articles end}}
[https://geti2p.net/en/about/intro I2P] is an anonymizing network, offering a simple layer that identity-sensitive applications can use to securely communicate. All data is wrapped with several layers of encryption, and the network is both distributed and dynamic, with no trusted parties. Many applications are available that interface with I2P, including mail, peer-peer, IRC chat, and others.
[https://geti2p.net/en/about/intro I2P] is an anonymizing network, offering a simple layer that identity-sensitive applications can use to securely communicate. All data is wrapped with several layers of encryption, and the network is both distributed and dynamic, with no trusted parties. Many applications are available that interface with I2P, including mail, peer-peer, IRC chat, and others.


== Installation ==
Two implementations of I2P are as follows:


Install the {{Pkg|i2pd}} package for the daemon written in C++ which may suit hardware with limited resources or {{AUR|i2pd-git}} for the development version.
* [https://geti2p.net/ I2P] — Written in Java. First development. Most interactive and user-friendly Web-GUI interface and features, has a built-in client of email (SusiMail) and torrent (I2PSnark).
* [https://i2pd.website/ i2pd] — Alternative development. Does not require Java, is written in C++, consumes less memory and CPU.
 
== I2P (Java suite) ==
 
=== Installation ===
 
The standard I2P suite is available with the {{AUR|i2p}} and {{AUR|i2p-bin}} packages. Both require a [[Java]] Runtime Environment. A recent Sun/Oracle Java or [[OpenJDK]] version with "mixed mode" support is recommended, "interpreted mode" could result in performance degradation, check with "java -version".
 
The I2P homepage also provides a [https://geti2p.net/en/download#unix pre-compiled binary] which includes command line (headless) option and can be installed in the user's home directory. Such an installation will auto update through the i2p network with signed zip packages directly from the i2p developers.
 
=== Usage ===
 
[[Start/enable]] {{ic|i2prouter.service}} in case of {{AUR|i2p}}, the pre-compiled binary illustrate the usage in {{ic|INSTALL-headless.txt}}
 
Open your browser of choice and visit the I2P welcome page at  {{ic|127.0.0.1:7657}} for the suite (see the [https://geti2p.net/en/faq FAQ]).
From here you can navigate to I2Ps configuration and statistics pages, and links to [[Wikipedia:Eepsite|Eepsites]].
Also, be aware that eepsites are unavailable until the daemon has bootstrapped to the network, which can take several minutes.
In order to visit eepsites configure your browser to use the local proxy:
 
HTTP  127.0.0.1 4444


The standard I2P suite is available with the {{AUR|i2p}} and {{AUR|i2p-bin}} packages. Both require a [[Java]] Runtime Environment (i.e. [[OpenJDK]]). Oracle Java is recommended for the ARM platform.
=== Eepsite ===


The I2P homepage also provides a [https://geti2p.net/en/download#unix pre-compiled binary] which includes command line (headless) option and can be installed in the user's home directory. In this case I2P will auto update itself through the i2p network.
To make an eepsite, follow the I2P [http://127.0.0.1:7658 instructions], but keep in mind that the home directory will apply to the i2p user whose home directory is {{ic|/opt/i2p}} as shown in the AUR [https://aur.archlinux.org/cgit/aur.git/tree/i2p.install?h=i2p i2p.install] file.


== Usage ==
== i2pd (C++ Alternative) ==


If you installed i2pd, you will have to [[start]] and optionally also [[enable]] the {{ic|i2pd.service}} at this point. The configuration for the daemon is made in {{ic|/etc/i2pd/i2pd.conf}}. If i2p was installed, you will have to start and optionally enable the {{ic|i2prouter.service}} instead.
=== Installation ===


Open your browser of choice and visit the I2P welcome page at {{ic|127.0.0.1:7070}} for the daemon or {{ic|127.0.0.1:7657}} for the suite (see the [https://geti2p.net/en/faq FAQ]). From here you can navigate to I2Ps configuration and statistics pages, and links to [[Wikipedia:Eepsite|Eepsites]]. Also, be aware that eepsites are unavailable until the daemon has bootstrapped to the network, which can take several minutes.
Install the {{Pkg|i2pd}} package for the daemon written in C++ which may suit hardware with limited resources or {{AUR|i2pd-git}} for the development version.


=== Usage ===
[[Start/enable]] {{ic|i2pd.service}}.
The configuration is made in {{ic|/etc/i2pd/i2pd.conf}}.
Open your browser of choice and visit the I2P welcome page at {{ic|127.0.0.1:7070}}
In order to visit eepsites configure your browser to use the local proxy:
In order to visit eepsites configure your browser to use the local proxy:


Line 25: Line 55:
  SOCKS 127.0.0.1 4447
  SOCKS 127.0.0.1 4447


== Eepsite ==
i2pd has no built-in email client, filesharing or webserver for Eepsite. See the How-To / Tutorials in [https://i2pd.readthedocs.io/en/latest upstream documentation] for more details, also for chat servers, XMPP / Jabber or RetroShare.
 
== Troubleshooting ==
 
=== Firefox: wrong redirect to a search engine ===


To make an eepsite, follow the I2P [http://127.0.0.1:7658 instructions], but keep in mind that the home directory will apply to the i2p user whose home directory is {{ic|/opt/i2p}} as shown in the AUR [https://aur.archlinux.org/cgit/aur.git/tree/i2p.install?h=i2p i2p.install] file.
After entering an i2p page, e.g. "zzz.i2p" Firefox will try to redirect wrongly to duckduckgo.com or www.google.com.
Since most i2p does not provide https, enter your address always explicit with the http protocol prefix, e.g. http://zzz.i2p/{{Dead link|2023|04|23|status=domain name not resolved}}


For the daemon see [https://i2pd.readthedocs.io/en/latest/tutorials/http/#host-anonymous-website the upstream documentation].
Alternatively, navigate to about:config and create a new boolean config variable named {{ic|browser.fixup.domainsuffixwhitelist.i2p}} and set its value to {{ic|true}}.


== See also ==
== See also ==


* [https://www.i2p2.de I2P Homepage]
* [https://geti2p.net/en/faq I2P FAQ]
* [[Wikipedia:I2P|I2P on Wikipedia]]
* [http://www.i2pproject.net I2P Homepage mirror]
* [http://www.i2pproject.net I2P Homepage mirror]
* [https://www.i2p2.de/faq.html I2P FAQ]
* [[Wikipedia:I2p|I2P on Wikipedia]]
* [https://i2pd.website/ i2pd daemon homepage]
* [https://i2pd.website/ i2pd daemon homepage]
* [https://i2pd.readthedocs.io/en/latest/ i2pd documentation]
* [https://i2pd.readthedocs.io/en/latest/ i2pd documentation]

Latest revision as of 11:34, 23 April 2023

I2P is an anonymizing network, offering a simple layer that identity-sensitive applications can use to securely communicate. All data is wrapped with several layers of encryption, and the network is both distributed and dynamic, with no trusted parties. Many applications are available that interface with I2P, including mail, peer-peer, IRC chat, and others.

Two implementations of I2P are as follows:

  • I2P — Written in Java. First development. Most interactive and user-friendly Web-GUI interface and features, has a built-in client of email (SusiMail) and torrent (I2PSnark).
  • i2pd — Alternative development. Does not require Java, is written in C++, consumes less memory and CPU.

I2P (Java suite)

Installation

The standard I2P suite is available with the i2pAUR and i2p-binAUR packages. Both require a Java Runtime Environment. A recent Sun/Oracle Java or OpenJDK version with "mixed mode" support is recommended, "interpreted mode" could result in performance degradation, check with "java -version".

The I2P homepage also provides a pre-compiled binary which includes command line (headless) option and can be installed in the user's home directory. Such an installation will auto update through the i2p network with signed zip packages directly from the i2p developers.

Usage

Start/enable i2prouter.service in case of i2pAUR, the pre-compiled binary illustrate the usage in INSTALL-headless.txt

Open your browser of choice and visit the I2P welcome page at 127.0.0.1:7657 for the suite (see the FAQ). From here you can navigate to I2Ps configuration and statistics pages, and links to Eepsites. Also, be aware that eepsites are unavailable until the daemon has bootstrapped to the network, which can take several minutes. In order to visit eepsites configure your browser to use the local proxy:

HTTP  127.0.0.1 4444

Eepsite

To make an eepsite, follow the I2P instructions, but keep in mind that the home directory will apply to the i2p user whose home directory is /opt/i2p as shown in the AUR i2p.install file.

i2pd (C++ Alternative)

Installation

Install the i2pd package for the daemon written in C++ which may suit hardware with limited resources or i2pd-gitAUR for the development version.

Usage

Start/enable i2pd.service.

The configuration is made in /etc/i2pd/i2pd.conf. Open your browser of choice and visit the I2P welcome page at 127.0.0.1:7070 In order to visit eepsites configure your browser to use the local proxy:

HTTP  127.0.0.1 4444
SOCKS 127.0.0.1 4447

i2pd has no built-in email client, filesharing or webserver for Eepsite. See the How-To / Tutorials in upstream documentation for more details, also for chat servers, XMPP / Jabber or RetroShare.

Troubleshooting

Firefox: wrong redirect to a search engine

After entering an i2p page, e.g. "zzz.i2p" Firefox will try to redirect wrongly to duckduckgo.com or www.google.com. Since most i2p does not provide https, enter your address always explicit with the http protocol prefix, e.g. http://zzz.i2p/[dead link 2023-04-23 ⓘ]

Alternatively, navigate to about:config and create a new boolean config variable named browser.fixup.domainsuffixwhitelist.i2p and set its value to true.

See also