orignal
5f39f65540
mutex for request's excluded peers
6 months ago
orignal
146b3f52c0
check if pool is ready before sending next request
6 months ago
orignal
cc75ccd070
don't manage requests if exploratory pool is not ready. use monotonic timer and milliseconds
6 months ago
orignal
0ddc514221
don't send next request if requested destination is over
6 months ago
Vort
6592fab41c
manage netDb requests more frequently
6 months ago
orignal
02895d4cf5
respond with confirmied router to exploratory lookup
6 months ago
orignal
8b7941c4ce
fixed typo
6 months ago
orignal
de673464d1
don't try to connect directy by SSU2 to unnconfirmed router if direct NTCP2 is presented
6 months ago
orignal
6ce2c30522
build client tunnels through confimed routers only if low rate
6 months ago
orignal
c5a1e8cac8
give preference to direct connection
6 months ago
orignal
f67c38d8d2
fixed typo
6 months ago
orignal
1f1a3270f7
fixed IsPublished for ipv6
6 months ago
orignal
ffee29272f
avoid two firewalled routers in the row
6 months ago
orignal
26fac94d05
delete unused varibale
6 months ago
orignal
9a30068ae5
don't compare OBEP hash twice to check if it's a fresh tunnel
6 months ago
Vort
b2e21a4f12
increase maximum stream resend attempts to 9
6 months ago
Vort
57e46ba0cf
reset stream RTO if outbound tunnel was changed
6 months ago
Vort
df3dc1f574
change tunnels during stream resend attempts 5 and 6
6 months ago
r4sas
1b5f67e185
[FS] misc: bump year
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
7 months ago
orignal
c49dd712de
2.51.0
7 months ago
orignal
4f1cb74f75
request choking delay if too many NACKs. Drop window size to 1 if choking delay received
7 months ago
orignal
75df8d3c7b
drop ack Through to last packet if Number of NACKs exceeds 255
7 months ago
orignal
85be76b01a
check if LeaseSet was submitted recently. Fixed typo
7 months ago
Vort
ac9d92c681
select maximum SSU2 queue size depending on RTT value
7 months ago
Vort
a703d31893
don't double initial RTO
7 months ago
Vort
4f8f3a386f
restart stream resend timer after updating initial RTO
7 months ago
Vort
83f0b9c041
extract single RTT sample from stream ACK
7 months ago
Vort
cf77be0eeb
add lower limit for stream RTO
7 months ago
Vort
e7ff15c573
exclude resent stream packets from RTT calculations
7 months ago
orignal
161ff3579b
don't delete new session with same router hash from sessions-by-hash table
7 months ago
orignal
f2085ecc8d
fixed warning
7 months ago
Vort
d74033dd2b
tune RTT calculations
7 months ago
Vort
0236769134
lower SSU2 resend traffic spikes
7 months ago
orignal
530a078535
don't request temination if session was not established
7 months ago
Vort
08cc256c54
fix typo in message expiration check
7 months ago
orignal
6432963294
Merge pull request #2037 from vovasty/fs_ios_simulator_fix
...
fix HashedStorage::Init exceptions in ios simulator.
7 months ago
Vlad Solomenchuk
59beb5e4e4
fix TARGET_OS_SIMULATOR check
7 months ago
Vort
2d06c0cbe6
add expiration for messages in SSU2 send queue
7 months ago
Vlad Solomenchuk
51446f0324
fix FS::HashedStorage::Init exceptions in ios simulator.
7 months ago
orignal
66d0b7aec4
correct publication verification for encrypted LeaseSet
8 months ago
orignal
92b49fb969
clear excluded floodfills after successive publishing
8 months ago
orignal
17dd5c1285
publish encrypted leaset on floodfill closest to store hash
8 months ago
Vort
3ceb64db2e
1. Use EWMA for stream RTT estimation;
...
2. Drop window size by 10% instead of 50% in case of resend.
Change is based on code by onon.
8 months ago
orignal
bb702700f7
don't check session for single tag
8 months ago
orignal
ff3fec9a00
remove tag immediately after use
8 months ago
orignal
3873e60cbb
try to send database store reply directly to IBGW
8 months ago
orignal
2dbf094433
try to send lookup reply directly to IBGW
8 months ago
Vort
98543af92b
fix high latency threshold
8 months ago
orignal
af0d853ccd
some cleanup
8 months ago
orignal
20a5e19ea1
don't request banned router
8 months ago
orignal
f1058410fb
don't request banned router
8 months ago
orignal
6ba42a0912
check if established peer test session has the same address type
8 months ago
orignal
1292ec67c0
check if remote router supports peer test
8 months ago
orignal
2f2f14e3a7
try publishing again after 5 seconds if no tunnels in the pool
8 months ago
orignal
edd9dd2c39
try to publish again after 5 seconds if destination is not ready
8 months ago
orignal
f8722f17c6
pick peer test session only if Charlie's address supports peer testing
8 months ago
orignal
38cc01e13d
check own peer test cap for peer test msg 2
8 months ago
orignal
6ca266ff3b
reject peer test msg 2 if peer testing is not supported
8 months ago
orignal
b9773c88e4
don't set test failed state to expiring tunnels
8 months ago
orignal
3311fe62bb
fixed potential race condition with tunnel tests
8 months ago
Vort
e5f75eb61c
log would_block error at info level
8 months ago
Vort
89f9bec49a
derive SSU2 socket buffer size from bandwidth limit
8 months ago
Vort
f3c052ed0c
write SSU2 socket buffer sizes to log
8 months ago
Vort
aa1de7fe94
enable non-blocking mode for UDP sockets
8 months ago
orignal
ca45fe73e9
never delete conneted router from netdb
8 months ago
orignal
a8af683643
renamed steady to monotonic
8 months ago
orignal
b86c83a068
encrypt tunnel tests for ElGamal-only destinations
8 months ago
orignal
6656ef3c8d
correct clock for non-encrypted tunnel tests
8 months ago
orignal
6898d04a1d
send tunnel test mesaage only if encrypted
8 months ago
Vort
3d03732555
add tunnel test message
8 months ago
Vort
d6d440ba8a
allow 0ms latency for tunnel
8 months ago
orignal
821a76a7c5
flush IBGW if tunnel build request OBEP is on the same router
8 months ago
orignal
a1dce017f4
allow tunnel endpoint to send tunnel build reply to itself
8 months ago
orignal
78af34237e
reduce session termination timeout
8 months ago
orignal
8874ea8033
fixed typo
8 months ago
orignal
6bd1ee36f7
fixed typo
8 months ago
orignal
f07c4bd1dd
drop transit tunnel if next ident is ours
8 months ago
orignal
8524a67895
fail last tunnel if tunnel quantity is 1
8 months ago
orignal
43d880752e
Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl
8 months ago
orignal
d4246edb82
don't fail last tunnel
8 months ago
Vort
fd4513ebb2
show bandwidth caps for hops
8 months ago
Vort
5415598f60
add zero check to congestion level calculations
8 months ago
orignal
7d73c304b5
Extend transit tunnels limit to 4 bytes. Bump default value to 10K
8 months ago
orignal
d25206abce
encrypted tunnel test messages
8 months ago
orignal
36a060d50f
Consider 'M' routers as low bandwidth
8 months ago
Vort
d524105727
skip bandwidth updates in case of time going backwards
8 months ago
Vort
b092e712ec
make more attempts to select not bad hop
8 months ago
Vort
19e23b34da
add constants for congestion levels
8 months ago
orignal
f2b720617c
Merge pull request #2016 from Vort/medium_congestion2
...
implement medium congestion indication
8 months ago
Vort
d677d67676
implement medium congestion indication
8 months ago
orignal
7e3157b162
don't process packet in terminated stream
8 months ago
orignal
2b6a95cbee
don't check session for symmetric key tagset. re-create tags hash if too many used tags
8 months ago
orignal
900153765a
move router's tags cleanup to router's thread
8 months ago
orignal
441e847de8
don't try to decrypt dulpicate message
8 months ago
orignal
6439e227f6
consider test failed state as established. Delete failed tunnels sooner
8 months ago
orignal
def404b61a
skip failed and expiring tunnels for peer tests
8 months ago
orignal
d8be5b8ce1
fixed warning
8 months ago
orignal
dddbca6ffb
common rng for random shuffle
8 months ago
orignal
56619caa71
random shuffle of tunnels for peer test pairs
8 months ago
orignal
0e502c49b5
show correct tunnel status. restore tunnel if delivery status or data for inbound tunnel received
8 months ago
orignal
967627e58a
read correct reply length and handle reply codes
8 months ago
orignal
7691a5b4a9
use common SOCK5 code for reseed
8 months ago
orignal
158160f5c0
common code for SOCKS5 proxy connectivity
8 months ago
Vort
adba3987f8
logging fixes
8 months ago
orignal
36dbc15bca
keep SSU2 socket open even if failed to bind
8 months ago
orignal
d96803a290
always request through tunnels in case of restricted routes
8 months ago
orignal
592d6ae4f4
check log level before calculating base32 or base64 of ident
8 months ago
orignal
7dd9a7a0af
added CheckLogLevel
8 months ago
orignal
1b23aa2d7b
increase request timeout
8 months ago
orignal
f980277552
don't flood failed router
8 months ago
orignal
586695673b
correct log message for next netdb request
8 months ago
orignal
c158bbe90a
send frame when it exceeds 16K
8 months ago
orignal
c01fd3299f
handle drop of destination publish msg
9 months ago
orignal
f64b136f5a
remove prestium reseeds
9 months ago
orignal
37e67cbcaa
Merge pull request #2013 from WaxySteelWorm/openssl
...
reseed.stormycloud.org reseed added
9 months ago
orignal
be815804e6
expire transit tunnel is not sent further
9 months ago
orignal
ce35637866
handle drop of tunnel build message
9 months ago
StormyCloudInc
de2b0f6e09
Update Config.cpp
9 months ago
orignal
47578b69c6
handle drop of tunnel test message
9 months ago
orignal
8f28cee32f
drop earlier if delayed queue is semi-full
9 months ago
orignal
96cf6ca531
drop earlier if outgoing queue is semi-full
9 months ago
orignal
83cb3a1820
reduce router unreachable interval
9 months ago
orignal
ffdd5935e9
Handle drop of own RouterInfo publishing message
9 months ago
orignal
2e9f2d4a3b
Drop for LeaseSet request
9 months ago
orignal
0ca782ed71
drop unsent messages if session disconnects
9 months ago
orignal
e40b656ecf
Drop for tunnel and encrypted messages
9 months ago
orignal
85f5f5b91e
fixed potential deadlock
9 months ago
orignal
f008478505
handle I2NP messages drops
9 months ago
orignal
d926a31064
fixed warning
9 months ago
orignal
822cb35efe
limit send Ack timeout by Ack delay interval
9 months ago
Vort
81015a5228
log changes of network status
9 months ago
orignal
a3246cd9dc
doen't send Ack packet too often if missing packets
9 months ago
orignal
530c353b00
don't send Ack with NACK immediately but after 2 milliseconds
9 months ago
orignal
75c2cb751f
lock mutex before deleting RouterInfo's buffer
9 months ago
orignal
67c4d4bcaa
fixed VS build error
9 months ago
orignal
25e82105b2
Merge pull request #2010 from wekoq/udp-tunnels-dest
...
Add support for multiple udp server tunnels on one destionation
9 months ago
weko
4b167fdbaf
Update copyright year
9 months ago
weko
5b93558bd0
Add support for multiple udp server tunnels on one destionation
9 months ago
orignal
70639f1139
don't adjust clock if offsets came from same router
9 months ago
orignal
9f217f8a11
don't send expired I2NP messages
9 months ago
orignal
5e19e361e7
check max frame sizebefore sending
9 months ago
orignal
0b47f65b06
don't remove another NTCP2 session with same address
9 months ago
orignal
140146e433
limit mininal received packet size to 40 bytes
9 months ago
orignal
1e5604ed43
check if peer is connected before trying to connect
9 months ago
orignal
39e378a03d
check received data size
9 months ago
orignal
7cfcb12c7b
don't create peer for unreachable router
9 months ago
orignal
49f4dc53ad
try next floodfill for router request on demand
9 months ago
orignal
4afdca090d
support multiple RouterInfo request callbacks
9 months ago
orignal
d8f6c4a93d
correct encryption and path for follow on lookup request
9 months ago
Vort
34d75b08dd
handle 'reservedrange' param properly
9 months ago
orignal
ca9782dd0d
handle 'reservedrange' param properly
9 months ago
orignal
2ad26dd4c9
fixed race condition in ECIESx25519 tags table
9 months ago
orignal
828facab57
Merge pull request #2003 from rex4539/typos
...
Fix typos
9 months ago
orignal
a8135b8d18
2.50.2
10 months ago
orignal
5cf1961fa4
drop updated routers from future
10 months ago
Dimitris Apostolou
577c71b930
Fix typos
10 months ago
orignal
c5cab05a6b
reset peding time offset if correct time was received
10 months ago
orignal
b855c71891
don't adjust clock if time offsets are too different
10 months ago
orignal
21f41a2b2a
correct time offset direction
10 months ago
orignal
8319dd6b25
drop exploratory and leaseset lookups for non-floodfill router
10 months ago
orignal
d4c47d90cb
adjust time offset after second time discrepancy
10 months ago
orignal
302af823a3
fixed race condition with openssl 3.2.0
10 months ago
r4sas
816a58f292
2.50.1
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
10 months ago
orignal
43e130ee34
reinitialize context before each Sign/Verify call to make it working with openssl 3.2
10 months ago
orignal
0e98dd5c70
use fallback EdDSA implementation with openssl 3.2.0 due to regression in EVP_DigestSign ( #23075 )
10 months ago
orignal
9b82265cd8
2.50.0
10 months ago
orignal
c802c2deb0
update yggdrasil ressed address
11 months ago
orignal
c215f2e8d1
check router for null pointer
11 months ago
orignal
21259204b1
eliminate send buffer mutex completely
11 months ago
orignal
8d6eb5b6b2
don't lock mutex in AsyncSend
11 months ago
orignal
9632e7ba03
exclude NAT64 ipv6 addresses
11 months ago
orignal
083034fa35
send peer tests with random delays
11 months ago
orignal
a3f62e1d71
check actual distance with router to reduce expiration time
12 months ago
orignal
575268d360
reduce expiration time for low bandwidth and far routers
12 months ago
orignal
e1b4feb618
correct base64 check
12 months ago
orignal
3286bdb4a7
verify jump link for valid characters
12 months ago
orignal
d04b19d77c
don't recalculate badwidth if clock was adjusted too much
1 year ago
orignal
04adc14b76
ls@mail.i2p yggdrasil reseed added
1 year ago
orignal
0cc91dd2d2
don't pick too active peer
1 year ago
orignal
606e35eec1
reseed.us.prestium.org reseed added
1 year ago
orignal
e926b0392f
reseed.is.prestium.org reseed added
1 year ago
orignal
efdbe26755
try peer test again if Unknown
1 year ago
hfsfox
0cf656cd76
Add Haiku OS support ( #1970 )
1 year ago
r4sas
fb420bb563
[cpu] more builtin version check changes
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
3da5061426
[cpu] Increase GCC version for use of builtin CPU extensions checker
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
1857f14be8
[cpu] use short defines instead of long checks
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
df6bb6d9b8
2.49.0
1 year ago
orignal
918aa556ef
fixed non-x86 build
1 year ago
r4sas
4ed19c05f6
[cpu] split AES detect for GNU C < 5
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
4a5e16b994
[cpu] tests with preprocessor
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
c53ad2012c
[cpu] use cpuid on gcc < 5
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
R4SAS
7b6aa41ca8
CPU: remove AVX code, switch to __builtin for AES detection ( #1959 )
...
* [cpu] remove avx detect and code blocks, try to switch to __builtin
* [cpu] use __builtin_* only on x86 systems
* [cpu] perform check in separate function
* [cpu] set AES definition on MSVC
* update x86 and aes support checks at compile time
* [cmake] update comment about AES on MSVC
1 year ago
orignal
c112276eea
memory poll for RouterProfile
1 year ago
Chad Fraleigh
662a59d0fd
Eliminate additional undefined behavior of bit shifting signed int.
1 year ago
Chad Fraleigh
627b8dca83
Fixed buf offset EVP_EncryptFinal_ex() to include outlen.
1 year ago
orignal
7bcc905f05
exclude SSU1 introducers
1 year ago
orignal
8447822c35
don't publish intrducers with zero tag
1 year ago
Vort
9bac680f2a
improve transport session logging
1 year ago
orignal
38795a41cb
don't publish introducers with zero iTag
1 year ago
Vort
68f4961f1a
separate test status from network status
1 year ago
orignal
ae5239de43
remove introducer from RouterInfo after 60 minutes
1 year ago
orignal
2064504cce
fixed send keepalive for existing session
1 year ago
orignal
4aa631c33f
clear implied list if no more introducers found
1 year ago
orignal
d6834d6a9a
keep non-published, but not-expired introducers in the introducers list
1 year ago
orignal
413e25f20e
don't pick too old session for introducer
1 year ago
orignal
b8e19bf5f1
reduced peer test interval and added peer test interval variance
1 year ago
orignal
c7efd465fa
padding for path response
1 year ago
orignal
6e9a3422e9
correct min size for keepalive
1 year ago
Vort
f13cc0b862
allow 0 hops with explicitPeers
1 year ago
orignal
0754255c1f
drop incoming session from too old or from future routers
1 year ago
orignal
902899ae24
don't pick completely unreachable peers
1 year ago
orignal
c620fc1232
clear unreachable flag upon succesive connect
1 year ago
orignal
e7157cf15e
don't create paired inbound tunnel if length is different
1 year ago
orignal
8e63f8f333
consider all addresses non published for U and H routers
1 year ago
Vort
ea7cf1cf69
fix termination block processing and size check
1 year ago
orignal
17c4038c60
select router with ipv4 for endpoint
1 year ago
orignal
5022a9c610
Merge pull request #1948 from chadf/fuzzing-5
...
Use offset from Identity::signingKey instead of Identity::certificate for key.
1 year ago
orignal
ca8ec6286a
Merge pull request #1947 from chadf/fuzzing-4
...
Eliminate undefined behavior of bit shifting signed int.
1 year ago
orignal
5142459e12
Merge pull request #1945 from chadf/fuzzing-2
...
Fixed division by zero due to thread race condition.
1 year ago
Chad Fraleigh
c4be5f7fdb
Use offset from Identity::signingKey instead of Identity::certificate for key.
1 year ago
Chad Fraleigh
47dc5591b9
Eliminate undefined behavior of bit shifting signed int.
1 year ago
Chad Fraleigh
2bb48b4546
Fixed crash when Base64ToByteStream() is only given '=' characters.
1 year ago
Chad Fraleigh
638e9b4d7f
Fixed division by zero due to thread race condition.
1 year ago
orignal
13f263b791
correct transport comptibility for OBEP in second attempt
1 year ago
r4sas
03cc6e0524
use uint16_t for ports
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
52b2d6c393
2.48.0
1 year ago
orignal
bb52056aec
correct index for connected transport
1 year ago
r4sas
09f233dbfb
NetDB: ignore LeaseSet store request if not floodfill
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
dfe5df29e1
suppress build warnings on windows
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
86173400d5
don't drop profile of real router too early
1 year ago
r4sas
ae439b5385
SSU2: check if socket is opened before sending data, handle network_reset error
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
fdf38f45d9
more debug messages at destinations stop
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
c984f89dfb
don't handle unecnrypted DatabaseSearchReply msg if came throug client tunnel
1 year ago
weko
d44be2fd73
fix typo
1 year ago
weko
a158647153
refactor TBM hadling
1 year ago
orignal
623c3f4605
check for max number of records in tunnel build and tunnel build reply messages
1 year ago
orignal
8a52295882
make router real upon successive outgoing NTCP2 session. Eliminate static keys table
1 year ago
orignal
f2bc2598dc
Merge pull request #1925 from wekoq/openssl
...
Do not save useless peer profiles
1 year ago
weko
1d8a91c5cc
redo no save useless profiles
1 year ago
orignal
3bc56ba423
store 'connected' in 'usage' section
1 year ago
orignal
e068a3cf22
store 'connected' in 'usage' section
1 year ago
weko
2e2cbe7803
save profile if has connected
1 year ago
weko
1c1452e06b
Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl
1 year ago
orignal
c757b6d020
reset floodfill cap for unknown floodfills
1 year ago
weko
8fcab7b0c1
fix incorrect merge conflict resolve
1 year ago
weko
7646147ed2
save only non-default peer profile
1 year ago
orignal
b6de474fda
don't include unconfirmed floodfill to the list if we have enough floodfills already
1 year ago
orignal
2f74e670a5
invalidate routers with incorrect family signature
1 year ago
orignal
c1168c2aa0
don't catch RouterInfo at OBEP
1 year ago
orignal
1bd6390f78
check if s is x25519 public key
1 year ago