Commit Graph

58 Commits (7df2ed611470f105669a5daf668fc5ce08f9a116)

Author SHA1 Message Date
weko 7df2ed6114 rename and refactor 1 year ago
weko 22b1066b0a Add parameter for show TCSR with old algorithm and it's realization 1 year ago
orignal f172f44f32
Merge pull request #1833 from TomasGlgg/feature
Использование скользящего среднего для рассчета tunnel creation success rate
1 year ago
orignal 0d3ede56cb reject duplicated trnsit tunnel 1 year ago
Tomas Globis 66f82cb43f
Use moving average to calculate tunnel creation success rate 1 year ago
orignal cb139226df ilimit umner of simultaneous tunnel build requests per pool 1 year ago
orignal 84d6028454 limit number of message to handle at the time 1 year ago
R4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS c9e4e78f41
[webconsole] remove version from title, move tunnel chain print from Tunnel class
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 990906c57f insert garlic tag in destination's thread 2 years ago
orignal 11f9eeabf1 inbound.lengthVariance and outbound.lengthVariance 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
orignal 9abd383014 eliminate extra pointers for tunnel hops 3 years ago
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 3 years ago
R4SAS 3100d4f902 move thread naming to util
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 36473e3889 add naming to threads
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 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.
4 years ago