R4SAS
8708a0076f
fix build with boost < 1.55.0 ( closes #1661 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-06-09 22:23:33 +03:00
R4SAS
0547d590e1
fix typo
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-31 00:24:54 +03:00
R4SAS
be31640010
fix ipv6 preference on linux
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-31 00:23:50 +03:00
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>
2021-05-30 03:25:13 +03:00
R4SAS
c359c6e634
update config file example, add v6 status to windows daemon window, code cleanup
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-05-15 16:31:53 +03:00
orignal
e091eba831
don't cleanup ipv6 introducers list twice
2021-04-25 17:55:13 -04:00
orignal
90dee900f0
fixed crash
2021-04-25 10:57:31 -04:00
orignal
94555b9c43
don't select next introducers from existing sessions
2021-04-24 14:56:34 -04:00
orignal
db93a7315f
find new introducers to connect
2021-04-24 11:11:12 -04:00
orignal
7a19533380
reuse current introducers if no more available
2021-04-23 12:17:48 -04:00
orignal
9d79b26506
check if port if specified
2021-04-22 19:32:47 -04:00
orignal
b5618af308
find all introducers at the time
2021-04-21 15:41:04 -04:00
orignal
9c8c3b9174
select few introducers at the time
2021-04-21 10:56:39 -04:00
orignal
01e591b261
find ipv6 intrioducer session
2021-04-21 09:55:36 -04:00
orignal
060e30d283
select ipv6 random introducer
2021-04-21 08:16:13 -04:00
orignal
ad019da553
publish ipv6 introducers
2021-04-20 20:02:30 -04:00
orignal
df858d9143
publish iexp
2021-04-09 13:29:07 -04:00
orignal
b9a2d5df02
send HolePunch back based on actual address type
2021-04-08 21:07:14 -04:00
orignal
ff89edf127
pick random introducer
2021-04-05 18:22:48 -04:00
orignal
2cc9791bf2
exclude already expired introducers
2021-04-04 10:36:22 -04:00
orignal
0f166973ca
check ureachable cap and actual introducers separately
2021-04-03 20:03:19 -04:00
orignal
5cca5472e6
don't handle unsilicited HolePunch
2021-03-29 15:50:33 -04:00
orignal
8462d382f4
don't create SSU session for HolePunch
2021-03-29 15:16:39 -04:00
orignal
a6ea37a21e
set ipv6 address caps depending on peer test
2021-03-27 15:16:56 -04:00
orignal
589049ef0f
connect to ipv6 address through introducer
2021-03-19 10:20:02 -04:00
orignal
e70ffc9d7c
re-shedule introducers updates if router becomes firewalled
2021-03-04 15:55:51 -05:00
orignal
def9873a70
request multiple introducers at the time
2021-03-02 21:10:19 -05:00
orignal
11c924bbe7
publish and handle SSU addreses without host
2021-02-28 18:58:25 -05:00
orignal
bef9a54f4a
bind SSU socket to specified address
2021-02-27 16:13:12 -05:00
orignal
1d7639b3f4
caps per address
2021-02-22 21:04:26 -05:00
orignal
75a31c79ae
don't process SSU messages after termination
2021-02-13 18:36:23 -05:00
R4SAS
3100d4f902
move thread naming to util
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-07 06:22:30 +03:00
R4SAS
36473e3889
add naming to threads
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-12-04 18:37:17 +03:00
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>
2020-10-27 11:52:02 +03:00
orignal
417b5ed6cc
handle SSU v4 and v6 messages in one thread
2020-10-14 21:06:51 -04:00
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>
2020-10-13 15:22:39 +03:00
R4SAS
85e9da82b0
[transports] validate IP when trying connect to remote peer for being in reserved IP range
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-10-12 14:56:17 +00:00
orignal
024c29b180
eliminate boost/bind
2020-09-17 21:11:46 -04:00
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
orignal
bb7f03857c
ThrowFatal function
2020-05-05 09:35:41 -04:00
R4SAS
42d4781a96
[windows] add binding exceptions messagebox notifications, update exceptions handling code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-05 02:45:25 +03:00
R4SAS
4d48d35ad7
[SSU] handle socket binding errors
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-04 18:12:23 +03:00
orignal
6fb80f226a
reopen socked and restart receiver on exception
2020-03-22 08:14:20 -04:00
orignal
5e42947fbd
always lookup SSU session if peer's endpoint doesn't match
2019-04-25 12:54:44 -04:00
orignal
1bfb9b02f5
make sure remote endpoint matches stored with
2019-04-24 11:40:58 -04:00
yangfl
50ba52756f
fix mixing tabs and spaces
2018-01-13 22:51:02 +08:00
yangfl
46f62e1af9
remove trailing whitespaces
2018-01-06 22:24:03 +08:00
orignal
1fb1d7e4e9
don't create SSU session if endpoint is not specified. Wait from RelayResponse
2017-07-13 14:13:58 -04:00
orignal
83c5131b67
skip expired introducer
2017-06-07 10:53:50 -04:00