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
4 years ago
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
4 years ago
orignal
d47bf1bada
different tunnel build record size
4 years ago
orignal
84f6024cc9
locate record to build inside CreateBuildRequestRecord
4 years ago
orignal
d73b42b726
extract ret code per hop
4 years ago
orignal
ed0c2e68a5
DecryptRecord per tunnel hop
4 years ago
orignal
8b35ce3320
separate decryption between own record and other records
4 years ago
orignal
25f63ac22a
create different I2NP tunnel messages for endpoint and non-endpoint
4 years ago
orignal
ef85277a1b
select reachable routers for one hop tunnels
4 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>
5 years ago
R4SAS
a9436aa9af
drop i2lua
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
00db527377
drop websockets support
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
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
yangfl
52f3081a40
fix typo
7 years ago
orignal
5a2b795440
fixed crash
7 years ago
Jeff Becker
82a4630061
use correct function
7 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
8 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
8 years ago
orignal
c0c157ecef
use common context for ElGamal encrypt/decrypt
8 years ago
orignal
60ed43c11b
#818 . Exploratory config
8 years ago
orignal
c2e7bc13a6
last sample should have more relevance for latency
8 years ago
Jeff Becker
e384ec32b8
unbreak i2lua build
8 years ago
Jeff Becker
76c9b66db4
don't blow up
8 years ago
Jeff Becker
db63bb4495
make it compile for real
8 years ago