Commit Graph
6629 Commits
Author SHA1 Message Date
zzz 2f71df3360 bump -16-rc 2026-07-06 12:18:20 -04:00
zzz 5285571f7c NetDB: Always create profiles for ff candidates in peer selector
to improve ff peer selection and prevent loss of profiles,
causing exploration collapse
2026-07-06 10:37:57 -04:00
zzz 207471b220 Tunnels: Increase per-tunnel bw limits for now 2026-07-04 09:40:31 -04:00
zzz 1795965fac Transport: Release delayed NTCP buffer if connection was closed
Fix adapted from I2PPlus
2026-07-03 14:20:21 -04:00
zzz 160b9c53df Transport: Fix wasUnreachable() removing expired entry from wrong map
Fix adapted from I2PPlus
2026-07-03 14:11:00 -04:00
zzz 37cf32fd49 Profiles: Do not exclude L profiles if we are non-ff, low-bw
to hopefully prevent netdb peer loss
2026-07-03 10:42:24 -04:00
zzz c5d55421f0 NetDB: Remove dead reseed 2026-06-26 18:01:48 -04:00
zzz 7a81b8acf1 Tunnels: Don't log padding-only message as corrupt, allowed by spec 2026-06-10 08:57:30 -04:00
zzz ac7a74ef88 bump -15 2026-06-07 19:15:37 -04:00
zzz eb8e417d90 Test: Fix MLKEM test
by using correct enctypes
2026-06-07 08:11:40 -04:00
zzz 38427b41c2 Crypto: Update bouncycastle MLKEM to 1.84 2026-06-07 07:56:32 -04:00
zzz e104ca71f6 Lint: Change replace(String) to replace(char) all over 2026-06-06 10:43:59 -04:00
zzz d7722e11be NetDB: New reseed 2026-06-05 08:39:15 -04:00
zzz a1e6c9badb Util: Check return value of SU3File.verifyAndMigrate()
to catch signature failures earlier.
Previously, the failure would be found when migrated file didn't exist.
2026-06-04 13:32:42 -04:00
zzz 2cdd2c5ab2 Tunnels: Increase conn limits for tunnel rejection again
- Reduce bw request if we have no tunnels (congestion avoidance)
- TunnelDispatcher log tweaks, remove messageHistory() calls
- Extend idle tunnel timeout to 2.5 minutes
- Remove config to disable tunnel testing
- Continue tunnel testing during graceful shutdown
2026-06-03 15:31:51 -04:00
zzz c4b44795b1 bump -14 2026-05-29 20:00:07 -04:00
zzz ef060c7c9b Transport: Add missing files from recent checkin 2026-05-29 19:58:33 -04:00
zzz f512374280 Test: LocalClientManager fixes/improvements
- Fix NPEs caused by netdb changes
- Fix drop option
- Add rate limiter option to LocalClientManager
2026-05-29 14:57:14 -04:00
zzz 6ce6a6844b bump -13 2026-05-29 11:42:46 -04:00
zzz 0129b76f50 Test: Fix deprecation 2026-05-29 11:41:28 -04:00
zzz 50954d5db4 Tunnels: Don't test inbound tunnels that recently received data
+log tweaks
2026-05-28 12:06:09 -04:00
zzz 4dc982be85 Tunnels: Send IBGW limit request to correct hop
- don't request limit for client tunnels
- don't use factor for per-tunnel limiters
2026-05-28 08:35:48 -04:00
zzz 0f4d1727e8 Tunnels: Implement per-tunnel bandwidth limiting (prop. 168) 2026-05-27 19:08:24 -04:00
zzz 1e6b68ed5d Transport: Increase some conn limit thresholds 2026-05-27 19:03:57 -04:00
zzz 4f76d02efe Tunnels: Request IBGW limits on all IB tunnels (prop. 168) 2026-05-27 17:45:12 -04:00
zzz c0c7a94169 bump -12 2026-05-26 11:25:05 -04:00
zzz bb93079f33 NetDB: Note RI store successful in profile when we skip verification 2026-05-25 16:25:00 -04:00
zzz 0789ccd41f NetDB: Increase max early expiration probability for U RIs
- expire more often if we expired a lot
- shorten expiration slightly
- increase min RIs before expiring at all
2026-05-24 18:48:30 -04:00
zzz 0214a65383 PeerManager: fix getIsActive inversion
introduced in 2009
fix adapted from I2PPlus
2026-05-24 17:11:17 -04:00
zzz 4335ebe141 Router: Reduce conn limit threshold for D cap again 2026-05-24 13:23:34 -04:00
zzz 8271735d57 bump -11 2026-05-24 11:31:33 -04:00
zzz d5b8dc17e8 SSU2: Revert token time calculation change that messed up expiration times 2026-05-24 11:13:00 -04:00
zzz 3c4f257bff NTCP2: Reduce max connections for inbound to leave room for outbound 2026-05-24 11:09:29 -04:00
zzz 03ec3e8990 bump -10 2026-05-23 12:41:48 -04:00
zzz 1f5f5abaff SSU2: Token improvements
- Do not send tokens to all peers
- Only send tokens with good termination reasons
- Do not send tokens to low-quality peers as determined during handshake
- Do not send tokens if near transport limits
- Do not increase relay token lifetime from 1m to 2m
- Favor session req over token req if congested
2026-05-23 12:41:21 -04:00
zzz 981797e615 bump -9 2026-05-21 09:41:14 -04:00
zzz 9f685a38f8 Profiles: Reduce new profile creation
- Change several ProfileManager methods so they don't create a profile
  if not previously existing
- Pass RI caps to heardAbout() to centralize creation decision
- Don't create profile for low-speed or congested caps
- Add deprecations for unused methods, to be removed
- Document behavior

This primarily benefits floodfills. Little change seen on non-floodfills.

Test results on floodfill:

- Profile creation/expiration rate reduced by 20x
- Avg. profile count reduced by 85%
- Memory usage down by 30%

with assistance from: I2PPlus
2026-05-21 09:40:28 -04:00
zzz 087a8fd363 Profiles: Remove unused counters of unprompted DB stores
no evidence of use since 2004-04 import from CVS
2026-05-20 17:24:49 -04:00
zzz 35585ce02d bump -8 2026-05-18 12:11:25 -04:00
zzz 38e2b31e5b SSU2: Remove check for SSU 1 2026-05-18 08:32:46 -04:00
zzz 609803e080 SSU2: Peer test result fix as Alice when we never got Charlie's RI
If we got msg 4 but not the RI, but we got msg 5 while waiting,
we can still declare success and return OK instead of UNKNOWN,
even though we never sent msg 6. See spec.
2026-05-18 07:42:25 -04:00
zzz 3114275b10 Transports: Reduce min downtime to rekey transport keys 2026-05-16 20:06:48 -04:00
zzz 1180597882 Router: Fix rare NPE at startup in InNetMessagePool
where netdb has not registered a DatabaseStoreMessage job builder.

- Add shortcut for DSRM and DeliveryStatus that do not have job builders.
- Log tweaks

reported by: postman
2026-05-15 10:06:37 -04:00
zzz 2bf04648c3 bump -7 2026-05-12 11:43:42 -04:00
zzz d042a7d354 SSU2: Require three consecutive peer tests for IPv6 state changes
due to high false-positive firewalled rates
2026-05-12 11:43:10 -04:00
zzz a00bc02fb9 SSU2: Require two peers from different /16s to change address
(/32 for IPv6)

suggested by: bottomlineit.co.za
2026-05-11 13:58:32 -04:00
zzz 514f0c1237 I2NP: Add missing length checks in readMessage() methods
- strict checks in Data, DeliveryStatus, Garlic, TunnelData
- check if we did read over and throw in DatabaseLookup, DatabaseSearchReply
- fix potential leaseset read overrun in DatabaseStore
- convert AIOOBE to I2NPMessageException in I2NPMessageImpl

DLM reported by: bottomlineit.co.za
2026-05-10 17:32:54 -04:00
zzz fac0f85197 I2NP: Enforce 4 bits for RI netdb type in DSM
to match current spec
2026-05-10 16:40:32 -04:00
zzz b48cb21119 Remove old NTCP1 I2NPMessageHandler pool, unused 2026-05-10 15:26:16 -04:00
zzz 3429f733f3 SSU2: Resurrect hole punch throttling as Charlie
Was in SSU 1 code but was never adapted for SSU2 and then got deleted.
Send limit reject code when throttled.
Add conn limit check.
Limits same as previously, to be reviewed and adjusted.

reported by: bottomlineit.co.za
2026-05-08 12:16:37 -04:00