Commit graph

74 commits

Author SHA1 Message Date
Adam Ierymenko
c3dd3bb7fc
... a bunch of stuff that has been sitting here for too long ... 2021-07-06 16:35:20 -04:00
Adam Ierymenko
a8e3cffd16
Some cleanup, certificate self-signing fixes, test fixes, test full certificate life cycle including CSR. 2021-05-17 23:40:13 -04:00
Adam Ierymenko
ec2919ac2e
Add a subject signature to the certificate to ensure no CRL tampering has occurred, even by the signer. 2021-04-27 19:10:48 -04:00
Adam Ierymenko
cd68474e47
More formatting stuff.... 2021-04-26 20:28:30 -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
Adam Ierymenko
24ab618123
Certificate self-test passes now. 2021-04-20 21:45:50 -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
ad92a46b8d
Error reformatting, and use the suspend-aware monotonic clock on Linux. 2021-04-13 18:57:44 -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
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
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
4a60ae5736
Some efficiency improvements. 2021-03-26 18:43:50 -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
5a0de399d7
Implement most of /status 2021-03-23 17:53:39 -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
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
8aee8cb78b
Can make a CSR now. 2021-03-11 11:55:28 -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
Adam Ierymenko
e1795bacef
Web server... 2021-02-26 01:16:24 -05: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
7cc0314bd4
build fixes 2021-02-23 18:20:12 -05:00
Adam Ierymenko
605d5a423f
Rust cleanup, etc. 2021-02-23 18:05:07 -05:00
Adam Ierymenko
26e8859d99
Copyright notices, dates. 2021-02-22 22:58:16 -05:00
Adam Ierymenko
d201cdec2a
A bunch of logging and tracing. 2021-02-19 17:05:53 -05:00
Adam Ierymenko
411373dd2c
Tons of service work including trace events, etc. 2021-02-19 00:32:47 -05:00
Adam Ierymenko
8d6d457dd6
Wire up logging, service, etc. 2021-02-12 23:10:41 -05:00
Adam Ierymenko
f9649217fb
A whole bunch more service work. 2021-02-11 00:35:34 -05:00
Adam Ierymenko
a321ee6c28
Bunch more Rust work, and it builds again. 2021-02-04 23:20:30 -05:00
Adam Ierymenko
c29a64602a
CLI parser stuff... 2021-01-28 19:08:28 -05:00
Adam Ierymenko
05e2c63d6a
More Rusty MacEthernetTap and Rust binding hacks. 2021-01-26 22:51:21 -05:00
Adam Ierymenko
01a98a7f69
Rust builds again, and doing Mac tap in rust. 2021-01-26 20:29:55 -05:00
Adam Ierymenko
29fa689f0b
Reorganize some stuff, add bindings needed in service. 2021-01-26 15:03:31 -05:00
Adam Ierymenko
1e555ef24d
Factor out the use of Rust "Any" to avoid unnecessary indirections. 2021-01-21 22:57:33 -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