R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
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
278fd2d8d5
create tunnel I2NP message for tunnel data
3 years ago
orignal
d310efcb5c
pass I2NPMessage by move
3 years ago
orignal
518e53a61c
use flat_map for smaller tables
3 years ago
orignal
18b6ba80f2
cleanup RelayRequests
3 years ago
orignal
8debdc264c
use common cleanup timer for all SSU sessions
3 years ago
orignal
31bdce1f1f
cleanup received messages list by timestamp
3 years ago
orignal
e054c6e82c
memory pool for SSU messages and fragments
3 years ago
orignal
fc2dc9a019
cumulative ACK bitfields
4 years ago
orignal
024c29b180
eliminate boost/bind
4 years ago
orignal
e50abbb250
avoid replay upon SSU packet resend
4 years ago
orignal
8e25226574
use unordered_map for incomplete and sent messages
4 years ago
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
b6b25dc9f3
update log messages
...
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
orignal
b84f74c167
limit SSU message size to 32K
6 years ago
yangfl
50ba52756f
fix mixing tabs and spaces
7 years ago
yangfl
46f62e1af9
remove trailing whitespaces
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