Commit graph

6218 commits

Author SHA1 Message Date
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
Erik Hollensbe
bf297632fb
Merge pull request #5 from zerotier/cleanups
various cleanups to get the full project closer to compiling
2022-04-18 15:49:25 -07:00
Erik Hollensbe
112d1be84d
various cleanups to get the full project closer to compiling
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 15:48:27 -07:00
Erik Hollensbe
7f5de4c2e5
Merge pull request #4 from zerotier/rustfmt
Rustfmt entire tree
2022-04-18 14:24:10 -07:00
Erik Hollensbe
c5b9036b9e
rustfmt tree
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:22:57 -07:00
Erik Hollensbe
f1439980e3
reduce iblt merge_sets CAPACITY to 4096 so tests pass
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:40 -07:00
Erik Hollensbe
61c00edd5c
remove nightly requirements from rustfmt.toml
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:10 -07:00
Erik Hollensbe
ef6512cbea
make fmt make task
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:10 -07:00
Erik Hollensbe
17ea66f255
Merge pull request #3 from zerotier/fix-tests-on-linux
Fix tests on linux
2022-04-18 14:16:10 -07:00
Erik Hollensbe
17594ca5e1
Add a make test target
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 10:57:11 -07:00
Erik Hollensbe
a7272f5cba
initial test fixing on linux
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 10:54:02 -07:00
Adam Ierymenko
d8ea29319a
docs 2022-04-12 15:27:59 -04:00
Adam Ierymenko
d1d44d1d81
Minor fix 2022-04-12 15:09:22 -04:00