Commit graph

  • 1bd5a1ebcd Make selftest build and run on FreeBSD 10 with gmake Adam Ierymenko 2014-11-04 11:20:38 -08:00
  • 14e4ffd15f VERSION 1.0.0 1.0.0 Adam Ierymenko 2014-10-30 12:49:16 -07:00
  • 16461eca1f docs Adam Ierymenko 2014-10-30 12:47:26 -07:00
  • 8f29f19e98 Fix for UI client. Adam Ierymenko 2014-10-30 00:12:45 -07:00
  • 5ca20da7af Windows service fix -- it helps if we actually launch the control socket thing. Adam Ierymenko 2014-10-29 23:57:54 -07:00
  • 8bd9f7d51d Build fix for UI and mac. Adam Ierymenko 2014-10-29 19:54:24 -07:00
  • 0e84eb3852 Back off default multicast limit just a little. Adam Ierymenko 2014-10-29 18:25:24 -07:00
  • 4923ab2945 Windows build fix, set up Windows solution with new layout. Adam Ierymenko 2014-10-29 17:40:23 -07:00
  • 4c59497b95 Linux build fixes for testnet. Adam Ierymenko 2014-10-29 16:32:24 -07:00
  • 5484cf4309 More cleanup, and fix a bug in Multicaster::gather() Adam Ierymenko 2014-10-29 16:24:19 -07:00
  • 22d8aa4dc9 Moderate efficiency improvement on multicast gather result parsing, and go ahead and keep track of total known peers. Adam Ierymenko 2014-10-29 15:26:32 -07:00
  • 95f421024a Code cleanup, and fix some unsafe pointer handling in Network. Adam Ierymenko 2014-10-29 13:57:37 -07:00
  • f65b48d447 Thread sync bug... Adam Ierymenko 2014-10-28 17:29:45 -07:00
  • 5bb854e504 Fix a nasty bug introduced in packet fragmentation a while back during refactoring, and a few other things related to multicast. Adam Ierymenko 2014-10-28 17:25:34 -07:00
  • faff84e63a docs Adam Ierymenko 2014-10-28 16:14:05 -07:00
  • 9a5f6f020f docs Adam Ierymenko 2014-10-28 15:53:11 -07:00
  • 4dec598fb8 Make multicast gather slightly more aggressive, and add total to list command in testnet. Adam Ierymenko 2014-10-28 15:33:10 -07:00
  • 3e948fcd93 .... aaaaaaand multicast testnet functionsa are in! Adam Ierymenko 2014-10-28 15:06:43 -07:00
  • 8aa75321e2 docs Adam Ierymenko 2014-10-28 14:46:15 -07:00
  • ffbf0781fe docs Adam Ierymenko 2014-10-28 14:27:21 -07:00
  • e4966c7a07 docs Adam Ierymenko 2014-10-28 14:25:44 -07:00
  • ac23f74547 docs Adam Ierymenko 2014-10-28 14:24:07 -07:00
  • fa60463da5 docs Adam Ierymenko 2014-10-28 14:23:39 -07:00
  • 3d85a615fb NULL dereference on still-initializing node bug fix in status query commands, and doc updates. Adam Ierymenko 2014-10-28 14:17:39 -07:00
  • f873881a0d Helps to use a proper multithreaded queue instead of ugly plebian hackery. Adam Ierymenko 2014-10-28 12:28:45 -07:00
  • 934a575a74 Testnet seems to work a bit better now... Adam Ierymenko 2014-10-27 18:23:10 -07:00
  • fe7b429866 ... Adam Ierymenko 2014-10-27 17:32:37 -07:00
  • 295f6a20e0 Testnet works! sort of... Adam Ierymenko 2014-10-27 14:25:00 -07:00
  • 6a94a4a51b Testnet WIP Adam Ierymenko 2014-10-27 09:03:38 -07:00
  • 8672ca9cf8 Prep for real tests like alltoall. Adam Ierymenko 2014-10-24 17:29:09 -07:00
  • a75a7547b4 Deadlock fix... Adam Ierymenko 2014-10-24 17:11:23 -07:00
  • 3857116724 More testnet work. Adam Ierymenko 2014-10-24 16:35:06 -07:00
  • 5c7cd53f13 Testnet sort of works! spins up supernodes. Adam Ierymenko 2014-10-24 08:48:44 -07:00
  • 4fbb098daa Testnet work... getting there! Adam Ierymenko 2014-10-23 16:46:09 -07:00
  • 0a195e7bc0 Some work on simulated net... Adam Ierymenko 2014-10-22 09:52:29 -07:00
  • ae228ade8c Starting on simulated socket manager. Adam Ierymenko 2014-10-21 17:00:25 -07:00
  • 4a5756e7fb cleanup Adam Ierymenko 2014-10-21 16:21:45 -07:00
  • 29ba34ab7c Kill old testnet stuff, update main.cpp for new SocketManager abstraction. Adam Ierymenko 2014-10-21 15:33:35 -07:00
  • 2436e22f46 More work on abstracting socket manager. Adam Ierymenko 2014-10-21 15:18:50 -07:00
  • 128a131070 About halfway there in refactoring to support pluggable SocketManager. Adam Ierymenko 2014-10-21 14:26:10 -07:00
  • 6bc9a938cf Move socket manager implementation into osnet/ Adam Ierymenko 2014-10-21 11:25:31 -07:00
  • 0e47f13f14 Simplify locking semantics some more to address a deadlock. Adam Ierymenko 2014-10-21 10:42:04 -07:00
  • 7c0f5e97e1 Don't need to check peer version for every item in txQueue since there is only one peer. Adam Ierymenko 2014-10-19 15:20:19 -07:00
  • 0fd562bebc One more Windows build fix. Adam Ierymenko 2014-10-19 13:10:23 -07:00
  • 8730d30575 Now for some clang compile fixes... Adam Ierymenko 2014-10-19 13:07:50 -07:00
  • babf3787c6 Switch VS2012 build back to real, not self-test. Adam Ierymenko 2014-10-19 12:58:13 -07:00
  • 74f36f5dc0 Windows build fixes. Adam Ierymenko 2014-10-19 12:56:39 -07:00
  • 2eeb3dee9e Merge branch 'adamierymenko-dev' of ssh://shub-niggurath.zerotier.com:222/git/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2014-10-18 15:02:03 +02:00
  • 4951e5e1b5 This is a --strategy=ours merge to allow adamierymenko-dev to replace the current content of detached-network-test. This is ready for another test in 'headless' mode. Adam Ierymenko 2014-10-18 14:57:04 +02:00
  • 6429c51ec7 Merge branch 'detached-network-test' into adamierymenko-dev Adam Ierymenko 2014-10-18 14:57:04 +02:00
  • a8bd8fff93 Make several changes to eliminate potential deadlock or recursive lock conditions, and add back rescan of multicast groups on network startup. Adam Ierymenko 2014-10-14 16:38:27 -07:00
  • a94b0e6a43 Get rid of rescanMulticastGroups() in Network thread since this can deadlock... the fact that this can happen is probably bad design. Adam Ierymenko 2014-10-14 15:58:03 -07:00
  • 7a37326cc0 Fix sleeper bug that probably did nothing in setSupernodes(). Adam Ierymenko 2014-10-14 14:59:17 -07:00
  • 42d644a57e More fixes to legacy support, and to a potential issue on quit. Adam Ierymenko 2014-10-14 12:37:35 -07:00
  • 023cac4ebb Add -g to optimized crypto code in ZT_DEBUG=1 build mode. Adam Ierymenko 2014-10-14 10:22:27 -07:00
  • 2416491cbc Permanently retire peers.persist, but make iddb.d always enabled instead since identities are what we really want to cache. Adam Ierymenko 2014-10-13 14:12:51 -07:00
  • 6e23986bb3 Another build fix. Adam Ierymenko 2014-10-13 13:09:02 -07:00
  • 1921e28c5f Build fix. Adam Ierymenko 2014-10-13 12:35:43 -07:00
  • 52314dcdf6 GitHub issue #111 Adam Ierymenko 2014-10-13 11:47:14 -07:00
  • d8d4aace42 Fix for init.d/zerotier-one (again) Adam Ierymenko 2014-10-13 12:55:16 -04:00
  • 05309037a8 Yank potentially costly support for TTL out of UdpSocket since we dont use this anymore. Adam Ierymenko 2014-10-13 09:37:17 -07:00
  • 7943414c89 Part two of fix to GitHub issue #118 -- need to test thoroughly though. Adam Ierymenko 2014-10-13 08:15:00 -07:00
  • c7c545bf6c Fix for part one of GitHub issue #118 Adam Ierymenko 2014-10-13 08:11:19 -07:00
  • 6316011024 Make crypto and compression build optimized in debug, and also try disabling peers.persist -- might ship this way as it seems more trouble than its worth. Adam Ierymenko 2014-10-12 11:42:49 -07:00
  • 8b0846d077 Delete bunch of commented out code. Adam Ierymenko 2014-10-11 16:53:21 -07:00
  • 0d017c043f Stop persisting last announcement time since Multicaster is volatile. Also some more legacy multicast fixes. Adam Ierymenko 2014-10-11 16:26:02 -07:00
  • c2aac69a9f Fixes to legacy peer support. Adam Ierymenko 2014-10-11 15:49:31 -07:00
  • a9c6913f12 . Adam Ierymenko 2014-10-11 10:38:52 -07:00
  • e071c05f1b Add a sanity limit to legacy multicast repeater function in supernode-mode nodes, and change netconf-master to issue multicast limit (ml) instead of old p5 stuff. Adam Ierymenko 2014-10-10 14:59:07 -07:00
  • 03dc823ad7 (1) Back off a little on default max multicast limit since 128 is pretty bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs. Adam Ierymenko 2014-10-10 12:55:06 -07:00
  • 1774e615a1 <= MTU Adam Ierymenko 2014-10-10 09:09:56 -07:00
  • 56f8f8aa24 Return self in GATHER requests if self is a member of multicast group, and reinstate legacy support. Adam Ierymenko 2014-10-09 18:32:05 -07:00
  • 4941c8a1f3 New multicast bug fixes, TRACE improvements, and temporarily disable legacy multicast for debugging purposes. Adam Ierymenko 2014-10-09 17:58:31 -07:00
  • d5e0f7e3e4 Reorg multicast packet, and a whole bunch of refactoring around the pushing of certificates of membership. Adam Ierymenko 2014-10-09 12:42:25 -07:00
  • 620e64c58f Supernode propagation of legacy multicast frames was brokezored. Adam Ierymenko 2014-10-09 09:02:46 -07:00
  • b809dad94a Bug fix in zerotier-cli (Unix) Adam Ierymenko 2014-10-07 16:16:22 -07:00
  • b13845e528 . Adam Ierymenko 2014-10-07 15:26:12 -07:00
  • 3f15752f73 Add IPv4 address assignment to ffffffffffffffff test network. Adam Ierymenko 2014-10-07 14:34:00 -07:00
  • cb6fd3afb3 g++ compiler warning fix Adam Ierymenko 2014-10-07 13:18:08 -07:00
  • 7788a3d45d . Adam Ierymenko 2014-10-06 14:56:49 -07:00
  • 923c325a40 Add another private-testnet root topology debug option using 10.0.0.1 as the supernode. Adam Ierymenko 2014-10-06 13:19:04 -07:00
  • 87f1b1b1e3 Bug fix in new multicast frame handler, handling of old "P5" multicast frames in new way. Adam Ierymenko 2014-10-06 13:16:16 -07:00
  • ab22feba9a Bump version to 1.0.0, add legacy support code to Multicaster to not send new frame to known-to-be-old peers. Adam Ierymenko 2014-10-05 10:34:25 -07:00
  • 10c196df50 Send a VERB_P5_MULTICAST_FRAME to the supernode for each multicast -- for now. This will allow supernodes to echo these down to pre-1.0.0 peers. Adam Ierymenko 2014-10-04 13:46:29 -07:00
  • 2c8321be1f Pull logic to always send new multicasts to supernode since we need to do that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed. Adam Ierymenko 2014-10-04 13:15:02 -07:00
  • 62da7e67b6 Add some rate limiting to implicit gathers, and always send multicasts to at least one supernode so they can broadcast to old peers (temporary). Adam Ierymenko 2014-10-03 22:30:10 -07:00
  • e7c81ef34e Turns out that needed to be a list after all. Also clean up Multicaster::gather(). Adam Ierymenko 2014-10-03 22:03:19 -07:00
  • 3f7e7e8a88 Do not multicast to self. Adam Ierymenko 2014-10-03 18:42:41 -07:00
  • 496109fdcc Announce multicast group changes on network rescanMulticastGroups() Adam Ierymenko 2014-10-03 18:27:42 -07:00
  • aad344bb84 Add test network support to Network. Adam Ierymenko 2014-10-03 16:14:34 -07:00
  • 13fc20b0ee Add inject (undocumented in help) to NodeControlService. Adam Ierymenko 2014-10-03 15:59:49 -07:00
  • 351db7f1a0 Plumb injectPacketFromHost through to API. Adam Ierymenko 2014-10-03 14:49:11 -07:00
  • 6ab7b1b915 Add local-testnet clean script, and make a really ugly hacky fix in main.c for the -q option. (All that personality stuff needs to be rewritten. Yuck.) Adam Ierymenko 2014-10-03 13:41:52 -07:00
  • f853bc6a86 Fix root topology override Adam Ierymenko 2014-10-03 13:19:13 -07:00
  • d7189dd6c7 . Adam Ierymenko 2014-10-03 13:06:13 -07:00
  • 5fc3c0812a run-local-testnet script Adam Ierymenko 2014-10-03 13:02:36 -07:00
  • 67aa23530b More work on adding testnet and user-mode capabilities for local network simulation. Adam Ierymenko 2014-10-03 11:59:50 -07:00
  • 2a58c3fb98 Root topology testnet stuff... will ship this so people can easily run the local testnet app. Adam Ierymenko 2014-10-03 09:36:39 -07:00
  • 96fa3f7550 Work on in-place testnet support. Adam Ierymenko 2014-10-02 16:33:08 -07:00
  • 1109046782 Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) Adam Ierymenko 2014-10-02 13:50:37 -07:00