Add NTCP2 info to I2NP page

This commit is contained in:
zzz
2018-10-10 11:42:19 +00:00
parent a05be7e43b
commit 8dd35a9d4c

View File

@@ -1,7 +1,7 @@
{% extends "global/layout.html" %} {% extends "global/layout.html" %}
{% block title %}{% trans %}I2P Network Protocol{% endtrans %} (I2NP){% endblock %} {% block title %}{% trans %}I2P Network Protocol{% endtrans %} (I2NP){% endblock %}
{% block lastupdated %}{% trans %}June 2013{% endtrans %}{% endblock %} {% block lastupdated %}{% trans %}October 2018{% endtrans %}{% endblock %}
{% block accuratefor %}0.9.6{% endblock %} {% block accuratefor %}0.9.37{% endblock %}
{% block content %} {% block content %}
<p>{% trans -%} <p>{% trans -%}
The I2P Network Protocol (I2NP), The I2P Network Protocol (I2NP),
@@ -28,8 +28,14 @@ Priority queueing implementation may vary.
<h3>{% trans %}Message Format{% endtrans %}</h3> <h3>{% trans %}Message Format{% endtrans %}</h3>
<p>{% trans -%}
The following table specifies the traditional 16-byte header used in NTCP.
The SSU and NTCP2 transports use modified headers.
{%- endtrans %}</p>
<table border=1> <table border=1>
<tr><th>{% trans %}Field{% endtrans %}</th><th>{% trans %}Bytes{% endtrans %}</th></tr> <tr><th>{% trans %}Field{% endtrans %}</th><th>{% trans %}Bytes{% endtrans %}</th></tr>
<tr><td>{% trans %}Type{% endtrans %}</td><td>1</td></tr>
<tr><td>{% trans %}Unique ID{% endtrans %}</td><td>4</td></tr> <tr><td>{% trans %}Unique ID{% endtrans %}</td><td>4</td></tr>
<tr><td>{% trans %}Expiration{% endtrans %}</td><td>8</td></tr> <tr><td>{% trans %}Expiration{% endtrans %}</td><td>8</td></tr>
<tr><td>{% trans %}Payload Length{% endtrans %}</td><td>2</td></tr> <tr><td>{% trans %}Payload Length{% endtrans %}</td><td>2</td></tr>
@@ -53,8 +59,9 @@ Therefore the maximum size is approximately 956 + (62 * 996) = 62708 bytes, or 6
<p>{% trans -%} <p>{% trans -%}
In addition, the transports may have additional restrictions. In addition, the transports may have additional restrictions.
NTCP currently limits to 16KB - 6 = 16378 bytes but this will be increased in a future release. The NTCP limit is 16KB - 6 = 16378 bytes.
The SSU limit is approximately 32 KB. The SSU limit is approximately 32 KB.
The NTCP2 limit is approximately 64KB - 20 = 65516 bytes, which is higher than what a tunnel can support.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans -%} <p>{% trans -%}