Adam Ierymenko
|
91556d0c55
|
Build fixes.
|
2021-04-26 18:11:01 -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
|
2698dab696
|
Merge branch 'edge' of github.com:zerotier/ZeroTierOne into edge
|
2021-04-26 08:37:30 -04:00 |
|
Adam Ierymenko
|
6798946bb9
|
Remove 11.0.0.0/8 from "pseudoprivate" scope.
|
2021-04-26 08:37:16 -04:00 |
|
Adam Ierymenko
|
251cc082f2
|
Implement usage flags in certificate, make root sets require a usage flag and a more general local trust flag, and clean up Identity return in Rust Node.
|
2021-04-23 18:16:49 -04:00 |
|
Joseph Henry
|
d2cc021f4e
|
Add .clang-format style config file
|
2021-04-23 12:17:22 -07:00 |
|
Adam Ierymenko
|
24ab618123
|
Certificate self-test passes now.
|
2021-04-20 21:45:50 -04:00 |
|
Adam Ierymenko
|
fdafddafa0
|
Warning removal.
|
2021-04-20 18:57:19 -04:00 |
|
Adam Ierymenko
|
e7b7d7444e
|
Stub out certificate revocations and harden certificate structure verification to make sure there are no dangling pointers.
|
2021-04-20 17:32:56 -04:00 |
|
Adam Ierymenko
|
0acc731bf4
|
Simplify Locator slightly.
|
2021-04-19 17:13:05 -04:00 |
|
Adam Ierymenko
|
8153211b26
|
Plumb cert changes through to Rust.
|
2021-04-19 16:17:31 -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
|
ad92a46b8d
|
Error reformatting, and use the suspend-aware monotonic clock on Linux.
|
2021-04-13 18:57:44 -04:00 |
|
Adam Ierymenko
|
37d706b635
|
Some cleanup.
|
2021-04-12 19:17:19 -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
|
de6fadc12d
|
Fix a bug in Topology path GC and make it more efficient.
|
2021-04-07 19:31:53 -04:00 |
|
Adam Ierymenko
|
e26e77dd6d
|
Forgot some consts.
|
2021-04-07 19:04:24 -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
|
c9dc715389
|
Rust build fixes.
|
2021-04-06 17:51:04 -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
|
0f4d18c4ed
|
Add serialize and deserialize functions to TrustStore.
|
2021-04-02 18:12:30 -04:00 |
|
Adam Ierymenko
|
38fcefceee
|
Small fix for VAES.
|
2021-04-02 15:32:12 -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
|
11d367d5ec
|
Attic cleaning, some work on certs, etc.
|
2021-03-31 15:33:31 -04:00 |
|
Adam Ierymenko
|
4a60ae5736
|
Some efficiency improvements.
|
2021-03-26 18:43:50 -04:00 |
|
Adam Ierymenko
|
2d072de515
|
HTTP digest auth for service API, and remove unnecessary imports in Rust code.
|
2021-03-26 00:06:26 -04:00 |
|
Adam Ierymenko
|
50675004ce
|
JSON patching for RESTful object update and some other stuff.
|
2021-03-25 15:36:12 -04:00 |
|
Adam Ierymenko
|
5be66eda2b
|
Flesh out HTTP API, break into functions to make code more readable.
|
2021-03-24 00:23:25 -04:00 |
|
Adam Ierymenko
|
ce5edba44d
|
Rename "web" to "http."
|
2021-03-23 18:11:08 -04:00 |
|
Adam Ierymenko
|
5a0de399d7
|
Implement most of /status
|
2021-03-23 17:53:39 -04:00 |
|
Adam Ierymenko
|
1b9ec2d9c3
|
Web request helper and other stuff.
|
2021-03-19 17:21:16 -04:00 |
|
Adam Ierymenko
|
6df6a955ba
|
It makes web requests, and fix some warnings.
|
2021-03-18 20:47:02 -04:00 |
|
Adam Ierymenko
|
f5331b5bb9
|
More code cleanup, making earlier Rust code more rustic.
|
2021-03-18 16:00:24 -04:00 |
|
Adam Ierymenko
|
c0bab849ef
|
Build fixes, add some standard derives.
|
2021-03-17 17:53:24 -04:00 |
|
Adam Ierymenko
|
f38f40693f
|
Move CLI stuff into main.
|
2021-03-16 20:51:15 -04:00 |
|
Adam Ierymenko
|
e1d7b69acb
|
Make main() more rustic, fix IPv6 fragmentation bit on MacOS, etc.
|
2021-03-16 19:37:19 -04:00 |
|
Adam Ierymenko
|
a708433146
|
Cleanup.
|
2021-03-14 11:46:16 -04:00 |
|
Adam Ierymenko
|
445a246506
|
Identity commands: new
|
2021-03-11 22:15:10 -05:00 |
|
Adam Ierymenko
|
68fe57decd
|
Create and verify locators via CLI.
|
2021-03-11 21:37:04 -05:00 |
|
Adam Ierymenko
|
a0a79fa1b7
|
Locator creation.
|
2021-03-11 17:01:43 -05:00 |
|
Adam Ierymenko
|
37ef33caa0
|
Rename to just service.
|
2021-03-11 12:24:06 -05:00 |
|
Adam Ierymenko
|
8aee8cb78b
|
Can make a CSR now.
|
2021-03-11 11:55:28 -05:00 |
|
Adam Ierymenko
|
ce77372e01
|
Some CLI revisions and minor design changes.
|
2021-03-10 19:08:10 -05:00 |
|
Adam Ierymenko
|
8b945a0e51
|
First of the cert commands, and fix a Mac build error.
|
2021-03-10 18:40:13 -05:00 |
|
Adam Ierymenko
|
5d75ca0e30
|
Build fixes in Rust.
|
2021-03-09 23:36:35 -05:00 |
|
Adam Ierymenko
|
8c45fbe64c
|
C++ build fixes, fix regression in SharedPtr
|
2021-03-09 18:08:31 -05:00 |
|
Adam Ierymenko
|
f82085cede
|
cleanup, warning removal.
|
2021-03-08 14:05:33 -05:00 |
|
Adam Ierymenko
|
8474508412
|
Cleanup and optimization.
|
2021-03-02 11:18:04 -05:00 |
|
Adam Ierymenko
|
88181c491c
|
Pin memory in ZT core CAPI wrapper.
|
2021-03-01 16:26:21 -05:00 |
|