239 Commits (88a5f8b125f9404fb73c7b0d1a37007101d9e6b0)

Author SHA1 Message Date
orignal 1a6109109a don't sample too small list of eligible introducers 2 months ago
orignal 0710f62948 fixed potential race condition 2 months ago
orignal bce9630ff8 try to create new sessions with introducers if existing are about to expire 2 months ago
orignal 7f3a04a72f select random introducer session. don't update creation time 2 months ago
orignal 514be6d048 introducer expiration time variance 2 months ago
orignal 8c292727da introducer duration variance 2 months ago
orignal d5c40bb6be send keep-alive for newly selected introducer session 2 months ago
orignal 15cd4feade move Bob's peer tests from SSU2 session to server 2 months ago
orignal abbe1fea64 fixed clang build error 2 months ago
orignal 62b811c2c1 use memory pool for SSU2 received packets arrays 2 months ago
orignal 64e4b3871a update introducer's iTag is session to introducer was replaced to new one 2 months ago
orignal c3a1631319 use weak_ptr for Bob's peer tests and relay tags 2 months ago
orignal a06cce0aaf eliminate extra copy of vector of SSU2 packets 2 months ago
orignal 75b1c144b4 drop too short follow on SSU2 packets 2 months ago
orignal 32ad4b4858 fixed possible race conditions with m_SessionsByRouterHash 2 months ago
orignal 98669eff4f delete session by hash from table if expired or terminated 2 months ago
orignal 262a803d10 make sure we are done with session before remving it 2 months ago
orignal 0912de5b77 don't connect peer test session. Use weak_ptr for seesions by hash 2 months ago
orignal 2dfc9003a7 separate and move own peer test to SSU2Server 2 months ago
orignal 2fa4237acd renew connected receintly timestamp, add endpoint to the list if hole punch is being sent 3 months ago
orignal f20391d460 check if we connected recently to an endpoint before sending peer test 3 months ago
orignal da0e527777 termination check timeout variance 3 months ago
orignal d75f15104e select only established sessions for peer tests 4 months ago
orignal ff8941af71 check if address is still introducer before trying to introduce 5 months ago
orignal f125936b2e try to lookup other introducers' routers if found out doesn't have applicable addresses 5 months ago
orignal 457b64f92d try to connect to introducer through any available address 6 months ago
orignal 6caec6b551 check if updated router is still introducer. Remove non-introducer sessions from introducers list 6 months ago
orignal 29872fc003 check if local address exists 6 months ago
orignal 12653f2fe4 don't try introducer with invalid address. Terminate session immediately if appropriate introducer not found 6 months ago
orignal 4178ac8eac select newest introducers to publish 6 months ago
orignal 6a590bf970 use std::mt19937 instead rand() 6 months ago
orignal 2f847d62bb fixed typo 6 months ago
orignal df6d48dbae request only not found routers from introducers 6 months ago
orignal bacce7dc60 fixed introducer's index 6 months ago
orignal b3314380cc don't use expired introducer even if we a session with it 6 months ago
orignal a1322d4667 move unsent I2NP messages to new session if replaced 6 months ago
orignal 22dabfd79e use unordered_map for excluded routers. don't request to self 7 months ago
orignal 0e41c3fa36 resend more interval variance 7 months ago
orignal 124698854f skip resent recently sessions during resend 7 months ago
orignal 161ff3579b don't delete new session with same router hash from sessions-by-hash table 9 months ago
orignal 6ba42a0912 check if established peer test session has the same address type 9 months ago
orignal 1292ec67c0 check if remote router supports peer test 9 months ago
orignal f8722f17c6 pick peer test session only if Charlie's address supports peer testing 9 months ago
Vort e5f75eb61c log would_block error at info level 9 months ago
Vort 89f9bec49a derive SSU2 socket buffer size from bandwidth limit 9 months ago
Vort f3c052ed0c write SSU2 socket buffer sizes to log 9 months ago
Vort aa1de7fe94 enable non-blocking mode for UDP sockets 9 months ago
orignal 36dbc15bca keep SSU2 socket open even if failed to bind 10 months ago
orignal 70639f1139 don't adjust clock if offsets came from same router 10 months ago
orignal 140146e433 limit mininal received packet size to 40 bytes 11 months ago