News for hackers. Stuff that matters.
Re:IP Accounting and Access Lists with Systemd by hiciu on Tuesday October 10, 2017 @07:32AM (#15440916)
Just to expand this answers; this is not a tcp wrapper replacement. I mean, it can be used as one; but that's just a side effect.

Since linux 4.10 you can attach eBPF programs to the cgroups: https://kernelnewbies.org/Linux_4.10#head-4f00d500db4f8e437a.... This allows you to do a really cool things, mostly firewalls attached to the cgroup and not to the system-wide netfilter stack. Imagine application-specific firewalls.

Systemd uses that to add "simple" packet counting eBPF application to the cgroups: https://github.com/systemd/systemd/commit/1988a9d12015990c14....

(eBPF is the same mechanism that is used with seccomp and filtering which syscalls can application use and which are forbidden - used in for example chromium sandbox on linux or with openssh)

There are no comments on this comment yet.