orignal
95e994e171
pass incomplete I2NP message by move
3 years ago
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>
5 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 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
orignal
92fc736cfa
recreate SSU session again if session key is invalid
8 years ago
orignal
13111c4b42
don't re-schedule resend timer if nothing to resend
8 years ago
orignal
32c98e2161
correct packet size
8 years ago
Jeff Becker
01ab027615
don't use heap allocated buffers in ssu
8 years ago
orignal
62ca6212ce
don't store SSU-specific data for NTCP address
8 years ago
Jeff Becker
2524972807
don't use stack allocated buffers in SSU
8 years ago
Jeff Becker
975265b0af
more
8 years ago
orignal
4582a4fd95
eliminate some overhead
8 years ago
Jeff Becker
d4a0076aba
merge
8 years ago
Jeff Becker
9575f70f38
fix conflicts
8 years ago
Jeff Becker
b4e9ed7d18
add web socket ui
8 years ago
brain5lug
a530503c0c
copy elimination for ranges #part3
8 years ago
orignal
d5075d706c
eliminate decay timer
8 years ago
hagen
646778227a
* tune log messages
8 years ago
orignal
4b9e39ac64
limit SSU outgoing windows
8 years ago
orignal
7274d43645
fixed incorrect long fragment size
9 years ago
orignal
c053bebccd
reduced numeber of error messages
9 years ago
orignal
9611f80a39
check I2NP messages fro expiration
9 years ago
orignal
ff48422ec0
check I2NP message buffer size
9 years ago
hagen
1cb0826de0
* sane log messages: SSUData.cpp
9 years ago
orignal
06c4aca490
always use shared_ptr for I2NPMessage
9 years ago
orignal
62cf83921b
cumulative update from bitbucket
9 years ago
orignal
9c9401ce2f
use shared_ptr for all incoming I2NP messages
10 years ago
orignal
3a63f6775a
pass I2NP message to transport session as shared_ptr
10 years ago
orignal
2f9e510f4f
check I2NP message size for saved fragments
10 years ago
orignal
1d7fd8ac96
reduce memory usage
10 years ago
orignal
08f5af68f0
reduce memory usage
10 years ago