e88f40cd95
Whitespace
2020-12-21 23:00:12 +00:00
82e93a53a3
bump -7
2020-12-21 15:51:14 -05:00
abb8cbe75d
SSU: Fix partial acks not being sent when there are no 'gaps'.
...
Workaround the bug on the sending side for pre-0.9.49 routers by sending fragments in reverse order.
Bug introduced in commit 9c4558d891
Sep 20 2014.
This partially reverts that commit.
Reported by and adapted from a patch by zlatinb
2020-12-21 10:02:20 -05:00
30ffdd03c7
SSU log tweaks
2020-12-20 08:35:07 -05:00
5e8de68746
SSU: Increase sendWindowBytesRemaining when increasing the window
...
Fix BWE log formatting
2020-12-19 08:23:13 -05:00
8ae29c8c00
SSU: Westwood+ bandwidth estimator classes (ticket #2427 )
2020-12-19 07:26:53 -05:00
542efa0d9a
SSU: Westwood+ congestion control (ticket #2427 )
...
Reduce initial window to match RFC
Add back to window on message failure
Remove two bps stats
log tweaks
2020-12-18 14:46:26 -05:00
23c80accfa
SSU: More PeerState cleanup
2020-12-18 11:58:55 -05:00
b909430725
SSU: Account for packet overhead in window calculations
2020-12-18 11:52:18 -05:00
20b413bc67
Crypto: Fix use after free (ticket #2797 )
2020-12-18 11:05:36 -05:00
66b724759d
lock locked_shouldSend on this
2020-12-18 09:03:52 +00:00
56059448c5
SSU: Send subset of fragments (ticket #2427 )
...
if all fragments will not fit in the window.
Track per-fragment send count.
Reset send window when retransmitting.
Update send window when partial acks received.
Make OMS.getMaxSends() and getPushCount() track different things.
Change OMS.push() to be called by OMF and return the pushed fragments.
Use size of smallest fragment rather than total size to determine if we can send a message now.
This is an improved fix for ticket #2505 .
Eliminate repeated calls to OMS.getLifetime()
Log tweaks and reduce log levels
Improves throughput on lossy connections.
Reduces latency for large messages.
This is prep for reducing DEFAULT_SEND_WINDOW_BYTES and W+, which
would have exacerbated these issues.
Additional changes to follow, implementing Westwood+, see #2427
2020-12-17 12:54:24 -05:00
1c52eeb910
NetDB: Prevent reported NPE
2020-12-16 11:01:45 -05:00
4aefe4bf7a
SSU: Fix OMF looping when timer isn't cancelled after last message acked
...
Push out timer when no more bandwidth available
Workarounds for now, more changes to follow
2020-12-16 09:40:39 -05:00
b9444cdc51
Merge branch 'fix-ides' into 'master'
...
Fix ides
See merge request i2p-hackers/i2p.i2p!2
2020-12-14 23:22:16 +00:00
aa181ee43f
SSU: Restore sync dropped in cleanup
2020-12-12 11:00:03 -05:00
ab04f92072
SSU: PeerState cleanup
2020-12-12 10:15:02 -05:00
067ee80ba0
remove IntelliJ and Eclipse project descriptors
2020-12-11 19:45:25 +00:00
0ad7e52b71
Router (proposal 156):
...
- Change router ECIES SKM to use N pattern, remove Elligator2, to match proposal changes
- Allow encrypted messages to ECIES routers
- Allow ECIES routers to become floodfill
- Add XDH factory to VM comm system for tests
2020-12-11 10:08:41 -05:00
5a3e26453f
Transport: Block SIP ports
2020-12-06 13:11:46 +00:00
d683f0d9eb
Util: Change DoH to the RFC 8484 protocol
2020-12-06 12:54:20 +00:00
58020b4b58
Console: Swap some columns on ssu /peers for consistency
...
Format send window and slow start threshold values
2020-12-05 12:56:58 +00:00
36fdfd529f
0.9.48
2020-12-01 15:54:41 +00:00
c60e51514c
Add old cert to deletelist.txt
...
Javadoc fix
2020-12-01 14:39:44 +00:00
6e8fd42efd
pull translations
2020-11-27 18:40:53 +00:00
6c2c6abfb9
NTCP: Enable nodelay by default
...
SSU: Don't wakeup OMF after ack if no more messages are pending
2020-11-26 18:58:22 +00:00
d8924119b5
NTCP: Add nodelay option for testing
2020-11-24 14:48:59 +00:00
875fcdfb94
NetDB: Increase min FF version for LS lookups since most are LS2 now
2020-11-22 19:46:18 +00:00
ccb4210f8b
NetDB: Limit max explore at startup when hidden
2020-11-20 14:37:22 +00:00
7e5dc6ad64
Tomcat 9.0.40
2020-11-20 14:11:59 +00:00
31622d0458
NetDB: Increase exploration rate when hidden
2020-11-20 12:59:22 +00:00
f9b18545f9
Reseed update
2020-11-20 12:30:52 +00:00
e811238d60
NetDB: Disable sending encrypted messages to ECIES routers for now
...
The #ls2 team plans to change the specification and re-enable after the 0.9.48 release
2020-11-17 16:21:10 +00:00
c9e6bef825
Jetty: Patch to fix console not starting on Java 11.0.9.1
...
Backport JavaVersion.java from Jetty 9.4.34
Jetty does not plan to fix in 9.3.x
ref:
https://github.com/eclipse/jetty.project/issues/5682
https://github.com/eclipse/jetty.project/issues/2284
http://zzz.i2p/topics/2991
2020-11-17 15:50:10 +00:00
6f5042be8f
Test: Drop ancient unused DateMessage
2020-11-16 16:16:49 +00:00
0b0b93f26f
javadoc fix
2020-11-16 15:32:29 +00:00
595f8762ab
I2NP: Don't extend DataStructureImpl, to save space
...
Fixup test as required
2020-11-16 14:51:35 +00:00
de41cab08e
GarlicClove: Store time as long rather than Date to save space
2020-11-11 16:00:57 +00:00
3606a42ea8
Lease: Store time as long rather than Date to save space
...
Add long methods, deprecate Date methods
2020-11-11 15:15:44 +00:00
29dc311c6a
Ratchet: Destroy HandshakeState after fatal NS/NSR errors
2020-11-10 15:22:46 +00:00
a2fd817915
Tunnels: getUnknownOptions() is non-null
...
one more TunnelId fixup
2020-11-07 13:53:44 +00:00
5bafdd05a9
Tunnels: Simplify TunnelId and HopConfig to save space
...
and reduce object churn and duplication
Fixup tests, javadocs, logging as required
2020-11-07 13:40:48 +00:00
d4152ea546
NetDB: Ensure RI republish time is less than validation time
...
to prevent failures on connections esp. for hidden mode
2020-11-05 18:47:49 +00:00
e242015145
Util: Hook in ByteArrayStream
...
Set accurate lengths for zero-copy
2020-11-04 12:04:24 +00:00
c18dbe974a
Remove reseed SSL cert, now using a CA
2020-11-02 22:19:49 +00:00
f69563da75
Util: New zero-copy BAOS
...
WIP, to be hooked in
2020-11-02 12:12:20 +00:00
5625caebda
I2CP: Remove tunnels immediately on client disconnect
2020-11-02 11:21:52 +00:00
35012a3bad
Crypto: Precalculate Noise init hash
2020-10-29 16:51:13 +00:00
190b76d7fd
Tunnels: Improved logging and handling of offline signature expiration
...
Store back ref to controller in tunnel
Stop server controller on I2PException
Support generation of keys with fractional days expiration for testing
2020-10-29 15:20:56 +00:00
70eb2a49f9
Router: Fix ECIES tunnel testing part 2
...
Remove ratchet tag from RSKM on timeout
2020-10-28 13:15:26 +00:00