orignal
a92c29e04c
drop routers older than 6 months on start
3 years ago
orignal
a2de5564ac
moved m_Properties to LocalRouterInfo
3 years ago
orignal
e4ab0acc92
create RouterInfo from shared pointer to Buffer
3 years ago
orignal
c6b2ce93c4
Memory pool for RouterInfo address
3 years ago
orignal
f567417bb3
memory pool for RouterInfo buffer
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
Dimitris Apostolou
8ee9c437e1
Fix typos
3 years ago
orignal
f8c390cdd3
pick compatible tunnels
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
orignal
48131f4597
don't store full path with RouterInfo
3 years ago
orignal
20652f7995
resseed if too few floodfills
3 years ago
orignal
c763472914
select ECIES routers only for peer tests and introducers
3 years ago
orignal
349022ae42
don't select ElGamal routers for tunnels
3 years ago
orignal
541464b705
don't delete floodfill if number of remaining floodfills is less than minimal
3 years ago
orignal
64ec7dd559
narrow down random range
3 years ago
orignal
367df4d0db
RAND_bytes from random router selection
3 years ago
orignal
e68cff8bba
try routers before random router
3 years ago
orignal
513493fa78
fixed typo
3 years ago
orignal
a6937c792f
more precise router selection
3 years ago
orignal
a37cf058cd
router with expired introducer is still valid
3 years ago
orignal
41bfc7899d
keep own RouterInfo in netdb
4 years ago
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
4 years ago
orignal
81c83f0d54
pick ECIES routers only for non-x64
4 years ago
orignal
db93a7315f
find new introducers to connect
4 years ago
orignal
060e30d283
select ipv6 random introducer
4 years ago
orignal
d5b61ed544
select different routers for peer test
4 years ago
orignal
ac47c9c673
don't check U cap
4 years ago
orignal
0f166973ca
check ureachable cap and actual introducers separately
4 years ago
orignal
823b499a02
remove already expired LeaseSets
4 years ago
orignal
25eae3c116
return relay tag for ipv6 introducer
4 years ago
orignal
9e050d1a23
peer test for ipv6
4 years ago
orignal
b994af9209
check reachability of floodfill to request from
4 years ago
orignal
def9873a70
request multiple introducers at the time
4 years ago
orignal
f70ee480ba
check connectivity between peers for tunnel
4 years ago
orignal
1d7639b3f4
caps per address
4 years ago
orignal
765ab60753
try to reseed if no compatible routers in netdb
4 years ago
orignal
313921da56
publish and request through exploratory tunnel if floodfill is not reachable
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
3dfb44de31
exclude DSA floodfills
4 years ago
orignal
c69c4ae8a0
don't publish too fast
4 years ago
orignal
b4369470cb
publish updated RouterInfo
4 years ago
orignal
1f6be38145
wait for publish confirmation or publish to another floodfill
4 years ago
orignal
ffa0f0afd9
check network status
4 years ago
orignal
e2a1cd12c3
don't delete unreachable routers if too few
4 years ago
orignal
8483464aab
don't attach our RouterInfo to router's request
4 years ago
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
bdd75e1171
build client tunnels through router with version >= 0.9.36
5 years ago