blob: 627f5c0b3d224afd0657775d945c7a00bcf8f194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <tunables/global>
/usr/sbin/swanctl {
#include <abstractions/base>
# Allow /etc/swanctl/x509ca/ files to symlink to system-wide ca-certificates
#include <abstractions/ssl_certs>
# CAP_DAC_OVERRIDE is needed for optional charon.user/charon.group
# configuration
capability dac_override,
# Allow reading strongswan.conf configuration files
/etc/strongswan.conf r,
/etc/strongswan.d/ r,
/etc/strongswan.d/** r,
# All reading configuration, certificate, and key files beneath /etc/swanctl/
/etc/swanctl/** r,
# Allow communication with VICI plugin UNIX domain socket
/run/charon.vici rw,
# As of 5.5.2, swanctl unnecessarily loads plugins by default, even though no
# plugins are actually used by swanctl. The following can be removed if
# plugin loading is disabled.
#include <abstractions/nameservice>
#include <abstractions/openssl>
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.swanctl>
}
|