Commit graph

  • 5d2f523e81 World stuff... Adam Ierymenko 2015-10-13 12:10:44 -07:00
  • 73145de618 Added some parameter checks from linux kernel syscall source Joseph Henry 2015-10-13 14:27:30 -04:00
  • 05677f57e2 Add C output to mkworld. Adam Ierymenko 2015-10-13 08:55:21 -07:00
  • cae58f43f1 More World stuff, and mkworld. Adam Ierymenko 2015-10-13 08:49:36 -07:00
  • 82052459a2 Odds and ends Joseph Henry 2015-10-12 21:50:41 -04:00
  • 4e1e857949 Minor bug fixes Joseph Henry 2015-10-12 21:26:32 -04:00
  • 1b1945c63e Work in progress on refactoring root-topology into World and adding in-band updates. Adam Ierymenko 2015-10-12 18:25:29 -07:00
  • 8d1b01cb5b Bug fix: Connection fd lookup in service Joseph Henry 2015-10-12 20:46:59 -04:00
  • 70fe7dd1fd cleanup Adam Ierymenko 2015-10-12 16:40:57 -07:00
  • 5dffa43201 Additional retval+errno handling Joseph Henry 2015-10-12 19:29:27 -04:00
  • 6b1a38f14c Better retval+errno handling Joseph Henry 2015-10-12 16:38:08 -04:00
  • fe8e7ded8c retval+errno return test Joseph Henry 2015-10-09 20:27:38 -04:00
  • eff1fe3c61 Create files for each hop (more convenient) and fix a packet parse bug. Adam Ierymenko 2015-10-09 16:22:34 -07:00
  • 7d01fab132 Reorg fields to be in same order as FS scheme. Adam Ierymenko 2015-10-09 15:18:01 -07:00
  • c9295a5883 . Adam Ierymenko 2015-10-09 15:12:05 -07:00
  • aec13b50fd Be a bit more verbose in circuit test reports to more clearly track current and upstream hop in graph traversal history. Adam Ierymenko 2015-10-09 15:05:26 -07:00
  • a95fa379cc Circuit tests basically work but need some tweaks, and fix some issues found with valgrind. Adam Ierymenko 2015-10-09 14:51:38 -07:00
  • 07536216c2 Removed netcon/.depend Joseph Henry 2015-10-09 17:36:27 -04:00
  • 3bcb6bf321 Minor cleanup Joseph Henry 2015-10-09 17:31:22 -04:00
  • 7f56678d84 Added liblwip.so and libintercept build files Joseph Henry 2015-10-09 17:06:09 -04:00
  • 97dee9de36 Add more helpful example stuff. Adam Ierymenko 2015-10-09 12:50:52 -07:00
  • e3ec000e93 Added intercept build file and sources Joseph Henry 2015-10-09 15:41:16 -04:00
  • 6b5bb0b278 Eliminate format string warnings. Adam Ierymenko 2015-10-09 12:22:13 -07:00
  • e33adad8f5 Script to quickly generate test docker env files. Adam Ierymenko 2015-10-09 12:15:42 -07:00
  • 769bad3320 Test: Added handle_write call to nc_poll Joseph Henry 2015-10-09 15:05:45 -04:00
  • 9a25651151 . Adam Ierymenko 2015-10-09 10:14:45 -07:00
  • c2bbec2f05 Docker example (and useful for testing) Adam Ierymenko 2015-10-09 10:14:20 -07:00
  • 0c498556d5 Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE) Adam Ierymenko 2015-10-09 09:39:27 -07:00
  • 3fa6dd377f docs Adam Ierymenko 2015-10-09 08:51:57 -07:00
  • 6600b005b6 No Whack! Joseph Henry 2015-10-08 21:24:51 -04:00
  • b5b57aca02 Whack! Joseph Henry 2015-10-08 21:04:47 -04:00
  • 160278c489 Little bit of reorg in Salsa20 which seems to speed things up very slightly. Adam Ierymenko 2015-10-08 17:42:53 -07:00
  • d868a234da Refactored write logic Joseph Henry 2015-10-08 19:38:29 -04:00
  • 59da8b2a4b Logging of circuit test results to disk. Adam Ierymenko 2015-10-08 15:44:06 -07:00
  • 41dfbe544f Removed exit(0) for debugging Joseph Henry 2015-10-08 18:10:10 -04:00
  • bbfc9359e9 Minor timer changes (~21 Mb/s local) Joseph Henry 2015-10-08 17:55:58 -04:00
  • 558775d544 Merge branch 'adamierymenko-dev' of http://10.6.6.2/zerotier/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2015-10-08 13:26:43 -07:00
  • a3876353ca Abiltiy to post a test via the controller web API, and parsing of CIRCUIT_TEST_REPORT messages. Adam Ierymenko 2015-10-08 13:25:38 -07:00
  • 273f0d18b0 docs Adam Ierymenko 2015-10-08 09:05:25 -07:00
  • 9347d6c866 Make it so ZeroTierOne.h can be used with a C compiler again. Grant Limberg 2015-10-07 18:04:40 -07:00
  • fea1b6b2c3 docs Adam Ierymenko 2015-10-07 16:25:08 -07:00
  • 0ce0bc00d2 Make sure received() gets called for some new messages, and docs. Adam Ierymenko 2015-10-07 16:20:54 -07:00
  • 69b44bf9a5 Finally add an ECHO. Adam Ierymenko 2015-10-07 16:11:50 -07:00
  • 73cafbe0ec Limit proof of work difficulty to something sane. Adam Ierymenko 2015-10-07 13:46:44 -07:00
  • e5f168f599 Add proof of work request for future DDOS mitigation use. Adam Ierymenko 2015-10-07 13:35:46 -07:00
  • 7d62dbe9f7 Tune NAT-t keepalives so that timing is better obeyed, clean up a build warning, and fix a potential source of network recursion (though harmless). Adam Ierymenko 2015-10-07 11:57:59 -07:00
  • 13f14c2f4c Kill debug line. Adam Ierymenko 2015-10-07 10:56:47 -07:00
  • c952fbbd8d Only enable 128-bit Poly1305 on X86_64 right now. Has compilation issues on ARM, but the 64-bit version should be fine. Adam Ierymenko 2015-10-07 10:40:59 -07:00
  • ab0228f626 More cleanup and simple refactoring, consolidate InetAddres serialize/deserialize into the class. Adam Ierymenko 2015-10-07 10:30:47 -07:00
  • 6c7ce79c89 Be consistent in how enums are defined in the main .h file. Adam Ierymenko 2015-10-07 09:51:35 -07:00
  • 1b2cac0cc5 Trim some cruft that is not used and probably never would be. Adam Ierymenko 2015-10-07 09:38:33 -07:00
  • 1bc33ae8d7 Minor debug output changes Joseph Henry 2015-10-06 21:22:08 -04:00
  • 598a1d8dd7 Try reopening /dev/urandom if there is a problem. Adam Ierymenko 2015-10-06 18:10:40 -07:00
  • 64aaea3978 Cleanup, and add an even faster Poly1305 on systems that support it. Adam Ierymenko 2015-10-06 18:04:53 -07:00
  • 876aa0883d Merge branch 'adamierymenko-dev' into netcon Adam Ierymenko 2015-10-06 17:56:47 -07:00
  • 477feee8a3 Some work on CIRCUIT_TEST, and a significant speedup to Poly1305. Adam Ierymenko 2015-10-06 17:55:57 -07:00
  • 36db5865e7 Refactored tcp_write code - Reduced CPU usage to respectable levels Joseph Henry 2015-10-06 20:32:48 -04:00
  • 7394ec6f6a Prep in controller code to run tests. Adam Ierymenko 2015-10-06 15:56:18 -07:00
  • 3593fb3462 Send initial CIRCUIT_TEST packet. Adam Ierymenko 2015-10-06 15:16:41 -07:00
  • d3f29d09e8 Plumbing through circuit test stuff. Adam Ierymenko 2015-10-06 14:42:51 -07:00
  • 5341afcdcd Handling of CIRCUIT_TEST, should be ready to test. Adam Ierymenko 2015-10-06 11:47:16 -07:00
  • 57c857e89a Fix TRACE output. Adam Ierymenko 2015-10-06 06:57:00 -07:00
  • 8604b68cfd Merge 0955c8847f into 5db538d85e Ptisan 2015-10-05 18:58:08 +00:00
  • 0955c8847f Update README.md Ptisan 2015-10-05 14:57:32 -04:00
  • c16ad053b6 no toString() method on peer. Commenting out for now. Grant Limberg 2015-10-02 19:39:46 -07:00
  • 6080a45c9c change cert to com. no variable named cert. Grant Limberg 2015-10-02 19:39:13 -07:00
  • 5384f185ae Simplify Dictionary and reduce memory usage, now no more std::maps in core. Adam Ierymenko 2015-10-01 18:12:16 -07:00
  • 76a95dc58f The return of peer peristence. Adam Ierymenko 2015-10-01 17:09:01 -07:00
  • 5076c49210 Peer serialization and related changes. Adam Ierymenko 2015-10-01 15:40:54 -07:00
  • 72e7e36a5b No reason to randomly pick uPnP secondary port. In fact it would likely cause problems on restarts and uPnP rule bloat. Adam Ierymenko 2015-10-01 14:40:28 -07:00
  • 2fa21aa676 . Adam Ierymenko 2015-10-01 13:43:57 -07:00
  • 3999e468b7 Need to hold nconf so *com does not die while being used. Adam Ierymenko 2015-10-01 13:43:15 -07:00
  • 6693149f3e Send COM with MULTICAST_GATHER for future use. Adam Ierymenko 2015-10-01 13:34:12 -07:00
  • 2c196307ee --bugs; Adam Ierymenko 2015-10-01 13:01:18 -07:00
  • d6676a9d6c Always announce multicast groups, not just to peers with direct links, and push network COMs to any MULTICAST_LIKE recipient for future use. Adam Ierymenko 2015-10-01 12:50:19 -07:00
  • a7409850d6 Get trim() out of core where it is not needed. Adam Ierymenko 2015-10-01 12:37:18 -07:00
  • 53e5f94b99 . Adam Ierymenko 2015-10-01 12:25:43 -07:00
  • 64bf3ffe6c Mutex cleanup. Adam Ierymenko 2015-10-01 11:44:09 -07:00
  • 9405150b11 Restore group announcement on Peer::receive() but centralize packet composition in one place. Adam Ierymenko 2015-10-01 11:37:02 -07:00
  • a3db7d0728 Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things. Adam Ierymenko 2015-10-01 11:11:52 -07:00
  • 11ff96ba1d Consider IPv6 paths reliable (no constant keepalives needed) Adam Ierymenko 2015-09-30 15:20:08 -07:00
  • 0d0039674f Add new verb names, and fix some Mac compiler flags. Adam Ierymenko 2015-09-30 14:48:07 -07:00
  • 789046ca57 Speed up Salsa20 just a bit. Adam Ierymenko 2015-09-30 14:35:05 -07:00
  • 1a4f16e0ed More work on circuit testing... Adam Ierymenko 2015-09-30 13:59:05 -07:00
  • 4983fd3776 Recompiled ZTO binary with fix + moves index.html to var/www Joseph Henry 2015-09-29 14:32:07 -04:00
  • cc10d4f310 Speed up multicast group checking/registration. Adam Ierymenko 2015-09-29 10:31:41 -07:00
  • 167a5039d0 . Adam Ierymenko 2015-09-28 23:40:20 -07:00
  • 4b82171a95 . Adam Ierymenko 2015-09-28 22:16:58 -07:00
  • b4624237af . Adam Ierymenko 2015-09-28 22:14:32 -07:00
  • 49f93a57bf . Adam Ierymenko 2015-09-28 17:07:46 -07:00
  • ea71738c72 Entry point stuff... Adam Ierymenko 2015-09-28 16:36:20 -07:00
  • 49956ed63d Updated intercept library for Earth Joseph Henry 2015-09-28 19:31:32 -04:00
  • 280fcc3771 add cr after identity in demo script. Adam Ierymenko 2015-09-28 16:15:17 -07:00
  • 3a6346f560 More entry point work, and change network to 8056c2e21c000001 for demo. Adam Ierymenko 2015-09-28 16:14:32 -07:00
  • 980d145f48 Entry point changes to wait for ZT startup, print banners, log output debug messages and trace to files. Adam Ierymenko 2015-09-28 15:31:47 -07:00
  • a7bd1eaa40 Never assign v4 IPs ending in .255 even within range. Adam Ierymenko 2015-09-28 15:28:30 -07:00
  • 1773dca9dc Optimized Dockerfile arrangement Joseph Henry 2015-09-28 17:59:54 -04:00
  • 8e3e830e89 Working intercepted Apache Joseph Henry 2015-09-28 17:47:38 -04:00
  • 77b385fb12 Re-added Apache to Dockerfile Joseph Henry 2015-09-28 17:30:18 -04:00
  • 0b34d8e75e New Dockerfile Joseph Henry 2015-09-28 16:56:14 -04:00