Commit Graph

44 Commits (8ee9c437e1bba63f353bd92d0a575ee84febc610)

Author SHA1 Message Date
orignal 1a8a32a773 select next tunnel with compatible transports 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
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
orignal cdc8e463b7 use memory pool for outgoing tunnel gateway messages 3 years ago
orignal ae0cf2e831 use memory pool for tunnel messages 3 years ago
orignal 1af9117b80 don't create new tunnel message for encryption/decryption 3 years ago
orignal e6bcd04a36 short build message for re-created tunnels and far end transports 3 years ago
orignal 5e2e1a1e3d don't include old tunnel to LeaseSet if recreated 3 years ago
R4SAS d88fe203e1
[tunnels] count outbound traffic for zero-hop tunnels
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 1e01c30e63 set pool for zero-hops tunnels 3 years ago
orignal 7a55d1fc38 don't insert garlic tag for short tunnel build reply if the same router 3 years ago
orignal 9a3c22f47d don't encrypt ShortTunnelBuild and ShortTunnelBuildReply if on the same router 3 years ago
orignal cfbf5862f9 set pool for tunnel before build 3 years ago
orignal bdc1107c96 correct message type for ShortTunnelBuild 3 years ago
orignal 2c129b6d39 create and handle short tunnel build reply 3 years ago
orignal 15c3d46492 encrypt inbound tunnel build message for short tunnel build only 3 years ago
orignal 1e9eb30aa3 garlic encryption of inbound tunnel build message 3 years ago
orignal d47bf1bada different tunnel build record size 3 years ago
orignal 84f6024cc9 locate record to build inside CreateBuildRequestRecord 3 years ago
orignal d73b42b726 extract ret code per hop 3 years ago
orignal ed0c2e68a5 DecryptRecord per tunnel hop 3 years ago
orignal 8b35ce3320 separate decryption between own record and other records 3 years ago
orignal 25f63ac22a create different I2NP tunnel messages for endpoint and non-endpoint 3 years ago
orignal ef85277a1b select reachable routers for one hop tunnels 3 years ago
orignal 8f25b66760 limit tunnel length to 8 hops 4 years ago
R4SAS 3100d4f902 move thread naming to util
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 36473e3889 add naming to threads
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal 44ca315c75 don't build tunnels for all pools at the time 4 years ago
orignal 9f2a2e44a3 common MixHash and MixKey 4 years ago
orignal c93ee0d65d tunnels through ECIES routers 4 years ago
orignal e3464add50 don't create new tunnels if offline 4 years ago
orignal e21dac21c8 fixed #1557. don't try to send empty message 4 years ago
R4SAS 8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS a9436aa9af drop i2lua
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
Rosen Penev eabcafa516
replace random_shuffle with shuffle
random_shuffle is gone with C++17.

Found and fixed with clang-tidy.
5 years ago
yangfl 52f3081a40 fix typo 6 years ago
orignal 5a2b795440 fixed crash 6 years ago
Jeff Becker 82a4630061
use correct function 6 years ago
Jeff Becker 2f7cfddfc4
Merge remote-tracking branch 'purple/openssl' into i2cp-session-reconfig 6 years ago
yangfl 46f62e1af9 remove trailing whitespaces 7 years ago
Jeff Becker 1967dee50c
don't recreate tunnels of different size 7 years ago
Jeff Becker e238f7ed37 NetDb.h -> NetDb.hpp for case insensative file systems clashing with libc's netdb.h 7 years ago
Jeff Becker 4cc3b7f9fb restructure build to separate the 3 main components into 3 subdirectories
libi2pd for core libs

libi2pd_client for i2pd client libs

daemon for i2pd daemon libs
7 years ago