daemon: use per-interface features

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-09-30 08:32:26 +02:00
parent 70e437d9a6
commit 92a7ad2f7f
99 changed files with 3510 additions and 2599 deletions

View File

@@ -45,7 +45,6 @@ in which WireGuard kernel support has not landed yet.
* [cunicu daemon](cunicu_daemon.md) - Start the daemon
* [cunicu monitor](cunicu_monitor.md) - Monitor the cunīcu daemon for events
* [cunicu relay](cunicu_relay.md) - Start relay API server
* [cunicu reload](cunicu_reload.md) - Reload the configuration of the cunīcu daemon
* [cunicu restart](cunicu_restart.md) - Restart the cunīcu daemon
* [cunicu selfupdate](cunicu_selfupdate.md) - Update the cunīcu binary
* [cunicu signal](cunicu_signal.md) - Start gRPC signaling server

View File

@@ -37,5 +37,6 @@ Manage configuration of a running cunīcu daemon.
* [cunicu](cunicu.md) - cunīcu is a user-space daemon managing WireGuard® interfaces to establish peer-to-peer connections in harsh network environments.
* [cunicu config get](cunicu_config_get.md) - Get current value of a configuration setting
* [cunicu config reload](cunicu_config_reload.md) - Reload the configuration of the cunīcu daemon
* [cunicu config set](cunicu_config_set.md) - Update the value of a configuration setting

View File

@@ -0,0 +1,38 @@
---
title: cunicu config reload
sidebar_label: config reload
sidebar_class_name: command-name
slug: /usage/man/config/reload
hide_title: true
keywords:
- manpage
---
## cunicu config reload
Reload the configuration of the cunīcu daemon
```
cunicu config reload [flags]
```
### Options
```
-h, --help help for reload
```
### Options inherited from parent commands
```
-C, --color string Enable colorization of output (one of: auto, always, never) (default "auto")
-l, --log-file string path of a file to write logs to
-d, --log-level string log level (one of: debug, info, warn, error, dpanic, panic, and fatal) (default "info")
-s, --rpc-socket string Unix control and monitoring socket (default "/var/run/cunicu.sock")
-v, --verbose int verbosity level
```
### SEE ALSO
* [cunicu config](cunicu_config.md) - Manage configuration of a running cunīcu daemon.

View File

@@ -29,24 +29,23 @@ $ cunicu daemon -u -x mysecretpass wg0
-b, --backend URL One or more URLs to signaling backends
-x, --community passphrase A passphrase shared with other peers in the same community
-c, --config filename One or more filenames of configuration files
-w, --config-path directory The directory of WireGuard wg/wg-quick configuration files
-S, --config-sync Enable synchronization of WireGuard configuration files (default true)
-W, --config-watch Watch and synchronize changes to the WireGuard configuration files
-D, --domain domain A DNS domain name used for DNS auto-configuration
-I, --endpoint-disc Enable ICE endpoint discovery (default true)
-E, --endpoint-disc Enable ICE endpoint discovery (default true)
-H, --host-sync Enable synchronization of /etc/hosts file (default true)
--ice-candidate-type candidate-type Usable candidate-types (one of host, srflx, prflx, relay)
--ice-network-type network-type Usable network-types (one of udp4, udp6, tcp4, tcp6)
-f, --interface-filter pattern A glob(7) pattern for filtering WireGuard interfaces which this daemon will manage (e.g. "wg*") (default "*")
-P, --password password The password for STUN/TURN credentials
-p, --password password The password for STUN/TURN credentials
-P, --peer-sync Enable peer discovery (default true)
-R, --route-sync Enable synchronization of AllowedIPs and Kernel routing table (default true)
-T, --route-table int Kernel routing table to use (default 254)
-s, --rpc-socket path The path of the unix socket used by other cunicu commands
--rpc-wait Wait until first client connected to control socket before continuing start
-a, --url URL One or more URLs of STUN and/or TURN servers
-U, --username username The username for STUN/TURN credentials
-u, --username username The username for STUN/TURN credentials
-w, --watch Watch configuration files for changes and apply changes at runtime.
-i, --watch-interval duration An interval at which we are periodically polling the kernel for updates on WireGuard interfaces
-u, --wg-userspace Use user-space WireGuard implementation for newly created interfaces
-U, --wg-userspace Use user-space WireGuard implementation for newly created interfaces
-h, --help help for daemon
```