Adam Ierymenko
da962622a8
Merge branch 'tetanus' into tetanus-adam
...
# Conflicts:
# controller/src/controller.rs
# network-hypervisor/Cargo.toml
# network-hypervisor/src/vl1/endpoint.rs
# network-hypervisor/src/vl1/identity.rs
# network-hypervisor/src/vl1/node.rs
# network-hypervisor/src/vl1/path.rs
# network-hypervisor/src/vl1/peer.rs
# network-hypervisor/src/vl2/multicastauthority.rs
# network-hypervisor/src/vl2/scattergather.rs
# network-hypervisor/src/vl2/switch.rs
# service/src/vl1/vl1service.rs
# utils/src/base64.rs
# utils/src/lib.rs
# utils/src/memory.rs
# zssp/src/zssp.rs
2023-03-29 12:46:09 -04:00
Adam Ierymenko
a24be3dbe5
Rewrite fileDB to be simpler in controller. Simplify controller. ZOMG IT BUILDS AND TESTS PASS.
2023-03-29 12:37:27 -04:00
Adam Ierymenko
b97ed1e97a
Merge vl1-service into service for simplicity and because they are parts of the same thing.
2023-03-28 10:41:57 -04:00
Adam Ierymenko
1670a3aa31
Split off VL1 API traits into a separate file, remove ?Sized from some traits as it is unnecessary and causes issues, cleanup.
2023-03-28 08:58:39 -04:00
Adam Ierymenko
65854aea5f
More build fixes.
2023-03-27 17:00:24 -04:00
Adam Ierymenko
c7ba67c717
Updates to controller, get rid of compile errors w/Address and NetworkId changes.
2023-03-27 15:16:05 -04:00
Adam Ierymenko
ed309b9f18
Build fixes, add more parsing and serialization to Identity.
2023-03-24 22:45:51 -04:00
Adam Ierymenko
ec7fae71b4
Finish huge network hypervisor refactor.
2023-03-24 18:38:33 -04:00
Adam Ierymenko
86652ec969
Loads more V2 work on address encoding, full vs partial addresses, WHOIS.
2023-03-23 20:22:53 -04:00
Monica Moniot
fd055561ea
Merge pull request #1928 from zerotier/tetanus-defrag-lookup
...
implemented better lookup
2023-03-23 13:44:26 -04:00
mamoniot
af7af4d4db
implemented better lookup
2023-03-23 13:34:28 -04:00
Monica Moniot
85740372b9
Merge pull request #1927 from zerotier/tetanus-comment-typo
...
fixed typo
2023-03-23 13:23:36 -04:00
mamoniot
5bf62d8236
fixed typo
2023-03-23 13:20:45 -04:00
Monica Moniot
80fe54247d
Merge pull request #1926 from zerotier/tetanus-comment-typo
...
fixed comment
2023-03-23 13:19:39 -04:00
mamoniot
7cc8db2187
fixed comment
2023-03-23 13:18:00 -04:00
Monica Moniot
2f61e59e5c
Merge pull request #1925 from zerotier/tetanus-defrag-2
...
Added init packet expiry and added Debug impl for arc_pool
2023-03-23 12:20:41 -04:00
mamoniot
d0c00becdc
changed variables so cargo fmt is less ugly
2023-03-23 12:13:29 -04:00
mamoniot
4f064dd389
ran cargo fmt
2023-03-23 12:08:58 -04:00
mamoniot
cada04545e
added init packet expiry
2023-03-23 12:04:48 -04:00
mamoniot
4c26109a09
improved documentation and added debug
2023-03-23 10:29:41 -04:00
Monica Moniot
d042866687
Merge pull request #1924 from zerotier/tetanus-defrag-2
...
Fixed the defragmenter and implement DOS resistance for init packets
2023-03-23 09:40:24 -04:00
mamoniot
8ddc054cfb
ran cargo fmt
2023-03-23 08:52:10 -04:00
mamoniot
1925d0f98e
added comments and reduced path requirements
2023-03-22 23:27:37 -04:00
mamoniot
adcf553f18
corrected comment
2023-03-22 19:15:07 -04:00
mamoniot
562631f18d
added counter randomization
2023-03-22 19:14:25 -04:00
mamoniot
9e4e099843
got new defragmenter working
2023-03-22 18:55:35 -04:00
mamoniot
1e32e0ad2c
begun changes
2023-03-22 18:29:14 -04:00
Adam Ierymenko
773531f6e7
Add missing file.
2023-03-21 15:36:30 -04:00
Adam Ierymenko
fcadb343a3
Almost done refactoring for long form addresses, etc.
2023-03-21 15:29:22 -04:00
Monica Moniot
d471138eb5
Merge pull request #1918 from zerotier/tetanus-arc_pool
...
added arc_pool to tetanus
2023-03-21 08:46:12 -04:00
Monica Moniot
1b789779d8
Merge pull request #1913 from zerotier/tetanus-sha512
...
More Noise Compliant ZSSP
2023-03-21 08:42:35 -04:00
Monica Moniot
e5013eacab
Merge pull request #1919 from zerotier/tetanus-aes-gmac-siv
...
Tetanus fixed aes gmac siv
2023-03-21 08:26:06 -04:00
mamoniot
c2125db444
added pub option
2023-03-21 08:25:15 -04:00
mamoniot
984782d779
made the correctness tests less aggressive
2023-03-20 17:32:43 -04:00
mamoniot
68fc397d34
Merge branch 'tetanus-aes-gmac-siv' into tetanus-arc_pool
2023-03-20 17:30:36 -04:00
mamoniot
15a80d9a12
ran cargo fmt
2023-03-20 17:24:31 -04:00
mamoniot
b5d8290df7
fixed aes_gmac_siv
2023-03-20 17:23:29 -04:00
mamoniot
7ec194a6d1
ran cargo fmt
2023-03-20 15:29:02 -04:00
mamoniot
f6540e129a
added arc_pool to tetanus
2023-03-20 15:26:15 -04:00
Adam Ierymenko
3f047bc8dc
A whole heap of changes including: addresses are now 48 bits, base64 is gone, and rewrote Identity for simplification.
2023-03-17 22:13:32 -04:00
mamoniot
e3268fa524
fixed comment
2023-03-14 18:19:21 -04:00
mamoniot
87eb124551
ran cargo fmt
2023-03-14 18:16:21 -04:00
mamoniot
3b3ed9765d
fixed formatting
2023-03-14 18:15:24 -04:00
mamoniot
2c607f72d8
made rekeying noise compliant
2023-03-14 18:14:01 -04:00
mamoniot
7a7703a268
switched to sha512 everywhere
2023-03-14 17:45:48 -04:00
Adam Ierymenko
d0446a965e
Fixes to crypto on macOS, a lot of cleanup, and work on full state replication for V2 VL2 ( #1911 )
...
* Move some stuff around in prep for a VL2 rework and identity rework.
* Mix ephemeral keys into "h"
* More topology stuff for VL2.
* Simplify key queue, fix macOS issues with bindings, and no need to cache PSK forever.
* Some more merge fixes.
* A bunch of ZSSP cleanup and optimization. Runs a bit faster now.
* Remove some unused util code.
* scatter gather stuff
* The scatter/gather algorithm works.
* Make OpenSSL init get called automatically at process launch, and some more scatter gather work.
* added support for cloning on EcKey
* Scatter/gather, move SG into VL2 since that is where it will be used, add an array chunker to utils::memory
* Simplify some Rust generic madness.
* docs
* Some cleanup and reorg.
* Bring back AES-GMAC-SIV tests.
* Turns out a Mutex is not really any slower...
---------
Co-authored-by: mamoniot <mamoniot@protonmail.com>
2023-03-14 15:29:20 -04:00
Adam Ierymenko
c4cb7c4429
Turns out a Mutex is not really any slower...
2023-03-14 15:22:37 -04:00
Adam Ierymenko
d81db5caa9
Bring back AES-GMAC-SIV tests.
2023-03-14 15:16:23 -04:00
Adam Ierymenko
36b7986a57
Some cleanup and reorg.
2023-03-14 15:00:29 -04:00
Adam Ierymenko
7c561d544d
docs
2023-03-14 13:52:37 -04:00