From 779fbe79b8fb6a40e3f4054e406e74bd3aede7b7 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 22 Dec 2021 16:26:01 +0300 Subject: [PATCH] Pull request: scripts: add network-control plug Updates #3976. Squashed commit of the following: commit 49d8a3a2d333c7896530c8a44c5ef06c396b5ae0 Author: Ainar Garipov Date: Wed Dec 22 16:20:45 2021 +0300 scripts: add network-control plug --- scripts/snap/snap.tmpl.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/snap/snap.tmpl.yaml b/scripts/snap/snap.tmpl.yaml index a168908c..51b094de 100644 --- a/scripts/snap/snap.tmpl.yaml +++ b/scripts/snap/snap.tmpl.yaml @@ -29,6 +29,11 @@ # (cap_net_bind_service) and also to bind to a particular interface using # SO_BINDTODEVICE (cap_net_raw). - 'network-observe' + # Add the "network-control" plug to be able to use raw sockets in the DHCP + # server. + # + # TODO(a.garipov): If this works, request auto-connect of this plug. + - 'network-control' 'daemon': 'simple' 'restart-condition': 'always' 'adguard-home-web':