Commit Graph

807 Commits (cfda807057f361f32f3563cb40b06f14f261dfaf)

Author SHA1 Message Date
orignal 1893127e84 use fold expression if C++17 4 years ago
R4SAS bca0809918
cleanup removed websockets funtions
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 00db527377
drop websockets support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal 5115c27e72 2.30.0 4 years ago
orignal 91919c6d64 check if both sides are ECIESx25519 4 years ago
orignal 7168738835 check ctx for null 4 years ago
orignal 9c9b723cf5 delete expired ECIESX25519AEADRatchet sessions and tags 4 years ago
orignal f392edd66c single thread SAM by default 4 years ago
orignal 24b48e5d50 reseeds update 4 years ago
orignal 32e2f0b1fa correct termination of streaming destination 4 years ago
orignal 09ed57ad42 select preferred crypto from LeaseSet2 4 years ago
orignal 53a6162b0c generate more receive tags when needed 4 years ago
orignal 694d851cdb Symmetric Key Ratchet 4 years ago
orignal 8e53c30a00 correct calls sequence for tag and index 4 years ago
orignal 012f22cc47 create session tags for ECIESX25519 4 years ago
orignal 9d891ab5dd single thread mode for SAM 4 years ago
orignal d0e78be867 moved io_service away from ClientDestination 4 years ago
orignal cbedebc9dd change minimal MTU size 4 years ago
orignal 969f9aa436 common RuunableBase with private inheritance 4 years ago
orignal b982be5ff5 handle existing session message 4 years ago
orignal 2d154ee640 move RunnableService away from LeaseSetDestination 4 years ago
orignal 49810eb153 common RunnableService 4 years ago
orignal 85b88b8749 second x25519 for new session reply 4 years ago
orignal 239c8b5172 destination delivery instructions 4 years ago
orignal 8c800dc178 save aepk from new session message 4 years ago
orignal cdd068d99a correct message size 4 years ago
orignal 48fa10b080 incoming ECIESX25519AEADRatchet messages hanler 4 years ago
orignal a1dbec0fcb handle new session reply 4 years ago
orignal abe668f1c3 fixed build error 5 years ago
orignal 77440c235d replaced map by unordered_map 5 years ago
orignal fd1ee48dbe datetime and padding blocks 5 years ago
orignal 205e807b66 reset keys 5 years ago
orignal 34295adb05 attach LeaseSet clove 5 years ago
orignal 7c212bef63 add new session to the list after reply received 5 years ago
orignal 76f95644b7 fixed #1461. Use openssl's HKDF for 1.1.1 anf higher 5 years ago
orignal 928b90d5bc fixed #1461. Use openssl's HKDF for 1.1.1 anf higher 5 years ago
orignal 09c6c2a4f3 decode aepk and bepk back 5 years ago
orignal 2b2bd733e9 correct sharedkey for new outgoing session 5 years ago
orignal 0d2d7e5e71 fixed Elligator tests 5 years ago
orignal 6142e93252 session tag for ECIESx25519 sessions 5 years ago
orignal ccec3376ba try another ephemeral keys if elligator encoding failes 5 years ago
orignal f497a74ec4 set random two highest bits 5 years ago
orignal 8b49a55442 ratchet tagsets 5 years ago
Rosen Penev eabcafa516
replace random_shuffle with shuffle
random_shuffle is gone with C++17.

Found and fixed with clang-tidy.
5 years ago
orignal 6cc388c1bc use HKDF for MixKey 5 years ago
orignal 62e39ddfbd new session reply 5 years ago
orignal 80373623cd create payload 5 years ago
orignal 451c3945f0 create new ECIESX25519AEADRatchet session if not found 5 years ago
orignal 00cb15d9b4 fixed tyypo 5 years ago
orignal 67dd59125e new outgoing ECIESX25519AEADRatchet session 5 years ago
orignal b6800dd125 lookup ECIESX25519AEADRatchet session by static key 5 years ago
orignal dc9da69509 derive ECIESX25519AEADRatchetSession from GarlicRoutingSession 5 years ago
orignal d7d964bf57 GarlicRoutingSession/ElGamalAESSession split 5 years ago
orignal bcfe44db54 handle tunnel delivery instructioin for ECIESx25519 5 years ago
orignal 376bf6ba72 correct message size for ECIESx25519 5 years ago
orignal f651baab25 ECIESX25519AEADRatchetSession added 5 years ago
orignal 61752e2aab correct ciphertext length 5 years ago
orignal 4f70822b13 always persist crypto keys for public destinations 5 years ago
orignal 0007f304d0 don't pass from to HandleI2NPMessage 5 years ago
orignal 4afef91359 invoke HandleCloveI2NPMessage 5 years ago
orignal 815b6db0bf HandleCloveI2NPMessage 5 years ago
orignal a335841509 pass msgID to HandleDeliveryStatus 5 years ago
orignal 5337aa10f7 check AES tag first 5 years ago
orignal 9f79bdae9b encryptor for ECIES-X25519-AEAD-Ratchet 5 years ago
orignal db84be2488 use HKDF for NTCP2 key derivation data phase 5 years ago
orignal 599ec62bb0 use HKDF for NTCP2 key derivation data phase 5 years ago
orignal 19a88300c6 decrypt payload section 5 years ago
orignal b5d55e1ffb decrypt flags/static section 5 years ago
orignal 521fb83e38 initial code for ECIES-X25519-AEAD-Ratchet KDF 5 years ago
orignal 553d59c32b decryptor for ECIES-X25519-AEAD-Ratchet 5 years ago
orignal 9ed58e5186 encode with highY 5 years ago
orignal 36eaaa748c handle case when encoded key is (p-1)/2 5 years ago
orignal 5faf84c732 correct conversion from Little Endian 5 years ago
orignal d7b819267f check a for 0 in Legendre 5 years ago
orignal 7417867d0f implemented Legendre 5 years ago
orignal 8d74905257 0.9.44 5 years ago
orignal c38298c06e Elligator decode 5 years ago
orignal 3100d587d1 use d%q 5 years ago
orignal 95df3e4b39 encode key 5 years ago
orignal e6956d9bb0 calculate constants 5 years ago
orignal 2877900233 use 486662 for A 5 years ago
orignal df1aa52e08 Elligator's encode 5 years ago
orignal 5fa2485a7d removed reseed.i2p.net.in 5 years ago
orignal 29f0e10411 Elligator added 5 years ago
orignal 0abb871f3f close socket after if accept failed 5 years ago
orignal 704fca969f handle accept errors 5 years ago
orignal 6cfe4fa580 handle sending errors 5 years ago
orignal 515c086099 Use GetProcAddress for inet_pton. Fixed build error 5 years ago
orignal 34ce06ac17 some cleanup 5 years ago
orignal a104c9881e some cleanup 5 years ago
orignal c3e3c091cc correct implementation of GetMTUWindows for WindowsXP 5 years ago
orignal 651240113c mark RI as unreachable if all connections failed 5 years ago
orignal 77189bf8e9 start over if an active session got disconnected 5 years ago
orignal 60fd3a4542 fixed #1434 use memset inster bzero 5 years ago
orignal c66f9c8d6d reset connection attempts before reconnect 5 years ago
orignal a7e8dd04fe 2.29.0 5 years ago
orignal dfdd76a1bb fixed #1429. Don't use monotonic timer for Win32 5 years ago
orignal c2f47119ce fixed #1424. Check if .b32.i2p address string is valid 5 years ago
orignal d6b1d0d4fb remove incoming session from pending list when established 5 years ago
orignal 03a861745b removed CloseSession 5 years ago
orignal 9a7aed20e9 handle error for SessionConfrimed send 5 years ago
orignal b7f17d4cb1 client auth flag for B33 address 5 years ago
orignal 44a2549b81 2.28.0 5 years ago
orignal e42efec220 correct outet plain text length in case of authKeys 5 years ago
orignal 9d06aa2f6a pass authSalt or epk 5 years ago
orignal 80765a797b correct outer cipher text len 5 years ago
orignal 0b5509a1ed correct authClients offset 5 years ago
orignal 351c899807 cleanup incoming streams on stop 5 years ago
orignal c8cbf425ac check and send netid for NTCP2 and SSU 5 years ago
orignal 3872c2a3f5 use published encrypted instead orig type 5 years ago
orignal e6a09b49c9 published encrypted flag 5 years ago
orignal 254d2b82b3 fixed #1393. store streams by recvStreamID 5 years ago
orignal 97d9795fc9 pass encrepted LeaseSet auth keys 5 years ago
orignal 54071b0e5d set and handle unpublished LeaseSet flag 5 years ago
orignal 925e8316c7 read i2cp.leaseSetAuthType, i2cp.leaseSetClient.dh.nnn and i2cp.leaseSetClient.psk.nnn from tunnel config 5 years ago
orignal 99e1b74023 create encrypted LeaseSet2 with authentication 5 years ago
orignal 7d68ccca53 create encrypted LeaseSet2 with authentication 5 years ago
orignal a090114066 send data message wih raw type fpr raw datagrams 5 years ago
orignal a605e4bab6 send and recieve raw datagrams 5 years ago
orignal 3f0534134d check for malformed b33 5 years ago
orignal 3acfb129cd 2.27.0 5 years ago
orignal 6ccef66920 call shutdown before close 5 years ago
orignal fecc0c4640 don't call destructor twice 5 years ago
orignal 8e919ddc8e use monotonic clock for uptime 5 years ago
orignal 832a9ab6b5 don't set random NTCP2 port if already set 5 years ago
orignal 13732ac333 fix #1363 try connect in SSU's thread 5 years ago
orignal 3e932a55f4 fixed typo 5 years ago
orignal 74e8610ec9 DH auth for encrypted LeaseSet2 5 years ago
orignal f6f45eab39 flood encrypted LeaseSet2 with store hash 5 years ago
orignal 41f4f4713e handle i2cp.leaseSetPrivKey 5 years ago
orignal 213a292fd5 correct offsets for auth data 5 years ago
orignal 1c9e46dbb3 2.26.0 5 years ago
orignal 0a299284f8 correct check for PSK auth 5 years ago
orignal 347a5f7346 pass secret to encrypted LeaseSet2 5 years ago
R4SAS c6a903572c [HTTP] add PROFIND support 5 years ago
orignal 14f0d6d26b extract client auth data 5 years ago
orignal 485f105555 fixed typo 5 years ago
orignal 686c0b776f common blinding code for public and private keys 5 years ago
orignal 828862ea49 store hash for ECDSA blidning 5 years ago
orignal c4dffa4dc8 remove obsolete reseeds 5 years ago
orignal 5e10549543 disable NTCP by default 5 years ago
orignal 685f45bd76 publish/unpublish NTCP2 address depending on network status 5 years ago
orignal 61d84dd4c1 publish/unpublish NTCP2 address depending on network status 5 years ago
orignal 4d10593bb1 publish/unpublish NTCP2 address depending on network status 5 years ago
orignal fbb8903774 correct buffer size for ECDSA blinding 5 years ago
orignal e8cac91bb7 blind ECDSA public key 5 years ago
orignal 8e3d16e9fb update ipv6 addresses from SSU rather than NTCP or NTCP2 5 years ago
orignal 07405e57b9 fixed typo 5 years ago
orignal 354c9187db detect our ipv6 address 5 years ago
orignal af33df3004 common buffer size 5 years ago
orignal 78bfde237f allocate actual RouterInfo's buffer size 5 years ago
orignal 7b9033d678 allocate actual RouterInfo's buffer size 5 years ago
orignal f784cfad46 correct RouterInfo buffer size 5 years ago
orignal e40c139ff1 blind ECDSA private key 5 years ago
orignal 60ec03237e blidning for ECDSA 5 years ago
R4SAS a91641e427 fix #823, reindent code 5 years ago
orignal 743fa745b7 show b33 address for encrypted LeaseSet2 5 years ago
orignal 39400fd381 move key blinding code from LeaseSet.cpp to Blinding.cpp 5 years ago
orignal 5299ac35a6 create NTCP2 ipv6 address 5 years ago
orignal ef76ed394c publish SSU ipv6 address if NTCP if disabled 5 years ago
orignal 1472637de7 skip introducers for non-SSU address 5 years ago
orignal 3b8baa85a3 2.25.0 5 years ago
R4SAS 73921b1024 fix ipv6 fallback address 5 years ago
orignal 5e42947fbd always lookup SSU session if peer's endpoint doesn't match 5 years ago
orignal 1bfb9b02f5 make sure remote endpoint matches stored with 5 years ago
orignal f6199c6c17 print store hash for encrypted LeaseSet 5 years ago
orignal d7e7f06e88 re-request encrypted LeaseSet 5 years ago
orignal 4c4e856a1a ntcp2.addressv6 parameter 5 years ago
orignal 07bbbbaf61 fixed gcc 4.7 build 5 years ago
orignal 3236827781 add/removed NTCP addresses 5 years ago
orignal 0be664cc3d publish NTCP2 address instead NTCP if NTCP is disabled 5 years ago
orignal 6cc6849ccc use published timestamp for blinding 5 years ago
orignal 5d5cd71714 limit expiration by next midnight for encrypted LS2 5 years ago
orignal d248343517 Handle CreateLeaseSet2 I2CP message for encrypted leasesets 5 years ago
orignal 64d800427f allow HTTP headers without value 5 years ago
orignal c4c896a833 publish encrypted LS2 5 years ago
orignal b6b5bb3f75 publish LeaseSet with store hash 5 years ago
orignal 5d69bb7383 correct ecrypted LS2 layout 5 years ago
orignal 76e222079a Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl 5 years ago
orignal 73abb9278d correct ecrypted LS2 size 5 years ago
orignal 8fd843e7ce
Merge pull request #1334 from rex4539/fix-typos
Fix typos
5 years ago
Dimitris Apostolou 6a497a23d9
Fix typos 5 years ago
orignal 3ac74e1091 create encrypted LS2 5 years ago
orignal ef0fb48f1f blind private keys 5 years ago
orignal ea791309ad moved credential and blinding to BlindedPublicKey 5 years ago
orignal 5b56f4007b counter is always in Little Endian 5 years ago
orignal e2071542bf use 16 bytes iv for chacha20 5 years ago
orignal cdb217b774 always initialize m_Pkey 5 years ago
orignal 3fd9d5f641 save b33 addresses 5 years ago
orignal 00b5fdce03 create stream to blinded dest 5 years ago
orignal ff44bcc489 complete implementation of RedDSA 5 years ago
orignal 3d4d260a34 extract b33 address 5 years ago
orignal 8e4b9da97d pass blinded key instead identity for encrypted LS2 5 years ago
orignal cdfd411df7 2.24.0 5 years ago
orignal aa4bddd6ec common HKDF 5 years ago
orignal 8ec12a1b65 fixed race condition for publishing 5 years ago
orignal 0fbf552e95 lookup and handle encrypted LeaseSet2 5 years ago
orignal 09b1b120d7 update LeaseSet2 if store type changed 5 years ago
orignal 557244bc3f verify blinding key for encrypted LS2 5 years ago
orignal 24c5ed1cff calculate store hash for encrypted LeaseSet2 5 years ago