]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Allow `AF_NETLINK` and `AF_XDP` under `systemd` 15300/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 13 Mar 2025 19:17:29 +0000 (20:17 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 13 Mar 2025 19:17:29 +0000 (20:17 +0100)
We need them for, respectively:
- IP to MAC address translation
- `XSK` packet processing

pdns/dnsdistdist/dnsdist.service.in

index bd810fd912cbe7d868fbec3c7b7b415a95a0564a..e0a9b3bbb352a977453d32c41f0c2a17b99a8d87 100644 (file)
@@ -44,7 +44,7 @@ ProtectKernelLogs=true
 ProtectKernelModules=true
 ProtectKernelTunables=true
 ProtectSystem=full
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
+RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX AF_XDP
 RestrictNamespaces=true
 RestrictRealtime=true
 RestrictSUIDSGID=true