16702 Commits

Author SHA1 Message Date
zzz
b4fb8ba2c9 bump for review -15-rc 2023-01-06 14:45:01 -05:00
zzz
5e23488a96 Blocklist update 2023-01-06 14:39:47 -05:00
zzz
9adbef3f27 Pull translations 2023-01-06 14:38:46 -05:00
zzz
09a97c31fc Reseed: Exclude SSU2 with introducers from local reseed file 2023-01-04 08:52:57 -05:00
zzz
76d8d9110a Console: Add link to sort netdb country chart by count 2023-01-03 10:10:35 -05:00
zzz
67c09c69f0 Console: Replace triangle icons with ** on the new peers tab
Can't get the icons to look nice
2023-01-03 09:29:32 -05:00
zzz
513a33abe6 Profiles: Capacity calculator minor cleanup 2023-01-02 16:44:31 -05:00
zzz
b313817399 Update annotation of tunnel reject codes 2023-01-02 16:21:47 -05:00
idk
0f7dca99d1 don't attempt to pass windows flags to cc when building jbigi, jcpuid on non-Windows platforms 2023-01-02 16:59:23 +00:00
zzz
c0891c4a4c Build: Add mockito to core javadocs path to prevent warnings in mavenCentral.deps task 2023-01-02 09:54:10 -05:00
idk
a94382458e set apart windows flags including JAVA_HOME in case the path contains a space 2023-01-02 02:28:44 +00:00
idk
6856969d01 add quotes around JAVA_HOME on windows so that it can use a JAVA_HOME that exists in %ProgramFiles% 2023-01-01 23:48:57 +00:00
idk
e4fba64fc1 Quote and shellcheck the jbigi.jar build scripts in order to fix errors when building jbigi jars on Windows 2023-01-01 23:09:10 +00:00
idk
0c4fd2dbb1 quote JAVA_HOME during jbigi build 2023-01-01 22:22:03 +00:00
idk
6ad90ca38a Change the gmp mirror so that when you try to build a jbigi.jar it does not fail. Can be changed back by editing core/c/jbigi/download_gmp.sh 2023-01-01 22:05:00 +00:00
zzz
edfc9b1454 I2CP: Reduce session limit to 50
Set limit to 0 if vmCommSystem
i2ptunnel: Do not retry if session limit exceeded
2023-01-01 13:08:25 -05:00
zzz
6bcc866f38 GeoIP 2023-01
bump BuildTime
2023-01-01 11:21:31 -05:00
zzz
04d0ecc1a7 i2psnark: Prep for JS DnD (Gitlab MR !73)
Strip file:// in create form for non-JS DnD
Add IDs to relevant elements for access by JS
JS to follow after further testing
2023-01-01 10:46:07 -05:00
zzz
2ad33706e3 i2psnark: Add missing button icons (dark/light themes) 2023-01-01 10:41:59 -05:00
zzz
952d9fd471 Build: Add jsdoc target
Doesn't really do much yet because none of our js has jsdocs
2023-01-01 10:40:33 -05:00
zzz
be7e213736 Pull translations from tx
preliminary in case TX API v2 stops working
2022-12-31 15:08:09 -05:00
zzz
5818f8e26d bump -14-rc 2022-12-31 14:10:58 -05:00
zzz
6b1859421f i2psnark: Throttle torrent startup to prevent OOMs
for a large number torrents
ref: http://zzz.i2p/topics/3475
2022-12-31 14:10:06 -05:00
zzz
4af2122176 Console: Change color palette for graph rendering on dark theme
to improve text readability.
Remove post-render CSS modification of graph images

Contains code adapted from I2P+. License:
Permission is granted to upstream to incorporate I2P+ modifications under the license
of the applicable upstream subsystem as specified in LICENSE.txt.
2022-12-31 14:02:27 -05:00
zzz
ec8d0a2f61 Console: Fix dark theme CSS color tweak affecting more than the intended inbound.png and outbound.png images 2022-12-31 08:37:23 -05:00
zzz
0792526c16 Console: Move hide/show news buttons back to the right (light theme)
unintended side-effect of CSS tweak in last release
2022-12-31 08:07:03 -05:00
zzz
b607304f7b i2psnark: Update tracker list after editing torrent (Gitlab #380) 2022-12-31 07:35:25 -05:00
zzz
f2940146c4 Util: Add methods to convert IPv6 addresses to canonical RFC 5952 strings
Moved from NetDbRenderer
Use in CLI only for now
CLI and conversion micro-optimizations
2022-12-30 06:21:40 -05:00
zzz
0d97dbf534 Tunnels: Add another tier for client tunnel build limiter
only if configured for 6 or more tunnels
2022-12-30 05:50:09 -05:00
zzz
f7d134066d UPnP: Catch AssertionError when closing SSDP multicast socket
Reported on Windows 10
ref: http://zzz.i2p/topics/3500
2022-12-30 05:33:10 -05:00
zzz
dcb8009c63 Tunnels: Limit requested client tunnels during congestion
This will probably also reduce builds at startup.
Limits may require tweaks after further testing.
2022-12-29 12:07:48 -05:00
zzz
32ffd056a1 Throttle: Don't parse default values every time 2022-12-26 14:47:33 -05:00
zzz
b5ce70955b bump -12 2022-12-26 14:15:30 -05:00
zzz
2b8d3477ce SSU1: Symmetric NAT detection fixes
Never let SSU1 test result be symmetric NAT, it's probably charlie
Don't use SSU1 test if we think we are symmetric NAT
Cleanup two places to call new fail() method
2022-12-26 14:13:43 -05:00
zzz
d655ad206c SSU: Fix NPE when SSU2 disabled 2022-12-26 07:21:49 -05:00
zzz
d16aaab35f Router: Don't blocklist our own IP 2022-12-26 07:13:10 -05:00
zzz
ba0fee151b SSU2: Redesign peer test symmetric NAT detection
- Send msg 6 even if msg 5 is not received, after a short delay, to detect symmetric NAT
- Prevent test result of symmetric NAT if Charlie is the one that appears to be symmetric natted.
- Mark if Charlie unreachable if apparently symmetric natted.
- Do not treat a different IP but same port as symmetric NAT
- Increase msg 6 retransmission frequency
- Ignore msg 5 received after sending msg 6
- Call externalAddressReceived() on reception of msg 7
- Add javadoc for testComplete() state machine

Most changes only affect SSU2; some SSU1 changes to follow.

ref: http://zzz.i2p/topics/3489
2022-12-26 06:14:55 -05:00
zzz
2ce2b894b7 SSU2: Minor cleanups
Rename isSnatted() to isSymNatted()
Minor rewrite in PeerState2.gotTermination()
Remove dead peer when pinging fails in intro manager
Cleanup ip length check in externalAddressReceived()
Log tweaks
2022-12-26 05:55:47 -05:00
zzz
d9979b8f97 Console: Sort tunnels by name on /tunnels, /configtunnels, /i2ptunnel 2022-12-26 05:38:35 -05:00
zzz
2d633a0bfd SSU2: Don't replace previous destroyed peer in the cache
kill the new one instead
2022-12-23 16:39:30 -05:00
zzz
fdbdd10a89 SSU2: Refactor in-session PacketBuilder2 methods to throw IOE
Primarily for Peer Test and Relay, so the test or relay can be aborted.
Previously, sends on a dead PeerState2 were not detected or prevented.
Catch IOE throughout where necessary around all build() calls.
Add a fail() method in PeerTestManager
2022-12-23 15:47:09 -05:00
zzz
a6f7f9ec12 SSU1 peer test log level reduction
SSU2 peer test state add alice IP/port back to logging, needed for debugging
2022-12-23 14:29:19 -05:00
zzz
3dd242c1c7 SSU2: Peer test with our current address, not our address from the Bob session,
which could be different, esp. with temporary IPv6 addresses.
Could result in an erroneous SNAT result.
Add logging if different when starting test.
Check address block received in msg 6, use in logging only for now
Add logging of address block received in msg 7 if different than expected (possible SNAT)
Remove isValidPort() check in msg 5 recently added, already checked in code above
Add notes about possible externalAddressReceived() calls from peer test
Add notes about our address in PeerState2
2022-12-23 09:04:09 -05:00
zzz
defe514a31 SSU2: Enforce that address block is present in session created
Simplify check in EstablishmentManager.sendConfirmation(), we don't need to validate
RemoteHostId IP again, we did it before connecting.
Add check that received port is >= 1024.
2022-12-23 07:42:50 -05:00
zzz
31d0bc33d6 Blocklist: Don't add IPv4 addresses permanently banned to the transient list
Already hidden on /configpeers, so don't waste the space
2022-12-23 07:36:22 -05:00
zzz
3580430005 bump -11 2022-12-22 09:59:22 -05:00
zzz
ac799b7ffa SSU2: Further restrict states when we will be a peer test Charlie
and also use those states for when to publish B cap
2022-12-22 09:50:39 -05:00
zzz
4c8e0149f3 SSU2: Peer Test fixes
Check for dup msg 5
Store the time msg 6 sent
Ignore msg 5 after sending msg 6
Ignore msg 7 before receiving msg 4
Validate ip/port in msg 7
Update rcv times for dups
Log tweaks
2022-12-22 08:38:08 -05:00
zzz
150a68a3e0 SSU: Peer Test scheduling fixes
At startup, and for IPv6 so it doesn't lose out to IPv4
PeerTestEvent logging cleanup
2022-12-22 08:20:32 -05:00
zzz
321a21ae9b Util: Add SimpleTimer2.TimedEvent.toString()
to clean up timer crash messages
2022-12-22 07:27:04 -05:00