48cfb6114b
0.9.50
2021-05-18 08:21:33 -04:00
fb6e8249d0
bump for review
2021-05-15 14:03:03 -04:00
121cb2c94c
NTCP: Fix reported NPE in debug logging on java 16
2021-05-10 08:42:04 -04:00
ea7183eeda
Sybil: Fix retention of old analysis files when configured to never delete
2021-05-10 08:38:35 -04:00
38dbe2f509
poupdate-source
2021-05-05 12:02:22 -04:00
f77677f1f4
Router: Unused methods and fields (findbugs)
2021-05-05 10:58:16 -04:00
20c528debe
Router: Cleanup fix for gitlab ticket #16
...
Only check for clients.config if there was no clients.config.d
2021-04-27 10:58:17 -04:00
fe507b63b5
SSU: Add more state transitions that require confirmation
2021-04-25 10:33:40 -04:00
21485eff87
SusiMail: Prevent infinite loop on decoding error
...
More test mods
Fix StringBuilderWriter.write(int)
2021-04-24 19:37:18 -04:00
78168be85c
Jetty: Add patch for CVE-2021-28165 - Jetty #6072 -
...
Jetty server high CPU when client send data length > 17408
This affects SSL connections only, which is not part of our default setup.
Adapted from workaround at:
https://github.com/eclipse/jetty.project/security/advisories/GHSA-26vr-8j45-3r4w
Put the new checks directly in the unwrap() method,
rather than subclassing SslConnection, as that would require config file changes.
2021-04-24 16:04:33 -04:00
025445fc65
When checking whether to use Roaming appdata(like on older installs or on installs where people deliberately use Roaming appdata) also check whether clients.config exists and if it does, set home to Roaming appdata since people may be updating from routers before the migration to clients.config.d directories. This should fix #16
2021-04-22 23:27:31 -04:00
1a05475f47
SSU: Don't start peer test when shutting down
2021-04-20 08:58:48 -04:00
23b704960d
NTCP: More NTCP1 removal cleanup
2021-04-20 08:50:00 -04:00
388bac5aae
NTCP: Set outbound addresses at startup when force-firewalled
...
TODO: set outbound addresses on transition to firewalled later
2021-04-20 08:24:50 -04:00
5af19314db
SSU: Call replaceCurrentExternalAddress() from startup()
...
for local interfaces even when not force-firewalled, because REA2()
now needs them to set the IPs regardless
2021-04-20 07:33:08 -04:00
11151464f3
Router: State transition fixes
2021-04-17 14:30:25 -04:00
cebef747ef
Transport: Don't update queue size stat unless enabled
2021-04-12 10:32:58 -04:00
76fd180b63
SSU: Fix peer test getting stuck
...
Timer was not getting rescheduled in all cases,
so testComplete() was never called,
so no more tests could run.
Always remove test when testComplete() is called.
Log tweaks
2021-04-12 10:30:37 -04:00
0963a1339c
SSU: IPv6-only fixes
2021-04-11 08:54:40 -04:00
f0e606cc46
Router: Don't fail migration at install if missing eepsite/ or clients.config,
...
for embedded applications.
Ensure a migration failure is logged if file does exist.
Reported and tested by zlatinb
2021-04-09 09:08:36 -04:00
009eb8c9f6
SSU: Fix IPv6 introducers
...
Ensure introducers are required when force-firewalled
Log tweaks
2021-04-08 14:20:31 -04:00
02cf79c4c8
NetDB: Don't repeatedly log about reseed disabled
2021-04-08 14:16:07 -04:00
7482142431
Util: Parameterize CDPBQ
...
Same as CDBQ earlier. To allow experiments on adjusted params.
2021-04-06 08:36:05 -04:00
e16c80516d
I2NP: Add msg ID to all build msg toString()
2021-04-05 08:37:28 -04:00
4acf0ecd05
Sybil: Register blocklist version with update manager
...
Fix "very close" message when configured for all routers
2021-04-05 08:05:17 -04:00
2eedfe5382
SSU: Add note about skew threshold
2021-04-04 13:56:13 -04:00
a2dde559f1
SSU: Don't call PS.expireInboundMessages() from messageReceived()
...
it's already called from IMF
2021-04-04 13:25:57 -04:00
de108dbc5e
Tunnels: Fix build message timestamp check for ECIES records
...
Log tweaks
2021-04-04 13:21:07 -04:00
00d3965303
SSU: Log enhancement, fix possible log NPE
2021-04-03 17:12:49 -04:00
7ad7846f86
SAM: Remove subsessions when primary session closes
2021-04-03 15:25:20 -04:00
1307e5b2e0
SSU: Remove restrictions on IPv6 introducers (prop. 158)
...
WIP, not fully tested
Don't try to rebuild IPv4 address when IPv4 disabled
Don't bid on a peer if marked unreachable
Fail outbound immediately if no valid introducers
Reduce IPv6 too-close length check from 8 bytes to 4
Log tweaks
2021-04-03 15:24:03 -04:00
1b1b0f545f
SSU: Fix dup IPv6 introducers
2021-04-02 09:30:29 -04:00
9b361ce71c
NetDB: Negative cache LS received with zero leases
...
Ratchet: Don't schedule a reply to a LS with zero leases
2021-04-01 08:12:35 -04:00
562b86636a
SSU: Update address when IPv6 introducers change (prop. 158)
...
Enable ipv6 check in locked_rebuild()
Change locked_needsRebuild() to return codes for ipv4/v6
Change locked_needsRebuild() for introducers so it only
returns true if more are available
Change rebuildExternalAddress() so we can do a rebuild of ipv6 without an IP
Only call rebuildIfNecessary() on peer drop if it could have been an introducer
Fix check in pickInbound() for support of AliceIP field
Log tweaks
2021-03-31 12:50:21 -04:00
8447086c59
Transport: Fix NTCP removing IPv4 address when SSU removes IPv6 address
2021-03-30 07:14:35 -04:00
fed3063f36
Transport: Don't open UPnP ports when force-firewalled
2021-03-29 14:15:42 -04:00
e6f5ab967e
Transport: Don't open UPnP ports when hidden
2021-03-29 14:04:38 -04:00
953b64af4a
SSU: Don't request introducers when hidden
2021-03-29 13:38:18 -04:00
e21a3a366b
Router: Fix decryption of blinded leasesets
...
Reverse cache wasn't regenerated at midnight,
so decryption would fail after the first routing key change.
We had the rollover() method but it wasn't called.
2021-03-27 08:15:01 -04:00
684506b0be
Transports: Don't open UPnP ports for disabled IPv4/v6
2021-03-25 08:46:00 -04:00
aecd8efcca
SSU: Implement IPv6 introductions (proposal 158)
...
WIP
Offer intro key for IPv6
Pick introducers for IPv6
Publish address with IPv6 introducers
Reduce churn of selected introducers
Only adjust transport bid if they publish C cap
Log tweaks
2021-03-25 08:03:33 -04:00
5f39426073
NetDB: Don't note 'enabled floodfill' in event log every startup when forced on
2021-03-24 09:32:01 -04:00
0ab429e1ed
NetDB: Sort published addresses for consistency
2021-03-23 08:17:38 -04:00
bd6d6426fd
SSU: Try to fix IPv6 transition from firewalled to non-firewalled
...
state was right but published address wasn't updated because looking
in wrong place for saved ipv6 address
2021-03-23 08:14:17 -04:00
9a106cb326
I2NP: lookup message debug output fixes
2021-03-22 12:42:28 -04:00
bbfd94359b
Tunnels: Don't count established routers as new in OBEP throttle (ticket #2245 )
...
reported by zlatinb
patch from jogger
2021-03-22 12:38:57 -04:00
64695a8060
SSU: Fix persisting IPv6 firewalled state
2021-03-22 12:02:36 -04:00
86b49546c8
Sybil: Persist blocklist
2021-03-22 10:36:42 -04:00
12c4f43109
Transport: Better IPv6 address check
...
We don't want to match on "46"
2021-03-22 07:00:17 -04:00
d5fd754a25
Tunnels: Garlic encrypt ITBM to IBGW
...
WIP, see proposal 157.
Will not take effect until we actually send ITBMs.
Tested with regular VTBMs.
2021-03-21 09:25:47 -04:00