- Apr 12, 2022
- Apr 06, 2022
-
-
zzz authored
for efficient lookup and to prevent display of dup prefixes
-
- Apr 05, 2022
-
-
zzz authored
Arrays.hashCode() interacted badly with it, causing numerous false positives
-
zzz authored
Revert related parts of "Prep for fragmented RI", we are now fragmenting Session Confirmed instead. Fragment and send multiple Session Confirmed packets if required Reassemble Session Confirmed packets Don't process ack block identical to previous received Log tweaks bump -12
-
zzz authored
-
zzz authored
-
zzz authored
-
zzz authored
-
- Mar 28, 2022
-
-
zzz authored
WIP, not hooked in
-
- Mar 27, 2022
-
-
zzz authored
Fix IES2 not being removed from pending after complete Don't send DSM after handshake Validate conn ID before pkt type for data pkts More log tweaks SSU: Increase min pending establish states limit (unless slow) Reduce IB establish timeout to 15s Log pending inbound establish states when limit exceeded Log tweaks to add establish state lifetime Bump -11
-
zzz authored
when loaded from router.info, and discard if invalid or when family changed. This fixes some routers out there with bad sigs. Don't loop forever through LoadRouterInfoJob.
-
- Mar 26, 2022
-
-
zzz authored
Call messagePartiallyReceived() even for dups or expired messages so an ack is generated.
-
zzz authored
See previous checkin for SSU 1. This change dramatically reduces the measured RTT to get it much closer to the real RTT by reducing the ack delay. With the ack delay dependent on the measured RTT, the measured RTT will increase. Simulation results: For a denominator D in the ack delay calculation (currently 2) and a true RTT = TRTT: For D <= about 2, measured RTT -> TRTT + 2 * TRTT/D For D >= about 4, measured RTT -> TRTT + TRTT/D In other words, for D == 2, measured RTT -> 2 * TRTT. For a TRTT of 50, the measured RTT is 100. D == 2 is too small. It's been like that since 2005. Testnet results: measured RTT 80-90 This changes D to 6. measured RTT -> 6/5 * TRTT. Simulation results: For a TRTT of 50, the measured RTT is 58. Testnet results: measured RTT 60
-
- Mar 25, 2022
- Mar 24, 2022
- Mar 23, 2022
-
-
zzz authored
Synch fields in the data messages both directions, after one report of zero session ID in MessagePayloadMessage to an external client on fast hardware with Java 18. Add new constructors for efficiency. Deprecated setters, unit tests not changed, TODO. Should fix all the other messages also, TODO.
-
zzz authored
Store OB tokens by IP/port Centralize token generation and expiration in Establishment Manager Add methods to flush OB tokens on IP/port change Log tweaks Javadoc fix
-
- Mar 22, 2022
-
-
zzz authored
Don't overwrite an existing family keystore file Don't allow starting a new family with an existing family keystore file Don't add family to RI until we have restarted and have a keystore file Don't fail a netdb store for no family sig Don't ever fail our own netdb store for family errors, to avoid rekey/restart
-
- Mar 20, 2022
-
-
zzz authored
-
zzz authored
-
zzz authored
generate msgs 1,5-7 handle msgs 5-7 log tweaks
-
zzz authored
which bypassed all the checks in HandleFloodfillDatabaseStoreMessageJob Don't store an entry which is older
-
zzz authored
Return a result code from verify() Load all known certs at startup rather than continually reloading them Only give full verified status to known keys Enforce signatures in netdb store when key is available Show family verification status on /netdb Export our cert to disk if missing Add stormycloud family cert Bypass /24 Sybil penalty
-
- Mar 18, 2022
-
-
zzz authored
msgs 5-7 still TODO WIP, untested
-
- Mar 17, 2022
- Mar 16, 2022
-
-
zzz authored
Add min packet size constants and notes Don't attempt to decrypt a packet as a new inbound session if too small Remove unused payload[] in IES2, now decrypted in-place Log level tweaks in Establisher
-
- Mar 15, 2022
-
-
zzz authored
Limit max MTU for HE addresses
-
zzz authored
even if they would fit in the MTU uncompressed, to save bandwidth and room for other blocks
-
zzz authored
Save data messages received before or immediately after session confirmed by queueing them for processing after the PeerState2 is created. The fragments for the first I2NP message from Alice to Bob are frequently lost, this will hopefully fix it. Not fully tested, needs wider network testing.
-