18344 Commits

Author SHA1 Message Date
zzz e104ca71f6 Lint: Change replace(String) to replace(char) all over 2026-06-06 10:43:59 -04:00
zzz f0a6084b3b Replace deprecated Locale constructors where possible
Deprecated in Java 19.
Replacements are Locale.of() and Locale.forLanguageTag().
of() is not available until Java 19.
forLanguageTag() is not available in Android until Android 21.
So we change the console usage to forLanguageTag(),
but cannot change Translate in core because Android.
2026-06-06 10:09:55 -04:00
zzz ecfdb205b5 Console: Remove RSA sigtypes in lookup form dropdown 2026-06-06 09:13:37 -04:00
zzz a47db8097c Console: Change version field in lookup form to a dropdown 2026-06-06 08:56:28 -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 533cae8793 Streaming: Remove deprecated/unused session key/tag methods 2026-06-01 09:47:08 -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 2de2741e4d I2CP: Length check exception message improvement 2026-05-29 13:51:13 -04:00
zzz 6b39d1c2bd Build: Move test jars to build dir earlier 2026-05-29 12:38:50 -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 db4b279a58 Console: Add configurable router nickname to summary bar
for the sanity of those running multiple routers
2026-05-28 08:40:17 -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 d22f04b2d5 rrd4j: Remove java 8 cleaner method 2026-05-27 19:33:36 -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 9399698c10 Util: Fix eepget/eephead CLI not honoring timeout option
reported by: RN
2026-05-27 14:05:01 -04:00
zzz 5750bdde6d Jetty: Add optional feature to gzip request logs on rollover 2026-05-27 11:23:10 -04:00
zzz d99e0083d0 Console: Change client tunnel display data from usage to bandwidth 2026-05-27 11:17:51 -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 450abe28c5 Console: Add pagination for all-profiles tab 2026-05-18 13:45:41 -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 ba694d4702 i2psnark: Fix check for existing base file when adding via create form
don't use the filtered name
2026-05-17 12:27:06 -04:00
zzz a9ded0827d i2psnark: Use unfiltered base file name if it exists
reported by: Igillis
2026-05-17 12:23:03 -04:00
zzz 479154c75e i2psnark: Add check for empty filenames
reported by: bottomlineit.co.za
2026-05-17 12:16:33 -04:00
zzz 3114275b10 Transports: Reduce min downtime to rekey transport keys 2026-05-16 20:06:48 -04:00
zzz dd29ae7e86 Remove more deprecated thread calls in bw tester 2026-05-16 14:48:17 -04:00
zzz 634a533861 i2psnark: Increase max form keys
Jetty default max is 1000 which got hit by a user
on the details page priorities form with more than 1000 files in a directory.
2026-05-15 13:56:25 -04:00
zzz d4fb957549 susimail: Remove static login nonce
Fix the original problem this was a workaround for.
The next nonce was put in the old session object that was invalidated.
Put it in the new session object instead.
2026-05-15 12:44:18 -04:00
zzz 2e194a47fe Console: Don't display hide/show news links on /configupdate
and stay on same page when clicking hide/show links.
Also fix HTML dangling span if lastUpdated == 0

Fixes Gitea #249
Adapted from GH PR #149 by tahnous
2026-05-15 10:24:07 -04:00