summaryrefslogtreecommitdiff
path: root/units/systemd-logind.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-logind.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-logind.service.in')
-rw-r--r--units/systemd-logind.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index f6daf7755c..de380a27d3 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -31,6 +31,7 @@ RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
SystemCallArchitectures=native
LockPersonality=yes
+IPAddressDeny=any
FileDescriptorStoreMax=512
# Increase the default a bit in order to allow many simultaneous