Commit graph

  • 4c66608caf random tunnel reject when medium congestion orignal 2024-10-27 21:58:19 -04:00
  • ec4fe9a1e6 set congesion cap G if symmetric NAT and ipv4 in only transport orignal 2024-10-27 18:17:28 -04:00
  • 79e8ccbb5b don't handle PeerTest 1 with same nonce twice orignal 2024-10-27 12:24:22 -04:00
  • 608056dcd2 don't handle RelayRequest and RelayIntro with same nonce twice orignal 2024-10-27 11:55:10 -04:00
  • 7461b640e3 reduce CPU usage orignal 2024-10-26 19:26:25 -04:00
  • 743126b2ad better hole punch expiration intervals orignal 2024-10-26 19:05:08 -04:00
  • f611136ea7 resend relay reponnse if remote router >= 0.9.64 orignal 2024-10-26 15:30:48 -04:00
  • 87ae9c4b74 call main thread as i2pd-daemon orignal 2024-10-25 18:40:51 -04:00
  • d3630fb2b2 assign name to main thread orignal 2024-10-25 13:25:33 -04:00
  • 500afe745f use min hole punch interval for connection attempts orignal 2024-10-24 18:49:11 -04:00
  • 26901e2945 try recently connected SSU2 address if no other transports found orignal 2024-10-23 20:39:00 -04:00
  • 64bde69967
    Merge pull request #2108 from SystemFailureNet/openssl orignal 2024-10-21 21:38:50 -04:00
  • ddf30784ec connected recently mutex orignal 2024-10-21 21:22:16 -04:00
  • ea14b00d63 save router's endpoint to profile and try to use it next time without requesting introducers orignal 2024-10-21 20:58:09 -04:00
  • a24e0eb2dc don't delete unreachable routers if no transports orignal 2024-10-20 16:12:35 -04:00
  • 0cb677a2c0 don't send peer test msg 6 if remote endpoint is unknown orignal 2024-10-19 09:18:31 -04:00
  • e6cbc842bf request new leaseset if all leases are about to expire orignal 2024-10-19 08:45:25 -04:00
  • f087654f25 fixed warnings orignal 2024-10-18 20:02:41 -04:00
  • 10335b90c5 fixed warnings orignal 2024-10-18 19:57:35 -04:00
  • 8a234f70e6 send a packet to new remote lease in advance if current is about to expire orignal 2024-10-18 15:59:37 -04:00
  • f98a310235 Revert LibreSSL workaround when LibreSSL version >= 4.0.0 SystemFailure 2024-10-18 13:17:47 +00:00
  • 1419745a5d recognize symmetric NAT from peer test msg 7 orignal 2024-10-17 21:09:37 -04:00
  • 890fe77b10 update leaseset in destination's thread orignal 2024-10-17 18:15:33 -04:00
  • bc9d25ec3b ability post LeaseSet update to destination's thread orignal 2024-10-17 16:20:27 -04:00
  • fe71776b6f update LeaseSet if inbound tunnel was restored orignal 2024-10-17 15:44:26 -04:00
  • 0213f058d1 Send peer test msg 6 with delay if msg 4 was received before msg 5 orignal 2024-10-16 21:19:30 -04:00
  • 0ccf0a6339 use pointer to RouterInfo in SaveUpdated orignal 2024-10-16 17:57:52 -04:00
  • e26682f4cb don't try to save invalid router orignal 2024-10-16 15:05:29 -04:00
  • 8981e406f5 don't delete RouterInfo's buffer right a way orignal 2024-10-16 13:51:48 -04:00
  • 50d9252ba9 resend HolePunch 3 times or until SessionRequest received orignal 2024-10-16 13:10:21 -04:00
  • 4f73f60e51 don't create relay response block twice orignal 2024-10-16 12:07:13 -04:00
  • d69e957213 rollback orignal 2024-10-16 09:04:35 -04:00
  • 97fdedfbe3 implement SSU2HolPunchSession orignal 2024-10-16 08:28:25 -04:00
  • ec1f41b13c insert multiple packets to the queue using splice orignal 2024-10-15 15:05:18 -04:00
  • 7104d334fd Do not increase the window size if the speed limit is reached when it is limited orignal 2024-10-14 22:29:55 -04:00
  • 4e581af3ba plain list of received packets in queue orignal 2024-10-14 21:21:07 -04:00
  • 48f7131a7d received packets queue orignal 2024-10-14 18:55:41 -04:00
  • fbd07a5276 SSU2Session/SSU2OutOfSession split orignal 2024-10-13 19:53:40 -04:00
  • 8210911bc5 use std::list and splice fr msg queue orignal 2024-10-12 17:51:26 -04:00
  • 4a5406b803 lock queue's mutex less often orignal 2024-10-11 13:41:37 -04:00
  • ab02f722af print non-resolved address to log orignal 2024-10-11 11:27:36 -04:00
  • c86e0ec371 lock queue's mutex less often orignal 2024-10-10 20:43:06 -04:00
  • ac4c58bbe9 reload cerificate again after re-creation attempt orignal 2024-10-10 15:46:22 -04:00
  • 23bac4a403 recreate certificate if invalid orignal 2024-10-09 21:40:26 -04:00
  • 2321a897f5 rollback orignal 2024-10-09 08:48:24 -04:00
  • 88a5f8b125 use EVP_PKEY for signing orignal 2024-10-08 18:44:46 -04:00
  • 78847306e9 use EVP_PKEY for family signature verification orignal 2024-10-08 13:44:25 -04:00
  • ecc635e9bc
    Merge pull request #2105 from PurpleI2P/openssl orignal 2024-10-08 10:01:35 -04:00
  • 1a6109109a don't sample too small list of eligible introducers orignal 2024-10-06 20:57:35 -04:00
  • 905c6debf2
    [win32] use boost filesystem for gcc builds 2.54.0 r4sas 2024-10-06 20:03:22 +03:00
  • d7c4d0ff3e
    [gha] xp build again r4sas 2024-10-06 16:36:52 +03:00
  • da3e83138a Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl orignal 2024-10-06 07:43:57 -04:00
  • c6eba73653 Merge branch 'master' of https://github.com/PurpleI2P/i2pd into openssl orignal 2024-10-06 07:43:45 -04:00
  • 0d224dfc54 2.54.0 orignal 2024-10-06 07:42:59 -04:00
  • dc48fb0180
    [rpm] try to fix Fedora ELN build r4sas 2024-10-06 14:36:02 +03:00
  • cc05f9c5d9 2.54.0 orignal 2024-10-06 07:34:18 -04:00
  • e4c8cc300d
    [gha] disable winxp build (it is broken in MSYS2) r4sas 2024-10-06 14:28:33 +03:00
  • 0710f62948 fixed potential race condition orignal 2024-10-04 20:44:58 -04:00
  • 58245bf121 temporary disable RelayRespond resend from Bob because it might be not acked orignal 2024-10-04 14:06:02 -04:00
  • 4436c49ccc temporary disable RelayResponse resend through introducer session orignal 2024-10-04 11:30:56 -04:00
  • bce9630ff8 try to create new sessions with introducers if existing are about to expire orignal 2024-10-04 08:26:32 -04:00
  • 7f3a04a72f select random introducer session. don't update creation time orignal 2024-10-03 18:44:09 -04:00
  • 34f1ba5bd9 don't send invalid local address in RelayRequest orignal 2024-10-02 12:45:12 -04:00
  • dc4cd34893 handle immediate ack requsted flag in data message. set it in keep-alive orignal 2024-10-02 08:45:44 -04:00
  • 1fb45c4b0d don't send HolePunch or PeerTest 5 to unspecified address orignal 2024-10-02 08:27:49 -04:00
  • 514be6d048 introducer expiration time variance orignal 2024-10-01 21:26:54 -04:00
  • 8c292727da introducer duration variance orignal 2024-10-01 20:35:46 -04:00
  • d5c40bb6be send keep-alive for newly selected introducer session orignal 2024-10-01 18:21:07 -04:00
  • eed48c43fd don't change Firewalled status to Unknown if peer test error orignal 2024-10-01 15:29:48 -04:00
  • 600f36539f don't change ConnIDs of just introduced session. Let Charlie recognize SessionRequest orignal 2024-09-30 22:38:42 -04:00
  • e1e530b4a9 never send Ack to HolePunch and PeerTest messages orignal 2024-09-30 18:27:13 -04:00
  • 98e93468a6 send ack to relay messages orignal 2024-09-30 18:12:42 -04:00
  • 0f5e8d8424 don't print warning if duplicated nonce or peer test orignal 2024-09-30 14:54:20 -04:00
  • d521350588 resend relay response orignal 2024-09-29 22:15:03 -04:00
  • 237d9474d8 fixed incomplete response orignal 2024-09-29 21:43:47 -04:00
  • 5466983b36 resend relay messages orignal 2024-09-29 20:57:18 -04:00
  • ba41f7107d resend peer test responses orignal 2024-09-29 18:17:49 -04:00
  • c2234599cd exclude boost_system from linking because it's headers only now orignal 2024-09-29 17:11:54 -04:00
  • 6ebb019e15 resend peer test msgs 5 and 6 orignal 2024-09-29 15:02:18 -04:00
  • 15cd4feade move Bob's peer tests from SSU2 session to server orignal 2024-09-28 22:05:25 -04:00
  • abbe1fea64 fixed clang build error orignal 2024-09-28 16:20:59 -04:00
  • 62b811c2c1 use memory pool for SSU2 received packets arrays orignal 2024-09-28 09:49:45 -04:00
  • 64e4b3871a update introducer's iTag is session to introducer was replaced to new one orignal 2024-09-27 13:32:20 -04:00
  • c3a1631319 use weak_ptr for Bob's peer tests and relay tags orignal 2024-09-26 18:38:17 -04:00
  • a06cce0aaf eliminate extra copy of vector of SSU2 packets orignal 2024-09-26 15:54:29 -04:00
  • 75b1c144b4 drop too short follow on SSU2 packets orignal 2024-09-26 08:48:17 -04:00
  • 32ad4b4858 fixed possible race conditions with m_SessionsByRouterHash orignal 2024-09-25 14:34:52 -04:00
  • 17399da399 Added example docker-compose.yml imdef 2024-09-25 16:55:29 +00:00
  • 98669eff4f delete session by hash from table if expired or terminated orignal 2024-09-25 11:13:01 -04:00
  • 67763248cc add peer test session endpoint to connected recently after msg 6 and 7 orignal 2024-09-24 22:06:44 -04:00
  • 262a803d10 make sure we are done with session before remving it orignal 2024-09-24 20:57:04 -04:00
  • 0912de5b77 don't connect peer test session. Use weak_ptr for seesions by hash orignal 2024-09-24 20:03:15 -04:00
  • edb2ba7107 set address when peer test msg 4 received orignal 2024-09-24 15:20:10 -04:00
  • 74f0330730 moved SendPeerTest for msgs 5,6,7 to SSU2PeerTestSession orignal 2024-09-24 14:37:27 -04:00
  • 5cd0248494 set router status to uknown if peer test msg 5 came from recently connected peer orignal 2024-09-23 20:24:33 -04:00
  • 816771dd00 fixed build for gcc 8-9 orignal 2024-09-23 18:18:26 -04:00
  • 189d7179c0 check if msg 5 was received instead state orignal 2024-09-23 15:34:14 -04:00
  • 2dfc9003a7 separate and move own peer test to SSU2Server orignal 2024-09-23 14:16:24 -04:00
  • 9968afc038 check senduseragent for outproxy. Update User-Agent for clearnet orignal 2024-09-22 21:27:09 -04:00
  • 5073c9637e implement httpproxy.senduseragent orignal 2024-09-22 21:07:44 -04:00