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
3 years ago
orignal
1e9eb30aa3
garlic encryption of inbound tunnel build message
3 years ago
orignal
81c83f0d54
pick ECIES routers only for non-x64
3 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
orignal
6b596bd05f
check ECIES flag for encrypted response
5 years ago
orignal
4e1319d874
handle ECIESFlag in DatabaseLookup at floodfill
5 years ago
orignal
d7d964bf57
GarlicRoutingSession/ElGamalAESSession split
5 years ago
orignal
54071b0e5d
set and handle unpublished LeaseSet flag
5 years ago
orignal
8e919ddc8e
use monotonic clock for uptime
5 years ago
orignal
f6f45eab39
flood encrypted LeaseSet2 with store hash
6 years ago
orignal
354c9187db
detect our ipv6 address
6 years ago
orignal
7b9033d678
allocate actual RouterInfo's buffer size
6 years ago