Commit Graph

191 Commits

Author SHA1 Message Date
orignal
b8032e7fbf publish congestion cap G 2023-04-02 11:27:51 -04:00
orignal
c45e31b1b2 validate new router 2023-03-28 22:00:17 -04:00
orignal
46e4f4aea5 update RouterInfo if congestion cap changed 2023-03-07 13:09:07 -05:00
orignal
716926f0d7 publish high congestion cap 2023-03-06 19:48:04 -05:00
orignal
93d89a1fe0 fixed typo 2023-02-26 09:07:53 -05:00
orignal
3c9a574e90 create io_service after daemonization 2023-02-26 08:46:01 -05:00
orignal
de82b3ae19 don't publish non-reachable router 2023-02-25 17:19:14 -05:00
orignal
f84d88ac63 publish own RouterInfo in router's thread 2023-02-24 18:28:30 -05:00
orignal
2e62f9532f separate thread for processing router's messages 2023-02-23 13:58:06 -05:00
weko
76d39cc7c9 changed to tabs, move tor port to function 2023-02-14 20:46:24 +03:00
weko
9e0c5d67c7 Don't use reversed port for choise random port. (by whothefuckami) 2023-02-14 20:46:24 +03:00
R4SAS
86fc12e395
[style] clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-02-11 09:41:51 +03:00
orignal
97b7ea0da5 create separate new ipv4 and ipv6 published addresses 2023-02-10 22:04:42 -05:00
orignal
1c4cc02c23 drop garlic message in garlic clove 2023-02-10 18:21:12 -05:00
orignal
70fec2bc99 don't publish localhost addresses in RouterInfo 2023-01-28 22:33:44 -05:00
orignal
ad5540c9f3 delete address if corresponding transport is disabled 2023-01-26 11:32:59 -05:00
orignal
e91d0bbec8 delete address if corresponding transport is disabled 2023-01-26 11:21:08 -05:00
orignal
8ee461f60a enable all ipv4 adresses even if one is already enabled 2023-01-25 18:11:26 -05:00
orignal
4de6201b84 update RouuterInfo if NTCP2 or SSU2 keys were recreated 2023-01-25 13:23:46 -05:00
orignal
4fae7b8d65 don't update local RouterInfo addresses in Load but in InitTransports only 2023-01-24 18:20:16 -05:00
orignal
5479ddd03c publish NTCP2 addreses by index 2023-01-24 14:07:22 -05:00
orignal
1f23584c24 update all SSU2 addresses 2023-01-23 21:24:01 -05:00
orignal
a3c305032a don't set Firewalled upon SessionCreated if ports mismatch 2023-01-08 08:25:23 -05:00
R4SAS
503f522cc3
[style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-01-03 21:25:19 +03:00
orignal
d3656fcb3f don't publish ::1 2022-12-20 14:16:23 -05:00
orignal
476e6aae35 don't iterate through addresses when it's not necessary 2022-12-16 19:57:19 -05:00
orignal
d30ee99cf1 fixed crash 2022-12-16 15:33:56 -05:00
orignal
84d9c8f1b8 access to RouterInfo's addresses by index 2022-12-16 15:12:30 -05:00
orignal
410d2c2fa9 use shared pointer for RouterInfo's addreses list 2022-12-04 19:21:51 -05:00
orignal
fb8be32c28 removed SSU and NTCP transports 2022-11-23 15:45:00 -05:00
orignal
ccfeca728e use only SSU2 for network status 2022-11-22 22:03:19 -05:00
orignal
3e3f92c616 set and check proxy status for ipv6 if presented 2022-10-27 15:02:54 -04:00
R4SAS
96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
orignal
75611866eb update router's transports when SSU or NTCP address was deleted 2022-08-14 10:43:16 -04:00
orignal
81f53d313c alsways set some port to SSU2 address 2022-08-11 20:16:08 -04:00
orignal
9d123fa5ad select random port if port not found or specified 2022-08-10 22:00:11 -04:00
orignal
f4d6a08d57 create separate addresses for published SSU2 2022-08-10 15:50:30 -04:00
orignal
3dd78a2589 remove SSU address if SSU is off 2022-08-09 19:12:11 -04:00
orignal
df92a85159 set SSU2 port +1 if not specified 2022-08-09 14:08:13 -04:00
orignal
53934a470b update keys for NTCP2 and SSU2 addreses 2022-08-06 16:30:49 -04:00
orignal
a94ae7d77d update keys for NTCP2 and SSU2 addreses 2022-08-06 16:25:46 -04:00
orignal
f43e860998 cleanup introducers if router is not longer firewalled 2022-08-05 21:23:23 -04:00
orignal
ed5c533982 recgnize symmetric NAT from SSU2 2022-08-02 20:02:55 -04:00
R4SAS
fdeb884fe5
fixed getting MTU on windows, add address to log messages with MTU
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-07-27 13:24:07 +03:00
orignal
f9106b77bb add SSU2 introducer if SSU2 only 2022-07-26 13:57:37 -04:00
orignal
a0419e4f34 add SSU2 introducer if SSU2 only 2022-07-26 13:55:31 -04:00
orignal
dbb9295063 set MTU if local address is specified explicitly. update MTU for ipv6 if not set 2022-07-24 15:24:01 -04:00
orignal
454fa9ee9b update SSU2 port 2022-07-22 14:52:24 -04:00
orignal
d33aeb4bb2 set unreachable if firewalled. Store router's hash of introducer instead session 2022-07-21 19:38:18 -04:00
orignal
2197cd8620 add/remove SSU2 introducers to local RouterInfo 2022-07-20 16:01:08 -04:00