orignal
|
e26682f4cb
|
don't try to save invalid router
|
2024-10-16 15:05:29 -04:00 |
|
orignal
|
8981e406f5
|
don't delete RouterInfo's buffer right a way
|
2024-10-16 13:51:48 -04:00 |
|
orignal
|
50d9252ba9
|
resend HolePunch 3 times or until SessionRequest received
|
2024-10-16 13:10:21 -04:00 |
|
orignal
|
4f73f60e51
|
don't create relay response block twice
|
2024-10-16 12:07:13 -04:00 |
|
orignal
|
d69e957213
|
rollback
|
2024-10-16 09:04:35 -04:00 |
|
orignal
|
97fdedfbe3
|
implement SSU2HolPunchSession
|
2024-10-16 08:28:25 -04:00 |
|
orignal
|
ec1f41b13c
|
insert multiple packets to the queue using splice
|
2024-10-15 15:05:18 -04:00 |
|
orignal
|
7104d334fd
|
Do not increase the window size if the speed limit is reached when it is limited
|
2024-10-14 22:29:55 -04:00 |
|
orignal
|
4e581af3ba
|
plain list of received packets in queue
|
2024-10-14 21:21:07 -04:00 |
|
orignal
|
48f7131a7d
|
received packets queue
|
2024-10-14 18:55:41 -04:00 |
|
orignal
|
fbd07a5276
|
SSU2Session/SSU2OutOfSession split
|
2024-10-13 19:53:40 -04:00 |
|
orignal
|
8210911bc5
|
use std::list and splice fr msg queue
|
2024-10-12 17:51:26 -04:00 |
|
orignal
|
4a5406b803
|
lock queue's mutex less often
|
2024-10-11 13:41:37 -04:00 |
|
orignal
|
c86e0ec371
|
lock queue's mutex less often
|
2024-10-10 20:43:06 -04:00 |
|
orignal
|
2321a897f5
|
rollback
|
2024-10-09 08:48:24 -04:00 |
|
orignal
|
88a5f8b125
|
use EVP_PKEY for signing
|
2024-10-08 18:44:46 -04:00 |
|
orignal
|
78847306e9
|
use EVP_PKEY for family signature verification
|
2024-10-08 13:44:25 -04:00 |
|
orignal
|
1a6109109a
|
don't sample too small list of eligible introducers
|
2024-10-06 20:57:35 -04:00 |
|
|
905c6debf2
|
[win32] use boost filesystem for gcc builds
Signed-off-by: r4sas <r4sas@i2pmail.org>
|
2024-10-06 20:25:55 +03:00 |
|
orignal
|
cc05f9c5d9
|
2.54.0
|
2024-10-06 07:34:18 -04:00 |
|
orignal
|
0710f62948
|
fixed potential race condition
|
2024-10-04 20:44:58 -04:00 |
|
orignal
|
58245bf121
|
temporary disable RelayRespond resend from Bob because it might be not acked
|
2024-10-04 14:06:02 -04:00 |
|
orignal
|
4436c49ccc
|
temporary disable RelayResponse resend through introducer session
|
2024-10-04 11:30:56 -04:00 |
|
orignal
|
bce9630ff8
|
try to create new sessions with introducers if existing are about to expire
|
2024-10-04 08:26:32 -04:00 |
|
orignal
|
7f3a04a72f
|
select random introducer session. don't update creation time
|
2024-10-03 18:44:09 -04:00 |
|
orignal
|
34f1ba5bd9
|
don't send invalid local address in RelayRequest
|
2024-10-02 12:45:12 -04:00 |
|
orignal
|
dc4cd34893
|
handle immediate ack requsted flag in data message. set it in keep-alive
|
2024-10-02 08:45:44 -04:00 |
|
orignal
|
1fb45c4b0d
|
don't send HolePunch or PeerTest 5 to unspecified address
|
2024-10-02 08:27:49 -04:00 |
|
orignal
|
514be6d048
|
introducer expiration time variance
|
2024-10-01 21:26:54 -04:00 |
|
orignal
|
8c292727da
|
introducer duration variance
|
2024-10-01 20:35:46 -04:00 |
|
orignal
|
d5c40bb6be
|
send keep-alive for newly selected introducer session
|
2024-10-01 18:21:07 -04:00 |
|
orignal
|
eed48c43fd
|
don't change Firewalled status to Unknown if peer test error
|
2024-10-01 15:29:48 -04:00 |
|
orignal
|
600f36539f
|
don't change ConnIDs of just introduced session. Let Charlie recognize SessionRequest
|
2024-09-30 22:38:42 -04:00 |
|
orignal
|
e1e530b4a9
|
never send Ack to HolePunch and PeerTest messages
|
2024-09-30 18:27:13 -04:00 |
|
orignal
|
98e93468a6
|
send ack to relay messages
|
2024-09-30 18:12:42 -04:00 |
|
orignal
|
0f5e8d8424
|
don't print warning if duplicated nonce or peer test
|
2024-09-30 14:54:20 -04:00 |
|
orignal
|
d521350588
|
resend relay response
|
2024-09-29 22:15:03 -04:00 |
|
orignal
|
5466983b36
|
resend relay messages
|
2024-09-29 20:57:18 -04:00 |
|
orignal
|
ba41f7107d
|
resend peer test responses
|
2024-09-29 18:17:49 -04:00 |
|
orignal
|
6ebb019e15
|
resend peer test msgs 5 and 6
|
2024-09-29 15:02:18 -04:00 |
|
orignal
|
15cd4feade
|
move Bob's peer tests from SSU2 session to server
|
2024-09-28 22:05:25 -04:00 |
|
orignal
|
abbe1fea64
|
fixed clang build error
|
2024-09-28 16:20:59 -04:00 |
|
orignal
|
62b811c2c1
|
use memory pool for SSU2 received packets arrays
|
2024-09-28 09:49:45 -04:00 |
|
orignal
|
64e4b3871a
|
update introducer's iTag is session to introducer was replaced to new one
|
2024-09-27 13:32:20 -04:00 |
|
orignal
|
c3a1631319
|
use weak_ptr for Bob's peer tests and relay tags
|
2024-09-26 18:38:17 -04:00 |
|
orignal
|
a06cce0aaf
|
eliminate extra copy of vector of SSU2 packets
|
2024-09-26 15:54:29 -04:00 |
|
orignal
|
75b1c144b4
|
drop too short follow on SSU2 packets
|
2024-09-26 08:48:17 -04:00 |
|
orignal
|
32ad4b4858
|
fixed possible race conditions with m_SessionsByRouterHash
|
2024-09-25 14:34:52 -04:00 |
|
orignal
|
98669eff4f
|
delete session by hash from table if expired or terminated
|
2024-09-25 11:13:01 -04:00 |
|
orignal
|
67763248cc
|
add peer test session endpoint to connected recently after msg 6 and 7
|
2024-09-24 22:06:44 -04:00 |
|
orignal
|
262a803d10
|
make sure we are done with session before remving it
|
2024-09-24 20:57:04 -04:00 |
|
orignal
|
0912de5b77
|
don't connect peer test session. Use weak_ptr for seesions by hash
|
2024-09-24 20:03:15 -04:00 |
|
orignal
|
edb2ba7107
|
set address when peer test msg 4 received
|
2024-09-24 15:20:10 -04:00 |
|
orignal
|
74f0330730
|
moved SendPeerTest for msgs 5,6,7 to SSU2PeerTestSession
|
2024-09-24 14:37:27 -04:00 |
|
orignal
|
5cd0248494
|
set router status to uknown if peer test msg 5 came from recently connected peer
|
2024-09-23 20:24:33 -04:00 |
|
orignal
|
189d7179c0
|
check if msg 5 was received instead state
|
2024-09-23 15:34:14 -04:00 |
|
orignal
|
2dfc9003a7
|
separate and move own peer test to SSU2Server
|
2024-09-23 14:16:24 -04:00 |
|
orignal
|
5073c9637e
|
implement httpproxy.senduseragent
|
2024-09-22 21:07:44 -04:00 |
|
orignal
|
2c594dc67a
|
moved peer test 5-7 to SSU2PeerTestSession
|
2024-09-22 20:25:41 -04:00 |
|
orignal
|
11bca5c3cd
|
don't initialize Noise state for peer test sessions
|
2024-09-22 18:02:12 -04:00 |
|
orignal
|
9d1e526812
|
separate SSU2PeerTestSession for peer tests msgs 5,6 and 7
|
2024-09-22 17:22:08 -04:00 |
|
orignal
|
018fa0ec00
|
added i2p.streaming.maxOutboundSpeed, i2p.streaming.maxInboundSpeed and i2p.streaming.profile to HTTP and SOCKS proxy configs
|
2024-09-21 19:48:45 -04:00 |
|
orignal
|
f733f0a636
|
added i2p.streaming.maxOutboundSpeed, i2p.streaming.maxInboundSpeed and i2p.streaming.profile to HTTP and SOCKS proxy configs
|
2024-09-21 19:04:03 -04:00 |
|
orignal
|
fd2b15fe81
|
don't drop too old router if low uptime
|
2024-09-21 17:58:14 -04:00 |
|
orignal
|
c8958d71a2
|
pick routers with any bandwidth if limited connectivity
|
2024-09-21 12:59:11 -04:00 |
|
orignal
|
e4962b855f
|
pick first hop based on pool's bandwidth requirements
|
2024-09-20 10:34:55 -04:00 |
|
orignal
|
9f30499984
|
implement i2p.streaming.profile to specify high or low bandwidth tunnel pools
|
2024-09-19 21:16:16 -04:00 |
|
orignal
|
5324197e43
|
don't change router status if peer test came from recent endpoint
|
2024-09-19 15:27:04 -04:00 |
|
orignal
|
7ef1fdf634
|
exclude false position OK peer test if comes from recently connected endpoint
|
2024-09-18 18:48:18 -04:00 |
|
orignal
|
ac1c28cb39
|
don't send ack in case of lost packet and incoming speed limitation
|
2024-09-18 15:19:18 -04:00 |
|
orignal
|
2fa4237acd
|
renew connected receintly timestamp, add endpoint to the list if hole punch is being sent
|
2024-09-18 14:35:59 -04:00 |
|
orignal
|
ae26758170
|
allocate RouterInfo's buffer from pool
|
2024-09-18 08:40:22 -04:00 |
|
orignal
|
a723405fb0
|
check max RouterInfo size
|
2024-09-18 08:38:29 -04:00 |
|
orignal
|
f20391d460
|
check if we connected recently to an endpoint before sending peer test
|
2024-09-17 21:49:23 -04:00 |
|
orignal
|
ca4db7aab2
|
handle siuatuion if only one lease in remote LeaseSet
|
2024-09-17 20:56:00 -04:00 |
|
orignal
|
13b2fc3266
|
drop window size only when lease changes
|
2024-09-16 19:09:18 -04:00 |
|
orignal
|
d4c1a1c0bb
|
cleanup streaming destination's pools
|
2024-09-16 13:39:11 -04:00 |
|
orignal
|
d5aca85a35
|
don't try to generate more ECIES-X25519-AEAD-Ratchet tags if decryption failed
|
2024-09-12 21:03:46 -04:00 |
|
orignal
|
17d0e59d02
|
fixed warning
|
2024-09-12 20:30:26 -04:00 |
|
orignal
|
ebec4d8a5e
|
set default i2cp.leaseSetEncType to 0,4 and to 4 for server tunnels
|
2024-09-12 18:56:23 -04:00 |
|
orignal
|
cb0801fc16
|
reduce number of retransmits
|
2024-09-11 20:54:22 -04:00 |
|
orignal
|
78ec5b2c6e
|
faster RTT recalculation if bad sample
|
2024-09-11 11:24:51 -04:00 |
|
orignal
|
272bf7dbc1
|
terminate NTCP2 session from duplicated router properly
|
2024-09-10 12:35:36 -04:00 |
|
orignal
|
261acbbd66
|
recalculate RTT for one way communications
|
2024-09-10 12:22:42 -04:00 |
|
orignal
|
a65dd218da
|
correct endianess in SendQuickAck
|
2024-09-10 10:27:26 -04:00 |
|
orignal
|
50d297fa29
|
check if first packet
|
2024-09-09 22:37:35 -04:00 |
|
orignal
|
699e17b594
|
handle plain ack with options
|
2024-09-09 22:26:03 -04:00 |
|
orignal
|
07d108bb6f
|
send immediate ack request if no packet being sent
|
2024-09-09 18:40:06 -04:00 |
|
orignal
|
cd648b9b3f
|
use std::atomic<std::shared_ptr<...>> instead boost::shared_ptr if applicable
|
2024-09-08 16:30:27 -04:00 |
|
orignal
|
ba451eeca5
|
set congestion cap G immediately if through proxy
|
2024-09-07 18:01:48 -04:00 |
|
orignal
|
8d1c186665
|
limited connectivity mode
|
2024-09-07 16:25:26 -04:00 |
|
orignal
|
d539c9677e
|
don't accept tunnels if connected through proxy
|
2024-09-06 19:04:07 -04:00 |
|
orignal
|
855fd4d471
|
eliminate extra parsing of RouterInfo coming as RouterInfo block
|
2024-09-06 09:49:24 -04:00 |
|
orignal
|
e0af7b077f
|
set max number of tags adequate to max window size
|
2024-09-05 20:28:40 -04:00 |
|
orignal
|
fde301deaf
|
check for duplicated routers in NTCP2. Insert router into netdb right a way
|
2024-09-05 19:24:23 -04:00 |
|
orignal
|
306ea2df37
|
don't apply std::move to prvalue
|
2024-09-04 14:12:30 -04:00 |
|
orignal
|
d1620d70bb
|
consider N routers as low bandwidth
|
2024-09-03 18:43:25 -04:00 |
|
orignal
|
53db54dafb
|
consider N routers as low bandwidth
|
2024-09-03 18:36:50 -04:00 |
|
orignal
|
ead1b72886
|
set half of window on remote lease change
|
2024-09-03 15:20:33 -04:00 |
|
orignal
|
ae65af07c2
|
handle immediate ack request
|
2024-09-03 13:00:04 -04:00 |
|
orignal
|
0046a8b3ec
|
pass const strings for HTTP headers
|
2024-09-02 21:05:40 -04:00 |
|
orignal
|
cc59003560
|
removed C++17 check
|
2024-09-02 18:22:33 -04:00 |
|
orignal
|
a3e0b3710c
|
pass std::string_view to parse
|
2024-09-02 17:34:15 -04:00 |
|
orignal
|
bbadbdbfdb
|
Switch to C++17 for Mac OS X
|
2024-09-01 15:23:14 -04:00 |
|
orignal
|
509c039e2f
|
use Rng from pool if possible
|
2024-08-31 08:02:56 -04:00 |
|
orignal
|
a1f40d3048
|
use __has_include(<filesystem>)) to detect if std::filesystem can be used
|
2024-08-30 17:56:34 -04:00 |
|
orignal
|
2f5f39aaf2
|
disable clock_cast iuntil implemented
|
2024-08-30 17:51:03 -04:00 |
|
orignal
|
5cc15fac31
|
rollback
|
2024-08-30 15:03:50 -04:00 |
|
orignal
|
ea3f356856
|
removed dependency from boost::filesystem
|
2024-08-30 14:40:44 -04:00 |
|
orignal
|
8189ff0f48
|
innclude <filesystem> before _cpp_lib_filesystem check
|
2024-08-30 14:36:56 -04:00 |
|
orignal
|
604bdf314f
|
improved window size reculculation algorithm
|
2024-08-29 18:57:14 -04:00 |
|
orignal
|
937809bc0f
|
don't use clock_cast with clang
|
2024-08-29 15:14:17 -04:00 |
|
Vort
|
e87ace0c3d
|
implement UTF-8 conversion with WinAPI for Windows platform
|
2024-08-29 16:52:25 +03:00 |
|
orignal
|
bc48e6881d
|
use boost::filesystem for Win32 and clang
|
2024-08-28 18:25:42 -04:00 |
|
orignal
|
e957d7bbfb
|
use std::filesystem for windows
|
2024-08-28 17:52:08 -04:00 |
|
orignal
|
ac876a0cd5
|
use boost::filesystem for Mac OS X
|
2024-08-28 13:43:01 -04:00 |
|
orignal
|
4a4b76141a
|
C++20 support
|
2024-08-28 11:34:07 -04:00 |
|
orignal
|
a93043f064
|
check for __cpp_lib_filesystem
|
2024-08-27 22:12:13 -04:00 |
|
orignal
|
ae309ca632
|
use std::filesystem for C++17
|
2024-08-27 21:49:23 -04:00 |
|
orignal
|
3ff79038b5
|
handle individual NACKs
|
2024-08-27 15:33:59 -04:00 |
|
orignal
|
da0e527777
|
termination check timeout variance
|
2024-08-26 20:57:28 -04:00 |
|
orignal
|
66223792f3
|
use std::mt19937 instead rand(). termination timeout variance
|
2024-08-26 19:35:13 -04:00 |
|
orignal
|
a69eade1f4
|
use pool's rng for random tunnel/remote lease selection
|
2024-08-25 21:35:33 -04:00 |
|
orignal
|
e7423b1ffc
|
save timestamp from epoch instead local time to profiles
|
2024-08-25 19:07:01 -04:00 |
|
orignal
|
ff5c76f8f2
|
don't include expired lease to LeaseSet for I2Cp
|
2024-08-21 19:21:02 -04:00 |
|
orignal
|
0191e58b05
|
adjust number of leases in LS2 if expired tunnels
|
2024-08-21 16:28:19 -04:00 |
|
orignal
|
c43926083e
|
don't include already expired lease to LeaseSet
|
2024-08-21 14:07:04 -04:00 |
|
orignal
|
bd98f2c3ee
|
max flush interval
|
2024-08-20 21:21:28 -04:00 |
|
orignal
|
02c52f59cb
|
max flush interval
|
2024-08-20 20:59:41 -04:00 |
|
orignal
|
fa218d3cf5
|
reset routing path if session is stuck
|
2024-08-20 15:50:37 -04:00 |
|
orignal
|
d169b422da
|
drop window if remote lease changes
|
2024-08-19 19:10:00 -04:00 |
|
orignal
|
7be64dad89
|
limit number of resent packets at the time
|
2024-08-19 18:30:49 -04:00 |
|
orignal
|
3720a5fce3
|
don't select same peer too often
|
2024-08-19 15:51:56 -04:00 |
|
orignal
|
0df895b6a7
|
check minimal router version for connected peer selection
|
2024-08-19 14:39:07 -04:00 |
|
orignal
|
32ab95478e
|
check crypto type and congestion of connected peer for tunnel
|
2024-08-18 18:34:28 -04:00 |
|
orignal
|
28adb54c0a
|
don't send quick ack for each duplicated packet
|
2024-08-18 13:33:16 -04:00 |
|
orignal
|
b4fcf76480
|
fixed warning
|
2024-08-17 17:52:42 -04:00 |
|
orignal
|
fb8e0e1b5b
|
limit stream's inbound speed
|
2024-08-17 17:11:28 -04:00 |
|
orignal
|
41dd8b527d
|
reduce number of acks being sent
|
2024-08-17 08:30:16 -04:00 |
|
orignal
|
7376f7c399
|
generate max number of tags for follow on tagsets
|
2024-08-17 08:13:17 -04:00 |
|
orignal
|
d47ae3012a
|
periodic sending ack requests in ECEISX25519 session and dead path detection in I2CP
|
2024-08-15 13:35:51 -04:00 |
|
orignal
|
09dbe9fc03
|
check option and packet length
|
2024-08-14 13:43:24 -04:00 |
|
orignal
|
11328a429d
|
set minimal resend interval. Resend attempt after only Ack
|
2024-08-14 10:13:35 -04:00 |
|
orignal
|
0c924836cf
|
fixed AEAD verification for LibreSSL
|
2024-08-13 15:36:13 -04:00 |
|
orignal
|
52a313bb65
|
force LeaseSet timestamp update if published at the same second
|
2024-08-12 21:29:05 -04:00 |
|
orignal
|
d75f15104e
|
select only established sessions for peer tests
|
2024-08-10 14:43:29 -04:00 |
|
orignal
|
b306bf2db9
|
don't handle connect timer for already terminated session
|
2024-08-09 08:14:39 -04:00 |
|
orignal
|
349c4e30b6
|
correct receive ratchet tagsetid calculation
|
2024-08-06 13:58:21 -04:00 |
|
orignal
|
3c69e0b2af
|
keep sending reverse key until tag received on new tagset
|
2024-08-05 14:44:10 -04:00 |
|
orignal
|
42782944fb
|
Streaming congestion control improvements. Patch by onon
|
2024-08-01 13:49:32 -04:00 |
|