Skip to contentSkip to conversation

nfacct is not namespace aware

DISCUSSION Andreas Schultz 2 participants 2 messages Aug 4, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

Can someone confirm that the nfacct subsystem is not network namespace aware/safe?

Quoted 1 line

From checking the code, it would appear that all nfacct targets are kept

in a global list. This would mean that unrelated namespaces can interfere with each other.

Andreas

#1 lore raw
Quoted 8 lines · Andreas Schultz

Hi,

Can someone confirm that the nfacct subsystem is not network namespace aware/safe?

From checking the code, it would appear that all nfacct targets are kept in a global list. This would mean that unrelated namespaces can interfere with each other.

There is no netns support for nfacct yet, but it should be easy to add.

Patches are welcome :)