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
R4SAS
56f3bdd746
[win32] handle WinAPI errors in SSU
...
Windows can throw WinAPI errors which are not handled by boost asio
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
417b5ed6cc
handle SSU v4 and v6 messages in one thread
4 years ago
R4SAS
3f45a11f12
[SSU] handle ICMP responses
...
Windows network stack can forward ICMP to socket and simple deleting of
packet can cause socket death. Same thing can happen on other systems
but without socket death.
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
85e9da82b0
[transports] validate IP when trying connect to remote peer for being in reserved IP range
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
024c29b180
eliminate boost/bind
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
bb7f03857c
ThrowFatal function
5 years ago
R4SAS
42d4781a96
[windows] add binding exceptions messagebox notifications, update exceptions handling code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
4d48d35ad7
[SSU] handle socket binding errors
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
6fb80f226a
reopen socked and restart receiver on exception
5 years ago
orignal
5e42947fbd
always lookup SSU session if peer's endpoint doesn't match
6 years ago
orignal
1bfb9b02f5
make sure remote endpoint matches stored with
6 years ago
yangfl
50ba52756f
fix mixing tabs and spaces
7 years ago
yangfl
46f62e1af9
remove trailing whitespaces
7 years ago
orignal
1fb1d7e4e9
don't create SSU session if endpoint is not specified. Wait from RelayResponse
8 years ago
orignal
83c5131b67
skip expired introducer
8 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
298c5f0de2
moved v6 receiver to separate thread
8 years ago
orignal
a6c2b25f6f
increased socket buffer
8 years ago
orignal
a25ce2296a
rollback
8 years ago
orignal
4317694c64
memory pool for SSU packets
8 years ago
orignal
62ca6212ce
don't store SSU-specific data for NTCP address
8 years ago
orignal
178dedf78c
store relay session directly
8 years ago
orignal
2e8fa88fcb
fixed memory leak
8 years ago
orignal
7a7ae4cc83
select ipv4 peers for peer test
8 years ago
orignal
87228429d6
handle receive_from errors
8 years ago
orignal
230c2aaf26
reopen UDP socket in case of error
8 years ago
orignal
1d8807a6ba
handle async_receive_from errors
8 years ago
orignal
32669cb07f
stop termination timer on shutdown
8 years ago
orignal
b02677ee21
common termination timer for all SSU sessions
8 years ago
brain5lug
a530503c0c
copy elimination for ranges #part3
9 years ago
orignal
3d1a7f173c
select Charlie based on Alice's address type
9 years ago
Jeff Becker
a3b08654b4
try adding ipv6 only mode for ssu
9 years ago
hagen
646778227a
* tune log messages
9 years ago
hagen
6c4977ee78
* tune log messages
9 years ago
hagen
ce4ed19029
* sane log messages: SSU.cpp
9 years ago
orignal
6096d572f3
handle RelayResponse
9 years ago
orignal
0ef42870e5
try SSU if NTCP address is not presented
9 years ago
orignal
da8a6a4c2b
make sure to use ipv4 introducers only
9 years ago
orignal
988007a8c9
pass correct pointer to sessions table
9 years ago
orignal
c5308e3f2f
separate SSU sessions lists for V4 and V6
9 years ago
orignal
2b8e662f81
connect through introducer in v4 thread
9 years ago
orignal
4e2ba71d59
more introducers
9 years ago
orignal
fb2bdfb9ee
create SSU session in SSU thread
9 years ago
orignal
d69f297c05
split between CreateSession and CreateSessionThrough Introducer
9 years ago
orignal
e194854c6d
replace GetSession to CreateSession
9 years ago