Commit Graph

  • 77f8d75529 Fix idtool build, tweak address derivation again. Adam Ierymenko 2013-09-16 15:06:17 -04:00
  • 94bf3e9a0e More tweaks to address derivation, going to test on other boxen. Adam Ierymenko 2013-09-16 14:54:17 -04:00
  • 4f53d09c7e Build fix for 32-bit Linux and tweaks to address derivation algorithm. Adam Ierymenko 2013-09-16 14:47:48 -04:00
  • e376c6f6a9 New crypto integrated -- going to be testing new identity address generation algo a bit more before finalizing. Adam Ierymenko 2013-09-16 13:57:57 -04:00
  • ceb024ab03 Integrating new crypto, work still in progress... Adam Ierymenko 2013-09-16 13:02:10 -04:00
  • 3b2d98e7dc Integrating new crypto -- work in progress, wont build yet. Adam Ierymenko 2013-09-16 09:20:59 -04:00
  • 02f3369185 Small amount of crypto cleanup. Adam Ierymenko 2013-09-15 11:02:53 -04:00
  • 300d26973a Test vectors for all new crypto. Adam Ierymenko 2013-09-15 10:41:52 -04:00
  • 660f92b6a7 Add test vectors for ensuring identical C25519 operation across systems. Adam Ierymenko 2013-09-14 13:51:08 -04:00
  • 09c8b4bbb3 More new crypto: Ed25519 signatures. Adam Ierymenko 2013-09-13 19:18:01 -04:00
  • b2bb7b41fc More work in progress on new crypto... Adam Ierymenko 2013-09-13 17:32:00 -04:00
  • 0b94a04914 More crypto work in progress... Adam Ierymenko 2013-09-13 16:53:47 -04:00
  • 032ce498c4 More new crypto -- poly1305 one-time auth code. Adam Ierymenko 2013-09-13 15:59:45 -04:00
  • 77965af288 Add new crypto: SHA512 and C25519 -- not integrated yet. Adam Ierymenko 2013-09-13 15:47:00 -04:00
  • f6ad138561 Bit more of adding version to OK(HELLO) Adam Ierymenko 2013-09-13 14:41:20 -04:00
  • d87a1d6b99 Add version info to OK(HELLO) so both sides know their version info. Adam Ierymenko 2013-09-13 13:35:31 -04:00
  • 07e1085dcc More experimentation with multicast rate. Adam Ierymenko 2013-09-12 17:27:10 -04:00
  • 55e7ddba1e Get a default rate that works for multicast. Adam Ierymenko 2013-09-12 12:11:21 -04:00
  • d74b5f4bc6 Restore peer field to netconf for now, required by older versions. Adam Ierymenko 2013-09-11 16:54:01 -04:00
  • 553002e9d8 Reduce log noise, change to TRACE. Adam Ierymenko 2013-09-11 16:49:01 -04:00
  • 0e62857841 A few logging changes. Adam Ierymenko 2013-09-11 16:32:53 -04:00
  • 75471ee0e0 Small method rename. Adam Ierymenko 2013-09-11 16:17:51 -04:00
  • 5885c6186d More updates to bandwidth accounting. Adam Ierymenko 2013-09-11 16:08:31 -04:00
  • 9cdaefdb9a Drop old Certificate type from Network. Adam Ierymenko 2013-09-11 15:13:05 -04:00
  • de744e6df6 Version two of network certificate of membership, a much more concise and fast approach. Adam Ierymenko 2013-09-11 15:09:53 -04:00
  • 3a563250f7 Finish stripping minBalance from BandwidthAccount Adam Ierymenko 2013-09-10 14:13:04 -04:00
  • a3a2b8dedb Look up rate info from database, but going to drop min balance cause it seems unnecessary. Also work in progress on membership certs. Adam Ierymenko 2013-09-10 09:40:37 -04:00
  • a40b8c07f4 Apply multicast rate limits to my own multicasts. Will run locally and on a variety of system types to test the result of this. Adam Ierymenko 2013-09-07 15:49:38 -04:00
  • cdb96726df updateAndCheckMulticastBalance and friends Adam Ierymenko 2013-09-07 12:23:53 -04:00
  • 56d8bbf780 Bit more netconf cleanup... Adam Ierymenko 2013-09-06 15:06:51 -04:00
  • 37931d8589 Multicast bandwidth accounting work in progress, and some config field changes and cleanup. Adam Ierymenko 2013-09-04 09:27:56 -04:00
  • f3ad05347e Improve code security posture by replacing sprintf with a safer function. Adam Ierymenko 2013-08-30 17:05:43 -04:00
  • 1a7e303f97 docs and minor cleanup Adam Ierymenko 2013-08-30 16:47:54 -04:00
  • 9ca521e894 docs Adam Ierymenko 2013-08-30 15:55:08 -04:00
  • 5df6055169 docs Adam Ierymenko 2013-08-30 15:30:53 -04:00
  • eefcd4aae4 Remove makekeypair program. Adam Ierymenko 2013-08-30 15:03:12 -04:00
  • 4875eb49f8 Remove old launcher code, fix build error in idtool, add terminate command to control bus. Adam Ierymenko 2013-08-30 15:02:12 -04:00
  • 11774f7d5f Change rate limiter a little... Adam Ierymenko 2013-08-30 14:15:24 -04:00
  • 1bd3cd4225 Forgot to add new files in previous commit. Adam Ierymenko 2013-08-29 12:36:24 -04:00
  • 6882c374c9 Add two new Windows projects: Windows service (process supervisor) and Windows Installer/Updater. Our installer/updater is probably going to be custom-written, and will be used both for installation (in which it'll pop up a progress meter) and for updates via a command line switch. Adam Ierymenko 2013-08-29 12:35:38 -04:00
  • 18919465c3 VERSION 0.4.5 0.4.5 Adam Ierymenko 2013-08-28 17:03:01 -04:00
  • bb8bb2727c Build fix Adam Ierymenko 2013-08-28 16:41:12 -04:00
  • 859fe7776c SQL problem fix Adam Ierymenko 2013-08-28 16:40:50 -04:00
  • 55616388ea Check network ethernet type whitelist instead of hard-coded ethernet types. Adam Ierymenko 2013-08-28 16:01:27 -04:00
  • 8e1b897f0a Add etherTypes to netconf response. Adam Ierymenko 2013-08-28 15:25:49 -04:00
  • 3745377872 Filter work, add name and desc to netconf response, small compiler warning fix. Adam Ierymenko 2013-08-28 15:09:49 -04:00
  • 01a70d09db Jigger with shutdown method to avoid a crash on CTRL+C in Windows. Feels a big hacky, might revisit later. Adam Ierymenko 2013-08-27 18:00:07 -04:00
  • 0afcf4877c Build fixes for *nix. Adam Ierymenko 2013-08-27 16:49:49 -04:00
  • aa96bdfd1e Drop extra debug output. Adam Ierymenko 2013-08-27 16:45:22 -04:00
  • c247a3d991 Build fix in tap, handling of Windows shutdown signals. Adam Ierymenko 2013-08-27 16:11:39 -04:00
  • cd907a7662 More tap work -- DHCP configuration and such. Adam Ierymenko 2013-08-27 15:55:32 -04:00
  • 1c88a518cf Dike out some cruft in Windows tap that we will never use, like TUN mode, DHCP masq, ARP emulation, NDP emulation, and related. We operate only in L2 mode. All tap, no tun. Adam Ierymenko 2013-08-27 11:55:56 -04:00
  • b4be07149f Tap now basically sorta works on Windows. Now have to figure out how to control DHCP behavior since we normally don't want that. Adam Ierymenko 2013-08-27 11:15:14 -04:00
  • 335733f110 Build fixes for *nix Adam Ierymenko 2013-08-26 17:51:36 -04:00
  • 4a370c5f3f Windows: disable and enable tap to allow changes to take effect. Adam Ierymenko 2013-08-26 17:48:47 -04:00
  • 487eb17ec0 ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap. Adam Ierymenko 2013-08-26 17:22:20 -04:00
  • 9f16707b0b Cut out tap test code from selftest. Adam Ierymenko 2013-08-25 18:25:22 -04:00
  • bbbc032959 Tap works! At least in isolation. Time to create the Windows executable and the Windows service to run it and handle auto-update. Adam Ierymenko 2013-08-25 18:18:02 -04:00
  • e0bdc02139 Docs, Node picks a default home folder if created with NULL as its home path, and add binary tap drivers (self-signed for now). Adam Ierymenko 2013-08-24 17:10:34 -04:00
  • 6d7b1c1e5f Forked tap driver installs with test cert, assuming Windows is in test mode, and seems to work! Adam Ierymenko 2013-08-24 14:10:34 -04:00
  • 8637d06e0e It builds and it installs! Well, except for not being digitally signed. :P Adam Ierymenko 2013-08-24 13:21:51 -04:00
  • df98e5a635 More tap work in progress. Adam Ierymenko 2013-08-24 13:17:01 -04:00
  • 62dd433756 Tap driver project config, inf file. Adam Ierymenko 2013-08-24 12:11:42 -04:00
  • e2effbd1ce Tap driver basically builds in VS2012... fork of tap-windows from OpenVPN (compatible license). Adam Ierymenko 2013-08-23 17:39:21 -04:00
  • b6248c7cb7 VERSION 0.4.4: multicast cleanup, Windows port work 0.4.4 Adam Ierymenko 2013-08-23 10:54:45 -04:00
  • f6e7be102a Decided to abandon the winpcap direction for Windows tap... re-evaluating using OpenVPN tap driver in some form for now. Adam Ierymenko 2013-08-23 09:50:51 -04:00
  • c8213a3f58 Commit of a draft of the pcap-based strategy for a Windows tap. This may, in the end, not work, since winpcap may not support immediate capture and also because some software flags winpcap as malware. Like I said, trying to do anything interesting with Windows is PAIN. Adam Ierymenko 2013-08-22 22:33:32 -04:00
  • d19516b40a Add winpcap development libraries and includes. Adam Ierymenko 2013-08-22 16:42:17 -04:00
  • ca5334509c Tap now creates Microsoft Loopback Adapter instances and tags them with a special ID... work in progress. Adam Ierymenko 2013-08-22 14:30:55 -04:00
  • a0a9d52213 Bug fix in multicast changes. Adam Ierymenko 2013-08-21 14:51:32 -04:00
  • 2efc9b31bd Huge convoluted logic de-tangling in multicast propagation, supernodes now do random propagation for more efficient coverage with less bias in sparse graph cases. Adam Ierymenko 2013-08-21 11:45:06 -04:00
  • 1d9977b8b9 A bit of code comment cleanup. Adam Ierymenko 2013-08-21 10:19:34 -04:00
  • edad580c32 Some work on Windows tap. Adam Ierymenko 2013-08-21 10:18:05 -04:00
  • 2536352e5d Make that an arbitrary tag to identify persistent taps... Adam Ierymenko 2013-08-21 08:13:48 -04:00
  • dbb509a302 Add an interface description to EthernetTap, mostly for Windows. Adam Ierymenko 2013-08-19 17:44:46 -04:00
  • 3daf73710a Add devcon 32-bit and 64-bit Windoze binaries. Adam Ierymenko 2013-08-19 17:20:27 -04:00
  • d372cd1b17 Clean up... Adam Ierymenko 2013-08-19 15:39:11 -04:00
  • ee7e826f0c On second thought... argh. Adam Ierymenko 2013-08-16 16:37:01 -04:00
  • d7bd3e37cb Add a fork of tap-windows from OpenVPN, will be customized. Adam Ierymenko 2013-08-15 15:52:52 -04:00
  • b23748aa5a Create devel project for Windows tap work. (Might be temporary.) Adam Ierymenko 2013-08-15 15:51:03 -04:00
  • 8584515a50 A few test build changes. Adam Ierymenko 2013-08-14 13:30:27 -04:00
  • 08fe84d707 Windows builds, self test runs in Debug mode! Adam Ierymenko 2013-08-14 13:23:25 -04:00
  • 150a53eb17 Self test almost builds, now need skeleton EthernetTap implementation for Windows. Adam Ierymenko 2013-08-14 11:19:21 -04:00
  • 1f9a7e26ba Move .vcxproj files to vsprojects\ subfolder and use Visual Studio's ability to add existing files to create per-tool solutions. Create self test solution to test basic functionality on Windows. Adam Ierymenko 2013-08-14 10:29:20 -04:00
  • fc18334dbb Version 0.4.3 (the real one): fix Gentoo ip config failures and crashes 0.4.3 Adam Ierymenko 2013-08-13 15:14:03 -04:00
  • 4ce88d7f72 Version 0.4.3: fix Gentoo ip config failures and crashes Adam Ierymenko 2013-08-13 14:42:51 -04:00
  • ce1a03bde3 Fix a *nix build issue. Adam Ierymenko 2013-08-12 21:27:07 -04:00
  • d6414c9ff7 Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start. Adam Ierymenko 2013-08-12 21:25:36 -04:00
  • 5076c75b07 More Windows port work. Adam Ierymenko 2013-08-12 16:57:34 -04:00
  • 36af3d92ec Windows build work: condition, mutex, thread, udp socket... Adam Ierymenko 2013-08-12 16:18:35 -04:00
  • 2ad80063ec A few more visual studio file changes, forgot to save all. Will be switching to dev branch now. Adam Ierymenko 2013-08-12 14:47:02 -04:00
  • 2fbe1e200b Add Visual Studio DLL project for core Adam Ierymenko 2013-08-12 14:44:02 -04:00
  • 53996050a2 0.4.2: cleanup release 0.4.2 Adam Ierymenko 2013-08-12 13:17:41 -04:00
  • f5d77a1bc2 Clean up a bunch of valgrind errors, nix a potentially unsafe op in Buffer assignment operator. Adam Ierymenko 2013-08-12 13:17:03 -04:00
  • 93a7eef2a5 Replace libcrypto RAND_ with our own to avoid valgrind errors. Adam Ierymenko 2013-08-10 10:27:53 -04:00
  • 67acba4bc9 Stop using RAND_ in libcrypto for Utils::getSecureRandom() due to annoying valgrind spew from libcrypto use of uninitialized RAM as a random source. Might look into replacing RAND_ in libcrypto with our own simple /dev/urandom / Windows CAPI plugin. Adam Ierymenko 2013-08-10 10:12:16 -04:00
  • 9979474f1e Add range safety check to EllipticCurveKey. Adam Ierymenko 2013-08-09 20:45:15 -04:00
  • 6c53891b44 Version 0.4.1 - RateLimiter for multicast, bug fixes. 0.4.1 Adam Ierymenko 2013-08-09 17:21:35 -04:00
  • 95a23dc7ec Fix for another wonderful C++ threading race condition. Adam Ierymenko 2013-08-09 17:20:40 -04:00
  • 7c3a446499 Tweak default multicast rate limits. Adam Ierymenko 2013-08-09 17:02:06 -04:00