Am 05.09.23 um 20:34 schrieb Wayne Bao:
I am using https://github.com/ansibleguy/python3-nftables which I
believe is a copy of
http://git.netfilter.org/nftables/tree/py/nftables.py?id=e760d200a4b9cd31928b68a1f2f882157344351e
. I use this python wrapper to add and delete rules to nftables using
json. Are these operations thread safe?
it's userland and finally you are talking to the kernel
no matter what you do from userland - the kernel operates from top to
bottom - whatever rules are there in that moment