Commit graph

5708 commits

Author SHA1 Message Date
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
Adam Ierymenko
6fe78e2003
Web server actually works! 2021-02-26 01:22:26 -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
80e2740a89
Slim down a little, test getifaddrs. 2021-02-22 16:00:56 -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
f9deec7872
Rust service work in progress... 2021-02-03 14:41:42 -05:00
Adam Ierymenko
c29a64602a
CLI parser stuff... 2021-01-28 19:08:28 -05:00