Commit Graph

6314 Commits

Author SHA1 Message Date
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 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
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 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 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
zzz db77827ce0 javadoc fixes 2025-03-05 06:16:53 -05:00
zzz 6dcf56c042 remove TODO note fixed recently 2025-03-02 06:54:04 -05:00
zzz 02a0ec190b log level fix 2025-03-01 16:04:10 -05:00
zzz dc12464daa Transport: Ban routers with RI format errors if signature verifies 2025-02-28 11:56:19 -05:00
zzz 226982096a bump -5 2025-02-25 10:10:15 -05:00
zzz de2f2007c4 Console: Improve writing efficiency
replace out.write(buf.toString) with out.append(buf)
to eliminate extra copy and object churn
2025-02-23 20:45:06 -05:00
zzz 8cee7b2547 CLI: Sort reseeds 2025-02-23 10:09:59 -05:00
zzz dceef0dae2 Router: Ban hash of all-zero RI
seen live on the net
2025-02-23 07:43:26 -05:00
zzz 68ebda19c5 bump -4 2025-02-23 06:45:37 -05:00
zzz 7d6e9d20b4 bump -3 2025-02-22 06:15:36 -05:00
zzz 940205f8c8 Merge branch 'bubbles' into 'master'
Console: Add support for notification bubbles

See merge request i2p-hackers/i2p.i2p!230
2025-02-22 11:07:44 +00:00