orignal
|
476e6aae35
|
don't iterate through addresses when it's not necessary
|
2 years ago |
orignal
|
d30ee99cf1
|
fixed crash
|
2 years ago |
orignal
|
84d9c8f1b8
|
access to RouterInfo's addresses by index
|
2 years ago |
orignal
|
410d2c2fa9
|
use shared pointer for RouterInfo's addreses list
|
2 years ago |
orignal
|
fb8be32c28
|
removed SSU and NTCP transports
|
2 years ago |
orignal
|
ccfeca728e
|
use only SSU2 for network status
|
2 years ago |
orignal
|
3e3f92c616
|
set and check proxy status for ipv6 if presented
|
2 years ago |
R4SAS
|
96c4463d39
|
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2 years ago |
orignal
|
75611866eb
|
update router's transports when SSU or NTCP address was deleted
|
2 years ago |
orignal
|
81f53d313c
|
alsways set some port to SSU2 address
|
2 years ago |
orignal
|
9d123fa5ad
|
select random port if port not found or specified
|
2 years ago |
orignal
|
f4d6a08d57
|
create separate addresses for published SSU2
|
2 years ago |
orignal
|
3dd78a2589
|
remove SSU address if SSU is off
|
2 years ago |
orignal
|
df92a85159
|
set SSU2 port +1 if not specified
|
2 years ago |
orignal
|
53934a470b
|
update keys for NTCP2 and SSU2 addreses
|
2 years ago |
orignal
|
a94ae7d77d
|
update keys for NTCP2 and SSU2 addreses
|
2 years ago |
orignal
|
f43e860998
|
cleanup introducers if router is not longer firewalled
|
2 years ago |
orignal
|
ed5c533982
|
recgnize symmetric NAT from SSU2
|
2 years ago |
R4SAS
|
fdeb884fe5
|
fixed getting MTU on windows, add address to log messages with MTU
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2 years ago |
orignal
|
f9106b77bb
|
add SSU2 introducer if SSU2 only
|
2 years ago |
orignal
|
a0419e4f34
|
add SSU2 introducer if SSU2 only
|
2 years ago |
orignal
|
dbb9295063
|
set MTU if local address is specified explicitly. update MTU for ipv6 if not set
|
2 years ago |
orignal
|
454fa9ee9b
|
update SSU2 port
|
2 years ago |
orignal
|
d33aeb4bb2
|
set unreachable if firewalled. Store router's hash of introducer instead session
|
2 years ago |
orignal
|
2197cd8620
|
add/remove SSU2 introducers to local RouterInfo
|
2 years ago |
orignal
|
014e4b0e1d
|
detect MTU for some known ipv6 tunnel brokers
|
2 years ago |
orignal
|
14a6947b02
|
round MTU to multiple of 16 for SSU1
|
2 years ago |
orignal
|
1dd2bd0013
|
publish MTU for ipv6 SSU2 address. Max MTU of 1488 for SSU1
|
2 years ago |
orignal
|
6039cdceb0
|
correct SSU2 only detection
|
2 years ago |
orignal
|
473159be0f
|
don't use port from SSU2 address
|
2 years ago |
orignal
|
0e6ad548b2
|
invoke SSU2 peer test updates
|
2 years ago |
orignal
|
dddc7ab039
|
publisuh peer test cap for published SSU2 addresses
|
2 years ago |
R4SAS
|
6b4ffcff5a
|
cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2 years ago |
orignal
|
f22e10537b
|
fixed typo
|
3 years ago |
orignal
|
6e532c494c
|
create new published SSU2 addresses
|
3 years ago |
orignal
|
78b1afcc8c
|
publish introducer cap for SSU2 address
|
3 years ago |
orignal
|
07e14ddda8
|
check if SSU2 enabled
|
3 years ago |
orignal
|
064b8042a5
|
ssu2.published and update SSU2 ipv4
|
3 years ago |
orignal
|
7923ed9567
|
publish SSU2 address
|
3 years ago |
orignal
|
3643a46a0c
|
don't update SSU2 port
|
3 years ago |
orignal
|
d467e6869d
|
don't update address for SSU2
|
3 years ago |
orignal
|
908bdc7624
|
always publish intro key for SSU2 address
|
3 years ago |
orignal
|
6eba061c2a
|
show local SSU2 address
|
3 years ago |
orignal
|
f184f550b9
|
SSU2 address in config and RouterInfo
|
3 years ago |
orignal
|
bb7c0fef20
|
SSU2 address in config and RouterInfo
|
3 years ago |
orignal
|
f6ba776c12
|
SSU2 keys
|
3 years ago |
orignal
|
4211c733a2
|
s and i keys for all addresses
|
3 years ago |
orignal
|
a2de5564ac
|
moved m_Properties to LocalRouterInfo
|
3 years ago |
orignal
|
338b17ccf1
|
LocalRouterInfo for own router
|
3 years ago |
R4SAS
|
edc0162163
|
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
3 years ago |
orignal
|
292fe94352
|
RouterContext is always ECIES
|
3 years ago |
orignal
|
bb518d3d51
|
don't pass BN_CTX to encrypt/decrypt functions
|
3 years ago |
orignal
|
c45e202fab
|
removed ElGamal encryption support for own router
|
3 years ago |
orignal
|
5cb1f5986d
|
use msgID from ECIESx25519 block
|
3 years ago |
orignal
|
a6294df9e8
|
decrypt one-time message encrypted with tag on router
|
3 years ago |
orignal
|
f5e7d87f5b
|
don't disable floodfill if still reachable by ipv6
|
3 years ago |
orignal
|
6ca28adcbb
|
set address caps and available transports for new address
|
3 years ago |
orignal
|
a6af4908d5
|
use m_ReachableTransports bitmask
|
3 years ago |
orignal
|
bce6685d0c
|
correct check of ipv4/ipv6 address
|
3 years ago |
orignal
|
83fd289e46
|
don't re-create noise state for every message
|
3 years ago |
orignal
|
8e3e35a36d
|
decrypt short request record
|
3 years ago |
R4SAS
|
779f2fa451
|
[i18n] rework localization system
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
3 years ago |
orignal
|
08fafe267a
|
rekey all routers to ECIES
|
3 years ago |
R4SAS
|
80b44fc9a9
|
Support multilang, update code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
3 years ago |
R4SAS
|
c359c6e634
|
update config file example, add v6 status to windows daemon window, code cleanup
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
3 years ago |
orignal
|
d8d8a68814
|
rekey all routers but floodfills
|
4 years ago |
orignal
|
4a0dbec4fb
|
recognize non-published NTCP2 address
|
4 years ago |
orignal
|
ad019da553
|
publish ipv6 introducers
|
4 years ago |
orignal
|
277cef5ec4
|
eliminate cost field
|
4 years ago |
orignal
|
5c9b478e46
|
published field for SSU addresses
|
4 years ago |
orignal
|
bd7328345f
|
Don't change Yddrasil address if router becomes unreachable through ipv6
|
4 years ago |
orignal
|
2b0d18a6d7
|
don't change router status from ipv6
|
4 years ago |
orignal
|
167d3a0e3c
|
don't create BN_CTX for ECIES tunnel build record decryption
|
4 years ago |
orignal
|
a6ea37a21e
|
set ipv6 address caps depending on peer test
|
4 years ago |
orignal
|
9e050d1a23
|
peer test for ipv6
|
4 years ago |
orignal
|
43d458cf72
|
publish and upublish NTCP2 and yggdrasil addresses separatly
|
4 years ago |
orignal
|
f162876600
|
insert ipv4 address if enabled back
|
4 years ago |
orignal
|
5f93dc72fd
|
convert ifname* params to address*
|
4 years ago |
orignal
|
97f315d488
|
set correct 4 and 6 caps for unreachable addresses
|
4 years ago |
orignal
|
742dbdb68a
|
rekey low badwidth routers to ECIES
|
4 years ago |
orignal
|
2d59c968ca
|
don't publish NTCP2 address connected through proxy
|
4 years ago |
orignal
|
876973f071
|
remove coreVersion
|
4 years ago |
orignal
|
065cfe3b9d
|
separate ratchet session for ECIES router
|
4 years ago |
orignal
|
876375f2c3
|
precise bandwidth limit
|
4 years ago |
orignal
|
57c969b0ed
|
constants for cost
|
4 years ago |
orignal
|
ae58a7007b
|
different cost for direct or with introducers SSU address
|
4 years ago |
orignal
|
40f7e9d33e
|
separate decryptor for tunnel builds and floodfill requests
|
4 years ago |
orignal
|
94659ba890
|
create ipv4 and ipv6 NTCP2 addresses separately
|
4 years ago |
orignal
|
d65bc068de
|
create ipv4 and ipv6 NTCP2 addresses separately
|
4 years ago |
orignal
|
44e4ec573d
|
enable NTCP2 transport for newly created routers
|
4 years ago |
orignal
|
3b32da4f5c
|
don't disable NTCP2 address if Yggdrasil address is presented
|
4 years ago |
orignal
|
2d0e219197
|
add Yggdrasil adddress even if NTCP2 is not published. Correct reachable capacity
|
4 years ago |
orignal
|
0e5dc15005
|
create Yggdrasil address for new router
|
4 years ago |
orignal
|
bfb1380dd2
|
don't update Yggdrasil address from SSU
|
4 years ago |
orignal
|
ea19802d3f
|
update right ipv6 only
|
4 years ago |
orignal
|
fef4f13b8f
|
don't insert Yggdrasil address twice
|
4 years ago |
orignal
|
c4fc0f4ecf
|
add Yggdrasil address
|
4 years ago |
orignal
|
aad2d68edb
|
NTCP2 transports through the Yggdrasil
|
4 years ago |
orignal
|
726bd0d63b
|
check if x25519 key is valid
|
4 years ago |
orignal
|
06a7e181cd
|
ECIES for new routers
|
4 years ago |