Commit graph

5980 commits

Author SHA1 Message Date
Adam Ierymenko
6940b97a92
Fix openssl version of AES-GMAC-SIV, a few other things. 2022-06-14 17:31:29 -04:00
Adam Ierymenko
90e4199b90
Attic this too, though might use it in the future. It's cool but kill your darlings. 2022-06-14 12:02:10 -04:00
Adam Ierymenko
87f5398f59
Ignore all Cargo.lock except the one in the binary. 2022-06-14 12:00:21 -04:00
Adam Ierymenko
ace16bdf05
cleanup 2022-06-14 12:00:07 -04:00
Adam Ierymenko
37263cae96
attic this experiment for now, may have a far simpler version that is also more compliant with corp security guidelines 2022-06-14 11:58:15 -04:00
Adam Ierymenko
2b221dade8
Cleanup, basic readme. 2022-06-14 11:56:59 -04:00
Adam Ierymenko
bab9807725
Remove gcrypt which is dead. 2022-06-13 17:35:13 -04:00
Adam Ierymenko
01e1135b2f
Add AES-GMAC-SIV test vectors and fix an issue. 2022-06-13 17:21:51 -04:00
Adam Ierymenko
9a9b573aa1
docs 2022-06-13 11:52:24 -04:00
Adam Ierymenko
c3ce40b5ba
Wire through RootSet init, a bunch more work, almost ready to test! 2022-06-08 19:05:54 -04:00
Adam Ierymenko
ded7c25786
Another absolute ton of work including getting the service almost to the point that it is ready to say HELLO. Also added an event and tracing infrastructure in the core. Some of the common Rust tracing/logging libraries are not used directly in the core for speed and future portability reasons but they will likely be used in the service. 2022-05-25 18:28:07 -04:00
Adam Ierymenko
1ad5d623f5
Update license and copyright for a project not yet actually released. Final release license TBD. 2022-05-21 13:04:07 -04:00
Adam Ierymenko
9cc36aee0f
A few little security things and code reformat. 2022-05-21 11:53:25 -04:00
Adam Ierymenko
0e44723c1d
version bumps 2022-05-20 13:15:30 -04:00
Adam Ierymenko
9d5c2a925d
An absolutely gigantic amount of refactoring to make the core and its service (or other users) interact in a way that is rustier and also better for performance. Also vastly simplifies some code. 2022-05-18 13:40:44 -04:00
Adam Ierymenko
f14efdcd3d
Data directory abstraction, local config, various other things. 2022-05-11 13:25:51 -04:00
Adam Ierymenko
2d3b96725b
Fix a few serialization bugs. 2022-05-09 18:24:07 -04:00
Adam Ierymenko
88721dc038
Add a URL to the root set to be used for optional out of band updating. 2022-05-09 17:31:13 -04:00
Adam Ierymenko
d41e1b1c41
Move default root set to network-hypervisor, add a priority level to roots. 2022-05-09 17:22:01 -04:00
Adam Ierymenko
188f404361
move root sets 2022-05-06 22:38:57 -04:00
Adam Ierymenko
a4db105f23
Create a root set for our current roots, and it works!!!! 2022-05-06 22:28:29 -04:00
Adam Ierymenko
083e2bc666
A bunch of tightening up code in vl1/node, more CLI work, sketch out CLI for creating root sets. 2022-05-06 11:44:41 -04:00
Adam Ierymenko
3f6ce29f22
Remove stuff that probably will not end up part of the CLI. 2022-05-05 18:24:25 -04:00
Adam Ierymenko
a78b23cf45
Remove some outdated stuff in service, upgrade clap, get it building again. 2022-05-05 18:10:30 -04:00
Adam Ierymenko
40156fd1f3
cruft removal 2022-05-05 16:18:38 -04:00
Adam Ierymenko
a896d615fe
Handling of roots in new VL1, other various small things. 2022-05-05 16:05:25 -04:00
Adam Ierymenko
e7875861a2
A bunch more cleanup, and make a trait for marshal() / unmarshal() 2022-05-04 14:37:02 -04:00
Adam Ierymenko
1f79a2a707
A bunch of reorg and other cleanup. 2022-04-29 16:19:21 -04:00
Adam Ierymenko
6d232f817c
Some renaming to be logical. 2022-04-28 14:03:48 -04:00
Adam Ierymenko
b1f67b13f9
Fix a weird little bug (actually incompatibility with the old code) in x25519 handling in identity, and more cleanup. 2022-04-28 13:52:00 -04:00
Adam Ierymenko
0397440022
Add serde support to Endpoint. 2022-04-27 17:17:36 -04:00
Adam Ierymenko
b53dc62aba
docs 2022-04-27 16:02:37 -04:00
Adam Ierymenko
85b5f0c5e0
Network ID object and some more cleanup. 2022-04-27 16:02:10 -04:00
Adam Ierymenko
6e55419581
Cleanup and implement some serde handlers for some common core data structures. 2022-04-27 15:09:21 -04:00
Adam Ierymenko
b346f3ff07
A bunch of nit-picky cleanup. 2022-04-27 12:54:58 -04:00
Adam Ierymenko
3bdefc1d83
Add a bunch of stuff to InetAddress, clean up, fix some build errors in service. 2022-04-26 16:19:10 -04:00
Erik Hollensbe
6d59dd77c4
blanket types Into<IpAddr> and Debug for InetAddress
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-22 02:52:15 -07:00
Erik Hollensbe
187b78b367
add debug impl for MAC type
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-21 18:04:08 -07:00
Erik Hollensbe
a453b25606
Support derives for Serialize/Deserialize for identity and address
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-20 19:12:25 -07:00
Adam Ierymenko
250f665ab7
ignore editor droppings 2022-04-20 14:36:53 -04:00
Adam Ierymenko
009f8ee2e6
Remove editor droppings. 2022-04-20 14:36:21 -04:00
Adam Ierymenko
bb701f6e61
Revert just IBLT, remove some cruft, add boxed new function. 2022-04-20 14:10:29 -04:00
Adam Ierymenko
dcfdd036cf
Merge branch 'master' of github.com:zerotier/tetanus 2022-04-19 09:58:01 -04:00
Adam Ierymenko
3281d7d288
Merge pull request #2 from zerotier/fixate-array-size
IBLT improvements
2022-04-19 09:57:51 -04:00
Adam Ierymenko
1478053e43
sync work in progress 2022-04-19 09:57:47 -04:00
Erik Hollensbe
95d28c0fb9
Benchmarks for as_bytes/from_bytes, clone, list
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 18:24:57 -07:00
Erik Hollensbe
544420695b
refactors and improvements to tests
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:01:47 -07:00
Erik Hollensbe
8dac9ccf07
move to heap allocation
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:01:45 -07:00
Erik Hollensbe
1b2485b277
Leverage type parameters and traits to serialize data
This utilizes two traits, AsBytes and FromBytes from the `zerocopy`
crate to enable type parameters on the hashed value.
2022-04-18 16:01:17 -07:00
Erik Hollensbe
7223de6fbb
Fix array size in insert/remove calls
makes the library easier to consume, also removes the need for the
length check.

also required to build https://github.com/erikh/isync

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:00:37 -07:00