Commit Graph

6428 Commits

Author SHA1 Message Date
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
d43c6d631c Tests: Fix test build
broken yesterday by BuildMessageGenerator change
2025-02-23 06:21:47 -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
zzz
652d55a95c Console: Add support for notification bubbles 2025-02-22 11:07:43 +00:00
zzz
4da8a91264 CLI: Don't die on reseed test if one entry is bad 2025-02-21 13:50:39 -05:00
zzz
ca22f3dbe5 Tunnels: Prep for tunnel bw params (proposal 168) 2025-02-21 11:01:51 -05:00
zzz
24614316be Tunnels: Fix tests of OB client tunnels
tag was registered with wrong SKM
broken in 2.5.1
move setting of _id earlier so it's available for logging
add notes
2025-02-20 15:05:36 -05:00
zzz
b2542705e7 Log tweak to help debug tunnel test failures 2025-02-20 11:57:24 -05:00
zzz
eb323e7784 bump -2 2025-02-17 14:05:41 -05:00
zzz
15185de087 CLI: Add 'reseeder list' to list reseeds 2025-02-10 13:24:20 -05:00
zzz
ef14eab6fd Router: Remove unused stats (throttle) 2025-02-10 09:53:18 -05:00
zzz
7f4ee2664e Tunnels: Remove unused stats
and consolidate rate array
2025-02-10 09:43:07 -05:00
zzz
5ec82b3afd Transport: SSU1 removal part 12/n (unused stats) 2025-02-10 09:26:10 -05:00
zzz
2768165b05 Transport: SSU1 removal part 11/n (PacketBuilder)
and unused PacketHandler args
2025-02-10 09:02:49 -05:00
zzz
ad591d4887 dev -1 2025-02-07 13:54:49 -05:00
zzz
6cef4ccbb1 Data: Check key order when parsing RI mappings and fail-fast if out-of-order
before the signature check
2025-02-07 12:18:52 -05:00
zzz
8b9f61b1d4 Crypto: Use pooled SHA256 instances in Noise lib 2025-02-07 11:45:56 -05:00
zzz
3abbc1b3d0 Transport: Remove old NTCP 1 stats 2025-02-07 11:41:21 -05:00