Commit graph

24 commits

Author SHA1 Message Date
Adam Ierymenko
76244f0474
Turn off wrapping as it makes things hard to follow in some cases. 2021-04-26 20:33:38 -04:00
Adam Ierymenko
cd68474e47
More formatting stuff.... 2021-04-26 20:28:30 -04:00
Adam Ierymenko
12e7546ebc
ZeroTier standard .clang-format -- switch to spaces, match indentation of Rust, mostly based on LLVM format. 2021-04-26 08:55:28 -04:00
Adam Ierymenko
0acc731bf4
Simplify Locator slightly. 2021-04-19 17:13:05 -04:00
Adam Ierymenko
e7ed8051c6
Refactor certificates to have their own keys instead of being signed by identities, and fix certificate chain validation to be like how X509 certs are validated. 2021-04-15 23:20:02 -04:00
Adam Ierymenko
8d9067e982
A bunch of simplification in SymmetricKey and the ephemeral re-keying logic. Not on yet, but the structure is all there. 2021-04-09 23:18:29 -04:00
Adam Ierymenko
b40eba8fc7
More refactoring: rename RuntimeEnvironment to Context to be more descriptive and make it a reference instead of a raw pointer. 2021-04-07 18:54:52 -04:00
Adam Ierymenko
89e9eb755e
Big core refactor to create a CallContext to carry several annoying state variables through the call chain. Also remove some warnings. 2021-04-06 17:33:00 -04:00
Adam Ierymenko
b39d4bed16
Break out a few things from Node in the core to make code cleaner. 2021-04-02 15:28:25 -04:00
Adam Ierymenko
7ad660c3ef
Break out certificate trust store into a separate object and simplify and clean up certificate verification code. 2021-03-31 22:15:26 -04:00
Adam Ierymenko
f5331b5bb9
More code cleanup, making earlier Rust code more rustic. 2021-03-18 16:00:24 -04:00
Adam Ierymenko
0f49c7510b
Swap out warp for simple hyper web server in Rust, and we will use web sockets for webby-style communication since WebRTC is a mess. 2021-02-25 10:49:35 -05:00
Adam Ierymenko
26e8859d99
Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Adam Ierymenko
411373dd2c
Tons of service work including trace events, etc. 2021-02-19 00:32:47 -05:00
Adam Ierymenko
deec3b807b
A ton of work in progress on service: logging, physical link enumeration, data store, local config, etc. 2021-01-21 21:10:11 -05:00
Adam Ierymenko
896d75fe86
More work on service itself. 2021-01-20 00:02:39 -05:00
Adam Ierymenko
346bb7cf99
Fast UDP I/O for MacOS, others will be easy to add. 2021-01-15 21:28:46 -05:00
Adam Ierymenko
07b99a982d
Clean up zerotier.h to by proxy clean up Rust bindings, and implement inetaddress in Rust. 2021-01-01 22:24:53 -05:00
Adam Ierymenko
ab2870cbb7
MOAR rust. 2020-12-14 23:32:49 -05:00
Adam Ierymenko
7fa7f6f07a
Getting more rustic... 2020-12-14 16:54:43 -05:00
Adam Ierymenko
7d951783ca
A bunch of little warning removal and format fix things. 2020-12-04 15:52:30 -05:00
Adam Ierymenko
f8e3251efe
Locator CGo API fixes. 2020-10-26 19:35:10 -04:00
Adam Ierymenko
8e5f8140a2
One more thing to move to CAPI.cpp. 2020-10-14 19:02:32 -04:00
Adam Ierymenko
8f746f5099
Move C API into its own source file, and fix some build flags to mirror fix in 1.6.0 to run on old Atom processors. 2020-10-14 18:10:59 -04:00