From 6e695893a93a48725803e7dc8797bd1e3cb3a0a6 Mon Sep 17 00:00:00 2001
From: zzz
Date: Sat, 13 Dec 2014 23:57:52 +0000
Subject: [PATCH] update spec clarifications
---
i2p2www/pages/site/docs/spec/updates.html | 37 ++++++++++++++++++-----
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/i2p2www/pages/site/docs/spec/updates.html b/i2p2www/pages/site/docs/spec/updates.html
index 411ef73e..d2cf6184 100644
--- a/i2p2www/pages/site/docs/spec/updates.html
+++ b/i2p2www/pages/site/docs/spec/updates.html
@@ -1,6 +1,6 @@
{% extends "global/layout.html" %}
{% block title %}{% trans %}I2P Software Update Specification{% endtrans %}{% endblock %}
-{% block lastupdated %}{% trans %}November 2014{% endtrans %}{% endblock %}
+{% block lastupdated %}{% trans %}December 2014{% endtrans %}{% endblock %}
{% block accuratefor %}0.9.17{% endblock %}
{% block content %}
{% trans %}Overview{% endtrans %}
@@ -23,7 +23,7 @@ The router may optionally download, or download and install, the new version
if configured to do so.
{%- endtrans %}
-{% trans %}News File Specification{% endtrans %}
+{% trans %}Old News File Specification{% endtrans %}
{% trans -%}
This format is replaced by the su3 news format as of release 0.9.17.
{%- endtrans %}
@@ -141,7 +141,7 @@ verifes that the zip file comment matches the header version, as explained above
{%- endtrans %}
{% trans -%}
-The zip file is extracted in the base $I2P installation directory.
+The zip file is extracted and copied to "i2pupdate.zip" in the I2P configuration directory (~/.i2p on Linux).
{%- endtrans %}
{% trans -%}
@@ -173,10 +173,12 @@ The router will then delete the deletelist.txt file.
{%- endtrans %}
-{% trans %}New "su3" Update File Specification{% endtrans %}
+
+{% trans %}SU3 File Specification{% endtrans %}
{% trans -%}
-This specification is used for router updates as of release 0.9.9, and reseed data as of release 0.9.14.
+This specification is used for router updates as of release 0.9.9, reseed data as of release 0.9.14,
+and the news file as of release 0.9.17.
{%- endtrans %}
{% trans %}Issues with the previous .sud/.su2 format:{% endtrans %}
@@ -279,9 +281,11 @@ One-pass signature verification and file extraction
xx+ | ID of signer, (e.g. "zzz@mail.i2p") UTF-8, not padded, length specified at byte 15
|
-xx+ | Content, length and format specified in header
+xx+ | Content: Length specified in header at bytes 16-23,
+ format specified in header at byte 25,
+ content specified in header at byte 27
|
-xx+ | Signature, length specified in header, covers everything starting at byte 0
+xx+ | Signature: Length is specified in header, covers everything starting at byte 0
{% trans -%}
@@ -305,6 +309,25 @@ All values are in network byte order (big endian).
+
+
+{% trans %}SU3 Router Update File Specification{% endtrans %}
+
+SU3 Details:
+-
+SU3 Content Type: 1 (ROUTER UPDATE)
+
-
+SU3 File Type: 0 (ZIP)
+
-
+SU3 Version: The router version
+
-
+Jar and war files in the zip are compressed with pack200 as documented above for "su2" files.
+If the client does not support pack200, it must download the update in a "sud" format.
+
+
+
+
+
{% trans %}SU3 Reseed File Specification{% endtrans %}
{% trans -%}
As of 0.9.14, reseed data is delivered in an "su3" file format.
|