~/talk

Using systemd features to secure services

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [security]
links:none on file
slides:none on file

Systemd claims to let services drop privileges, create and remove per-service runtime dirs, and enforce namespaces, capabilities and resource limits so services run without root. Examples: dynamic users creates ephemeral accounts, private network gives a per-service network namespace, socket activation supplies listening sockets before privilege drop, and BPF enables per-unit packet filtering (currently limited). Fedora has ~1,740 unit files (under 1,000 two years ago), so these features scale and do work in practice.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Why use systemd
  3. 2:20Wrapper query
  4. 3:11Unit files
  5. 4:15Protections
  6. 5:06Run
  7. 6:06Protect Home
  8. 10:54Protect System
  9. 12:30Private Temp
  10. 18:45Private Network
  11. 20:52Lowlevel options
  12. 23:26Highlevel options
  13. 25:29Network filtering
  14. 26:52Systemd Analyze Security
  15. 29:34Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.