Commit Graph

22 Commits

Author SHA1 Message Date
81cfdd5030 Refactor how daemon.RPC is passed through sub-commands 2024-12-10 22:00:55 +01:00
1608031103 Give 'vpn firewall list' a --staged flag 2024-12-09 18:09:45 +01:00
b38d780bdf Implement 'vpn firewall list', and move 'nebula create-cert' to 'vpn create-cert' 2024-12-08 16:59:01 +01:00
190beba739 Get the entrypoint test-ready 2024-11-15 13:14:23 +01:00
1d02c1f6a0 Implement 'storage list-allocation(s)' 2024-11-14 20:55:15 +01:00
06d85ca961 Make log level configurable, remove custom log message handler 2024-11-09 17:11:10 +01:00
7274815cfd Manage child processes individually, not via Pmux. Also route child logs through mlog 2024-10-29 17:49:24 +01:00
de7aac1f25 Refactor command-line parsing, pass --network to most commands 2024-09-23 20:50:45 +02:00
8c3e6a2845 Separate Daemon and Network logic into separate packages
In a world where the daemon can manage more than one network, the Daemon
is really responsible only for knowing which networks are currently
joined, creating/joining/leaving networks, and routing incoming RPC
requests to the correct network handler as needed.

The new network package, with its Network interface, inherits most of
the logic that Daemon used to have, leaving Daemon only the parts needed
for the functionality just described. There's a lot of cleanup done here
in order to really nail down the separation of concerns between the two,
especially around directory creation.
2024-09-09 16:34:00 +02:00
a840d0e701 Move common daemon types and values into daecommon 2024-09-07 15:11:04 +02:00
06a345ecd1 Embed context directly into subCmdCtx 2024-09-04 22:35:29 +02:00
d31be8455b Pluralize 'host(s)' subcommands 2024-07-22 15:52:51 +02:00
b5059be7fa Move create-bootstrap logic into daemon, rename to hosts create 2024-07-13 16:31:52 +02:00
7d8b274445 Implement JoinNetwork RPC method, and accompanying sub-command 2024-07-07 12:44:49 +02:00
c808fa81b9 Move some environment variables into daemon package 2024-06-24 14:45:57 +02:00
c3609252a5 Implement RPC socket and use it to list hosts 2024-06-23 14:37:10 +02:00
47e53dffb7 Switch to using latest mediocre-go-lib 2024-06-22 17:49:56 +02:00
a8893e4fc6 Move daemon sub-process logic into daemon package 2024-06-17 21:06:57 +02:00
aa1a8ea806 Implement archlinux pkg build as part of release 2024-06-17 17:20:34 +02:00
8a1c8d2ed6 Use XDG_STATE_HOME rather than XDG_DATA_HOME for storing bootstrap 2024-06-17 17:20:26 +02:00
Brian Picciano
3d6ed8604a Add ability to sign nebula public keys, and show nebula network info
The new commands are:

- `isle admin create-nebula-cert`
- `isle nebula show`

Between these two commands it's possible, with some effort, to get a
nebula mobile client hooked up to an isle server.
2023-08-27 16:09:03 +02:00
Brian Picciano
661e2b28cb Move go code into 'go' tld, to make organization clearer 2023-08-25 15:19:31 +02:00