orignal
02a36a9fa8
don't populate buffer of unreachable router
2 years ago
orignal
532a29b0c4
don't reply with unreachable router
2 years ago
orignal
c2faa5c614
don't try to save RouterInfo if no buffer
2 years ago
orignal
d15581d95e
delete invalid router after update
2 years ago
orignal
48a3c767e5
in-meory storage for router profiles
2 years ago
R4SAS
86fc12e395
[style] clean code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
Vort
0829b186b7
Fix debug log output
2 years ago
orignal
aac9a8d18f
check if clock was adjusted backwards
2 years ago
orignal
4930157e93
don't innsert back unreachable router
2 years ago
orignal
80a55c5b75
store unrechable in profile
2 years ago
orignal
c18e8f6c78
drop too long LeaseSet without processing
2 years ago
R4SAS
503f522cc3
[style] clean trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
e4ddc883d2
drop future RouterInfo and LeaseSet upon receive
2 years ago
orignal
5ac01ddce8
delete routers with timestmep from future
2 years ago
orignal
3458665df8
don't delete unreachable routers if tunnel creation success rate is too low
2 years ago
orignal
53ca5dc67a
memory pool for address vectors
2 years ago
orignal
709c451400
disable MemoryPool for RouterInfo's address
2 years ago
orignal
aa9a9ef18d
memory pool for addreses
2 years ago
orignal
fb8be32c28
removed SSU and NTCP transports
2 years ago
orignal
a298588943
SSU2 only introducers
2 years ago
orignal
9e02c99db5
check and limit LeaseSet's buffer size
2 years ago
R4SAS
96c4463d39
clean code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
1a32c55ca3
delete routers with expired SSU2 introducers
2 years ago
orignal
8f5768f85b
memory pool for leases
2 years ago
orignal
fc63ca6982
correct excluded routers size for exploratory request
2 years ago
orignal
3683ec6a95
fixed race condition
2 years ago
orignal
cf0d3b5f61
create new list of SSU2 introducers
2 years ago
orignal
a3e19931f0
insert RouterInfo from SessionConfirmed into netdb immediately
2 years ago
orignal
e8c58270c4
Populate router's buffer before sending RouterInfo block
2 years ago
orignal
87a434c377
start peer test for SSU2
3 years ago
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
bc8e4494c4
random new profiles cleanup interval
3 years ago
R4SAS
c3a064f980
change int type
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
eb3feb7dbd
[profiles] add daily cleanup
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
ee1c4f4fdc
internal numeric id for families
3 years ago
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