summaryrefslogtreecommitdiff
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-04 14:16:28 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-04 14:16:28 +0200
commit0a9b166b43e9d035034beb929ed2c892094af9dc (patch)
treeb239afa158eff613401596702901c297a5ac5074 /units/systemd-hostnamed.service.in
parent07883f198d949c078085ccafab7eb61788721ae4 (diff)
downloadsystemd-0a9b166b43e9d035034beb929ed2c892094af9dc.tar.gz
units: prohibit all IP traffic on all our long-running services (#6921)
Let's lock things down further.
Diffstat (limited to 'units/systemd-hostnamed.service.in')
-rw-r--r--units/systemd-hostnamed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index 9bb5ad8cac..cfee2cbbf1 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -30,4 +30,5 @@ RestrictAddressFamilies=AF_UNIX
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
SystemCallArchitectures=native
LockPersonality=yes
+IPAddressDeny=any
ReadWritePaths=/etc