summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_HMARK.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-01-16 14:21:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-01-20 21:52:12 +0100
commitaa562a660d1555b13cffbac1e744033e91f82707 (patch)
tree335a92d0d432c6376d19c6b081cd32de2e5555eb /extensions/libxt_HMARK.c
parentc6275d89cb4cf6aac12ef37a25b7b39cbe833eba (diff)
iptables: use flock() instead of abstract unix sockets
Abstract unix sockets cannot be used to synchronize several concurrent instances of iptables since an unpriviledged process can create them and prevent the legitimate iptables instance from running. Use flock() and /run instead as suggested by Lennart Poettering. Fixes: 93587a0 ("ip[6]tables: Add locking to prevent concurrent instances") Reported-by: Lennart Poettering <lennart@poettering.net> Cc: Phil Oester <kernel@linuxace.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_HMARK.c')
0 files changed, 0 insertions, 0 deletions