- Dec 31, 2022
- Dec 30, 2022
-
-
zzz authored
Moved from NetDbRenderer Use in CLI only for now CLI and conversion micro-optimizations
-
zzz authored
only if configured for 6 or more tunnels
-
zzz authored
Reported on Windows 10 ref: http://zzz.i2p/topics/3500
-
- Dec 29, 2022
-
-
zzz authored
This will probably also reduce builds at startup. Limits may require tweaks after further testing.
-
- Dec 26, 2022
-
-
zzz authored
-
zzz authored
-
zzz authored
Never let SSU1 test result be symmetric NAT, it's probably charlie Don't use SSU1 test if we think we are symmetric NAT Cleanup two places to call new fail() method
-
zzz authored
-
zzz authored
-
zzz authored
- Send msg 6 even if msg 5 is not received, after a short delay, to detect symmetric NAT - Prevent test result of symmetric NAT if Charlie is the one that appears to be symmetric natted. - Mark if Charlie unreachable if apparently symmetric natted. - Do not treat a different IP but same port as symmetric NAT - Increase msg 6 retransmission frequency - Ignore msg 5 received after sending msg 6 - Call externalAddressReceived() on reception of msg 7 - Add javadoc for testComplete() state machine Most changes only affect SSU2; some SSU1 changes to follow. ref: http://zzz.i2p/topics/3489
-
zzz authored
Rename isSnatted() to isSymNatted() Minor rewrite in PeerState2.gotTermination() Remove dead peer when pinging fails in intro manager Cleanup ip length check in externalAddressReceived() Log tweaks
-
zzz authored
-
- Dec 23, 2022
-
-
zzz authored
kill the new one instead
-
zzz authored
Primarily for Peer Test and Relay, so the test or relay can be aborted. Previously, sends on a dead PeerState2 were not detected or prevented. Catch IOE throughout where necessary around all build() calls. Add a fail() method in PeerTestManager
-
zzz authored
SSU2 peer test state add alice IP/port back to logging, needed for debugging
-
zzz authored
which could be different, esp. with temporary IPv6 addresses. Could result in an erroneous SNAT result. Add logging if different when starting test. Check address block received in msg 6, use in logging only for now Add logging of address block received in msg 7 if different than expected (possible SNAT) Remove isValidPort() check in msg 5 recently added, already checked in code above Add notes about possible externalAddressReceived() calls from peer test Add notes about our address in PeerState2
-
zzz authored
Simplify check in EstablishmentManager.sendConfirmation(), we don't need to validate RemoteHostId IP again, we did it before connecting. Add check that received port is >= 1024.
-
zzz authored
Already hidden on /configpeers, so don't waste the space
-
- Dec 22, 2022
-
-
zzz authored
-
zzz authored
and also use those states for when to publish B cap
-
zzz authored
Check for dup msg 5 Store the time msg 6 sent Ignore msg 5 after sending msg 6 Ignore msg 7 before receiving msg 4 Validate ip/port in msg 7 Update rcv times for dups Log tweaks
-
zzz authored
At startup, and for IPv6 so it doesn't lose out to IPv4 PeerTestEvent logging cleanup
-
zzz authored
to clean up timer crash messages
-
- Dec 21, 2022
- Dec 20, 2022
-
-
zzz authored
-
zzz authored
-
zzz authored
-
zzz authored
-
zzz authored
getIPOnly() is more efficient for pure IP addresses (no hostnames)
-
zzz authored
-
zzz authored
similar to previous checkin for relay intro
-
zzz authored
- Return OK as Alice when only receiving msg 5, unless snatted (SSU 1 also) - Allow and handle firewalled Charlie as Alice - Only create peer test data once as Alice - Store test status and send-to-Alice time in test state to support retransmission - Don't delete state after sending msg 4 as Bob, for possible retransmission - Check for IP mismatch from Charlie as Alice, abort test and assume good - Check for port mismatch from Charlie as Alice and validate - Skip unroutable addresses when searching through RI for the right one - Respond to retransmitted msg 1 as Bob - Respond to retransmitted msg 2 as Charlie - Update Charlie timer to retransmit msg 5 - Only send Charlie RI to Alice (as Bob) if test was accepted - Convert timers to SimpleTimer2 (SSU 1 also) - Log tweaks
-
- Dec 19, 2022
-
-
zzz authored
-
zzz authored
-
zzz authored
Most changes are relevant only if NTP is disabled or failed at startup. - Require two peers that agree for transports to initialize time - Briefly ban skewed peer when not initialized, so another peer will be the second sample - Allow SSU2 to initialize time even for large skews - Do not allow NTCP2 inbound to initialize time for large skews - Disable SSU1 time initialization when SSU2 is enabled - When SSU2 is disabled, allow SSU1 time initialization even for large skews - Don't adjust to large inbound NTCP2 skews when not initialized - Round time sent in NTCP2 DateTime block - Adjust SSU2 skew for RTT - Don't sort by absolute skew on SSU /peers tab so we can find median - Only call System.currentTimeMillis() once in RouterClock.setOffset() - Log tweaks
-