Commit Graph

5159 Commits

Author SHA1 Message Date
zzz
b7f6cfbf46 Ratchet: Replace old session if new NS received
Log tweaks
2019-11-05 19:11:29 +00:00
zzz
ebc8dbe947 Ratchet: Increase tagset sizes
fix compile error
2019-11-05 17:26:22 +00:00
zzz
01d6cea017 Ratchet: Simplify lookup of OB session from IB NSR 2019-11-05 17:15:37 +00:00
zzz
160bcd7da8 MV log tweaks 2019-11-05 17:07:21 +00:00
zzz
bc40978297 Router: No longer check the clove ID in the Bloom filter, just check the expiration.
The Clove ID is just another random number, and the message ID in the clove
will be checked in the Bloom filter; that is sufficient.
Checking the clove ID as well just doubles the number of entries in the Bloom filter,
doubling the number of false positives over what is expected.
For ECIES-Ratchet, the clove ID is set to the message ID after decryption, as there
is no longer a separate field for the clove ID in the transmission format.
2019-11-05 16:43:12 +00:00
zzz
656dd42276 Ratchet: Prep for next key 2019-11-05 15:20:52 +00:00
zzz
4d1d11d1d4 Ratchet: Bob transition to ES
Store PK in RTS
New RST constructor
Log tweaks (lots)
2019-11-05 14:13:35 +00:00
zzz
3ae5b90c98 Ratchet: Expire pending outbound
Prep for Bob transition to ES
Log tweaks
2019-11-04 18:03:06 +00:00
zzz
2846c33b40 Ratchet: Debug page fixes 2019-11-03 17:06:33 +00:00
zzz
b5f6c58a0b Ratchet: Implement expiration
Store creation and last-used in tagset
Catch all decrypt/encrypt exceptions
Debug page improvements
2019-11-03 16:51:51 +00:00
zzz
3ba48fda86 Ratchet: Track pending sessions
Transition from NSR to ES
HandshakeState.clone() fix for multiple NSRs
Add tagset ID numbers
Debug logging
2019-11-02 15:42:16 +00:00
zzz
7c4569816f Ratchet: NSR send/recv fixes 2019-11-01 12:56:16 +00:00
zzz
0cd8073f39 Ratchet: WIP on NSR send/recv 2019-11-01 12:22:20 +00:00
zzz
71411be6d9 Ratchet: Changes to match current proposal 144
Pass CloveSet to/from ECIESEngine
2019-10-31 10:56:01 +00:00
zzz
a51ee8e745 findbugs all over 2019-10-30 15:26:56 +00:00
zzz
2216a58143 I2NP: Javadoc fixes
Improve DataMessage.toString()
2019-10-29 16:30:08 +00:00
zzz
3d75b3dc31 OCMOSJ: Keep bundling LS until acked
log tweaks
2019-10-27 12:24:08 +00:00
zzz
591b994b75 OCMOSJ: Bundle unwrapped ack with LS for ratchet dest 2019-10-27 12:21:22 +00:00
zzz
135e9ad31f NetDB: Don't send encrypted lookup reply to ratchet dest 2019-10-27 12:18:07 +00:00
zzz
eee9e47cac Transport: Publish IPv6 address on transition to non-firewalled (ticket #2175) 2019-10-25 13:27:30 +00:00
zzz
df6465f802 TestJob: Remove unused wrappedKey param from buildMessage() 2019-10-25 12:23:43 +00:00
zzz
0c256d30c7 OCMOSJ: Select target key in LS based on local client's support
Hook new SKMs and ending into Garlic Message encryption/decryption
Remove unused wrappedKey param from buildMessage()
Log tweaks and javadoc fixes
WIP
2019-10-25 12:21:33 +00:00
zzz
43c93bceed I2CP: Set client SKM based on configured encryption 2019-10-25 11:36:46 +00:00
zzz
f021abcae0 Crypto: Add ECIES Engine to context 2019-10-24 14:32:05 +00:00
zzz
7b28640e91 Crypto: Ratchet and Muxed SKMs and Engines (WIP) 2019-10-24 14:28:39 +00:00
zzz
6a47319b66 Crypto: SessionTagListener for RatchetTagSet 2019-10-24 14:01:53 +00:00
zzz
ee46678955 Crypto: RatchetTagSet using SparseArray 2019-10-24 13:54:20 +00:00
zzz
8c498069d8 Crypto: SparseArray mods
Remove AOSP dependencies
Remove unneeded code
Javadoc fixes
2019-10-24 13:50:29 +00:00
zzz
7389216560 Crypto: SparseArray from AOSP
Latest as pulled from android.googlesource.com
Copyright (C) 2006 The Android Open Source Project
Licensed under the Apache License, Version 2.0
Unmodified, as reference for future merges,
will not compile, mods to follow
2019-10-24 13:46:32 +00:00
zzz
129e474ecb I2CP: Add config to disable loopback for testing 2019-10-23 14:02:30 +00:00
zzz
3ed8620e5a I2CP: Fix error message for config errors (ticket #2639) 2019-10-23 13:48:39 +00:00
zzz
436a8b8720 Router: Register all LS2 keys with KeyManager 2019-10-23 13:38:41 +00:00
zzz
5d8871c17c NetDb: Don't try to garlic encrypt netdb messages with a ECIES key 2019-10-23 13:21:22 +00:00
zzz
2c2f90089b Crypto: Noise modifications to support ratchet:
- Add IK support
- Add generic key factory support
- Add method to get ephemeral key
- Add method to get encoded ephemeral key
- Add clone() support
- Add back ChaCha debug support
2019-10-23 13:02:00 +00:00
zzz
236354e5a8 Crypto: Base classes for ECIES-Ratchet (proposal 144) 2019-10-23 12:33:13 +00:00
zzz
aa3d2f39b1 Router: Fix logic error in check for local destinations 2019-10-23 12:23:04 +00:00
zzz
8484a22fc4 Router: Add KeyManager support for multiple leaseset private keys 2019-10-23 12:11:17 +00:00
zzz
079d464629 Startup: clients.config.d files must have a ".config" suffix 2019-10-23 11:26:35 +00:00
zzz
68a03b835a Data: Reduce SessionTag size by flattening class 2019-10-23 11:08:42 +00:00
zzz
ab7b85cc1a 0.9.43 2019-10-21 19:47:35 +00:00
zzz
701f777035 bump for review 2019-10-18 18:29:56 +00:00
zzz
70fd0c6f6a Tests: Disable NTP in context for unit tests 2019-10-12 14:47:59 +00:00
zzz
05c30b4f1d NTCP: Performance improvement (tickets #2619, #2620) 2019-10-12 13:23:28 +00:00
zzz
db5dd6a626 I2NP: Remove unused I2NPMessageHandler methods 2019-10-06 16:31:18 +00:00
zzz
18ed1a6bb3 PortMapper: Fix URL generation for IPv6 hosts
Console: Remove i2pwiki.i2p (ticket #2626)
2019-10-01 16:09:17 +00:00
zzz
830e08065b spelling 2019-09-30 17:03:59 +00:00
zzz
3710ff9aa1 javadoc fixes 2019-09-28 12:07:59 +00:00
zzz
2b6cb2099a I2CP: More BlindingInfo serialization fixes
Shorten lookup timeout on router side so the client gets the reply before timeout
2019-09-18 12:37:26 +00:00
zzz
94c96b09e9 Router: Implement expiration for BlindData entries 2019-09-17 11:17:14 +00:00
zzz
9e39cbe502 reseed: Fix adding netid param (ticket #2621) 2019-09-14 11:23:59 +00:00