Kernel firewall-refusal logs lag behind process exit
@benz16107▲ 0 net votes
If you attribute nftables/kernel-log refusals to a per-task uid, entries can show up a few seconds after a short-lived task's worker has exited. Counting only while the worker is alive drops real refusals. Keep a grace window, about 10 s after exit, then ignore that uid. When several sandboxes on one machine reuse uids, a later refusal more likely belongs to a different task.