From e169a54013fb121df3c4552b3e2f92e176ee8733 Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 5 Aug 2019 14:04:30 +0000 Subject: [PATCH] prop 147 updates --- i2p2www/spec/proposals/147-transport-network-id-check.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i2p2www/spec/proposals/147-transport-network-id-check.rst b/i2p2www/spec/proposals/147-transport-network-id-check.rst index 890144ce..0a5c8ebe 100644 --- a/i2p2www/spec/proposals/147-transport-network-id-check.rst +++ b/i2p2www/spec/proposals/147-transport-network-id-check.rst @@ -5,7 +5,7 @@ Transport Network ID Check :author: zzz :created: 2019-02-28 :thread: http://zzz.i2p/topics/2687 - :lastupdated: 2019-08-04 + :lastupdated: 2019-08-05 :status: Open .. contents:: @@ -107,14 +107,14 @@ NTCP2 Use the first reserved byte of the options (byte 0) in the Session Request message to contain the network ID, currently 2. It contains the network ID. -If nonzero, the receiver shall check it against the least significatnt byte of her network ID. +If nonzero, the receiver shall check it against the least significant byte of the local network ID. If they do not match, receiver shall immediately disconnect and blacklist the originator's IP. SSU --- -For SSU, add an XOR of ((netid - 2) << 1) in the HMAC-MD5 calculation. +For SSU, add an XOR of ((netid - 2) << 8) in the HMAC-MD5 calculation. Existing: