Commit Graph

6474 Commits

Author SHA1 Message Date
zzz
ef5b55a0e4 bump -8-rc
NetDB: RI Publish improvements part 4

Prevent rapid RI publishing at startup when transports update their status
by adding a short delay and check
2025-01-30 07:11:47 -05:00
zzz
db84778b22 NetDB: RI Publish improvements part 4 2025-01-30 12:07:02 +00:00
zzz
f60da62240 Reseed update 2025-01-29 09:46:34 -05:00
zzz
01b4c62f92 NetDB: RI Publish improvements part 3
Only publish non-ff at shutdown if not restarting
2025-01-28 14:57:24 -05:00
zzz
f5cccc3985 bump -7-rc
NetDB: RI Publish improvements part 2
Delay startup of PLRIJ

Start PLRIJ in setNetDbReady() with a delay,
rather than running immediately from KNDF.startup(),
so that it does not attempt to publish before
KNDF.isInitialized() is true.
setNetDbReady() always does the initial publish,
PLRIJ does the subsequent republishing.

Ensure republish timing is consistent after startup
Increase publish interval randomness
Sometimes publish "early" to add more randomness
Reset counter after publish
2025-01-28 12:13:25 -05:00
zzz
83b67b86b9 NetDB: RI Publish improvements part 2 2025-01-28 17:10:32 +00:00
zzz
1bfe9d0d42 NetDB: RI Publish improvements part 1
Speed up initial publish

After reading in 500 RIs,
PersistentDataStore.ReadJob calls setNetDbReady() which calls publish(),
but that fails because netdb.isInitialized() returns false
until PersistentDataStore finishes reading in all the RIs.

Fix isInitialized() so it will return true before we call setNetDbReady().
Also add a missing check to make sure we don't call setNetDbReady() twice.
and a check in setNetDbReady() so we don't call publish() twice.
2025-01-27 13:17:29 -05:00
zzz
456a748696 NetDB: RI Publish improvements part 1 2025-01-27 18:15:30 +00:00
zzz
ccc211273b log tweak 2025-01-26 11:30:46 -05:00
zzz
c9ac2680ef Transport: Increase min peer test version
fixes in 0.9.62 should make it more reliable
2025-01-26 11:27:23 -05:00
zzz
396dabc8e7 bump -5-rc 2025-01-22 09:30:58 -05:00
zzz
eca0ba4dd7 Crypto: Add commented-out main() test for ChaCha/Poly 2025-01-12 11:24:01 -05:00
zzz
7b8eb1fdae Crypto: Chacha/poly microoptimization 2025-01-10 14:55:43 -05:00
zzz
d64483189b OCMOSJ: Don't create unused objects for ECIES 2025-01-06 10:39:55 -05:00
zzz
a2069da48f javadoc fix 2025-01-01 09:21:41 -05:00
zzz
c079788998 NetDB: Base lookup timeout on peer's average response time 2024-12-26 08:21:16 -05:00
zzz
f2998831bb Profiles: Remove unused 10m and 24h rates for DB response time 2024-12-26 07:50:07 -05:00
zzz
09baa49370 NetDB: Reduce max ff response time 2024-12-26 07:42:45 -05:00
zzz
e617059b30 bump -4 2024-12-18 13:02:28 -05:00
zzz
492056e99e NetDB: Add aggressive LS expire 2024-12-18 17:57:53 +00:00
zzz
6ffdb70e4c Tunnels: Remove unnecessary casts in IMD
since setReceivedBy() was promoted to super
2024-12-03 07:43:27 -05:00
zzz
d7e97a16a2 bump -3 2024-11-29 16:56:13 -05:00
zzz
085bbbb6e6 Transport: Better message on UPnP tab when enabled but fails to start (Github #84) 2024-11-29 10:50:54 -05:00
zzz
a1949bf612 Build: Suppress JNI warnings from Java 24 for CLI and i2psnark-standalone
and add note to wrapper.config on how to do it there for normal runtime
2024-11-28 10:50:26 -05:00
zzz
62f750062d Profiles: Extend time to treat E routers as severely congested 2024-11-17 09:51:59 -05:00
zzz
4da55dd3ab bump -2 2024-11-14 07:39:24 -05:00
zzz
b57afabc13 Router: Change cap for sym. nat, for now 2024-11-14 07:31:39 -05:00
zzz
247b28606c Merge branch 'ssu2-relayintroack' into 'master'
SSU2: Don't send separate ack for relay intro,

See merge request i2p-hackers/i2p.i2p!220
2024-11-08 13:03:05 +00:00
zzz
bc5ca78794 SSU2: Don't send separate ack for relay intro, 2024-11-08 13:03:05 +00:00
zzz
29d131827a NetDB: Use new isNewer() method for LS comparison in another spot 2024-11-04 13:07:08 -05:00
zzz
b2b86b2767 SSU2: Detect and drop dup relay messages as Bob
More SSU1 code removal (Intro. Mgr.)
2024-11-04 12:29:44 -05:00
zzz
c9b17b8cd5 SSU2: More SSU1 code removal (Est. Mgr.) 2024-11-04 12:12:30 -05:00
zzz
2bec64c55a Router: Periodically recheck family of negative cached RIs
at random using a simple counter.
So if a router gets fixed it will eventually get recognized.
2024-11-04 12:06:12 -05:00
zzz
115c165bb6 SSU2: Hopefully fix rare deadlock via forEachAndNot() 2024-11-02 16:03:21 -04:00
zzz
d1adac5d8d bump -1 2024-10-22 17:44:02 -04:00
eyedeekay
562e6dfe0d Release: Update changelog, update version numbers 2024-10-08 11:14:07 -04:00
eyedeekay
4124d8d7a9 Maintenance: Update Tor blocklist, update geoIP database, bump version number 2024-10-04 15:20:49 -04:00
zzz
a5c17022a5 javadoc spelling fixes 2024-10-02 09:16:33 -04:00
zzz
86819852e7 bump -4-rc 2024-09-28 15:47:51 -04:00
zzz
4beb858d39 bump -3 2024-09-10 14:38:46 -04:00
zzz
8ff4797628 I2CP: Don't include lease about to expire in LS request
Better error message on attempt to sign expired LS
2024-08-23 09:25:31 -04:00
zzz
8ca34cda63 Naming: lookup fixes
- Don't lookup b33 in BFNS
- Fail immediately on bad b32
- Fix stripping .alt in ConvertToHash
- Strip URLs to hostname in ConvertToHash, for convenience
2024-08-17 08:55:22 -04:00
zzz
2f7fe96d67 bump -2 2024-08-16 07:43:29 -04:00
zzz
fc728c468e NetDB, I2CP: Fix tunnels going yellow for several minutes (Gitlab #487) 2024-08-16 11:15:15 +00:00
zzz
8d4ddd0f17 NetDB: Don't expire entries in test mode
Don't immediately expire entries for Android
2024-08-11 10:42:57 -04:00
zzz
2285e7ce2f Tunnels: Minor cleanup 2024-08-10 08:16:41 -04:00
zzz
2d516512a9 bump -1 2024-08-09 10:01:42 -04:00
zzz
41f678b926 Util: Reduce number of PRNG output buffers
Random is either fast enough or it isn't.
2024-08-09 09:54:40 -04:00
zzz
a8dbc29dcf Tunnels: Do not select ElG routers for tunnels 2024-08-09 09:42:18 -04:00
eyedeekay
20df8779bd Router: version 2.6.1 2024-08-06 21:43:27 -04:00