Commit Graph

10 Commits

Author SHA1 Message Date
3111d2ca74 Allow creating a network without configuring it in daemon.yml 2024-12-17 11:33:19 +01:00
73af69fa04 Simplify socket file path selection, only use /tmp 2024-12-16 14:59:11 +01:00
1608031103 Give 'vpn firewall list' a --staged flag 2024-12-09 18:09:45 +01:00
a696f0ded6 Add debug logging to all HTTP requests 2024-11-19 14:12:17 +01:00
6ec56f2a88 Pass NetworkConfig into Network loaders as an optional argument 2024-11-12 13:34:39 +01:00
7274815cfd Manage child processes individually, not via Pmux. Also route child logs through mlog 2024-10-29 17:49:24 +01:00
b7c097ef63 Refactor children process reloading, add garage reloading 2024-10-27 14:44:53 +01:00
010c53e5c7 Some general cleanup 2024-10-06 17:15:40 +02:00
df4eae8a5c Support configuring more than one network 2024-09-10 22:51:33 +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