From 4fd8da804127177d2308dd6fef6fb19a747eefb5 Mon Sep 17 00:00:00 2001
From: kytv
Date: Tue, 24 May 2011 22:33:28 +0000
Subject: [PATCH] Fix errors that tests/scripts/checkxml.sh found
---
core/java/src/net/i2p/client/package.html | 4 +-
.../resources/eepsite.help/help/index.html | 2 +-
.../resources/eepsite.help/help/index_de.html | 4 +-
.../resources/eepsite.help/help/index_fr.html | 2 +-
.../resources/eepsite.help/help/index_nl.html | 2 +-
.../resources/eepsite.help/help/index_ru.html | 2 +-
.../java/src/net/i2p/data/i2np/package.html | 39 +++++++++----------
7 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/core/java/src/net/i2p/client/package.html b/core/java/src/net/i2p/client/package.html
index 000a5584d..8d71490a2 100644
--- a/core/java/src/net/i2p/client/package.html
+++ b/core/java/src/net/i2p/client/package.html
@@ -19,7 +19,7 @@ ATalk application. It isn't really useful, but it is
heavily documented code.
This client package provides the basic necessity for communicating over I2P,
-but there are three other subpackages that are helpful. Specifically:
+but there are three other subpackages that are helpful. Specifically:
- {@link net.i2p.client.datagram} - for applications that want their messages
to be both authenticated and repliable
- {@link net.i2p.client.naming} - for applications that want to resolve
@@ -28,7 +28,7 @@ but there are three other subpackages that are helpful. Specifically:
a streaming API to provide reliable in order message delivery (note:
the streaming library is packaged seperate from the main SDK - in the
mstreaming.jar and streaming.jar)
-
+
The {@link net.i2p.client.I2PSession} implementation itself communicates with
the I2P router by the I2CP (the client protocol).
diff --git a/installer/resources/eepsite.help/help/index.html b/installer/resources/eepsite.help/help/index.html
index 96be7d6d3..9c0abd8c5 100644
--- a/installer/resources/eepsite.help/help/index.html
+++ b/installer/resources/eepsite.help/help/index.html
@@ -45,7 +45,7 @@
- Pick a name for your eepsite (something.i2p). Use all lower-case.
You may wish to check first in your own router's address book
- here,
+ here,
or the file
i2p/hosts.txt to see if your name is already taken.
Enter the new name for your eepsite on the
eepsite i2ptunnel configuration page
diff --git a/installer/resources/eepsite.help/help/index_de.html b/installer/resources/eepsite.help/help/index_de.html
index 3760830e5..9d7336234 100644
--- a/installer/resources/eepsite.help/help/index_de.html
+++ b/installer/resources/eepsite.help/help/index_de.html
@@ -113,7 +113,7 @@ Verzeichnis ~/.i2p/eepsite/docroot/ (Linux) oder %APPDATA%\I2
und benennen Sie dieses Dokument von „index.html“ in „hilfe.html“ um, so können Sie später darauf zurückgreifen. Erstellen Sie Ihre eigene „index.html“ und füllen diese mit Inhalten, Bildern oder was auch immer Sie anderen mitteilen wollen.
-3. Die Eepseite öffentlich ankündigen
+3. Die Eepseite öffentlich ankündigen
- Nun ist es an der Zeit, Ihre Eepsite in einem globalen I2P-Adressbuch, wie beispielsweise bei stats.i2p,
@@ -183,7 +183,7 @@ beschreibt ein Verfahren zur Kodierung von 8-Bit-Binärdaten in eine
Zeichenfolge, die nur aus wenigen, Codepage-unabhängigen ASCII-Zeichen
besteht.
+
Hinweis: Diese Seite, die Weibseite sowie die Routerkonsole müssen alle in IHRE Sprache übersetzt werden, falls dies nicht bereits geschehen ist oder gerade stattfindet. Helfen Sie dem Projekt zu wachsen, indem Sie
helfen (beispielsweise durch Übersetzungen)! Kontaktieren Sie uns über den oben erwähnten IRC-Kanal! Vielen Dank!
diff --git a/installer/resources/eepsite.help/help/index_fr.html b/installer/resources/eepsite.help/help/index_fr.html
index 45ae4cc03..e03f59134 100644
--- a/installer/resources/eepsite.help/help/index_fr.html
+++ b/installer/resources/eepsite.help/help/index_fr.html
@@ -44,7 +44,7 @@
- Choissisez un nom pour votre eepsite (quelquechose.i2p). Tout en minuscule.
D'abord, vérifiez dans le carnet d'adresse de votre router
- ici,
+ ici,
ou dans le fichier
i2p/hosts.txt pour voir si le nom a déjà été pris.
Entrez le nouveau nom de votre eepsite sur le
eepsite i2ptunnel page de configuration
diff --git a/installer/resources/eepsite.help/help/index_nl.html b/installer/resources/eepsite.help/help/index_nl.html
index 0ab8e2fbe..e56017bb7 100644
--- a/installer/resources/eepsite.help/help/index_nl.html
+++ b/installer/resources/eepsite.help/help/index_nl.html
@@ -46,7 +46,7 @@
- Kies een naam voor je eepsite (mijnsite.i2p). Gebruik alleen kleine letters.
Kijk eerst
- hier,
+ hier,
in het adresboek van je router of in het bestand
i2p/hosts.txt of de naam nog beschikbaar is.
Voer de nieuwe naam voor je eepsite in op de
eepsite i2ptunnel configuratie pagina
diff --git a/installer/resources/eepsite.help/help/index_ru.html b/installer/resources/eepsite.help/help/index_ru.html
index 4ab16a17d..0e307ecb5 100644
--- a/installer/resources/eepsite.help/help/index_ru.html
+++ b/installer/resources/eepsite.help/help/index_ru.html
@@ -40,7 +40,7 @@
Ваш i2p-сайт по умолчанию остановлен. Хотя Вы его и запустили, другим людям трудно его найти, ведь у сайта пока нет имени, а Ваш очень-длинный-Base64-ключ никому не известен. Вы, конечно, можете просто выдавать людям этот очень-длинный-Base64-ключ, но, к счастью, в I2P есть механизм адресных книг и несколько простых способов для сообщения людям о своем сайте. Далее подробные инструкции.
-- Выберите имя для своего сайта (something.i2p). Используйте только символы в нижнем регистре. Загляните в адресную книгу Вашего маршрутизатора или в файл
i2p/hosts.txt для проверки, возможно такое имя уже кто-то занял. Введите новое имя Вашего сайта на странице настроек туннеля для i2p-сайта в поле «Имя веб-сайта». Это заменит имя сайта по умолчанию «mysite.i2p». Поставьте галочку «Автозапуск». Ваш сайт будет доступен извне всегда, когда запущен Ваш маршрутизатор. Не забудьте нажать «Сохранить».
+ - Выберите имя для своего сайта (something.i2p). Используйте только символы в нижнем регистре. Загляните в адресную книгу Вашего маршрутизатора или в файл
i2p/hosts.txt для проверки, возможно такое имя уже кто-то занял. Введите новое имя Вашего сайта на странице настроек туннеля для i2p-сайта в поле «Имя веб-сайта». Это заменит имя сайта по умолчанию «mysite.i2p». Поставьте галочку «Автозапуск». Ваш сайт будет доступен извне всегда, когда запущен Ваш маршрутизатор. Не забудьте нажать «Сохранить».
- Кликните в менеджере туннелей на кнопке запуска вашего сайта. Вы должны увидеть запись «i2p-сайт» в списке «Локальные туннели» в левой части консоли маршрутизатора. С этого момента Ваш сайт запущен.
diff --git a/router/java/src/net/i2p/data/i2np/package.html b/router/java/src/net/i2p/data/i2np/package.html
index 666c5bf22..02de465c4 100644
--- a/router/java/src/net/i2p/data/i2np/package.html
+++ b/router/java/src/net/i2p/data/i2np/package.html
@@ -7,31 +7,30 @@ communicate with the network routers. In addition, various transport protocols d
the specifics of how data is passed from one router to another over the network. I2NP
does not specify or require any particular transport layer, allowing transport protocols
to work over TCP, Polling HTTP, SMTP+POP3/IMAP, UDP, among anything else
-that can pass data. I2NP merely requires that they:
+that can pass data. I2NP merely requires that they:
-
Register a unique identifier for use in RouterAddress structures consisting of no
-more than 32 UTF-8 characters.
+more than 32 UTF-8 characters.
-
Define standard text based options that uniquely define a contact method (for
example .hostname. and .port. or .email address.) as usable in the
-RouterAddress structure's set of options.
+RouterAddress structure's set of options.
-
Provide a means to reliably deliver a chunk of data, where the contents of any
particular chunk is delivered in order. However, different chunks of data do not
-need to be delivered in order.
+need to be delivered in order.
-
Secure the chunks of data from alteration or disclosure (e.g. encrypt them and use
-checksums).
+checksums).
-
-Enable the router to control the transport's bandwidth usage.
+Enable the router to control the transport's bandwidth usage.
-
Provide estimates for the latency and bandwidth associated with passing a chunk of
-data.
+data.
-
-Provide a programmable interface suitable for integration with various routers.
+Provide a programmable interface suitable for integration with various routers.
-
Transports themselves can implement advanced features, such as steganography,
constant rate delivery, dummy message delivery, and may even run on top of existing
@@ -56,12 +55,12 @@ message to be sent. The router then determines where to send it, delivers it thr
outbound tunnels, instructing the end point to pass it along to the appropriate inbound
tunnel, where it is passed along again to that tunnel's end point and made available to
the target for reception. To understand fully, each step in the process must be
-explained in detail.
+explained in detail.
-
First, once the originating router receives the message and the Destination, it
attempts to find the LeaseSet associated with it as stored in the Network Database
-under the key calculated by SHA256 of the Destination.
+under the key calculated by SHA256 of the Destination.
-
The router then builds a GarlicMessage addressed to the SHA256 of the
PublicKey from the LeaseSet with the real data to be delivered. This
@@ -71,48 +70,48 @@ and in fact, if the source router desires guaranteed delivery, it will include a
requesting source route delivery of a DeliveryStatusMessage back to itself. The
body of the GarlicMessage with all enclosed GarlicCloves is encrypted to the key
specified on the LeaseSet using the ElGamal+AES256 algorithm described in the
-data structure spec.
+data structure spec.
-
The router then selects one or more outbound tunnels through which the
-GarlicMessage will be delivered.
+GarlicMessage will be delivered.
-
Then the router selects one or more of those Lease structures from the LeaseSet
and constructs a TunnelMessage along with DeliveryInstructions for the
outbound tunnel's end point to deliver the GarlicMessage to the inbound tunnel's
-gateway router.
+gateway router.
-
The source router then passes the various TunnelMessages down the outbound
tunnel to that tunnel's end point, where the instructions are decrypted, specifying
-where the message should be delivered.
+where the message should be delivered.
-
At this point, the end point must determine how to contact the router specified in
the decrypted DeliveryInstructions, perhaps looking up RouterInfo or
LeaseSet structures in the Network Database, and maybe even delaying a
-requested period of time before passing on the message.
+requested period of time before passing on the message.
-
Once the tunnel end point has the data it needs to contact the inbound tunnel's
gateway router, it then attempts to contact it either directly through one of its public
RouterAddress or source routed through one of its published trusted peers. Over
this medium the tunnel end point delivers the GarlicMessage as it was wrapped by
-the source router, along with the TunnelId.
+the source router, along with the TunnelId.
-
Once delivered to the inbound tunnel's gateway, the gateway builds a
TunnelMessage wrapping the GarlicMessage, encrypting a
DeliveryInstructions to specify local delivery upon arrival at the tunnel's end
-point.
+point.
-
Once the TunnelMessage is passed down to the end point in inbound tunnel, the
router opens the DeliveryInstructions, notes the request to deliver it locally,
and then proceeds to review the contents of the TunnelMessage's payload, which in
this case is a GarlicMessage addressed to the SHA256 of a LeaseSet that it has
-published. It then decrypts the payload of the message with ElGamal + AES256.
+published. It then decrypts the payload of the message with ElGamal + AES256.
-
After opening up the GarlicMessage, it reviews each of the GarlicCloves and
processes them each. Cloves with DeliveryInstructions addressed to a local
Destination are delivered to the associated client application, other cloves asking
for local processing (e.g. Network Database messages or DeliveryStatusMessages)
are processed, and cloves asking for forwarding to other routers are passed off for
-delivery.
+delivery.
There are several important points of note in this scenario. First, the source router