summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-07-14 10:49:28 +0200
committerFlorian Westphal <fw@strlen.de>2019-07-15 12:26:36 +0200
commite5cab728c40be88c541f68e4601d39178c36111f (patch)
treeb38dc7111501a000ed652e59487a87ed2137796a /iptables/xtables-eb.c
parent5f5399f11345eebd21d5596bd39d8aed9cfccc52 (diff)
nft: exit in case we can't fetch current genid
When running iptables -nL as non-root user, iptables would loop indefinitely. With this change, it will fail with iptables v1.8.3 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) Reported-by: Amish <anon.amish@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-eb.c')
0 files changed, 0 insertions, 0 deletions