Commit graph

  • 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
  • 2c594dc67a moved peer test 5-7 to SSU2PeerTestSession orignal 2024-09-22 20:25:41 -04:00
  • 11bca5c3cd don't initialize Noise state for peer test sessions orignal 2024-09-22 18:02:12 -04:00
  • 9d1e526812 separate SSU2PeerTestSession for peer tests msgs 5,6 and 7 orignal 2024-09-22 17:22:08 -04:00
  • 018fa0ec00 added i2p.streaming.maxOutboundSpeed, i2p.streaming.maxInboundSpeed and i2p.streaming.profile to HTTP and SOCKS proxy configs orignal 2024-09-21 19:48:45 -04:00
  • f733f0a636 added i2p.streaming.maxOutboundSpeed, i2p.streaming.maxInboundSpeed and i2p.streaming.profile to HTTP and SOCKS proxy configs orignal 2024-09-21 19:04:03 -04:00
  • fd2b15fe81 don't drop too old router if low uptime orignal 2024-09-21 17:58:14 -04:00
  • c8958d71a2 pick routers with any bandwidth if limited connectivity orignal 2024-09-21 12:59:11 -04:00
  • e4962b855f pick first hop based on pool's bandwidth requirements orignal 2024-09-20 10:34:55 -04:00
  • 9f30499984 implement i2p.streaming.profile to specify high or low bandwidth tunnel pools orignal 2024-09-19 21:16:16 -04:00
  • 5324197e43 don't change router status if peer test came from recent endpoint orignal 2024-09-19 15:27:04 -04:00
  • 715e063550 set boost flags before finding orignal 2024-09-19 08:02:37 -04:00
  • 7ef1fdf634 exclude false position OK peer test if comes from recently connected endpoint orignal 2024-09-18 18:48:18 -04:00
  • db19c32381 require minimal boost 1.83 for c++20 orignal 2024-09-18 15:42:30 -04:00
  • ac1c28cb39 don't send ack in case of lost packet and incoming speed limitation orignal 2024-09-18 15:19:18 -04:00
  • 2fa4237acd renew connected receintly timestamp, add endpoint to the list if hole punch is being sent orignal 2024-09-18 14:35:59 -04:00
  • ae26758170 allocate RouterInfo's buffer from pool orignal 2024-09-18 08:40:22 -04:00
  • a723405fb0 check max RouterInfo size orignal 2024-09-18 08:38:29 -04:00
  • f20391d460 check if we connected recently to an endpoint before sending peer test orignal 2024-09-17 21:49:23 -04:00
  • ca4db7aab2 handle siuatuion if only one lease in remote LeaseSet orignal 2024-09-17 20:56:00 -04:00