Commit Graph
100 Commits
Author SHA1 Message Date
Alex Zenla dbfc07b026 network: ensure multicast bit is unset in random mac addresses 2024-02-11 16:09:47 +00:00
Alex Zenla f96f9d8abf network: performance improvements across NAT stack 2024-02-11 11:53:59 +00:00
Alex Zenla b9dadc6f37 network: implement TCP proxy NAT via smoltcp 2024-02-11 10:07:47 +00:00
Alex Zenla 2c7879ad45 network: implement proper IPv6 networking 2024-02-11 07:29:37 +00:00
Alex Zenla 6773640a39 hypha: more work on IPv6 support 2024-02-11 07:06:01 +00:00
Alex Zenla 102cab32c3 network: cleanup NAT code and start on IPv6 support 2024-02-11 06:43:09 +00:00
Alex Zenla efe425b346 network: implement icmp nat support 2024-02-10 21:13:47 +00:00
Alex Zenla 4f0e505e2b network: begin work on ICMP 2024-02-10 15:18:12 +00:00
Alex Zenla a7f4e0a549 network: move entry creation logging to NAT itself 2024-02-10 14:30:41 +00:00
Alex Zenla 6913e837f8 network: nat now ignores local CIDRs and correctly represents ethernet addresses in the key 2024-02-10 14:20:37 +00:00
Alex Zenla d2136b5d8c network: implement NAT table reclaim 2024-02-10 14:02:54 +00:00
Alex Zenla 8ee93c5752 network: split out proxynat code 2024-02-10 12:29:33 +00:00
Alex Zenla d2f86afb7c network: successfully implement NAT support for UDP. timeouts are not yet implemented. 2024-02-10 12:00:15 +00:00
Alex Zenla 360506bbdd network: start work on NAT implementation 2024-02-09 13:06:00 +00:00
Alex Zenla e8a3eba57d network: cleaner internet stream processing 2024-02-09 08:34:52 +00:00
Alex Zenla 0b3171afc0 network: split backend into slices 2024-02-09 08:04:23 +00:00
Alex Zenla 9dddbbe424 network: implement support for smoltcp and ipstack 2024-02-08 12:17:51 +00:00
Alex Zenla a1aba364d6 init: write 1.1.1.1 to resolv.conf if /etc exists 2024-02-08 07:26:01 +00:00
Alex Zenla cfe8887c6b hypha: work in progress implementation of outbound internet access 2024-02-06 14:35:55 +00:00
Alex Zenla 44d3799dd3 hypha: multiple cleanups to fix shared module 2024-02-06 10:28:39 +00:00
Alex Zenla 5edbff02a7 actions: add cargo test 2024-02-06 09:28:51 +00:00
Alex Zenla e000ab2919 hypha: move components into separate crates 2024-02-06 09:07:18 +00:00
Alex Zenla 0c11744c50 hypha: protect from panics in the network stack (due to interface going away) 2024-02-06 06:19:36 +00:00
Alex Zenla a3cda1372f hypha: implement automated network backend launcher 2024-02-05 19:10:02 +00:00
Alex Zenla 21c6a27097 hypha: implement basic networking support 2024-02-05 12:46:02 +00:00
Alex Zenla 7a6c2dda8c hypha: initialize vif bridge for networking 2024-02-02 00:02:44 +00:00
Alex Zenla 98787193f5 hypha: disable vifs in hypha for now 2024-02-01 15:53:43 +00:00
Alex Zenla e73cfa92c8 hypha: begin working on network support 2024-02-01 13:56:03 +00:00
Alex Zenla dc5adcb413 hypha: it works! 2024-02-01 12:20:13 +00:00
Alex Zenla 7eda5ea185 hypha: build init with musl, trace logging, and now map console optionally 2024-02-01 11:50:33 +00:00
Alex Zenla c17aacb6c8 hypha: debug option for ensuring kernel logs can be seen 2024-02-01 10:55:28 +00:00
Alex Zenla 3a04a2fe26 hypha: implement attach option on launch to connect to console 2024-02-01 10:44:12 +00:00
Alex Zenla cbfac5cdf4 introduce lefthook support to check commits 2024-02-01 10:36:54 +00:00
Alex Zenla e7cea3d7ed hypha: add script for quick debugging and set log levels ot warn by default 2024-02-01 10:28:17 +00:00
Alex Zenla bd56de235f hypha: move libraries to libs/ 2024-02-01 10:10:43 +00:00
Alex Zenla def4306a04 hypha: implement arg cli interface and dynamic container lookup 2024-01-31 09:08:19 -08:00
Alex Zenla 86c512474a hypha: init will now watch process in background 2024-01-31 01:40:42 -08:00
Alex Zenla b6af5f54bd hypha: enhanced logging and always enable backtraces 2024-01-30 20:22:48 -08:00
Alex Zenla bb77e651e0 hypha: add support for passing environment variables 2024-01-30 18:34:47 -08:00
Alex Zenla 5e21d32295 initrd: remove tmpdir after building cpio 2024-01-30 18:13:31 -08:00
Alex Zenla d3740bcf7b xencall: convert to using thiserror 2024-01-30 18:09:26 -08:00
Alex Zenla 2eb287bf07 xenclient: convert to using thiserror 2024-01-30 18:02:32 -08:00
Alex Zenla 890a8ee63f xenclient: move error to it's own mod 2024-01-30 17:44:05 -08:00
Alex Zenla eec213c712 hypha: convert to using anyhow for error handling 2024-01-30 02:15:03 -08:00
Alex Zenla a1081ea79c xenevtchn: convert to using thiserror 2024-01-30 02:05:37 -08:00
Alex Zenla eba623d61a xenstore: move error type and make use of result type aliases 2024-01-30 01:58:10 -08:00
Alex Zenla 812e357bc9 xenstore: adopt thiserror 2024-01-30 01:49:56 -08:00
Alex Zenla cc0b2d97b5 inherit version from workspace Cargo.toml 2024-01-29 07:56:56 -08:00
Alex Zenla 07fa0775cd move all dependencies to workspace Cargo.toml 2024-01-29 07:53:35 -08:00
Alex Zenla c40e7c94e9 initrd: add build script for minimal initrd 2024-01-23 00:37:27 -08:00
Alex Zenla ba418649db move xen libraries to xen/ 2024-01-22 22:33:50 -08:00
Alex Zenla 31739605a2 xenclient: add trace logging to init 2024-01-22 21:37:30 -08:00
Alex Zenla 685a15b056 hypha: add trace logging to cfgblk 2024-01-22 21:28:14 -08:00
Alex Zenla e89aead9ad hypha: init should mount /sys, /dev, and /proc 2024-01-22 16:05:47 -08:00
Alex Zenla 04092c1d3b hypha: use manifest digest as part of key in image cache 2024-01-22 07:24:42 -08:00
Alex Zenla 3085a3738f hypha: implement the ability to override the command line to execute 2024-01-22 05:30:02 -08:00
Alex Zenla e15ac71405 hypha: implement the ability to execute container images 2024-01-22 05:08:14 -08:00
Alex Zenla f3103c6c51 hypha: implement write overlay on top of image 2024-01-22 03:00:58 -08:00
Alex Zenla 1980e870ba hypha: init will now print the command from the image config 2024-01-22 02:26:43 -08:00
Alex Zenla a412f6e823 hypha: implement basic container init 2024-01-22 02:15:53 -08:00
Alex Zenla db1ba23c8c github: dependabot updates 2024-01-22 00:13:08 -08:00
Alex Zenla eb7c2f6c10 hypha: implement list command 2024-01-21 17:21:19 -08:00
Alex Zenla d9629f46d0 hypha: implement console support 2024-01-21 04:49:31 -08:00
Alex Zenla ece88e16cc hypha: implement subcommands and introduce destroy that tears things down properly 2024-01-21 01:58:07 -08:00
Alex Zenla ba156e43da hypha: implement loop device support directly to avoid devd 2024-01-21 00:13:05 -08:00
Alex Zenla 7d9652636f xenclient: implement page claims for early low memory warning 2024-01-20 21:06:28 -08:00
Alex Zenla 001c22fd69 xenclient: auto-retry mmapbatch when paging state issues occur 2024-01-20 20:29:36 -08:00
Alex Zenla 83264839dd hypha: implement enhanced heuristics for reducing the use of file descriptors 2024-01-20 12:52:51 -08:00
Alex Zenla 2567a93512 hypha: implement OCI image layer spec 2024-01-20 02:41:49 -08:00
Alex Zenla 4b664c0616 update README to call project hypha 2024-01-18 18:22:10 -08:00
Alex Zenla 67e7ddb80a hypha: config as a block device 2024-01-18 14:53:37 -08:00
Alex Zenla 0bf3eb27f4 hypha: implement custom image fetcher 2024-01-18 10:16:59 -08:00
Alex Zenla 649a0c303d hypha: setup image as disk 2024-01-18 09:15:42 -08:00
Alex Zenla 80311db549 hypha: name domain with uuid 2024-01-18 01:38:56 -08:00
Alex Zenla 228e42a779 hypha: include squashfs version in image cache key 2024-01-18 00:21:03 -08:00
Alex Zenla e401a2cb2b hypha: cache image config 2024-01-18 00:15:36 -08:00
Alex Zenla 1c92ba54f3 hypha: implement image cache 2024-01-18 00:02:21 -08:00
Alex Zenla 9c438e8e57 move ownership of image compilation to controller 2024-01-17 14:33:20 -08:00
Alex Zenla 198ca3ff80 implement squashfs generation 2024-01-17 14:29:05 -08:00
Alex Zenla f69ce96054 hypha-agent: command line arguments 2024-01-17 12:36:13 -08:00
Alex Zenla 8af6e25edc run clippy 2024-01-17 08:18:45 -08:00
Alex Zenla 8689398032 create hypha 2024-01-17 08:18:12 -08:00
Alex Zenla 135182d847 reformat order of methods in x86 code 2024-01-17 07:32:57 -08:00
Alex Zenla ee32cbee16 rearrange code to move most x86 specifics to the x86 module 2024-01-17 06:27:12 -08:00
Alex Zenla 15ba27e573 oh my god, we have a console 2024-01-17 05:22:47 -08:00
Alex Zenla 6ca61410ad unpause domain so domain can run during boot 2024-01-17 01:41:17 -08:00
Alex Zenla 5c1bb3d8fc we've done it, it boots! 2024-01-16 23:07:34 -08:00
Alex Zenla 0d68db8523 fix L4 page table pinning 2024-01-16 19:25:38 -08:00
Alex Zenla 044795db0f map initrd and multiple other fixes, it's so very close 2024-01-16 17:57:19 -08:00
Alex Zenla c9b18fadfd fix domain info struct layout 2024-01-15 19:29:02 -08:00
Alex Zenla 824a55a6a6 fix struct definition for GetDomainInfo 2024-01-15 18:54:20 -08:00
Alex Zenla 3e9470afaa more debugging of page table issues 2024-01-15 18:50:12 -08:00
Alex Zenla dfc3dc8e90 debugging for fixing page table issues 2024-01-15 16:25:06 -08:00
Alex Zenla 900eba0bd9 fix minor issues when setting up page tables 2024-01-15 15:00:48 -08:00
Alex Zenla c9f39699dc multiple fixes and cleanup 2024-01-14 16:00:44 -08:00
Alex Zenla a9275c4bdf multiple fixes to vcpu setup and memory allocation 2024-01-12 14:57:02 -08:00
Alex Zenla 1f30f8315a fix multiple oversights that make values not align with original library 2024-01-12 02:12:29 -08:00
Alex Zenla b79c31e613 multiple corrections to page table setup and fix vcpu structs 2024-01-11 23:54:44 -08:00
Alex Zenla 4b4f22ffcd implement setvcpucontext, it's not working properly yet 2024-01-11 21:10:59 -08:00
Alex Zenla 492a836213 implement initialization of start info for x86 2024-01-11 17:23:09 -08:00