Commit Graph

2189 Commits

Author SHA1 Message Date
Adam Ierymenko
7903f24a8f Create periodic backup copies of controller.db in network controller from the main process itself to facilitate easier and safer backups of controller.db. 2015-11-03 15:52:10 -08:00
Adam Ierymenko
4b655ab22c tests 2015-11-03 14:39:44 -08:00
Adam Ierymenko
d9d11042ca . 2015-11-03 12:56:34 -08:00
Adam Ierymenko
0b245b031e Allow ZT_TRACE without debug. 2015-11-03 11:20:12 -08:00
Adam Ierymenko
a42d714a87 . 2015-11-03 11:18:45 -08:00
Adam Ierymenko
c9e6e60c09 Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability. 2015-11-03 10:46:41 -08:00
Grant Limberg
b7df177f33 updates for origin/edge 2015-11-02 19:18:55 -08:00
Grant Limberg
179b064b05 Merge branch 'edge' into android-jni-dev 2015-11-02 18:32:21 -08:00
Grant Limberg
a19e82fcbc Merge branch 'edge' into windows-ui 2015-11-02 18:30:54 -08:00
Adam Ierymenko
4e9d430476 Make root and relay selection somewhat more robust. 2015-11-02 16:03:28 -08:00
Adam Ierymenko
00dcb0f22c . 2015-11-02 15:39:09 -08:00
Adam Ierymenko
7fbe2f7adf Tweak some more timings for better reliability. 2015-11-02 15:38:53 -08:00
Adam Ierymenko
60ce886605 Tweak some timings for better reliability. 2015-11-02 15:15:20 -08:00
Adam Ierymenko
ab27a91b07 . 2015-11-02 13:53:27 -08:00
Adam Ierymenko
fd3916a49e More test stuff... make it more granular and less batch based. 2015-11-02 13:17:11 -08:00
Adam Ierymenko
e53ef9642e test stuff. 2015-11-02 12:31:34 -08:00
Adam Ierymenko
29249db5d2 Big test stuff. 2015-11-02 11:37:32 -08:00
Adam Ierymenko
f1b6427e63 Decided to make this 1.1.0 (semantic versioning increment is warranted), and add a legacy hack for older clients working with clusters. 2015-11-02 09:32:56 -08:00
Adam Ierymenko
1b4cc4af5c Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup. 2015-10-30 15:54:40 -07:00
Adam Ierymenko
7382c328da Null pointer bug appears fixed... testing again at large scale. 2015-10-30 14:23:28 -07:00
Adam Ierymenko
641b0dec44 . 2015-10-30 14:12:20 -07:00
Adam Ierymenko
2fbb5d0bbf . 2015-10-30 14:11:45 -07:00
Adam Ierymenko
d8dbbf7484 Add some debug code in TRACE mode to catch a bug. 2015-10-30 14:11:10 -07:00
Adam Ierymenko
377ccff600 getPeer() had a small potential to be unsafe. 2015-10-30 13:39:28 -07:00
Adam Ierymenko
f974517f64 Save zerotier output in containers. 2015-10-30 13:06:30 -07:00
Adam Ierymenko
f808138a94 docs and stuff 2015-10-30 13:05:34 -07:00
Adam Ierymenko
b845dd1b88 Set contact IP for real test. 2015-10-30 12:38:12 -07:00
Adam Ierymenko
b6725c4415 Optimize AntiRecursion. 2015-10-30 11:48:33 -07:00
Adam Ierymenko
5bfa29dded Make antirec tail len slightly shorter, better performance and still plenty long enough. 2015-10-30 11:09:40 -07:00
Adam Ierymenko
80e62ad291 docs 2015-10-30 10:55:05 -07:00
Adam Ierymenko
e2fc20876d docs 2015-10-29 18:23:41 -07:00
Adam Ierymenko
d6c0d176ee Periodically re-announce peers that we have. 2015-10-29 10:10:09 -07:00
Adam Ierymenko
9f0f0197fe More dead code removal. 2015-10-29 09:44:25 -07:00
Adam Ierymenko
a994573a43 Eliminate some more dead code. We may do path trust, but not like that. 2015-10-29 09:42:15 -07:00
Adam Ierymenko
883c84bdb9 Tweak some timings, and remove some dead code. 2015-10-29 09:39:36 -07:00
Adam Ierymenko
e3d811b04b docs 2015-10-28 15:55:40 -07:00
Adam Ierymenko
cabb8752cb docs 2015-10-28 15:28:05 -07:00
Adam Ierymenko
1f5ef968cf Test need a more recent version of NodeJS so update Dockerfile. 2015-10-28 15:08:00 -07:00
Adam Ierymenko
68d6d3c4ff Fix bug in peer count. 2015-10-28 14:29:08 -07:00
Adam Ierymenko
4c24e0cfb0 More tweaks to tests... just about ready to run at scale. 2015-10-28 14:24:54 -07:00
Adam Ierymenko
9653531242 . 2015-10-28 14:18:58 -07:00
Adam Ierymenko
07c1b4ddee test stuff 2015-10-28 14:16:58 -07:00
Adam Ierymenko
1cae7327ae Basic Dockerfile for building test agents. 2015-10-28 13:35:52 -07:00
Adam Ierymenko
c03550de35 HTTP test works! 2015-10-28 13:14:53 -07:00
Adam Ierymenko
c6a918d996 HTTP test code. 2015-10-28 12:50:48 -07:00
Adam Ierymenko
0034efafe4 On semi-undocumented test net, assign a RFC4193 IPv6 address too. Will be useful for our at-scale tests. 2015-10-28 11:08:15 -07:00
Adam Ierymenko
0fd15d9cf3 Fix inverted sense bug. 2015-10-28 10:38:37 -07:00
Adam Ierymenko
938d0a970b TRACE build fixes. 2015-10-28 10:01:32 -07:00
Adam Ierymenko
fdc3e103cc Cleanup and docs. 2015-10-28 09:38:33 -07:00
Adam Ierymenko
c1b0329969 Only check IP equality to detect external surface changes (should prevent some spurious resets under symmetric NATs), and simplify some logic. 2015-10-28 09:32:07 -07:00