Commit graph

6220 commits

Author SHA1 Message Date
Adam Ierymenko
b5e1c4f546
A bit more reorg. 2022-09-29 09:45:54 -04:00
Adam Ierymenko
2e469e282a
Docs and cleanup, and implement clone for pooled object if the object implements clone. 2022-09-29 09:13:12 -04:00
Adam Ierymenko
fa3a4a1bca
Implementing Rule with all its hairiness in Rust. 2022-09-28 19:04:25 -04:00
Adam Ierymenko
aac20c67d2
Controller receives NETWORK_CONFIG_REQUEST packets! 2022-09-28 14:36:41 -04:00
Adam Ierymenko
459b195fa4
Reorg some stuff and skeleton of separate controller binary 2022-09-28 14:08:29 -04:00
Adam Ierymenko
a6f09dbec4
Move datadir and make it generic. 2022-09-28 12:04:55 -04:00
Adam Ierymenko
433c6058d2
cleanup 2022-09-28 11:24:42 -04:00
Adam Ierymenko
732547400b
WHOIS timing tweak 2022-09-27 17:09:05 -04:00
Adam Ierymenko
2b3862fdde
WHOIS retry fix. 2022-09-27 16:40:35 -04:00
Adam Ierymenko
dea30c69a7
Re-encode roots. 2022-09-27 16:17:02 -04:00
Adam Ierymenko
38f8ee808e
A bunch of reorg to consolidate utils, controller work, and rework identity binary marshaling for better backward compability. 2022-09-27 15:46:18 -04:00
Adam Ierymenko
051292f461
Re-enable real root set. 2022-09-23 16:56:49 -04:00
Adam Ierymenko
80151f0dc7
debug code removal and comments 2022-09-23 16:52:21 -04:00
Adam Ierymenko
eaacb26187
Finish WHOIS, blacklist bridge on macOS because the OS has a ton of weird bridge devices, and fix a mutex problem. 2022-09-23 16:43:00 -04:00
Adam Ierymenko
8592cd59e2
Controller stuff and implementing WHOIS 2022-09-23 09:56:38 -04:00
Adam Ierymenko
373adb028d
Controller work and basic in-filesystem DB, slightly different from v1 version and supporting live editing of the network in the filesystem. 2022-09-22 17:29:10 -04:00
Adam Ierymenko
be000c2046
Centralize import of tokio to control its version and features. 2022-09-22 09:30:37 -04:00
Adam Ierymenko
1828163219
cleanup 2022-09-21 18:29:44 -04:00
Adam Ierymenko
d66f19a2f2
Now works without async in the core or the service. Can still be used in the controller. 2022-09-21 18:27:55 -04:00
Adam Ierymenko
dca7bb8e85
WIP it good 2022-09-21 16:58:06 -04:00
Adam Ierymenko
768ec6e710
Tons more work: (1) remove async again from the core, (2) controller stuff, (3) retrofit other stuff to handle non-async core. 2022-09-21 16:43:47 -04:00
Adam Ierymenko
7ec46540fa
A ton more reorg work and controller work. 2022-09-20 12:10:05 -04:00
Adam Ierymenko
7724092551
Use 0xffffffffffff as NIL session ID because magic backward compatibility check for ZT protocol. 2022-09-20 12:09:54 -04:00
Adam Ierymenko
30d3f6e176
Start defining a bunch of VL2 data and credential objects for controller. 2022-09-16 18:44:14 -04:00
Adam Ierymenko
0c8693fade
debug code removal 2022-09-16 17:02:38 -04:00
Adam Ierymenko
aafac271f5
Says hello to a root again! 2022-09-16 17:02:21 -04:00
Adam Ierymenko
2017dcf746
Bring service back to simple working state to end-to-end test. 2022-09-16 15:27:24 -04:00
Adam Ierymenko
0552d587a0
Get things building again 2022-09-16 14:16:13 -04:00
Adam Ierymenko
b4c74ce7bb
More work on VL1 service 2022-09-16 13:50:39 -04:00
Adam Ierymenko
b4edad6bfb
Work in progress: massive reorg to separate concerns a bit more and allow stand-alone controllers etc. 2022-09-15 13:57:21 -04:00
Adam Ierymenko
854ca07e87
More reorg and cruft removal. 2022-09-14 11:26:24 -04:00
Adam Ierymenko
b8e65b667c
Build fix, cruft simplification. 2022-09-14 11:03:00 -04:00
Adam Ierymenko
3864ea8150
Fix ZSSP rate limits. 2022-09-14 09:41:40 -04:00
Adam Ierymenko
04b2adcf5f
Dead code removal, perf stuff 2022-09-14 08:59:33 -04:00
Adam Ierymenko
887585f6fa
Some VL1 work, and reorg the header in ZSSP to make backward compatibility easy. 2022-09-13 21:27:47 -04:00
Adam Ierymenko
115c1c6c56
More cleanup. 2022-09-13 17:34:39 -04:00
Adam Ierymenko
2649ce7571
A bunch of reorg, and add a safety valve to nuke the send key in ZSSP if it is hard-expired. 2022-09-13 17:27:58 -04:00
Adam Ierymenko
54d6fba6c5
cleanup 2022-09-13 12:45:42 -04:00
Adam Ierymenko
c3466078bf
Move some V1-specific stuff into hypervisor code base. 2022-09-13 12:28:30 -04:00
Adam Ierymenko
d42a70544f
More simplification and move key agreements to as late as possible after session state check. 2022-09-13 11:09:20 -04:00
Adam Ierymenko
a7fa425830
Simplify some logic. 2022-09-13 10:58:18 -04:00
Adam Ierymenko
07fc8b2d2b
rustfmt 2022-09-13 10:48:36 -04:00
Adam Ierymenko
4763404d98
rustfmt 2022-09-13 10:46:18 -04:00
Adam Ierymenko
32abd20c38
A bunch of reorg and simplification in the network hypervisor. 2022-09-13 10:35:52 -04:00
Adam Ierymenko
1f9819e126
Tighten rules for ratcheting. There is either a session or there is not. 2022-09-12 13:01:42 -04:00
Adam Ierymenko
4a1f2db54e
ZSSP ratcheting works, key life cycle works. 2022-09-09 21:22:04 -04:00
Adam Ierymenko
98c0575a00
Add ICMP to endpoint, and some ZSSP revisions. 2022-09-09 15:45:22 -04:00
Adam Ierymenko
d10bffdee9
Add ratcheting to ZSSP. 2022-09-08 18:07:24 -04:00
Adam Ierymenko
477a8e6401
Build fixes and cleanup. 2022-09-08 08:40:00 -04:00
Adam Ierymenko
b3925f7792
Debug code removal, cleanup 2022-09-07 16:32:16 -04:00