0d2dbcc8fc
Ratchet: Additional muxed decrypt fix
2020-04-14 12:57:50 +00:00
e2cc62a21f
Ratchet: Improve muxed decrypt
...
Try tags for both ratchet and AES before DH for either
Return empty CloveSet for ratchet errors after successful decrypt
Don't corrupt data in ECIESEngine on NS/NSR failure, for subsequent ElG attempt
Log tweaks
2020-04-14 12:13:00 +00:00
5e00bc6510
Streaming: Fix retransmission time (ticket #2709 )
...
Remove unneeded checks on RTO max/min
Return new value from doubleRTO() (prep for ticket #2715 )
2020-04-11 17:04:55 +00:00
80ae2ccea6
NTCP: Retain pending messages when replacing connection
2020-04-09 17:27:23 +00:00
370b7f1124
NetDB: Remove class M from auto-floodfill;
...
only 1% of floodfills are class M, and on average
they store 25% less leasesets than class N.
Reverts change to add M in 2015.
2020-04-08 20:20:55 +00:00
26b90b9d17
NTCP: More EnumSets
2020-04-08 15:36:36 +00:00
3fa15824ee
Ratchet: TagSet cleanups
...
Tag.toBase64() optimization
Javadoc fixes
2020-04-08 13:16:15 +00:00
83a4f5f2f0
Transport: Hang the X25519 keygen thread off CommSystem so Ratchet can use it
...
Don't start NTCP if neither 1 nor 2 is enabled
2020-04-07 13:23:36 +00:00
f6b5a2d493
Ratchet: Simplify OB Session; there can be only one active OB TS
...
Fix bugs handling of out-of-order nextkeys
Expire unacked tagsets every time through
Remore unused OB session methods
2020-04-06 20:27:47 +00:00
14b33a1e4c
Ratchet: Don't allocate space for tagset keys initially
2020-04-06 15:23:30 +00:00
c99adeeb61
Ratchet: Use append() for keys too
2020-04-06 14:35:03 +00:00
b979a97905
Ratchet: Use SparseArray.append() instead of put() for efficiency
2020-04-06 14:29:07 +00:00
916b296ee0
Ratchet: Expire unused tagsets sooner
2020-04-06 13:54:49 +00:00
f9f64a441b
Ratchet: Fix sorting for sessions on /debug
2020-04-06 13:22:58 +00:00
2482df7121
Ratchet: Decrypt ES messages in-place
2020-04-06 13:02:27 +00:00
f9d7cfa7e1
log level tweak
2020-04-06 12:46:16 +00:00
5229c0e811
Ratchet: Replace session if NS received after 3 minutes
...
Update lastUsed on NSR or first tag received
2020-04-06 12:45:46 +00:00
1ca9674f3f
RatchetSKM: Group debug output for IB tagsets by pubkey, not session key
...
ElGamalSKM: Debug header change
ElGamalAESEngine: Minor cleanups for efficiency
2020-04-06 11:31:18 +00:00
c77e41c59e
Ratchet: Next Key completion
...
Fix NextSessionKey constructor with null data
Fix handling of next keys
Fix sending OB next keys
Fix RatchetSessionTag.equals() for use in SKM
Delete OB NSR tagset when adding OB ES tagset
Log tweaks
2020-04-06 10:42:44 +00:00
8c4410277d
Ratchet: Next Key WIP, got first ratchet working
...
Remove more ElG tag code from SKM
2020-04-04 11:56:25 +00:00
6b05acff8d
Ratchet: Next Key WIP
2020-04-01 18:44:06 +00:00
471b53698a
Ratchet: Validate NS datetime block; add NS key bloom filter
2020-04-01 12:58:24 +00:00
7404bdc4fd
NetDB: Add support for database lookup ratchet replies (proposal 154)
...
Add support for ElG-encrypted database lookups and stores from ECIES-only destinations
Add ratchet support to MessageWrapper
Application-specific timeout for MessageWrapper-generated tags
Refactor tunnel TestJob to use MessageWrapper
Add ratchet support to TestJob
TestJob cleanups
2020-03-31 19:21:35 +00:00
9307cc8a0c
Ratchet: Add support for database lookup replies (proposal 154)
2020-03-31 18:43:52 +00:00
6dd0b23c61
Ratchet: Remove ID and DI from ACKREQ block
...
Use callback != null to specify request for ack
2020-03-30 20:09:29 +00:00
97f002bfb5
minor optimization
2020-03-30 17:03:20 +00:00
22ca4d0e44
Ratchet: GMB method to encrypt to a single key/tag for prop. 154
2020-03-30 16:53:14 +00:00
86fc6478f5
debug log tweak
2020-03-30 16:48:41 +00:00
dee92b5290
Ratchet: Updates
...
- Prep for prop. 154 with SingleTagSet
- Variable timeout for tagsets
- Start cleaner sooner
- Make key optional in next key block
- HTML debug output improvement
- log tweaks and javadocs
2020-03-30 16:44:42 +00:00
b19b529afe
Ratchet: Expire tags too far behind current one
2020-03-29 17:53:28 +00:00
0c4cf5d3cd
Ratchet: Add timeout job in OCMOSJ
2020-03-29 12:04:13 +00:00
eeb7ea4cae
Ratchet: Acks and callbacks
...
- Store callbacks and ES acks in OutboundSession
- Calls from engine to SKM for callbacks and acks
- Pass key ID and remote key back in SessionKeyAndNonce
- Implmenent multiple acks in ACK block
2020-03-28 13:22:32 +00:00
23634afbc9
Ratchet: More updates
...
- Reply callback from ratchet to OCMOSJ (ES TODO)
- Store key ID in tagset (prep for next key)
- Move debug tagset ID from engine to tagset
- OCMOSJ minor cleanups
2020-03-27 19:38:24 +00:00
acf3abb19b
Ratchet: Updates
...
- Modify NextKey, start of support (WIP)
- Don't expect DSM reply to ECIES destinations
- Debug setting to always sent ack request
2020-03-27 16:55:53 +00:00
0c19216c4c
Profiles: Remove unused ProfileManager.summarizePeers()
2020-03-24 13:08:23 +00:00
f2787a8df6
Profiles: Don't decay during first 90 minutes of uptime
...
Change decay from .75 twice a day to .84 four times a day;
approx. same overall decay in a day (.5)
Parameterize decay variables for clarity
Fix multiple NPEs in ProfileOrganizer CLI
Other cleanups
2020-03-24 13:03:40 +00:00
7654a0af42
Tunnels: Make new tunnel selection round-robin
...
Remove one-second stickiness, as OCMOSJ caching does the job better
http://zzz.i2p/topics/2454
2020-03-24 12:33:29 +00:00
5c1700c2ab
Ratchet: Make DI optional in ACK request
...
Don't put ACK request in NS or NSR
2020-03-20 19:01:56 +00:00
6487fb0516
Tunnels: FragmentHandler cleanup (ticket #2699 )
2020-03-20 12:32:28 +00:00
7707c4bb94
Ratchet: Stub out ack and ack request blocks
2020-03-15 18:40:01 +00:00
8b075f26bf
Console: Fix wizard XHR initialization
2020-03-01 17:58:55 +00:00
d505a2fe76
log level tweaks
2020-02-29 14:32:07 +00:00
0b9babab42
Profiles: Limit average speed calculation to max high cap peers
...
Make reorganize() methods pkg private
2020-02-29 13:44:42 +00:00
0bec84a3b1
Profiles: Fix bug which caused speed values to be
...
divided by 3 after being read from file
Remove _isFailing field
Minor cleanup
Don't persist profiles when in vmCommSystem mode
2020-02-26 16:36:36 +00:00
326a85ea4f
Profiles: add to 'big countries' list,
...
fix typo, thx drz
2020-02-25 15:32:51 +00:00
ab28ee960e
Add missing parts of rrd4j 3.5 omitted from previous checkin (ticket #2684 )
...
Apache 2.0 and LGPLv2.1
2020-02-25 15:15:23 +00:00
88a4261b03
Remove tagged string that was never translated anyway
2020-02-25 15:01:37 +00:00
e7a66659e9
OCMJH comment out unused code
2020-02-25 14:58:10 +00:00
44a935d086
debug for ratchet
2020-02-25 14:56:10 +00:00
bc791f91ab
NetDB: Comment out unused FloodOnlySearchJob code
2020-02-25 14:38:31 +00:00