6532 Commits

Author SHA1 Message Date
zzz
4d1ba03823 SSU2: Change packet classification if/else to switch
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
2025-06-08 10:29:58 -04:00
71e2e8d5aa I2P 2.9.0 Release
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
2025-06-02 15:21:56 -04:00
zzz
16ac39b68e -10-rc 2025-05-30 13:27:23 -04:00
zzz
b952a16aa9 Pull translations from Transifex 2025-05-30 13:23:56 -04:00
zzz
7902823761 bump -9-rc 2025-05-21 14:36:46 -04:00
zzz
78e949c11c Tunnels: Build message tweak 2025-05-20 08:00:28 -04:00
zzz
312f20be9b bump -8 2025-05-14 11:46:09 -04:00
8fb5f7f14a Javadoc: fix build failure with nested <p><pre></pre></p> code block, fixes Javadoc build in CI 2025-05-12 00:26:56 -04:00
zzz
8df589b142 Add missing change for I2CP socket address 2025-05-09 11:43:52 -04:00
zzz
6b2689bb07 I2CP: Log IP on authentication failure 2025-05-09 08:06:01 -04:00
zzz
9c1175fdc5 spelling 2025-05-08 10:33:50 -04:00
zzz
fbd91f73df New Hindi translations 2025-05-06 18:32:25 -04:00
zzz
0da4cf49c1 Router: Hopefully fix rare shutdown deadlock
via RouterAppManager.shutdown() ... log(CRIT) ... addBubble()
2025-05-04 13:58:26 -04:00
zzz
0bd60989de NTCP2: On inbound MSB check fail,
ban IP and do probing resistance, as on AEAD fail
2025-05-03 10:14:52 -04:00
zzz
dcf0fd9599 NTCP: Temporary ban of IP sending corrupt SessionRequest
Increase temporary ban time
2025-05-01 11:12:41 -04:00
zzz
eb164cebca NTCP: Remove old NTCP 1 handshake buffers 2025-05-01 11:06:27 -04:00
zzz
5ed487a621 CLI: Add tool to dump all subnets for a country 2025-04-30 14:24:54 -04:00
zzz
2d3cb07097 Console: Don't show -1 active peers when in test mode 2025-04-30 12:02:00 -04:00
zzz
1f83d6122b Router: Remove ssu2tokens.txt file on rekey 2025-04-30 11:56:20 -04:00
zzz
8e4beee536 dev -7 2025-04-30 09:35:52 -04:00
zzz
8b2a01193b Startup: Add migration tool to migrate all Jetty xml files
Some checks failed
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
referenced in clients.config command lines.
This changes Ref id to Ref refid, and updates the DTD.
Previous changes for this were for new installs only,
this handles existing files in the eepsite dirs.

This builds on the existing MigrateJetty class,
while removing the ancient Jetty 5-8 to 9 migration code.

The only way that would have been used these days is
if somebody tried to update directly from 0.9.29 or earlier
(8 years ago) to the current release.
With this change, we tell the user to uninstall and reinstall.
2025-04-26 14:40:29 -04:00
zzz
c60e748a24 Util: Add ability to force using IPv6 for SSLEepGet
Some checks failed
Daily Workflow / daily-job (push) Has been cancelled
Daily Workflow / javadoc-latest (push) Has been cancelled
Daily Workflow / build-java7 (push) Has been cancelled
Java CI / build (push) Has been cancelled
Java CI / javadoc-latest (push) Has been cancelled
Java CI / build-java7 (push) Has been cancelled
Dockerhub / docker (push) Has been cancelled
Java with IzPack Snapshot Setup / setup (push) Has been cancelled
2025-04-25 07:05:47 -04:00
zzz
5a4752e4df dev -5 2025-04-24 18:34:55 -04:00
zzz
75a4752fe0 NetDB: Add new reseed
Add CLI flag to force IPv6 for testing
2025-04-24 15:33:18 -04:00
zzz
f6e951e297 Build: Patch msgfmt-generated ResourceBundle code to eliminate unchecked warnings
Ancient msgfmt doesn't know about generics.
This change allows devs to set javac.compilerargs=-Xlint:unchecked
in override.properties without getting an
overwhelming number of false positives from the bundles.

If msgfmt ever adds a --java5 option, we can remove this,
but it's been almost 20 years.
For the same reason, while the sed script is fragile,
seems unlikely msgfmt will change the output without a new option.
If they do, we'll fix it then.
2025-04-20 17:21:35 -04:00
zzz
226a1545d1 dev -4 2025-04-16 06:26:24 -04:00
zzz
6e15421638 Tunnels: Implement proposal 168 - Part 1 2025-04-16 10:24:18 +00:00
zzz
b3ac93d7cc Console: Use Basic auth for prometheus plugin
prometheus server doesn't support Digest auth
2025-04-09 17:26:23 -04:00
zzz
db8fc47703 Merge branch 'ff-restart' into 'master'
NetDB: Maintain ff after restart when configured for auto

See merge request i2p-hackers/i2p.i2p!240
2025-04-09 21:22:45 +00:00
zzz
009630e2dd NetDB: Maintain ff after restart when configured for auto 2025-04-09 21:22:45 +00:00
zzz
27b8a9db4b NetDB: Don't store unreachable routers to disk 2025-04-08 12:17:43 -04:00
zzz
7ae01862ad bump -2 2025-04-08 09:08:12 -04:00
zzz
5b40c01394 Don't increment nonces within a CipherState unless the encryption/decryption operation succeeds
Adapted from https://github.com/rweather/noise-java/pull/18

Section 5.1 of the The Noise Protocol Framework, revision 34 states in the description for DecryptWithAd that:

If an authentication failure occurs in DECRYPT() then n is not incremented and an error is signaled to the caller.

But noise-java currently increments the nonce unconditionally.
This change defers incrementing the nonce until encryption/decryption operations actually succeed.
2025-04-06 10:47:47 -04:00
zzz
a4fe0da2b4 bump -1 2025-04-04 08:14:09 -04:00
zzz
b8dca2f64b Merge branch 'devrandom' into 'master'
PRNG: Switch to /dev/random by default

See merge request i2p-hackers/i2p.i2p!238
2025-04-04 12:00:55 +00:00
zzz
8ac8ad4238 PRNG: Switch to /dev/random by default 2025-04-04 12:00:55 +00:00
zzz
b23136e0a6 netdb: Don't store old router versions to disk 2025-03-30 06:41:56 -04:00
zzz
8e7f67b0cc 2.8.2 2025-03-29 08:20:56 -04:00
zzz
28f6815e8a bump -2-rc 2025-03-28 08:44:15 -04:00
zzz
dd74e49101 log tweak 2025-03-23 07:53:59 -04:00
zzz
0d5108de1d Router: Prevent double-free of SHA256 instances from Noise 2025-03-22 14:48:01 -04:00
zzz
b27c8d0f97 log level tweak 2025-03-21 16:40:29 -04:00
zzz
f444854456 2.8.1 2025-03-17 11:48:02 -04:00
zzz
ec1458d75d bump for review -8-rc 2025-03-14 14:11:20 -04:00
zzz
0cbd0fb4d6 bump -7-rc 2025-03-08 11:18:57 -05:00
zzz
812840b4e5 Tunnels: Fix UOE on timeout of OB client tunnel test
previous tunnel fix was incomplete
2025-03-08 11:18:21 -05:00
zzz
11668696b7 NetDB: Reseed update 2025-03-07 06:55:15 -05:00
zzz
9ae99fa4cb bump -6-rc 2025-03-05 12:13:19 -05:00
zzz
7b52b4431a Build: Use package-info.java for empty dirs
instead of package.html and Dummy.java
2025-03-05 10:16:55 -05:00
zzz
8b94b9dd29 netdb: reduce RI verify time after startup 2025-03-05 07:25:15 -05:00