R4SAS
1326597226
use ipv6 preference only when netinet headers not used (entware with musl workaround)'
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
19cc1c3b3f
adjust clock from SSU SessionCreated is time difference exceeds 15 seconds
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
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
247b6a0ed2
memory pool for SSU packets
3 years ago
orignal
e054c6e82c
memory pool for SSU messages and fragments
3 years ago
R4SAS
8708a0076f
fix build with boost < 1.55.0 ( closes #1661 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
0547d590e1
fix typo
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
be31640010
fix ipv6 preference on linux
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
ed42948051
prefer public ipv6 instead rfc4941 ( closes #1251 )
...
Wokrs only on linux-based systems. Not tested on other *nix systems, and
not works on windows.
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
c359c6e634
update config file example, add v6 status to windows daemon window, code cleanup
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
e091eba831
don't cleanup ipv6 introducers list twice
4 years ago
orignal
90dee900f0
fixed crash
4 years ago
orignal
94555b9c43
don't select next introducers from existing sessions
4 years ago
orignal
db93a7315f
find new introducers to connect
4 years ago
orignal
7a19533380
reuse current introducers if no more available
4 years ago
orignal
9d79b26506
check if port if specified
4 years ago
orignal
b5618af308
find all introducers at the time
4 years ago
orignal
9c8c3b9174
select few introducers at the time
4 years ago
orignal
01e591b261
find ipv6 intrioducer session
4 years ago
orignal
060e30d283
select ipv6 random introducer
4 years ago
orignal
ad019da553
publish ipv6 introducers
4 years ago
orignal
df858d9143
publish iexp
4 years ago
orignal
b9a2d5df02
send HolePunch back based on actual address type
4 years ago
orignal
ff89edf127
pick random introducer
4 years ago
orignal
2cc9791bf2
exclude already expired introducers
4 years ago
orignal
0f166973ca
check ureachable cap and actual introducers separately
4 years ago
orignal
5cca5472e6
don't handle unsilicited HolePunch
4 years ago
orignal
8462d382f4
don't create SSU session for HolePunch
4 years ago
orignal
a6ea37a21e
set ipv6 address caps depending on peer test
4 years ago
orignal
589049ef0f
connect to ipv6 address through introducer
4 years ago
orignal
e70ffc9d7c
re-shedule introducers updates if router becomes firewalled
4 years ago
orignal
def9873a70
request multiple introducers at the time
4 years ago
orignal
11c924bbe7
publish and handle SSU addreses without host
4 years ago
orignal
bef9a54f4a
bind SSU socket to specified address
4 years ago
orignal
1d7639b3f4
caps per address
4 years ago
orignal
75a31c79ae
don't process SSU messages after termination
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
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