orignal
86080b26ae
terminate non-established sessions sortly
1 week ago
orignal
09b7d44dad
delete ECIESX25519 session without destination shortly
2 weeks ago
orignal
cc59003560
removed C++17 check
3 months ago
orignal
7376f7c399
generate max number of tags for follow on tagsets
3 months ago
orignal
d47ae3012a
periodic sending ack requests in ECEISX25519 session and dead path detection in I2CP
3 months ago
orignal
349c4e30b6
correct receive ratchet tagsetid calculation
4 months ago
orignal
3c69e0b2af
keep sending reverse key until tag received on new tagset
4 months ago
orignal
d7ff459f12
include tagsetid into msgid
4 months ago
orignal
85be76b01a
check if LeaseSet was submitted recently. Fixed typo
8 months ago
orignal
d25206abce
encrypted tunnel test messages
9 months ago
orignal
2b6a95cbee
don't check session for symmetric key tagset. re-create tags hash if too many used tags
9 months ago
orignal
e40b656ecf
Drop for tunnel and encrypted messages
10 months ago
orignal
644d65054d
create smaller I2NP packets
2 years ago
orignal
3adff82d4a
don't handle ack request for router
2 years ago
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
Simon Vetter
a348e10620
libi2pd: fix undefined behaviour and memory overruns
...
This fixes the following issues (flagged by cppcheck):
[libi2pd/ECIESX25519AEADRatchetSession.cpp:537]: (error) Buffer is accessed out of bounds: m_NSREncodedKey
[libi2pd/Identity.cpp:22]: (error) Buffer is accessed out of bounds: keys.publicKey
[libi2pd/Identity.cpp:22]: (error) Buffer is accessed out of bounds: publicKey
[libi2pd/NetDb.cpp:70] -> [libi2pd/NetDb.cpp:69]: (error) Iterator 'it' used after element has been erased
[libi2pd/SSUData.cpp:186] -> [libi2pd/SSUData.cpp:187]: (warning) Shifting 32-bit value by 63 bits is undefined behaviour.
3 years ago
orignal
bb518d3d51
don't pass BN_CTX to encrypt/decrypt functions
3 years ago
orignal
da7e41c188
use Tag<64> for ratechet tags
3 years ago
orignal
26d5ced2ef
optimal padding for one-time messages
3 years ago
orignal
6ecfe0789f
don't allocate payload buffer for every single ECIESx25519 message
3 years ago
orignal
5d022c25ba
don't send datetime for one time key message
3 years ago
orignal
cd0751d3f1
padding block for message for router
3 years ago
orignal
a1d1a5df74
datetime block for message for router
3 years ago
orignal
197f13f9c0
rollback
3 years ago
orignal
ba1b8c7c2b
WrapECIESX25519MessageForRouter wihout session
3 years ago
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
3 years ago
orignal
83fd289e46
don't re-create noise state for every message
4 years ago
orignal
f321eb66c0
rename DatabaseLookupTageSet to SymmetricKeyTagset
4 years ago
orignal
baec22610e
always set expiration time for NSR tagset
4 years ago
orignal
1285e30b3e
more pre-calculated x25519
4 years ago
orignal
d6f5640685
attach updated LeaseSet to ECIESx25519 incoming sessions
4 years ago
orignal
065cfe3b9d
separate ratchet session for ECIES router
4 years ago
orignal
9d5bb1b2b6
drop routing path for LeaseSet resend
4 years ago
orignal
29176dd9bf
count last send time for expiration
4 years ago
orignal
aedcd1bcc0
remove tag after tagset expiration
4 years ago
orignal
b1262d54de
don't detach ECIESx25519 session from destination
4 years ago
orignal
bc4a97774f
strong pointer to session for receive tagset
4 years ago
orignal
ee3cd44f97
ReceiveRatchetTagSet
4 years ago
orignal
726bd0d63b
check if x25519 key is valid
4 years ago
orignal
7ce92118e4
handle follow-on NSR messages
4 years ago
orignal
86ff0d86db
check if new tag was created
4 years ago
orignal
f2e4d5f06c
trim behind not affter max generated tags
4 years ago
orignal
e2fcab34b7
deccrypt and handle garlic message for ECIES router
4 years ago
orignal
abdf92c084
encrypt message for ECIES router
4 years ago
orignal
32fc6482cc
moved Noise initializations to Crypto.cpp
4 years ago
orignal
c833b16544
check if session expired before generating more tags
4 years ago
orignal
8b3a7486c7
rename CRYPTO_KEY_TYPE_ECIES_X25519_AEAD_RATCHET to CRYPTO_KEY_TYPE_ECIES_X25519_AEAD
4 years ago
orignal
1c7780a423
garlic clove block for router
4 years ago
orignal
4ba1be2dc0
one time garlic encryption for ECIES routers
4 years ago