Commit graph

467 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
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
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
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
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
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
ae2120eb96
New service, work in progress 2019-09-20 09:09:05 -07:00
Adam Ierymenko
3ceb2257e5
Plumb through roots via API. 2019-09-19 09:47:12 -07:00
Adam Ierymenko
540ee69773
A bunch of multicast work... in progress. 2019-09-07 19:15:21 -07:00
Adam Ierymenko
7566d4fbab
Merge dev 2019-09-04 14:38:35 -07:00
Adam Ierymenko
bcdab95e4c Windows installer version bump, build fix. 2019-09-04 14:13:45 -07:00
Adam Ierymenko
a16377cea5
Add mitigations against borked ARM32 exception unrollers, possibly fix GitHub issue #1003 2019-09-04 12:48:28 -07:00
Adam Ierymenko
9d1207b339
Merge branch 'dev' into edge 2019-08-28 07:31:33 -07:00
Joseph Henry
d8de837c60 LinuxEthernetTap addIps virtual function fix for SYNOLOGY builds 2019-08-27 14:43:30 -07:00
Adam Ierymenko
6f6138c500
Merge relicensing change from dev 2019-08-23 09:27:13 -07:00
Adam Ierymenko
52a166a71f
Relicense: GPLv3 -> ZeroTier BSL 1.1 2019-08-23 09:23:39 -07:00
Adam Ierymenko
95a6fce2b4
Yet more cleanup, it builds again now. 2019-08-21 14:36:56 -07:00
Adam Ierymenko
0b5472f9fb
Tons and tons of cleanup and cruft removal 2019-08-21 14:24:45 -07:00
Adam Ierymenko
67a9898a99
Bunch more work on DNS, cleanup, removal of obsolete cruft. 2019-08-21 09:27:45 -07:00
Adam Ierymenko
6e771607c0
cleanup 2019-08-19 20:35:16 -07:00
Adam Ierymenko
cfbd7e3bf5
Add stubs to easily build and include all of libnatpmp and miniupnpc in osdep/ 2019-08-19 20:28:44 -07:00
Adam Ierymenko
c8ca1cfa3c
Kill old inline software update, we will use https and secondary auth for new versions. 2019-08-19 19:24:23 -07:00
Adam Ierymenko
5cfbb0a423
Clean up dead stuff from OneService and fix build errors. 2019-08-19 19:21:33 -07:00
Adam Ierymenko
d7a31088ba
Cleanup, warning removal, cppcheck informed cleanup. 2019-08-14 10:35:57 -07:00
Grant Limberg
8e04f83232 Merge branch 'edge' into cmake 2019-08-12 12:24:25 -07:00
Grant Limberg
cc9fd9f8ce Merge branch 'dev' into cmake 2019-08-12 12:23:36 -07:00
Adam Ierymenko
52cc482521
Merge branch 'dev' into edge 2019-08-08 15:59:58 -05:00
Adam Ierymenko
8b97755fc5 Windows fixes. 2019-08-08 14:08:35 -05:00
Adam Ierymenko
1a2ff884b3
Merge branch 'dev' into edge 2019-08-07 19:08:35 -05:00
Adam Ierymenko
b11627a8bc
add SDK VirtualTap to new factory method 2019-08-07 18:45:04 -05:00