1094 Commits (4f30b0693027fa25fbf33db28062817caeee8015)

Author SHA1 Message Date
Adam Ierymenko 2e5caa335a Old SF root is dead. Now we are just on Alice and Bob. (world update for 1.1.4) 10 years ago
Adam Ierymenko 4e4fd51117 boring doc stuff 10 years ago
Adam Ierymenko 3883ac08c7 Docs and cleanup. 10 years ago
Adam Ierymenko 740eb6ebc4 Simplify Peer locking to eliminate deadlock with new path recursion check code (and also probably improve performance). 10 years ago
Adam Ierymenko d6f0f1a82a Use network user ptr in lookup for Ethernet frame handling to eliminate map lookup. 10 years ago
Adam Ierymenko 83ef98a9dc Add a network-associated user ptr in API. 10 years ago
Adam Ierymenko 704205c5f7 Dead code removal. 10 years ago
Adam Ierymenko bbcc3304a0 Check shouldUsePathForZeroTierTraffic in legacy beacon responder. 10 years ago
Adam Ierymenko b3e3d4cacc Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets. 10 years ago
Adam Ierymenko 1023ef23b7 Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods. 10 years ago
Adam Ierymenko a56fbc1929 Close another potential anti-recursion loophole. 10 years ago
Adam Ierymenko 47ce52228b Roots should probably not do this since it would likely be a waste of packets. 10 years ago
Adam Ierymenko 9aee72099e AntiRecursion cleanup and some other minor things. 10 years ago
Adam Ierymenko 05b2c0743f Tighten up dead path detection. Should now auto-detect dead paths in less than 10 seconds at a very small cost in ECHO requests (or HELLOs for older peers). GitHib issue #272 10 years ago
Adam Ierymenko 4d94ae77b4 simplify if 10 years ago
Adam Ierymenko d8143a5e18 Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev) 10 years ago
Adam Ierymenko cba739fd6b more dead code 10 years ago
Adam Ierymenko fb5237d5b6 Outline dead path detection mechanism. 10 years ago
Adam Ierymenko 258f95b2cd dead code removal 10 years ago
Adam Ierymenko 436c1fac1d Selectively move over changes from "edge" to "dev" excluding netcon. 10 years ago
Adam Ierymenko 16bc9533ed Fix a problem that made valgrind complain on shutdown (not otherwise an issue). 10 years ago
Adam Ierymenko 63a51e2890 Fix a small potential uninitialized variable issue. 10 years ago
Adam Ierymenko d3dacf5c2a Tiny bit of dead code cleanup. 10 years ago
Adam Ierymenko 7d001458cb Update World to drop an old legacy root. 10 years ago
Adam Ierymenko aa39b0dc24 Show paths as active or preferred in listpeers. 10 years ago
Adam Ierymenko 2160164e8c (1) Get rid of path sorting and just scan them, since sorting may have been a premature optimization that introduced a regression and path instability in a few edge cases, and (2) do not attempt to contact remote paths received via PUSH_DIRECT_PATH if we already have that path and it is already active (dumb, should have done this originally) 10 years ago
Adam Ierymenko 022d3857cc Fix should use ECHO check. 10 years ago
Adam Ierymenko 82aa3f59d6 Fix bug in ECHO handling (OK was invalid!), and use ECHO on newer peers for path confirmation. Also get rid of path confirmation circuit breaker since this causes issues with some peers and should be done more intelligently anyway. 10 years ago
Adam Ierymenko c0df1169ee Remove unimplemented SET_EPHEMERAL_KEY for now. 10 years ago
Adam Ierymenko 3869d6257b Always Salsa20 encrypt the result of the system CSPRNG as a mitigation against various low-entropy bugs such as the recent Raspberry Pi one. 10 years ago
Adam Ierymenko ceaef19fb7 Fix for GitHub issue #260 -- fix for (non-exploitable) crash in network preferred relay code 10 years ago
Janjaap Bos e6808c69f8 Increase maximum number of paths per IP scope to 4 10 years ago
Adam Ierymenko ce5b7f0305 The World as of 2015-11-20 10 years ago
Adam Ierymenko 9169b6c999 Fix crash on exit in Windows (does not affect other OSes) and revert debugging tweak in Windows version that prevented service from starting after real install. 10 years ago
Adam Ierymenko 456bfea58d Real World -- edge now talks to real net. 10 years ago
Grant Limberg 75f8ee1b9c get the compiler to stop complaining about two string literals (one a macro) next to each other without an intervening space 10 years ago
Adam Ierymenko 0d9f33dc4f Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch. 10 years ago
Adam Ierymenko ccae473783 Eliminate Windows warnings. 10 years ago
Adam Ierymenko 54f68280bd Minor Windows build fixes. Builds on VS2012 again. 10 years ago
Adam Ierymenko 8ac411a9e4 Stashing utun work for OSX -- abandoning for now since utun excludes mDNS among other issues. 10 years ago
Adam Ierymenko 0940d673db Always advertise to the cluster when we have a peer even if we have also initiated handoff. This might be the cause of the warmup problem -- will test later. At the very least it should not hurt anything due to pick-latest logic and the fact that cluster members with only suboptimal paths do not respond to WANT_PEER. 10 years ago
Adam Ierymenko b94335f115 Increase WHOIS retry delay slightly to allow for global cluster latency (e.g. 300+ms from New York to Johhannesburg) 10 years ago
Adam Ierymenko 451b8aa7b2 Query both root and network controller for multicast last resort GATHER. 10 years ago
Adam Ierymenko 2854f14966 Some cluster parameter tweaks, and change the test code in tests/http to dramatically reduce the amount of data transfer to/from the test master. Also add results of first successful 50k test. 10 years ago
Adam Ierymenko 4328c6c3bc Fix delete oldest logic. 10 years ago
Adam Ierymenko b171c9a0db Replace slow std::list<> with an O(log(N)) data structure for the cluster relaying send queue. 10 years ago
Adam Ierymenko 32ec378e3b Announce that we have peers on the cluster when we first see them to improve startup times, and add a result crunching script to tests/http. 11 years ago
Adam Ierymenko 2cc50bdb10 Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NAT 11 years ago
Adam Ierymenko 94f4316a0e Fix for possible high CPU usage on multicast queries. 11 years ago
Adam Ierymenko 35c4e28f31 Mark geo-redirected paths as suboptimal and do not report that we have a peer if all we have is one of these. Also a few other small fixes. 11 years ago