orignal
f172f44f32
Merge pull request #1833 from TomasGlgg/feature
...
Использование скользящего среднего для рассчета tunnel creation success rate
2023-01-11 15:36:37 -05:00
orignal
0d3ede56cb
reject duplicated trnsit tunnel
2023-01-05 11:59:47 -05:00
Tomas Globis
66f82cb43f
Use moving average to calculate tunnel creation success rate
2023-01-03 03:07:07 +03:00
orignal
cb139226df
ilimit umner of simultaneous tunnel build requests per pool
2022-12-30 18:06:47 -05:00
orignal
84d6028454
limit number of message to handle at the time
2022-12-29 17:26:57 -05:00
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-20 17:44:29 +00:00
R4SAS
c9e4e78f41
[webconsole] remove version from title, move tunnel chain print from Tunnel class
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-01 23:25:08 +03:00
orignal
990906c57f
insert garlic tag in destination's thread
2022-03-28 12:15:40 -04:00
orignal
11f9eeabf1
inbound.lengthVariance and outbound.lengthVariance
2022-03-07 22:20:11 -05:00
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 23:30:35 +03:00
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 22:53:53 +03:00
orignal
9abd383014
eliminate extra pointers for tunnel hops
2021-11-13 15:11:59 -05:00
orignal
1a8a32a773
select next tunnel with compatible transports
2021-11-05 14:51:24 -04:00
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>
2021-11-01 05:03:34 +03:00
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.
2021-10-31 23:14:28 +01:00
orignal
cdc8e463b7
use memory pool for outgoing tunnel gateway messages
2021-10-22 19:18:45 -04:00
orignal
ae0cf2e831
use memory pool for tunnel messages
2021-10-20 21:05:22 -04:00
orignal
1af9117b80
don't create new tunnel message for encryption/decryption
2021-10-15 14:01:41 -04:00
orignal
e6bcd04a36
short build message for re-created tunnels and far end transports
2021-10-05 19:38:33 -04:00
orignal
5e2e1a1e3d
don't include old tunnel to LeaseSet if recreated
2021-09-10 19:57:38 -04:00
R4SAS
d88fe203e1
[tunnels] count outbound traffic for zero-hop tunnels
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-08-01 09:25:02 +03:00
orignal
1e01c30e63
set pool for zero-hops tunnels
2021-07-30 14:12:50 -04:00
orignal
7a55d1fc38
don't insert garlic tag for short tunnel build reply if the same router
2021-07-28 21:14:03 -04:00
orignal
9a3c22f47d
don't encrypt ShortTunnelBuild and ShortTunnelBuildReply if on the same router
2021-07-28 15:06:24 -04:00
orignal
cfbf5862f9
set pool for tunnel before build
2021-07-21 13:08:12 -04:00
orignal
bdc1107c96
correct message type for ShortTunnelBuild
2021-07-20 14:35:02 -04:00
orignal
2c129b6d39
create and handle short tunnel build reply
2021-07-12 19:40:40 -04:00
orignal
15c3d46492
encrypt inbound tunnel build message for short tunnel build only
2021-07-10 17:28:18 -04:00
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
2021-07-10 14:33:23 -04:00
orignal
d47bf1bada
different tunnel build record size
2021-07-09 19:26:14 -04:00
orignal
84f6024cc9
locate record to build inside CreateBuildRequestRecord
2021-07-08 19:00:25 -04:00
orignal
d73b42b726
extract ret code per hop
2021-07-08 16:39:38 -04:00
orignal
ed0c2e68a5
DecryptRecord per tunnel hop
2021-07-07 21:16:30 -04:00
orignal
8b35ce3320
separate decryption between own record and other records
2021-07-02 13:20:24 -04:00
orignal
25f63ac22a
create different I2NP tunnel messages for endpoint and non-endpoint
2021-06-27 15:49:57 -04:00
orignal
ef85277a1b
select reachable routers for one hop tunnels
2021-03-02 08:46:13 -05:00
orignal
8f25b66760
limit tunnel length to 8 hops
2021-01-14 11:24:03 -05:00
R4SAS
3100d4f902
move thread naming to util
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-07 06:22:30 +03:00
R4SAS
36473e3889
add naming to threads
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-04 18:37:17 +03:00
orignal
44ca315c75
don't build tunnels for all pools at the time
2020-11-15 19:38:34 -05:00
orignal
9f2a2e44a3
common MixHash and MixKey
2020-10-28 21:53:11 -04:00
orignal
c93ee0d65d
tunnels through ECIES routers
2020-10-23 15:53:22 -04:00
orignal
e3464add50
don't create new tunnels if offline
2020-10-12 17:15:17 -04:00
orignal
e21dac21c8
fixed #1557 . don't try to send empty message
2020-10-11 14:02:12 -04:00
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
R4SAS
a9436aa9af
drop i2lua
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-04-03 14:31:38 +03:00
R4SAS
00db527377
drop websockets support
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-02-27 14:58:06 +03:00
Rosen Penev
eabcafa516
replace random_shuffle with shuffle
...
random_shuffle is gone with C++17.
Found and fixed with clang-tidy.
2020-01-19 18:09:04 -08:00
yangfl
52f3081a40
fix typo
2018-07-10 17:39:21 +08:00
orignal
5a2b795440
fixed crash
2018-02-26 19:41:24 -05:00