diff --git a/i2p2www/pages/site/docs/protocol/i2cp.html b/i2p2www/pages/site/docs/protocol/i2cp.html index 6452daa7..311ffe3d 100644 --- a/i2p2www/pages/site/docs/protocol/i2cp.html +++ b/i2p2www/pages/site/docs/protocol/i2cp.html @@ -925,7 +925,7 @@ turns the gzip effort setting to 0, which may save a little CPU. 8 -{% trans %}Gzip xflags{% endtrans %} +{% trans %}Gzip xflags{% endtrans %} (set to 2 to be indistinguishable from the Java implementation) diff --git a/i2p2www/spec/i2np.rst b/i2p2www/spec/i2np.rst index 762c08e4..7a7a4213 100644 --- a/i2p2www/spec/i2np.rst +++ b/i2p2www/spec/i2np.rst @@ -716,7 +716,8 @@ Notes * To hide the router OS and implementation, match the Java router implementation of gzip by setting the modification time to 0 and the OS byte to 0xFF, - and use max compression. + and set XFL to 0x02 (max compression, slowest algorithm). + See RFC 1952. First 10 bytes of the compressed router info will be (hex): 1F 8B 08 00 00 00 00 00 02 FF