News for hackers. Stuff that matters.
Re:Server-side sandboxing: Containers and seccomp by zxcvgm on Tuesday October 24, 2023 @01:36PM (#38002477)
It's pretty easy to apply seccomp to a process using systemd by adding SystemCallFilter= in its unit file. There's a reasonable set of permitted syscalls for general system processes, aptly called `@system-service`, but you can tweak that to suit your needs [1]. I generally use this, among other settings, to further lock down system services [2].

[1] https://www.freedesktop.org/software/systemd/man/latest/syst...

[2] https://www.redhat.com/sysadmin/mastering-systemd

Re:Server-side sandboxing: Containers and seccomp by CAP_NET_ADMIN on Tuesday October 24, 2023 @03:49PM (#38004426)
Yep, can recommend systemd in this case, really easy to apply basic hardening to services that just works.