Commit graph

  • a703d31893 don't double initial RTO Vort 2024-03-19 10:48:42 +02:00
  • 4f8f3a386f restart stream resend timer after updating initial RTO Vort 2024-03-19 08:43:49 +02:00
  • 83f0b9c041 extract single RTT sample from stream ACK Vort 2024-03-19 08:28:34 +02:00
  • cf77be0eeb add lower limit for stream RTO Vort 2024-03-19 06:37:21 +02:00
  • b2aa34baa6 use C++17 for newer versions of clang for BSD orignal 2024-03-17 11:49:14 -04:00
  • 4def0b6ea5 use C++17 for newer versions of clang for BSD orignal 2024-03-17 11:46:02 -04:00
  • 25592a00b6 use C++17 for newer versions of clang for BSD orignal 2024-03-17 11:42:44 -04:00
  • edaf162f9c
    Merge pull request #2044 from Vort/stream_resend_rtt orignal 2024-03-16 15:12:24 -04:00
  • e7ff15c573 exclude resent stream packets from RTT calculations Vort 2024-03-16 19:29:47 +02:00
  • 161ff3579b don't delete new session with same router hash from sessions-by-hash table orignal 2024-03-15 20:12:47 -04:00
  • f2085ecc8d fixed warning orignal 2024-03-15 19:17:25 -04:00
  • 0c5dee69ba
    Merge pull request #2043 from Vort/rtt_tune orignal 2024-03-15 14:50:56 -04:00
  • d74033dd2b tune RTT calculations Vort 2024-03-15 09:06:33 +02:00
  • 5412e29ff5
    Merge pull request #2042 from Vort/ssu2_spikes orignal 2024-03-14 15:50:17 -04:00
  • 0236769134 lower SSU2 resend traffic spikes Vort 2024-03-14 16:34:40 +02:00
  • 530a078535 don't request temination if session was not established orignal 2024-03-13 13:56:10 -04:00
  • fbca27fe73
    Merge pull request #2041 from Vort/i2np_typo orignal 2024-03-13 12:26:48 -04:00
  • 08cc256c54 fix typo in message expiration check Vort 2024-03-13 16:41:01 +02:00
  • 6432963294
    Merge pull request #2037 from vovasty/fs_ios_simulator_fix orignal 2024-03-11 14:55:16 -04:00
  • 59beb5e4e4 fix TARGET_OS_SIMULATOR check Vlad Solomenchuk 2024-03-11 11:29:41 -07:00
  • 217aa0c882 fixed #2038. don't add comma for missing param orignal 2024-03-11 11:11:38 -04:00
  • e889dc1508
    Merge pull request #2039 from Vort/ssu2_expiration orignal 2024-03-11 07:59:59 -04:00
  • 0141489d34
    Merge pull request #2040 from PurpleI2P/openssl orignal 2024-03-11 07:59:32 -04:00
  • 2d06c0cbe6 add expiration for messages in SSU2 send queue Vort 2024-03-09 19:05:02 +02:00
  • 51446f0324 fix FS::HashedStorage::Init exceptions in ios simulator. Vlad Solomenchuk 2024-03-08 10:23:51 -08:00
  • 66d0b7aec4 correct publication verification for encrypted LeaseSet orignal 2024-03-07 10:25:10 -05:00
  • 92b49fb969 clear excluded floodfills after successive publishing orignal 2024-03-06 21:01:17 -05:00
  • 17dd5c1285 publish encrypted leaset on floodfill closest to store hash orignal 2024-03-06 18:36:01 -05:00
  • ce97ec1534
    Merge pull request #2036 from Vort/stream_ewma2 orignal 2024-03-06 08:13:19 -05:00
  • 3ceb64db2e 1. Use EWMA for stream RTT estimation; Vort 2024-03-06 14:54:02 +02:00
  • bb702700f7 don't check session for single tag orignal 2024-03-06 07:17:59 -05:00
  • ff3fec9a00 remove tag immediately after use orignal 2024-03-05 10:30:01 -05:00
  • 3873e60cbb try to send database store reply directly to IBGW orignal 2024-03-04 14:30:49 -05:00
  • 2dbf094433 try to send lookup reply directly to IBGW orignal 2024-03-04 13:34:57 -05:00
  • e85e96bc35
    Merge pull request #2035 from Vort/high_latency_fix orignal 2024-03-04 06:56:38 -05:00
  • 98543af92b fix high latency threshold Vort 2024-03-04 13:41:50 +02:00
  • af0d853ccd some cleanup orignal 2024-03-03 10:28:25 -05:00
  • 20a5e19ea1 don't request banned router orignal 2024-03-03 09:56:11 -05:00
  • f1058410fb don't request banned router orignal 2024-03-03 07:42:39 -05:00
  • 6ba42a0912 check if established peer test session has the same address type orignal 2024-03-02 18:17:56 -05:00
  • 1292ec67c0 check if remote router supports peer test orignal 2024-03-02 18:02:55 -05:00
  • 2f2f14e3a7 try publishing again after 5 seconds if no tunnels in the pool orignal 2024-03-02 11:26:41 -05:00
  • edd9dd2c39 try to publish again after 5 seconds if destination is not ready orignal 2024-03-02 10:57:01 -05:00
  • f8722f17c6 pick peer test session only if Charlie's address supports peer testing orignal 2024-03-01 21:59:52 -05:00
  • 38cc01e13d check own peer test cap for peer test msg 2 orignal 2024-03-01 14:33:11 -05:00
  • 6ca266ff3b reject peer test msg 2 if peer testing is not supported orignal 2024-03-01 14:03:13 -05:00
  • b9773c88e4 don't set test failed state to expiring tunnels orignal 2024-03-01 12:45:21 -05:00
  • 3311fe62bb fixed potential race condition with tunnel tests orignal 2024-03-01 08:03:40 -05:00
  • a284c85153
    Merge pull request #2033 from Vort/ssu2_dynamic_buffer orignal 2024-02-29 09:32:50 -05:00
  • e5f75eb61c log would_block error at info level Vort 2024-02-29 16:12:51 +02:00
  • 89f9bec49a derive SSU2 socket buffer size from bandwidth limit Vort 2024-02-29 16:02:43 +02:00
  • dbc3952654
    Merge pull request #2031 from Vort/buf_size_log orignal 2024-02-29 07:28:14 -05:00
  • f3c052ed0c write SSU2 socket buffer sizes to log Vort 2024-02-29 10:27:52 +02:00
  • 692f495adc
    Merge pull request #2030 from Vort/non_block orignal 2024-02-28 11:58:19 -05:00
  • aa1de7fe94 enable non-blocking mode for UDP sockets Vort 2024-02-28 18:55:28 +02:00
  • ca45fe73e9 never delete conneted router from netdb orignal 2024-02-27 16:10:17 -05:00
  • a8af683643 renamed steady to monotonic orignal 2024-02-27 12:33:07 -05:00
  • b86c83a068 encrypt tunnel tests for ElGamal-only destinations orignal 2024-02-27 11:47:32 -05:00
  • 6656ef3c8d correct clock for non-encrypted tunnel tests orignal 2024-02-27 09:02:26 -05:00
  • 6898d04a1d send tunnel test mesaage only if encrypted orignal 2024-02-27 08:30:31 -05:00
  • 3215125950
    Merge pull request #2029 from Vort/tunnel_test_msg orignal 2024-02-27 08:03:27 -05:00
  • 612f51ba7f
    Merge pull request #2028 from PurpleI2P/openssl orignal 2024-02-27 07:59:43 -05:00
  • 3d03732555 add tunnel test message Vort 2024-02-27 10:15:15 +02:00
  • d6d440ba8a allow 0ms latency for tunnel Vort 2024-02-25 22:57:57 +02:00
  • 821a76a7c5 flush IBGW if tunnel build request OBEP is on the same router orignal 2024-02-25 09:15:08 -05:00
  • 34154596f2
    [gha] build only when related to app and runner itself files are changed, disable temporary msvc r4sas 2024-02-24 23:35:56 +00:00
  • a1dce017f4 allow tunnel endpoint to send tunnel build reply to itself orignal 2024-02-24 11:40:43 -05:00
  • 78af34237e reduce session termination timeout orignal 2024-02-23 19:22:49 -05:00
  • 8874ea8033 fixed typo orignal 2024-02-23 18:06:31 -05:00
  • 6bd1ee36f7 fixed typo orignal 2024-02-23 16:09:32 -05:00
  • f07c4bd1dd drop transit tunnel if next ident is ours orignal 2024-02-23 15:24:52 -05:00
  • 8524a67895 fail last tunnel if tunnel quantity is 1 orignal 2024-02-23 12:32:21 -05:00
  • 43d880752e Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl orignal 2024-02-23 11:37:52 -05:00
  • d4246edb82 don't fail last tunnel orignal 2024-02-23 11:37:09 -05:00
  • fd4513ebb2 show bandwidth caps for hops Vort 2024-02-22 23:07:07 +02:00
  • ee8449fa05
    Merge pull request #2024 from Vort/congestion_zero_check orignal 2024-02-22 14:54:47 -05:00
  • 5415598f60 add zero check to congestion level calculations Vort 2024-02-22 21:50:05 +02:00
  • 7d73c304b5 Extend transit tunnels limit to 4 bytes. Bump default value to 10K orignal 2024-02-22 14:22:11 -05:00
  • d25206abce encrypted tunnel test messages orignal 2024-02-21 19:46:29 -05:00
  • 5d7c6fb0b3
    [gha] msvc: copy openssl libraries to fix build r4sas 2024-02-21 22:31:20 +03:00
  • 36a060d50f Consider 'M' routers as low bandwidth orignal 2024-02-21 12:37:33 -05:00
  • 577ed56af0 store HTTP and SOCKS proxy as pointer to I2PService orignal 2024-02-20 18:51:37 -05:00
  • 695dc96a83 common ServiceAcceptor for all stream protocols orignal 2024-02-20 18:32:51 -05:00
  • e5251bf3c3
    Merge pull request #2022 from Vort/bw_time_jumps3 orignal 2024-02-20 17:44:42 -05:00
  • 2692aef53d
    [gha] update windows msvc action R4SAS 2024-02-21 01:36:32 +03:00
  • d524105727 skip bandwidth updates in case of time going backwards Vort 2024-02-20 22:48:45 +02:00
  • 26463c50fc
    Merge pull request #2020 from Vort/select_next_hop2 orignal 2024-02-20 12:22:36 -05:00
  • b092e712ec make more attempts to select not bad hop Vort 2024-02-20 17:39:48 +02:00
  • cb8fbb0135
    Merge pull request #2018 from Vort/congestion_consts orignal 2024-02-20 07:30:16 -05:00
  • 19e23b34da add constants for congestion levels Vort 2024-02-20 10:30:05 +02:00
  • a4a3f8e96b support upstream proxy through local sockets orignal 2024-02-19 22:04:43 -05:00
  • f2b720617c
    Merge pull request #2016 from Vort/medium_congestion2 orignal 2024-02-19 19:13:12 -05:00
  • d677d67676 implement medium congestion indication Vort 2024-02-18 22:54:43 +02:00
  • 7e3157b162 don't process packet in terminated stream orignal 2024-02-18 21:28:06 -05:00
  • 2b6a95cbee don't check session for symmetric key tagset. re-create tags hash if too many used tags orignal 2024-02-16 21:30:40 -05:00
  • 900153765a move router's tags cleanup to router's thread orignal 2024-02-16 18:56:04 -05:00
  • 441e847de8 don't try to decrypt dulpicate message orignal 2024-02-16 14:49:12 -05:00
  • 6439e227f6 consider test failed state as established. Delete failed tunnels sooner orignal 2024-02-15 19:29:33 -05:00
  • def404b61a skip failed and expiring tunnels for peer tests orignal 2024-02-14 22:19:07 -05:00
  • d8be5b8ce1 fixed warning orignal 2024-02-14 21:58:03 -05:00