Commit Graph

1365 Commits (8c3e716c3f7a912d5ecd472a8918f73eeb90374d)

Author SHA1 Message Date
orignal cc296e16dc don't make SSU2 address published is 'i' is presented 3 years ago
orignal ab9901525b separated sockets for ipv4 and ipv6 3 years ago
orignal 3643a46a0c don't update SSU2 port 3 years ago
orignal d467e6869d don't update address for SSU2 3 years ago
orignal 3c5c375f71 connect to SSU2 address 3 years ago
orignal 7473d8c9aa create and handle Address block 3 years ago
orignal 40c8a1bc1d handle payload blocks 3 years ago
orignal 7b72d91549 receive incoming SSU2 packets 3 years ago
orignal b3c2e86436 skip unknown address 3 years ago
orignal 908bdc7624 always publish intro key for SSU2 address 3 years ago
orignal 21c1ec9c8c enable SSU2 server 3 years ago
orignal 6eba061c2a show local SSU2 address 3 years ago
orignal f184f550b9 SSU2 address in config and RouterInfo 3 years ago
orignal bb7c0fef20 SSU2 address in config and RouterInfo 3 years ago
orignal 5c15a12116 don't allocate buffer from netdb for LocalRouterInfo 3 years ago
orignal 68d015763e recognize SSU2 addresses 3 years ago
orignal 7faa732f38 send SessionCreated 3 years ago
orignal 11f9eeabf1 inbound.lengthVariance and outbound.lengthVariance 3 years ago
orignal a152f36894 MixHash for SSU2 long header 3 years ago
orignal d4ede6ff01 process SessionRequest 3 years ago
orignal 35542d803c KDF for session request 3 years ago
orignal f6ba776c12 SSU2 keys 3 years ago
orignal 1511dcb309 store endpoint and send packet 3 years ago
R4SAS 35afa98112
[reseed] add new reseed
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 9f1a125ed9 decrypt connID for incoming packet 3 years ago
orignal 0a34f1f3ad 2.41.0 3 years ago
orignal 7bdeaa9611 don't pick own router for peer test 3 years ago
R4SAS a51ef0cfc6
set of updates:
* [webconsole] change error handling code to restart acceptor after any
error
* [webconsole] call shutdown vefore stopping acceptor on exit
* update license headers for modified files, change year to file
  creation year, not 2013 (when project started)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal a92c29e04c drop routers older than 6 months on start 3 years ago
orignal 510fe43ec4 create and encrypt SessionRequest 3 years ago
R4SAS 73e572b66b
disable thread naming for PowerPC (#1726)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 90130b5492
fix exception printing
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS f22faaefeb
remove duplicate definition
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS ac25649425 cast pthread name to char* for apple sdk
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 04388325a8 KDF and encryption for SessionRequest 3 years ago
orignal 61ec873842 fixed incorrect ret code 3 years ago
orignal ea1f2d4e26 use i for intro key for SSU 3 years ago
orignal 4211c733a2 s and i keys for all addresses 3 years ago
orignal 450266818a Noise XK for SSU2 3 years ago
orignal 1e019157bb SSU2 initial commit 3 years ago
orignal c9a1066f02 send SessionCreated before connection close if slock skew 3 years ago
R4SAS 0062f7d764
[reseed] dont do yggdrasill address check if option disabled
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 95e994e171 pass incomplete I2NP message by move 3 years ago
orignal 19cc1c3b3f adjust clock from SSU SessionCreated is time difference exceeds 15 seconds 3 years ago
R4SAS 53f19e4050
Use builtin bitswap for endian on windows
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 54b7d46f5a reseeds update
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal c10ee59de3 cleanup memrory pools if no more streams 3 years ago
orignal 58cf26c304 cleanup properties before update 3 years ago
orignal a2de5564ac moved m_Properties to LocalRouterInfo 3 years ago
orignal 338b17ccf1 LocalRouterInfo for own router 3 years ago
orignal 2cd50ebaee fixed race condition 3 years ago
orignal cb6f6a6596 Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl 3 years ago
orignal e4ab0acc92 create RouterInfo from shared pointer to Buffer 3 years ago
Dimitris Apostolou ac2c6c6010
Fix typo 3 years ago
orignal c6b2ce93c4 Memory pool for RouterInfo address 3 years ago
orignal f567417bb3 memory pool for RouterInfo buffer 3 years ago
orignal ae5cb3bbe7 rollback 3 years ago
orignal 0eb8e15796 allocated actual buffer size for RouterInfo 3 years ago
orignal 1c95c7856f avoid duplicated addresses. Check presence of netId and version 3 years ago
orignal daf7551e59 try another fllodfill if no compatible tunnels 3 years ago
orignal 5b63d3692e HidUser0's yggdrasil reseed added 3 years ago
R4SAS 1be4cce074
[addressbook] fix loading subscriptions from config
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 935e93eb36 minimal send ack interval 3 years ago
orignal b3bd175e64 2.40.0 3 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
R4SAS 96cdb3bca3
reseeds update
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 6c57ba36f7 lazy initialization or tunnel gateway's random buffer 3 years ago
acetone 8b931dd40b
Transit traffic bandwidth limit 3 years ago
acetone 6b81478bd2
Merge branch 'PurpleI2P:openssl' into openssl 3 years ago
acetone 9d94eb83c1
--help
Traffic bandwidth -> Transit traffic bandwidth
3 years ago
R4SAS 174983548d
Merge pull request #1705 from rex4539/typos
Fix typos
3 years ago
orignal 9abd383014 eliminate extra pointers for tunnel hops 3 years ago
Dimitris Apostolou 8ee9c437e1
Fix typos 3 years ago
orignal 4052b1ea6d pick compatible outbound tunnel for datagrams 3 years ago
orignal d798faa1ca pick compatible ooutbound tunnel 3 years ago
orignal 3f63f15b16 copy compatible transports to new tunnel 3 years ago
orignal f8c390cdd3 pick compatible tunnels 3 years ago
orignal 8f0978cfd6 all transports by default 3 years ago
orignal 1a8a32a773 select next tunnel with compatible transports 3 years ago
orignal c0400bfd07 virtual destructor for TunnelConfig 3 years ago
R4SAS c6e4758187
Revert "Merge pull request #1703 from simonvetter/simon/memory-and-multithreading-fixes"
This reverts commit 67863cfcf9, reversing
changes made to 4c5ec68ff1.

That change completly bloking transports thread on windows.

Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 56ec8fe95b eliminate local destination mutex 3 years ago
Simon Vetter 58b7b7d731 libi2pd: add missing locks to i2p::tunnel::TunnelPool 3 years ago
Simon Vetter 1de1c79d4f libi2pd: add missing locks to i2p::tunnel::Tunnels
m_InboundTunnelsMutex, m_OutboundTunnelsMutex and m_PoolsMutex
have been changed to recursive_mutexes since they can be
acquired multiple times by the same thread.
3 years ago
Simon Vetter 7073a6bf38 libi2pd: make Tunnel and TunnelConfig destructors virtual 3 years ago
orignal 26db88d89b check if sip key is available 3 years ago
orignal 876e98d91e check if sip key is available 3 years ago
orignal 8566f6c127 don't store EVP_PKEY sip keys 3 years ago
orignal bb8dc67942 don't use openssl's SipHash from 3.0.0 due regression 3 years ago
orignal 9965d72990 don't store EVP_PKEY with EdDSA signer and verifier 3 years ago
orignal 921ec9ec12 fix build with openssl 3.0.0 3 years ago
orignal f1990bc2ab use tunnel endpoint memroy pool to split to tunnel messages at gateway 3 years ago
orignal cdc8e463b7 use memory pool for outgoing tunnel gateway messages 3 years ago
R4SAS b0f043ec86
[make] USE_GIT_VERSION option to use commit info in version (closes #1702)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal ae0cf2e831 use memory pool for tunnel messages 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
Simon Vetter af794f901f libi2pd: minor logging fixes 3 years ago
orignal 278fd2d8d5 create tunnel I2NP message for tunnel data 3 years ago
orignal 197882a4c9 create I2NP depending on type in I2NP block 3 years ago