LWN: Comments on "Network filtering for control groups" https://lwn.net/Articles/698073/ This is a special feed containing comments posted to the individual LWN article titled "Network filtering for control groups". en-us Thu, 16 Oct 2025 10:01:10 +0000 Thu, 16 Oct 2025 10:01:10 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Network filtering for control groups https://lwn.net/Articles/703183/ https://lwn.net/Articles/703183/ RamiRosen <div class="FormattedComment"> Regarding "Control groups (cgroups) perform two basic functions in the kernel: they allow the hierarchical grouping of processes, and they enable the use of controllers to apply resource limits to the processes in each group.":<br> <p> I want to add in this context that cgroups are used also for accounting for usage of resources, which is also an important part of their role.<br> <p> Rami Rosen<br> </div> Tue, 11 Oct 2016 07:14:01 +0000 Network filtering for control groups https://lwn.net/Articles/698269/ https://lwn.net/Articles/698269/ nybble41 <div class="FormattedComment"> <font class="QuotedText">&gt; Yeah, it would be nice to actually remove netfilter and replace it with EBPF-based system.</font><br> <p> Isn't that what nftables was supposed to do?<br> <p> I see that nftables uses its own VM rather than eBPF, but the main objection to just using eBPF seemed to be simply that with eBPF you can only replace the entire program, not individual rules. It appears to me that this could be handled by treating the nftables VM as an intermediate language and employing a user-mode helper program to compile the rules down to eBPF whenever they change.<br> <p> The same mechanism would presumably integrate well with this new infrastructure to attach an eBPF filter to a control group.<br> </div> Thu, 25 Aug 2016 17:04:46 +0000 Network filtering for control groups https://lwn.net/Articles/698268/ https://lwn.net/Articles/698268/ Cyberax <div class="FormattedComment"> Yeah, it would be nice to actually remove netfilter and replace it with EBPF-based system.<br> </div> Thu, 25 Aug 2016 16:49:49 +0000 Network filtering for control groups https://lwn.net/Articles/698219/ https://lwn.net/Articles/698219/ smurf <div class="FormattedComment"> One might arrive at the obvious conclusion that the correct way forward is to implement network filtering in eBNF …<br> </div> Thu, 25 Aug 2016 11:58:41 +0000