forked from I2P_Developers/i2p.www
Embedding: Updates
I2CP: Add proposal for additional SetDate messages Ports: Reserve port 7668 for eepsite SSL
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}{% trans %}Embedding I2P in your Application{% endtrans %}{% endblock %}
|
||||
{% block lastupdated %}{% trans %}November 2014{% endtrans %}{% endblock %}
|
||||
{% block accuratefor %}0.9.17{% endblock %}
|
||||
{% block lastupdated %}{% trans %}April 2015{% endtrans %}{% endblock %}
|
||||
{% block accuratefor %}0.9.19{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h2>{% trans %}Overview{% endtrans %}</h2>
|
||||
@@ -227,6 +227,15 @@ We plan to migrate to Java 7 in 2015.
|
||||
If you're building Debian / Ubuntu packages, you should require the I2P package from our PPA instead of bundling it.
|
||||
You almost certainly do not need susimail, susidns, the router console, and i2psnark, for example.
|
||||
{%- endtrans %}</p>
|
||||
<p>{% trans -%}
|
||||
The following files should be included in the I2P installation directory, specified with the "i2p.dir.base" property.
|
||||
Don't forget certificates/reseed and certificates/ssl, required for reseeding, and blocklist.txt for IP validation.
|
||||
The geoip directory is optional, but recommended so the router can make decisions based on location.
|
||||
The hosts.txt file may be necessary, you may modify it to include any hosts your application uses.
|
||||
You may add a router.config file to the base directory to override initial defaults.
|
||||
<p>{% trans -%}
|
||||
License requirements may require you to include the LICENSES.txt file and the licenses directory.
|
||||
{%- endtrans %}</p>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
@@ -298,9 +307,24 @@ import net.i2p.router.Router;
|
||||
|
||||
Properties p = new Properties();
|
||||
// add your configuration settings, directories, etc.
|
||||
// where to find the I2P installation files
|
||||
p.addProperty("i2p.dir.base", baseDir);
|
||||
// where to find the I2P data files
|
||||
p.addProperty("i2p.dir.config", configDir);
|
||||
// bandwidth limits in K bytes per second
|
||||
p.addProperty("i2np.inboundKBytesPerSecond", "50");
|
||||
p.addProperty("i2np.outboundKBytesPerSecond", "50");
|
||||
p.addProperty("router.sharePercentage", "80");
|
||||
p.addProperty("foo", "bar");
|
||||
Router r = new Router(p);
|
||||
// don't call exit() when the router stops
|
||||
r.setKillVMOnEnd(false);
|
||||
r.runRouter();
|
||||
|
||||
...
|
||||
|
||||
r.shutdownGracefully();
|
||||
// will shutdown in 11 minutes or less
|
||||
</pre>
|
||||
|
||||
<p>{% trans -%}
|
||||
@@ -310,6 +334,8 @@ together with Jetty webapps,
|
||||
as is done in our Java packages.
|
||||
As always, state management is the difficult part.
|
||||
{%- endtrans %}</p>
|
||||
|
||||
<p>
|
||||
See also: <a href="http://docs.i2p-projekt.de/javadoc/net/i2p/router/Router.html">the Router javadocs</a>.
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}{% trans %}Ports Used by I2P{% endtrans %}{% endblock %}
|
||||
{% block lastupdated %}{% trans %}May 2013{% endtrans %}{% endblock %}
|
||||
{% block accuratefor %}0.9.6{% endblock %}
|
||||
{% block lastupdated %}{% trans %}April 2015{% endtrans %}{% endblock %}
|
||||
{% block accuratefor %}0.9.19{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<p>{% trans -%}
|
||||
@@ -51,6 +51,7 @@ in the 766x range.
|
||||
<tr><td>7663</td><td>?? Plugin ??</td></tr>
|
||||
<tr><td>7664</td><td>JAMWiki Plugin</td></tr>
|
||||
<tr><td></td><td><i>{% trans %}recommended spot for new plugins/applications{% endtrans %}</i></td></tr>
|
||||
<tr><td>7668</td><td>Eepsite SSL</td></tr>
|
||||
<tr><td>8118</td><td>Privoxy (reserve)</td></tr>
|
||||
<tr><td>8123</td><td>Tor Polipo (reserve)</td></tr>
|
||||
<tr><td>8887</td><td>Old default network port</td></tr>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}I2CP Specification{% endblock %}
|
||||
{% block lastupdated %}October 2014{% endblock %}
|
||||
{% block accuratefor %}0.9.15{% endblock %}
|
||||
{% block lastupdated %}April 2015{% endblock %}
|
||||
{% block accuratefor %}0.9.19{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Overview</h2>
|
||||
<p>
|
||||
@@ -154,6 +154,10 @@ A basic summary of the I2CP protocol versions is as follows. For details, see be
|
||||
<tr>
|
||||
<th>Version</th>
|
||||
<th>Required I2CP Features</th>
|
||||
</tr><tr>
|
||||
<td align="center">0.9.20</td>
|
||||
<td align="left">Additional SetDate messages may be sent to the client at any time</td>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td align="center">0.9.16</td>
|
||||
<td align="left">Authentication, if enabled, is required via GetDate before all other messages</td>
|
||||
@@ -1369,6 +1373,7 @@ If created, the Session ID is the identifier to be used for the rest of the sess
|
||||
<p>
|
||||
The current date and time.
|
||||
Sent from Router to Client as a part of the initial handshake.
|
||||
As of release 0.9.20, may also be sent at any time after the handshake to notify the client of a clock shift.
|
||||
</p>
|
||||
<h4>Contents</h4>
|
||||
<ol><li>
|
||||
@@ -1383,6 +1388,8 @@ This is generally the first message sent by the router.
|
||||
The version string is included as of release 0.8.7.
|
||||
This is only useful if the client and router are not in the same JVM.
|
||||
If it is not present, the router is version 0.8.6 or earlier.
|
||||
<p></p>
|
||||
Additional SetDate messages will not be sent to clients in the same JVM.
|
||||
</p>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user