Commit graph

  • bbcc3304a0 Check shouldUsePathForZeroTierTraffic in legacy beacon responder. Adam Ierymenko 2016-01-11 15:57:58 -08:00
  • c6571073fe Get rid of constructor/destructor in libzerotierintercept, and simplify a few things. Adam Ierymenko 2016-01-11 15:27:22 -08:00
  • ba9fcb31d0 Merge branch 'dev' into edge Adam Ierymenko 2016-01-11 14:30:24 -08:00
  • 78c0f0a443 RPC detection fix Joseph Henry 2016-01-11 13:23:43 -08:00
  • 7656e6b9f8 Transfer tune-up Joseph Henry 2016-01-11 11:37:04 -08:00
  • 39d79f34ab Added RPC ACK Joseph Henry 2016-01-11 10:35:02 -08:00
  • 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. Adam Ierymenko 2016-01-11 10:17:44 -08:00
  • 3e65ecb93d Stateless RPC rework Joseph Henry 2016-01-11 10:12:59 -08:00
  • ba2a89c760 docs Adam Ierymenko 2016-01-11 09:13:41 -08:00
  • eea634a432 Refactor to eliminate copypasta. Adam Ierymenko 2016-01-11 09:11:35 -08:00
  • ab19e19f00 Fix a bug that we visually found in Windows code -- it was not advertising uPnP addresses?!? Adam Ierymenko 2016-01-11 09:09:24 -08:00
  • 1023ef23b7 Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods. Adam Ierymenko 2016-01-11 09:06:10 -08:00
  • a56fbc1929 Close another potential anti-recursion loophole. Adam Ierymenko 2016-01-06 15:35:27 -08:00
  • 47ce52228b Roots should probably not do this since it would likely be a waste of packets. Adam Ierymenko 2016-01-06 12:54:51 -08:00
  • ff9317365a Merge branch 'dev' into edge Adam Ierymenko 2016-01-06 11:38:11 -08:00
  • 0a3ef38cad Put old test code in attic. Adam Ierymenko 2016-01-06 11:06:47 -08:00
  • 9aee72099e AntiRecursion cleanup and some other minor things. Adam Ierymenko 2016-01-06 10:59:39 -08:00
  • 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 Adam Ierymenko 2016-01-06 10:00:03 -08:00
  • 4d94ae77b4 simplify if Adam Ierymenko 2016-01-05 16:48:35 -08:00
  • d8143a5e18 Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev) Adam Ierymenko 2016-01-05 16:41:54 -08:00
  • cba739fd6b more dead code Adam Ierymenko 2016-01-05 14:46:26 -08:00
  • fb5237d5b6 Outline dead path detection mechanism. Adam Ierymenko 2016-01-05 14:42:56 -08:00
  • 258f95b2cd dead code removal Adam Ierymenko 2016-01-05 14:19:16 -08:00
  • b8059d5c87 typo Janjaap Bos 2015-12-23 22:54:36 +01:00
  • 66894eb473 Merge branch 'dev' into edge Adam Ierymenko 2015-12-21 16:56:13 -08:00
  • 61becbb7e5 . Adam Ierymenko 2015-12-21 16:56:11 -08:00
  • 42e453872c VERSION 1.1.2: bug fixes and NAT-PMP support 1.1.2 Adam Ierymenko 2015-12-21 16:48:33 -08:00
  • 2f42a7c010 Windows 1.1.2 build. Adam Ierymenko 2015-12-21 16:36:56 -08:00
  • 436c1fac1d Selectively move over changes from "edge" to "dev" excluding netcon. Adam Ierymenko 2015-12-21 16:15:39 -08:00
  • 16bc9533ed Fix a problem that made valgrind complain on shutdown (not otherwise an issue). Adam Ierymenko 2015-12-21 15:23:14 -08:00
  • 63a51e2890 Fix a small potential uninitialized variable issue. Adam Ierymenko 2015-12-21 14:55:11 -08:00
  • 23eaafc4eb Remove stray file that is instead found in netcon. Adam Ierymenko 2015-12-21 14:01:48 -08:00
  • 536b7000bc Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge Adam Ierymenko 2015-12-21 13:15:09 -08:00
  • 24cc0904fa 1.1.2 Windows build fixes, tweaks, etc. Adam Ierymenko 2015-12-21 13:14:48 -08:00
  • 5a65463b92 typo Janjaap Bos 2015-12-21 22:11:39 +01:00
  • c8056452b8 fix / workaround for ubuntu Janjaap Bos 2015-12-21 21:20:22 +01:00
  • 64e273e9c0 updated netcon readme Janjaap Bos 2015-12-21 19:49:22 +01:00
  • 6f62d6bb34 Removed straggler debug prints Joseph Henry 2015-12-21 07:36:44 -08:00
  • d430457f1e Updated readme, removed test network keys Joseph Henry 2015-12-21 07:26:45 -08:00
  • 4267cc138e Readme changes, turned off debug Joseph Henry 2015-12-21 07:17:37 -08:00
  • de2ba8d0f7 Fixed typo Joseph Henry 2015-12-21 05:36:27 -08:00
  • c488fa8461 Tightening of RPC code Joseph Henry 2015-12-21 05:03:26 -08:00
  • 608e059b18 single updated test file Joseph Henry 2015-12-18 15:19:34 -08:00
  • 81203b20b8 Merge branch 'edge' of http://10.6.6.2/zerotier/zerotierone into edge Joseph Henry 2015-12-18 15:09:18 -08:00
  • 91bc32fe51 Re-added keys for testing Joseph Henry 2015-12-18 15:09:08 -08:00
  • d3dacf5c2a Tiny bit of dead code cleanup. Adam Ierymenko 2015-12-18 14:51:24 -08:00
  • 13036a1085 . Adam Ierymenko 2015-12-18 14:30:47 -08:00
  • 942ab6fd95 . Adam Ierymenko 2015-12-18 14:29:23 -08:00
  • fd9b2e931f Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge Adam Ierymenko 2015-12-18 14:26:37 -08:00
  • 6de67e828d Fix accept4() semantics. Adam Ierymenko 2015-12-18 14:26:31 -08:00
  • 2d9f1f7857 Added install script for debugging with strace Joseph Henry 2015-12-18 13:13:47 -08:00
  • fde8af9483 getsockopt() tweak Joseph Henry 2015-12-18 11:37:11 -08:00
  • c22c0a20f6 Merge branch 'edge' of http://10.6.6.2/zerotier/zerotierone into edge Joseph Henry 2015-12-18 10:31:24 -08:00
  • 9063209124 getsockname() fix Joseph Henry 2015-12-18 10:31:11 -08:00
  • 61dc13a6e1 Cache query in progress to reduce redundant GeoIP2 queries. Adam Ierymenko 2015-12-18 09:38:34 -08:00
  • e3eea6fcbd RPC Reliability improvements and partial getsockname() fix Joseph Henry 2015-12-16 18:05:47 -08:00
  • 7d001458cb Update World to drop an old legacy root. Adam Ierymenko 2015-12-17 11:52:05 -08:00
  • 823c9979c0 Erase more debug junk. Adam Ierymenko 2015-12-17 11:45:55 -08:00
  • 9ebcbc94e4 Remove some stray debug stuff. Adam Ierymenko 2015-12-17 11:44:48 -08:00
  • aa39b0dc24 Show paths as active or preferred in listpeers. Adam Ierymenko 2015-12-17 11:03:39 -08:00
  • 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) Adam Ierymenko 2015-12-17 10:53:07 -08:00
  • 3137f43da9 Fix for getsockname() crash and other address size issues. Adam Ierymenko 2015-12-16 10:30:02 -08:00
  • efc2a74df1 Some final README revs. Adam Ierymenko 2015-12-16 10:07:04 -08:00
  • 9638889614 Removed docker-test keys/config for netcon network Joseph Henry 2015-12-16 08:33:39 -08:00
  • 0df639f8f5 readme update Joseph Henry 2015-12-15 16:20:31 -08:00
  • 011ce35ede Merge branch 'edge' of http://10.6.6.2/zerotier/zerotierone into edge Joseph Henry 2015-12-15 15:57:02 -08:00
  • a9802eff02 readme update Joseph Henry 2015-12-15 15:56:47 -08:00
  • f9837163d3 docs Adam Ierymenko 2015-12-15 15:43:07 -08:00
  • 6bc93d2050 Docs, and change ZT_NC_NWID to ZT_NC_NETWORK and use full path in local ZT home dir to enable multiple instances. Adam Ierymenko 2015-12-15 15:35:21 -08:00
  • 37a7e9e275 Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge Adam Ierymenko 2015-12-15 15:00:05 -08:00
  • 531e5f9923 . Adam Ierymenko 2015-12-15 15:00:03 -08:00
  • 617845a7da readme and makefile updates Joseph Henry 2015-12-15 14:59:17 -08:00
  • 9dc59eff76 Cleaned up, tests updated, readme updated Joseph Henry 2015-12-15 14:50:54 -08:00
  • a6c5596782 Patch controller to not send relays to 1.1.0 to avoid triggering 1.1.0 network preferred relays bug. Adam Ierymenko 2015-12-15 10:53:15 -08:00
  • 022d3857cc Fix should use ECHO check. Adam Ierymenko 2015-12-15 10:37:32 -08:00
  • 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. Adam Ierymenko 2015-12-15 10:30:40 -08:00
  • 04d6b03733 Make auto backups slightly less frequent. Adam Ierymenko 2015-12-15 09:22:10 -08:00
  • 3b22ecc80c Make hex device address in UPnP name the right length. Adam Ierymenko 2015-12-14 17:35:45 -08:00
  • 53fe576028 Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge Adam Ierymenko 2015-12-14 17:04:36 -08:00
  • f6dc99f345 Old NYC is dead. Adam Ierymenko 2015-12-14 17:04:27 -08:00
  • b92884a0ad Merge branch 'edge' of http://10.6.6.2/zerotier/zerotierone into edge Joseph Henry 2015-12-14 14:45:40 -08:00
  • c0df1169ee Remove unimplemented SET_EPHEMERAL_KEY for now. Adam Ierymenko 2015-12-14 14:53:43 -08:00
  • a421e31dd5 send_cmd() retrun value bugfix + minor debug changes Joseph Henry 2015-12-14 14:45:25 -08:00
  • 7b1c0c4013 Cache null results from Maxmind. Adam Ierymenko 2015-12-14 14:40:00 -08:00
  • f558b088e6 Library functions are now static, RPC return value tuning, and cleanup Joseph Henry 2015-12-14 09:06:58 -08:00
  • 99afc74021 FDs transferred over listen socket + other fixes Joseph Henry 2015-12-12 01:28:59 -08:00
  • 761bb4fdd0 Stability fix Joseph Henry 2015-12-11 12:19:54 -08:00
  • 663a336b83 RPC cleanup + Temporary timing fix Joseph Henry 2015-12-10 09:24:56 -08:00
  • e506fda3e4 Only set SO_NO_CHECK on IPv4 UDP sockets for now due to broken V6 stacks that drop zero checksum UDP packets. Adam Ierymenko 2015-12-09 15:02:42 -08:00
  • 42da36ba81 Fixed addrlen assignment in getsockname() Joseph Henry 2015-12-09 12:22:08 -08:00
  • a730c86907 getsockname() implemented Joseph Henry 2015-12-09 12:20:38 -08:00
  • b34cc94bb7 Fix make process for ZeroTier Android SDK Caerostris 2015-12-09 18:33:55 +00:00
  • b8cba90d85 . Adam Ierymenko 2015-12-09 09:01:09 -08:00
  • 9090edebb0 . Adam Ierymenko 2015-12-08 18:17:03 -08:00
  • 49d76c6311 Stub out getsockname() Adam Ierymenko 2015-12-08 18:07:46 -08:00
  • 5717dfe3b9 . Adam Ierymenko 2015-12-08 17:45:51 -08:00
  • c576cd68cb . Adam Ierymenko 2015-12-08 17:44:13 -08:00
  • f2078bf986 (WIP) more netcon work Adam Ierymenko 2015-12-08 17:35:37 -08:00
  • c2c37f3a63 Merge with fixes of netcon to edge. Adam Ierymenko 2015-12-08 15:15:44 -08:00
  • b1eb16d5fb Updated README, tests, and Intercept Joseph Henry 2015-12-08 07:47:20 -08:00