Commit graph

  • 7ee1a1151f Add SqliteNetworkConfigMaster::DBC for external access to raw sqlite3 db. Adam Ierymenko 2015-03-20 12:21:18 -07:00
  • a8a92c5b89 A whole lot of Sqlite netconf master work, and some fixes elsewhere in the code. Adam Ierymenko 2015-03-18 16:10:48 -07:00
  • cea3f28155 DB init works now. Adam Ierymenko 2015-03-17 16:27:52 -07:00
  • ba69240bcb Sqlite auto-init and version check. Adam Ierymenko 2015-03-17 15:20:45 -07:00
  • 49a2450e76 Include the Sqlite schema to auto-init the database. Adam Ierymenko 2015-03-17 14:54:13 -07:00
  • 278c8fd9f1 Wire up externally specified NetworkConfigMaster Adam Ierymenko 2015-03-13 13:53:15 -07:00
  • 61d89bd118 docs Adam Ierymenko 2015-03-12 14:27:14 -07:00
  • 1b0908fab2 Delete duplicate redis-schema.md Adam Ierymenko 2015-03-12 14:04:21 -07:00
  • 31bf0a4ea6 Netconf build fixes, schema, etc. Adam Ierymenko 2015-03-12 14:03:53 -07:00
  • fab951e98a Sqlite schema for netconf. Adam Ierymenko 2015-03-12 09:56:03 -07:00
  • ab211cf599 Changed my mind design-wise on netconf/ -- will embed using SQLite. This fits much better into the OnePoint plans. I am also officially sick of NoSQL, which in this cases forces you to invent things that SQL gives you for free. Adam Ierymenko 2015-03-11 08:44:38 -07:00
  • badf260e1f Add historic protocol docs exhibit. Adam Ierymenko 2015-03-02 06:50:42 -08:00
  • 66f29f09da Make clean fixes. Adam Ierymenko 2015-02-26 14:54:56 -08:00
  • ecffa9f5e7 Redis network config master work, and the beginnings of some actual unit test code. Adam Ierymenko 2015-02-24 16:15:01 -08:00
  • b6fba5934a RedisNetworkConfigMaster in its own folder. Also fix some hex/decimal Redis database confusion. Adam Ierymenko 2015-02-24 14:17:57 -08:00
  • 78fc62d967 netconf/ is where Redis code lives Adam Ierymenko 2015-02-24 12:41:24 -08:00
  • ff255a34de Make NetworkConfigMaster a plugin to get Redis and other non-endpoint code out of node/ Adam Ierymenko 2015-02-24 12:28:58 -08:00
  • 0fee80b4ad Merge 52280c7a63 into 95e303d6f3 Moritz Warning 2015-02-19 20:27:51 +00:00
  • 52280c7a63 remove unused include Moritz Warning 2015-02-09 10:31:06 +01:00
  • 93012b0ee5 Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware] Adam Ierymenko 2015-02-17 13:11:34 -08:00
  • acd77a5441 drop namespace from std::size_t and std::ptrdiff_t Moritz Warning 2015-02-06 17:23:40 +01:00
  • 9d6bd920ed there is a space expected behind the arguments Moritz Warning 2015-01-23 13:11:04 +01:00
  • e0233fe569 Merge 5505161d8b into 95e303d6f3 Moritz Warning 2015-02-09 09:12:28 +00:00
  • 5505161d8b allow environment variables to set/extend CC, CXX, CFLAGS and LDFLAGS Moritz Warning 2015-01-22 22:24:39 +01:00
  • 251edaa7b5 Merge e30192d082 into 95e303d6f3 Moritz Warning 2015-02-06 17:00:01 +00:00
  • e30192d082 allow CXXFLAGS to be set separately Moritz Warning 2015-02-06 17:56:22 +01:00
  • daafb65920 remove unused swap definition in std namepsace Moritz Warning 2015-02-06 17:38:27 +01:00
  • 1b6414a3cc drop namespace from std::size_t and std::ptrdiff_t Moritz Warning 2015-02-06 17:23:40 +01:00
  • 4dd243cdc7 move -fstack-protector to the optional CFLAGS part Moritz Warning 2015-01-23 14:05:06 +01:00
  • a66bd4137f there is a space expected behind the arguments Moritz Warning 2015-01-23 13:11:04 +01:00
  • 3abbe61366 allow use of environment variables to set/extend CC, CXX, CFLAGS and LDFLAGS Moritz Warning 2015-01-22 22:24:39 +01:00
  • 526aafc64b move definition of ZT_SALSA20_SSE into Salsa20.cpp Moritz Warning 2015-01-22 22:11:40 +01:00
  • 89f0c948f8 Physical address change message verb. Adam Ierymenko 2015-02-04 11:59:02 -08:00
  • eeed31b396 Ping supernodes on surface change, and also reset TCP flag. Adam Ierymenko 2015-02-02 17:02:23 -08:00
  • b7148c107d Rip out network environment fingerprint. This will be replaced by constant monitoring of actual external address surface. Adam Ierymenko 2015-02-02 16:40:57 -08:00
  • b1bf3f68c3 Drop support for legacy P5 multicast, as there are fewer than 1% of these remaining on the network. Adam Ierymenko 2015-02-02 16:34:01 -08:00
  • 37d23336ed Surface logic in Topology. Adam Ierymenko 2015-02-02 16:23:26 -08:00
  • 61cff47f5b Code to track externally visible address surface. Adam Ierymenko 2015-02-02 15:24:05 -08:00
  • c30bf7957e Hash code method for InetAddress Adam Ierymenko 2015-02-02 14:44:24 -08:00
  • d73a11b60b Add netconf build option to Mac build file too. Adam Ierymenko 2015-01-13 16:45:23 -08:00
  • 83227dc386 Now demote Amsterdam supernode. Appears to be having issues due to some sort of poor hosting provider performance. Adam Ierymenko 2015-01-13 08:43:38 -08:00
  • fbc6ca28b7 Merge branch 'adamierymenko-dev' of ssh://earth.zerotier.net:55522/git/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2015-01-12 09:49:11 -08:00
  • 72f926dc41 Add new faster supernode in Paris, France. Adam Ierymenko 2015-01-12 09:22:37 -08:00
  • eab3ca1401 docs Adam Ierymenko 2015-01-09 18:44:17 -05:00
  • c8c5d3b06e Create netconf master if redis options are in local.conf. Adam Ierymenko 2015-01-09 18:25:41 -05:00
  • 0b84c10ccc Add confirmation step to new netconf, with the caveat that it will be disabled for older netconf servers to avoid race. Also add some comments. Adam Ierymenko 2015-01-09 16:35:20 -05:00
  • afea153a0b Build fixes. Adam Ierymenko 2015-01-08 18:17:02 -05:00
  • 64ba596e0b C++ network config master ready to test. Adam Ierymenko 2015-01-08 14:27:55 -08:00
  • 60fb28a90a Cleanup, new C++ netconf code is almost ready to test! Adam Ierymenko 2015-01-06 17:16:54 -08:00
  • a369c69091 C++ netconf master Redis plumbing. Adam Ierymenko 2015-01-06 13:45:10 -08:00
  • f043321281 Revised Redis schema. Adam Ierymenko 2015-01-06 11:04:53 -08:00
  • b644d2a893 Add timestamp field to network config requests. Adam Ierymenko 2015-01-05 17:51:50 -08:00
  • 4e95384ad6 Cleanup, add tristate to config code in Network, and happy new year! Adam Ierymenko 2015-01-05 17:47:59 -08:00
  • 08ba2ff752 Upgrade LZ4. Adam Ierymenko 2015-01-05 16:23:32 -08:00
  • efa0bab296 Stash old Node.JS netconf-service in attic/ Adam Ierymenko 2015-01-05 16:20:20 -08:00
  • 96e9a90e8e docs Adam Ierymenko 2015-01-05 16:19:56 -08:00
  • 87c599df5c Back out service message type -- YAGNI violation. Adam Ierymenko 2015-01-05 15:52:02 -08:00
  • 56cfe1d603 Strip out old Service code, add new service message type. Adam Ierymenko 2015-01-05 11:47:22 -08:00
  • 95e303d6f3 VERSION 1.0.2: Experimental FreeBSD support! 1.0.2 Adam Ierymenko 2014-12-19 15:20:47 -08:00
  • ebb63cce70 Merge branch 'adamierymenko-dev' of ssh://earth.zerotier.net:55522/git/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2014-12-19 15:24:23 -08:00
  • f24283a674 VERSION 1.0.2: Experimental FreeBSD support! Adam Ierymenko 2014-12-19 15:20:47 -08:00
  • f60dfe4963 FreeBSD works, and some documentation fixes. Adam Ierymenko 2014-12-19 15:18:20 -08:00
  • 536bcf6505 FreeBSD builds! Adam Ierymenko 2014-12-19 14:33:58 -08:00
  • 1a02bcc9f5 Fork OSXEthernetTapFactory -> BSDEthernetTapFactory Adam Ierymenko 2014-12-19 13:34:06 -08:00
  • d10abab786 Remove &s from restarts in installer -- probably part of the restart problem. Adam Ierymenko 2014-12-16 12:32:53 -05:00
  • ff539c22f9 locallyValidate() is expensive -- stop doing it on every HELLO since in most cases we already know the identity and know it is valid Adam Ierymenko 2014-12-16 09:29:40 -08:00
  • 0324ef2a47 VERSION 1.0.1 1.0.1 Adam Ierymenko 2014-12-05 12:10:18 -08:00
  • cd2bf6f4b3 Stash make-freebsd.mk in attic/ to indicate that the FreeBSD port is not done net. Coming soon! Adam Ierymenko 2014-12-05 09:36:16 -08:00
  • ad4923846a Add .autoupdating to Debian package version too. Adam Ierymenko 2014-12-05 17:34:05 +00:00
  • 83a6edd08e Make RPM version contain .autoupdating to indicate that it auto updates outside normal RPM channels. Adam Ierymenko 2014-12-05 12:26:53 -05:00
  • 58f2dc5cf3 RPM build support in buildinstaller.sh Adam Ierymenko 2014-12-04 20:12:59 -05:00
  • 3a786ccc17 Set Debian arch correctly on armv6l (armhf) Adam Ierymenko 2014-12-04 22:38:49 +00:00
  • b3a9bfca4d Fix Debian package upgrade process. Adam Ierymenko 2014-12-04 21:28:03 +00:00
  • 03c7dc2b4c Add .service to unit name in uninstall too. Adam Ierymenko 2014-12-04 00:16:10 +00:00
  • 000eac5a2b Another systemd change... should fix problems on some systems. Adam Ierymenko 2014-12-03 16:05:18 -08:00
  • 62c31e70d4 Systemd permission fix in Linux installer. Adam Ierymenko 2014-12-03 23:57:08 +00:00
  • 1b6af7836e Don't restart ZeroTier One service if version has not changed. Adam Ierymenko 2014-12-03 23:25:06 +00:00
  • 638ae153cc fix service command, eliminate all uses of killall since it might be missing Adam Ierymenko 2014-12-03 22:46:44 +00:00
  • 059aaae7a9 Preinst and postinst Debian scripts. Adam Ierymenko 2014-12-03 22:09:17 +00:00
  • 4bf2fa3edb Basic Debian package support in buildinstaller.sh Adam Ierymenko 2014-12-03 21:40:33 +00:00
  • 149dbff3ea Windows Visual Studio meaningless-warning-ectomy. Adam Ierymenko 2014-12-02 16:50:53 -08:00
  • c030294bf5 Clean up some unused Windows files. Adam Ierymenko 2014-12-02 16:43:01 -08:00
  • 30e82a4d9c Fix network enumeration buffer size bug -- reported by user Neal Symms via LiveAgent Adam Ierymenko 2014-12-02 12:53:30 -08:00
  • 8c64046a53 docs Adam Ierymenko 2014-11-26 14:59:43 -08:00
  • 04e4c5263e Remove more legacy code -- just doing the supernode redist for old multicast is now good enough given the small number of legacy nodes left. Adam Ierymenko 2014-11-26 13:39:57 -08:00
  • 4303376ba6 cleanup and docs Adam Ierymenko 2014-11-26 13:30:00 -08:00
  • cda61fe2d9 docs and cleanup Adam Ierymenko 2014-11-26 13:14:18 -08:00
  • 0f505411cf Enable legacy multicast in Constants. Adam Ierymenko 2014-11-25 14:12:33 -08:00
  • 15d3e383e6 Add ZT_SUPPORT_LEGACY_MULTICAST ifdef to enable the legacy code to all be toggled. Adam Ierymenko 2014-11-25 12:46:51 -08:00
  • 6888c6482c Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online. Adam Ierymenko 2014-11-24 10:37:34 -08:00
  • d772639cc6 Multicast code cleanup. Adam Ierymenko 2014-11-24 10:05:16 -08:00
  • acac88cf77 A few more tweaks to MC algo... Adam Ierymenko 2014-11-23 14:00:27 -08:00
  • 0bcac1fd79 Add a bunch of high-resolution try/catch safety in Node main loop to attempt to snare gremlin. Adam Ierymenko 2014-11-21 11:54:06 -08:00
  • 959f611a65 Fix thinko in multicast changes... works now! Adam Ierymenko 2014-11-21 11:27:53 -08:00
  • 7619b0ecbd Send multicasts in random order. Adam Ierymenko 2014-11-21 10:50:27 -08:00
  • 0c85b4ef5f Tweak to symmetric NAT buster to add one to the number of ports above the current one it attempts. Adam Ierymenko 2014-11-20 13:42:18 -08:00
  • ee9e6a3c6b Change path selection logic to exclude non-fixed and non-active paths -- possible fix for "NAT traversal coma" issue. Also fix a typo. Adam Ierymenko 2014-11-20 13:20:16 -08:00
  • 7b6f10e859 Optimization: we don't need to verify signatures on certs if they're certs we already have and have verified. Adam Ierymenko 2014-11-13 12:40:51 -08:00
  • c61e9c0ef9 Prevent "software laser" in legacy multicast support. Already hotpatched in supernodes. Adam Ierymenko 2014-11-13 14:21:06 -05:00
  • b1b37d9d72 Increase paltry listen() backlog size to prevent Linux kernel syn flood fallback (only really affects supernodes). Adam Ierymenko 2014-11-12 14:05:03 -08:00