Adam Ierymenko
e7b82ead9c
More session work
2022-08-12 20:34:26 -07:00
Adam Ierymenko
e6762b986d
docs
2022-08-11 15:30:48 -07:00
Adam Ierymenko
97138527e4
Reorg, update README, a ton of work on session, and move aes-gmac-siv into zerotier-core-crypto.
2022-08-11 15:18:28 -07:00
Adam Ierymenko
015fe83905
Now a real Noise_IK session.
2022-08-10 16:05:40 -04:00
Adam Ierymenko
248eab1a16
Move ZSSP into VL1 where it will get used.
2022-08-05 10:41:31 -04:00
Adam Ierymenko
e41992bc3c
An absolute ton of work on Identity (simpler code) and session... some of which is getting redone but committing this.
2022-08-02 13:44:52 -04:00
Adam Ierymenko
a3b748a0a6
More session work, cleanup, AES in core crypto, and vendor the kyber library so we can remove no_std.
2022-07-13 20:12:32 -04:00
Adam Ierymenko
b64968ff99
Lots of work including notes and preliminary sketches of session.
2022-07-12 16:50:38 -04:00
Adam Ierymenko
4128bbe6f2
Add a few casts for portability.
2022-07-08 18:23:24 -04:00
Adam Ierymenko
02565c04a9
Fix for set port test in InetAddress.
2022-07-08 14:48:14 -04:00
Adam Ierymenko
f603363403
Add a protocol version field to the root set so we can use a new session protocol eventually.
2022-07-06 20:07:05 -04:00
Adam Ierymenko
66241ecedd
Merge branch 'master' of github.com:zerotier/tetanus
2022-07-05 15:05:47 -04:00
Adam Ierymenko
69fa840652
There is now a test root up that anyone can use, and some other stuff.
2022-07-05 15:05:31 -04:00
Erik Hollensbe
e9dd7c53d7
careof tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-07-01 13:00:04 -07:00
Erik Hollensbe
ec9fa2a259
some basic careof tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-30 18:50:47 -07:00
Adam Ierymenko
a6d298e536
Lock goes in root now.
2022-06-30 15:03:03 -04:00
Adam Ierymenko
436b4daecd
Dead code removal.
2022-06-30 13:58:41 -04:00
Adam Ierymenko
489b7d62b8
Merge branch 'master' of github.com:zerotier/tetanus
2022-06-30 13:57:10 -04:00
Adam Ierymenko
be157ccd31
More reorg, wiring through learning our external address by proxy.
2022-06-30 13:56:55 -04:00
Erik Hollensbe
b9700ac997
Convert to using cargo workspaces.
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-30 01:31:36 -07:00
Adam Ierymenko
845751cea0
Merge branch 'master' of github.com:zerotier/tetanus
2022-06-29 16:50:52 -04:00
Adam Ierymenko
83aa51d90c
Parse CareOf and refactor some stuff in Peer
2022-06-29 16:50:38 -04:00
Erik Hollensbe
9ff34a21fb
Merge branch 'actions'
2022-06-29 12:45:42 -07:00
Erik Hollensbe
53f33b15ba
correct warnings and compile errors on linux
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-29 12:34:56 -07:00
Adam Ierymenko
624f2e2946
Clean reported remote endpoints in service method.
2022-06-29 15:33:03 -04:00
Adam Ierymenko
3dc6ac64e8
Add parsing of remotely reported endpoints, bump some package versions.
2022-06-29 15:18:40 -04:00
Adam Ierymenko
a20c150f13
Now mostly fully parses OK(HELLO) and also HELLO
2022-06-29 11:12:04 -04:00
Adam Ierymenko
f571ce7aa3
Merge branch 'master' of github.com:zerotier/tetanus
2022-06-27 13:20:31 -04:00
Adam Ierymenko
55f5a3a1cf
reorg
2022-06-27 13:20:25 -04:00
Erik Hollensbe
9373116ad7
move identity generation benchmark to a criterion benchmark
...
`cargo install criterion` for some additional tools to work with this
benchmark, or use `cargo bench` to run it.
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-27 05:33:52 -07:00
Erik Hollensbe
6b0e44b2d7
to/from test for endpoint string conversions
...
some adjustments were made to the URL scheme as it was encoding to a raw
base64 value that was unparseable.
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-27 04:57:06 -07:00
Erik Hollensbe
76c1e62014
add testutil module
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-26 12:42:48 -07:00
Erik Hollensbe
8ddd287787
more endpoint tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-26 12:31:26 -07:00
Erik Hollensbe
c8ecd85f6e
buffer tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-25 20:13:27 -07:00
Erik Hollensbe
cdade06361
cleanup compile and tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-25 20:13:27 -07:00
Erik Hollensbe
040e130666
some endpoint tests.
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-25 20:13:23 -07:00
Adam Ierymenko
860d13cedd
Handle the case in which this node is itself a root.
2022-06-24 14:54:46 -04:00
Adam Ierymenko
0e52da77f9
Fix identity work function and an issue with Salsa.
2022-06-24 12:04:52 -04:00
Adam Ierymenko
897aa113c9
Merge pull request #7 from zerotier/tests
...
Tests
2022-06-24 10:52:31 -04:00
Adam Ierymenko
d029c34b91
Some reorg.
2022-06-24 10:52:00 -04:00
Adam Ierymenko
1da011b75e
Add CareOf, which will be used with new roots in the near future. Also tweak some stuff like key sizes. There is no need for 512-bit keys when nothing uses the last 128 bits.
2022-06-24 08:08:41 -04:00
Erik Hollensbe
dff382911d
vl1::dictionary tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-23 14:47:30 -07:00
Adam Ierymenko
1df6843e94
Identity hashes really just need to be SHA384, good enough for top secret.
2022-06-23 17:41:34 -04:00
Adam Ierymenko
9cbbcb4495
Implement canonical object equality in a canonical way.
2022-06-23 17:31:19 -04:00
Adam Ierymenko
32145fbe8d
docs
2022-06-23 16:52:08 -04:00
Adam Ierymenko
7fa60b10a3
IT TALKS! (HELLO, OK)
2022-06-23 16:40:47 -04:00
Erik Hollensbe
63a1ff4542
Tests for vl1::address
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-06-23 12:49:08 -07:00
Adam Ierymenko
132a603596
Fix typo and naming, exports.
2022-06-23 11:46:08 -04:00
Adam Ierymenko
14b6dbb5d6
Merge pull request #6 from zerotier/erikh-fixes
...
Fixes
2022-06-23 11:40:09 -04:00
Adam Ierymenko
65df5a2387
Fix deadlock, which turned out to be not setting O_NONBLOCK haha.
2022-06-23 11:38:53 -04:00