Commit graph

  • 49dc47ff38 Make multicast gathering a bit smarter. Adam Ierymenko 2014-10-02 11:35:37 -07:00
  • dee86e2448 But since we are now using middle 3 bits we can assign sane values for the cipher suite enum. Adam Ierymenko 2014-10-02 11:13:53 -07:00
  • 17da733f97 Gotta support old encrypted flag, move cipher spec to middle 3 bits... due to some shortsighted design early-on. In the future this can die once there are no old peers. Adam Ierymenko 2014-10-02 11:08:59 -07:00
  • 23836d4c11 Change "encrypted" flag to full cipher suite selector. Go ahead and reserve AES256-GCM which might be added in the future. Adam Ierymenko 2014-10-02 10:54:34 -07:00
  • e53d208ea4 Improve security posture by eliminating non-const data() accessor from Buffer. Adam Ierymenko 2014-10-02 10:06:29 -07:00
  • e8c5495b61 Yes, zero my secret key data. Yes I really, really mean it. Adam Ierymenko 2014-10-02 09:08:31 -07:00
  • 28646eee0a A bit more IncomingPacket cleanup... almost ready to test, just need OK() handling. Adam Ierymenko 2014-10-01 16:29:52 -07:00
  • e1882b614b Some cleanup, Multicaster now sends multicasts as it gets additional members. Adam Ierymenko 2014-10-01 14:05:25 -07:00
  • ae082c3cb8 Yay... now everything compiles! Getting close to testing on this. Still have not added backward compatibility support for relaying of multicasts to 0.9.X clients yet but that will be easy. Will test with heterogenous 1.0.0 clients only first. Adam Ierymenko 2014-10-01 12:41:48 -07:00
  • ea6124dd2f IncomingPacket builds! Adam Ierymenko 2014-09-30 17:33:20 -07:00
  • b41437780b Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket... Adam Ierymenko 2014-09-30 17:26:34 -07:00
  • 2659427864 Multicaster needs to be global, not per-network, and a bunch of other stuff. Adam Ierymenko 2014-09-30 16:28:25 -07:00
  • 8607aa7c3c Everything in for new multicast except IncomingPacket parsing... Adam Ierymenko 2014-09-30 08:38:03 -07:00
  • ed0ba49502 A few more revisions to new multicast verbs. Adam Ierymenko 2014-09-26 14:18:25 -07:00
  • 2d41055bdc Some Network code cleanup. Adam Ierymenko 2014-09-26 12:23:43 -07:00
  • 027060dad1 Most of new multicast code builds... now on to packet parsing. Adam Ierymenko 2014-09-25 22:13:31 -07:00
  • 0778332747 . Adam Ierymenko 2014-09-25 22:08:52 -07:00
  • 9e186bbd89 . Adam Ierymenko 2014-09-25 15:57:43 -07:00
  • 050a0ce85d . Adam Ierymenko 2014-09-25 15:08:29 -07:00
  • 6c87f9f765 Rename MulticastTopology to Multicaster -- same name as old multicast controller but different code. More descriptive though. Adam Ierymenko 2014-09-24 14:02:16 -07:00
  • 81b12b6826 Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a little more consistent about using _ to denote private member variables. Adam Ierymenko 2014-09-24 13:53:03 -07:00
  • 431476e2e4 Some more multicast algo work... Adam Ierymenko 2014-09-24 13:45:58 -07:00
  • 557801a09e Rename PacketDecoder to much more descriptive IncomingPacket Adam Ierymenko 2014-09-24 09:04:09 -07:00
  • 9180a30986 . Adam Ierymenko 2014-09-24 09:01:58 -07:00
  • 61d0f27d2a Make MulticastTopology have its own mutex. Adam Ierymenko 2014-09-23 10:26:30 -07:00
  • c49e253e21 . Adam Ierymenko 2014-09-22 15:03:16 -07:00
  • 954f9cbc13 Yet more WIP on mulitcast algo... Adam Ierymenko 2014-09-22 13:18:24 -07:00
  • d9abd4d9be Work on defining new direct broadcast multicast algorithm. Adam Ierymenko 2014-09-18 18:28:14 -07:00
  • d37c3ad30f VERSION 0.9.3: unreleased update with some fixes for Pi users 0.9.3 Adam Ierymenko 2014-09-18 13:40:58 -07:00
  • 4708231046 Fix for GitHub issue #122 and other fixes Adam Ierymenko 2014-09-18 10:01:30 -07:00
  • 924f030994 docs Adam Ierymenko 2014-09-18 09:41:12 -07:00
  • 6b76cac6cf Back off from thrashing shutdownIfUnreadableCheck, fix bug in control service. Adam Ierymenko 2014-09-17 14:19:58 -07:00
  • 2762db8408 More work on control bus refactor... Adam Ierymenko 2014-09-17 12:54:39 -07:00
  • edff13dcae More control/ refactoring Adam Ierymenko 2014-09-17 09:50:49 -07:00
  • e22fae2397 it compiles again! Adam Ierymenko 2014-09-16 15:47:00 -07:00
  • 73dd9d3b74 Make sure open() has third argument Adam Ierymenko 2014-09-16 08:58:49 -07:00
  • 8d2e20ede6 Get rid of __align stuff in Salsa20 -- not portable, does not seem to help much on newer chips. Adam Ierymenko 2014-09-16 08:53:18 -07:00
  • 5c1c70a604 cleanup Adam Ierymenko 2014-09-16 08:19:39 -07:00
  • fb22ef053b Move rest of NodeControl stuff out of node/ and into control/ Adam Ierymenko 2014-09-15 16:32:55 -07:00
  • 4ba4269344 cleanup Adam Ierymenko 2014-09-15 09:45:57 -07:00
  • 2dcf584834 rename ipc/ to control/ Adam Ierymenko 2014-09-15 09:44:29 -07:00
  • 13aba7640b refactoring for SDK Adam Ierymenko 2014-09-15 09:43:57 -07:00
  • 2e46bb4264 build fixes Adam Ierymenko 2014-09-13 14:15:26 -07:00
  • 1d37204a37 Refactoring in progress... pardon our dust... Adam Ierymenko 2014-09-12 16:57:37 -07:00
  • 6b4346d1ac work in progress on API refactor Adam Ierymenko 2014-09-10 17:16:40 -07:00
  • 5836da339b Merge 08ddddd8e4 into 6f8364ba59 Paul M Furley 2014-09-08 19:39:15 +00:00
  • 08ddddd8e4 Enable buildinstaller.sh on Raspberry Pi Paul M Furley 2014-09-08 20:34:30 +01:00
  • ea0f836ef1 Turns out we do want to propagate packets unauthenticated in the supernode case. This is fine. Adam Ierymenko 2014-09-08 14:33:12 -04:00
  • b8729de9da Temporarily DISABLE multicast authentication (doing in branch, will reenable in dev) Adam Ierymenko 2014-09-08 08:25:06 -07:00
  • 4e9280fc7a Rip out dead "firewall opener" code, replace in pipeline with anti-symmetric-NAT tactics. Adam Ierymenko 2014-09-05 16:23:24 -07:00
  • d02ecfb288 IP assignment and change cleanup -- leave IPs that were never configured via ZT static assignment alone. Adam Ierymenko 2014-09-05 15:35:09 -07:00
  • 3afc629ac5 Bit of network config parser cleanup. Adam Ierymenko 2014-09-05 14:56:11 -07:00
  • 6e1339fedf Remove zerotier-idtool symlink on mac uninstall.sh Adam Ierymenko 2014-09-05 11:39:54 -07:00
  • 7d4b6767eb Old-school GCC build fix -- make sure __GCC__ is defined Adam Ierymenko 2014-09-05 17:48:59 +00:00
  • 93f9b4392d Enable configuration of multicast algorithm parameters in netconf Adam Ierymenko 2014-09-04 14:25:07 -07:00
  • 6df9546742 Fix for missing broadcast address on Linux Ethernet taps. Adam Ierymenko 2014-09-04 13:36:25 -04:00
  • 4dbeb97eb9 docs Adam Ierymenko 2014-09-03 16:50:06 -07:00
  • 34349d1a61 docs Adam Ierymenko 2014-09-03 16:48:02 -07:00
  • 6497a4a0f6 initdb changes Adam Ierymenko 2014-09-03 19:15:53 -04:00
  • b8d29cb6ba Some netconf-service renames and add initdb script for user use. Adam Ierymenko 2014-09-03 20:04:58 +00:00
  • e77e224171 bin2c warning removed Adam Ierymenko 2014-09-03 12:25:28 -07:00
  • dcea212e40 Add noupdate flag in root topologies, add ability for mktopology to read from a template. Adam Ierymenko 2014-09-03 11:56:36 -07:00
  • 644db7a04a Let people build installers for any machine type on Linux, just canonicalize the x86 and x86_64 types. Adam Ierymenko 2014-08-27 20:15:41 -04:00
  • 00b16f6aa6 Fix for GitHub issue #110 -- failure to bind IPv6 now non-fatal Adam Ierymenko 2014-08-27 20:09:56 -04:00
  • 1952db5069 Only enable SSE Salsa20 on x86 and x86_64 Linux Adam Ierymenko 2014-08-27 20:01:24 -04:00
  • 6f8364ba59 VERSION 0.9.2: 0.9.2 Adam Ierymenko 2014-08-22 12:05:56 -07:00
  • eadff71d37 Another fix to Network life cycle. Adam Ierymenko 2014-08-21 18:07:27 -07:00
  • af62a6cade Forgot to uncomment secret debug #define of death. Adam Ierymenko 2014-08-21 17:49:46 -07:00
  • de4e29288d Fix for crazy Windows threading bug... repeatedly adding and removing a network now doesn't leave networks in limbo. Adam Ierymenko 2014-08-21 17:49:05 -07:00
  • 44d58ee871 Change 1.1.1.1 pseudo-IP used for default route hack to 25.255.255.254, since 1.1.1.1 is from a now-in-use IPv4 block while 25.0.0.0/8 is still unrouted. It can be changed in the future without impacting anything, since Windows keys off the MAC not the IP to classify networks. Adam Ierymenko 2014-08-21 08:26:39 -07:00
  • 9d5819ff44 Version bump to 0.9.2 -- preparing for release... Adam Ierymenko 2014-08-20 18:29:27 -07:00
  • 08d7fe0432 Fix for GitHub issue #102 Adam Ierymenko 2014-08-20 12:36:11 -07:00
  • 9f2571cc01 Some UI fixes for Windows. Adam Ierymenko 2014-08-20 10:22:30 -07:00
  • b4b2e2ed9f ... Adam Ierymenko 2014-08-19 18:21:21 -07:00
  • 17ebd0afc7 Disable service management in UI -- installer should automatically start service and this is annoying for testing purposes. Adam Ierymenko 2014-08-19 18:14:50 -07:00
  • 351b7f3a09 UI stuff and sign .dmg on build. Adam Ierymenko 2014-08-19 17:42:17 -07:00
  • 721625d512 Add MAC to listnetworks, and some other make stuff. Adam Ierymenko 2014-08-19 14:11:02 -07:00
  • 282114e96c Makefile changes, and make Topology::getBestSupernode() return the "next" supernode if I am a supernode. Also some comment cleanup. Adam Ierymenko 2014-08-19 10:09:21 -07:00
  • 95d123cfc2 Do HttpClient refactoring for Windows. Adam Ierymenko 2014-08-18 14:34:04 -07:00
  • f5cbb45ab9 Increase sleep/wake detection threshold... might want to switch to using native interfaces to really detect this in the future since this is not 100% reliable. Adam Ierymenko 2014-08-18 10:13:25 -04:00
  • b7b9b9c0b7 Add "make debug" to make building debug one-offs easier (Linux). Adam Ierymenko 2014-08-18 10:07:03 -04:00
  • 715afc0314 Default to built-in root topology if signature check fails (instead of exiting) Adam Ierymenko 2014-08-16 14:01:25 -07:00
  • f281886bfd Small thread safety fix in HttpClient. Adam Ierymenko 2014-08-16 13:32:33 -07:00
  • 4f0fcc582e Refactor HttpClient a bit. Adam Ierymenko 2014-08-16 09:08:52 -07:00
  • aa59cfd545 Web request part of supernode resync (not quite done, needs test) Adam Ierymenko 2014-08-15 23:37:35 -04:00
  • f696299cfc docs Adam Ierymenko 2014-08-15 12:59:49 -04:00
  • b0719eacf9 Add encrypt/decrypt to attic. Adam Ierymenko 2014-08-15 12:59:07 -04:00
  • c2187c8759 (1) distribute default root-topology in new dictionary format, (2) bump peer serialization version to force obsolescence of old supernodes, (3) stop outputting a log message every time we poll for software updates Adam Ierymenko 2014-08-14 19:52:22 -04:00
  • 56296f96db Regenerate root topology dictionary with field fix. Adam Ierymenko 2014-08-14 18:54:53 -04:00
  • be6b61b1bc Accept supernode dictionaries in Topology, also fix (unused) field name in one of these. Adam Ierymenko 2014-08-14 18:06:18 -04:00
  • f8d4611d15 (1) Tweak LAN locator beacon frequencies, (2) Windows virtual networks now show up as *real* networks and prompt the user to set their location and firewall status (public, private, home/work, etc.). Adam Ierymenko 2014-08-12 17:20:34 -07:00
  • f25bd41a03 Some fixes to firewall config code. Adam Ierymenko 2014-08-08 15:53:27 -07:00
  • fe3ad5e2cc Fix a Windows bug in refactored tap code, and always make sure we have a firewall exception rule on startup. Adam Ierymenko 2014-08-08 14:57:13 -07:00
  • 502ea66f15 Kill ugly old getSecureRandom() and replace with simple wrapper for Windows CAPI and *nix /dev/urandom, and some build fixes. Adam Ierymenko 2014-08-08 11:53:55 -07:00
  • 673aab5ba2 Fix an oversight in signed dictionaries: the timestamp and signing identity should themselves be part of the signature. Also include the raw dictionary in addition to the bin2c version in root-topology/ Adam Ierymenko 2014-08-08 12:46:00 -04:00
  • 77457cbff1 Windows compile fixes, compiler warning fix, unfreed memory fix in main.c (though it would not have mattered since program exits immediately after). Adam Ierymenko 2014-08-07 19:08:41 -07:00
  • db0d17cebb Change topology URL to something prettier. Adam Ierymenko 2014-08-07 20:27:05 -04:00
  • dd58006d65 Rename topology/ to be more descriptive, and some more updates. Adam Ierymenko 2014-08-07 20:21:07 -04:00
  • f0ebb0b0f1 More root topology stuff. Adam Ierymenko 2014-08-07 20:14:24 -04:00
  • 8c9d3146df make clean fix Adam Ierymenko 2014-08-07 18:46:04 -04:00