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
f9ffdd5137
Router: Fix tunnel testing for ECIES routers
2020-10-28 12:04:01 +00:00
a49f87179a
Router: Quick checks of eph. key MSB before Noise DH
...
Additional checks on ECIES BRR to catch old/buggy routers
Detailed logging of ECIES BRR decrypt fails
2020-10-25 10:55:53 +00:00
b52f85ac38
Tunnels: Add missing expiration field to ECIES BRR
2020-10-23 19:42:05 +00:00
470bc77551
fix one more ;;
2020-10-23 16:10:58 +00:00
a0822a6b71
NTCP2: Reduce min downtime for rekeying if hidden
2020-10-23 16:09:15 +00:00
15da2f85ad
SSU: Minor cleanup of congestion checkin
2020-10-23 16:05:39 +00:00
4a4d814a17
Tunnels: Move AES reply keys from HopConfig to TunnelCreatorConfig
...
to save space; not stored for participating tunnels.
2020-10-23 12:58:45 +00:00
6a6064d614
Garlic: Reduce log level on misrouted message
2020-10-21 20:24:12 +00:00
49565a99f9
SSU: Redesign of the congestion control (tickets #2412 , #2649 , #2654 , #2713 ),
...
modelled on TCP Reno (RFCs 5681 and 6298)
- Use a single timer per connection
- Resend up to half the un-acked messages per timer event instead of a single message
- Only send either old or new messages, do not mix
- Cache/avoid several timer calls
- Instead of 3 return values, allocating bandwidth is now a boolean function
- Avoid one of the iterations over all un-acked messages every packet pusher loop
- Remove 100 ms failsafe
- Fix OMF debug log NPE
With the same cpu usage the bandwidth is much higher
Significant speed improvement for lossy connections (e.g. wifi)
Patch by zlatinb
2020-10-21 18:14:51 +00:00
25899d41d5
NetDB: ECIES router support (proposal 156):
...
Support sending encrypted lookups and stores to ECIES routers
Support requesting AEAD replies to ECIES routers
Encrypt RI lookups when using ECIES even on slow machines
Switch back to RatchetSKM
Don't schedule ack timer for router SKM
Reduce getContext() calls
GMB null check cleanup
MessageWrapper javadoc clarifications
Log tweaks
2020-10-21 14:54:47 +00:00
35f6a2e2bf
NetDB: Reseed after a long downtime
2020-10-21 13:46:31 +00:00
9ae5cbbc87
SSU: Increase socket buffer size (ticket #2781 )
2020-10-21 12:44:27 +00:00
d387448794
;; -> ;
2020-10-17 14:41:13 +00:00
4d82917b94
SSU: Fix calculation of nextSendDelay (ticket #2714 )
...
patch from zlatinb
2020-10-17 12:12:15 +00:00
e54950e02e
Router: MessageWrapper.wrap() and GMB support for ECIES (prop. #156 WIP)
...
NetDB parts still TODO
Remove PK param from GMB.buildECIESMessage(), already in config
2020-10-15 11:50:11 +00:00
b2f060795c
Router: Misc. debug fixes
...
- StatisticsManager fix for null router in unit tests
- Debug toString() enhancements
- Dest hash logs in b32
- Javadoc fix
2020-10-15 11:39:32 +00:00
940ad61ccc
Ratchet: ECIESAEADEngine main() quick test IK/N NSR
2020-10-15 11:32:25 +00:00
c1f531ea92
Ratchet: Add support for zero key (prop. #144 , WIP for prop. #156 )
2020-10-15 11:17:41 +00:00
0ebca7e8e3
Ratchet: Destroy HandshakeState after NS failure
2020-10-15 11:10:33 +00:00
d301669726
Router: Don't re-derive public key from private for every HandshakeState
2020-10-15 11:01:22 +00:00
010bb0a2fe
NTCP: Fix sending termination on idle timeout (ticket #2777 )
2020-10-12 13:29:46 +00:00
f028002c11
NTCP: Catch IAE in Reader, possibly a race with cancelled key?
...
http://zzz.i2p/topics/2968
2020-10-12 13:28:57 +00:00
9e36fe090c
Transport: Simplify IPv6 address validation
...
reject reserved ranges
2020-10-10 12:59:53 +00:00
b4b6968ede
Ratchet debug: Hide expired sessions
...
Hide sessions with null public key
2020-10-09 13:54:12 +00:00
999c4c51a2
NetDB: Don't use DSA-SHA1 routers for lookups, stores, or tunnel peers
...
Don't use non-ElGamal routers for lookups or stores
Prevent DSA-SHA1 routers from auto-floodfill
2020-10-09 13:46:37 +00:00
a9a5d13e06
Build: Set javac release property (ticket #2775 )
...
Ant version 1.9.8 or higher now required
Drop support for Xenial package build
Fix up BOB build configuration
Fix i2psnark standalone build
2020-10-07 13:33:41 +00:00
cead0b2fb8
Router: Add support for building tunnels through ECIES routers (proposals 152,156)
...
Preliminary, proposal not finalized, subject to change
Not yet compatibility tested with other implementations
Add peers to match requested length for explicitPeers
remove commented out code
log tweaks
2020-10-03 14:05:22 +00:00
2d9933a4a9
Router: Don't unregister a message without a selector (ticket #2771 )
2020-09-28 13:59:30 +00:00
2989d955d9
JBigI: GMP 6.2.0 for linux 64 bit (ticket #1869 )
...
Add support for zen and zen2
Enable more fallbacks for zen and zen2
Adds Zen and Zen2 binaries, stripped
Built with gcc 9.3.0
Other binaries will be added if testing shows improvement
Fix hangs in mbuild-all.sh build script
Add silvermont and goldmont to build script, untested, support TBD
GMP is GPLv2
More info: http://zzz.i2p/topics/2955
2020-09-26 12:58:55 +00:00
6ffebbd5c1
GeoIP: Notify blocklist of new country file (ticket #2759 )
2020-09-16 13:43:14 +00:00
aa07775a32
Blocklist: Move HTML status generation to console
2020-09-11 17:21:04 +00:00
30244f9d9b
Router: Use MuxedSKM for ECIES routers (proposal 156 WIP)
2020-09-11 14:13:36 +00:00
19d4a5ce26
Blocklist: Refactoring (ticket #2759 WIP)
2020-09-10 16:20:08 +00:00
e4cb730c1b
GeoIP: Generate country blocklist when hidden (ticket #2759 )
...
WIP - full blocking requires restart for now
2020-09-10 14:00:04 +00:00
3b18e54545
Console: Fix /configclients help message for split client config files
2020-09-10 13:01:18 +00:00
e466331407
GeoIP: Add methods to get all IPs for a country
...
from a geoip 1 or 2 database,
to prep for a country blocklist (ticket #2759 )
WIP - not hooked in yet
2020-09-09 15:26:24 +00:00
5d1f46e6c4
Blocklist: Track versions of each file
...
Adjust synchronization
Fix logging for feed file
Prep for a country blocklist (ticket #2759 WIP)
2020-09-08 13:38:10 +00:00
36318def69
Tunnels: BuildRequestor minor cleanup
2020-09-08 13:32:24 +00:00
72e4b16c1a
I2NP BRR: Minor cleanup and javadoc note
2020-09-08 13:26:33 +00:00
8a10c3a097
NTCP: Call afterSend() for multiple messages in NTCP2 (ticket #2769 )
2020-09-08 13:17:46 +00:00
ada6753255
Tunnels: For now, don't try to decrypt a build record with a ECIES key (proposal 152 WIP)
2020-09-04 15:03:14 +00:00
c745cc8aa1
Ratchet: Change SparseArray from int to char to reduce space
2020-09-02 13:48:30 +00:00
273902f616
SSU: Randomize intro key
2020-09-02 13:26:10 +00:00
bb761aea96
Router: Prep for router encryption types (Proposal 156 WIP)
2020-09-02 13:09:38 +00:00
d13a7d2872
Router: Reduce next key threshold for ratchet
2020-09-02 12:55:21 +00:00
22eeb90b81
Bump -1
2020-08-29 13:44:11 +00:00
6a69cef2a8
Ratchet: Minor cleanup
2020-08-29 13:41:48 +00:00
ccd64b6f07
0.9.47
2020-08-24 15:33:54 +00:00