Linux Netfilter discussions
 help / color / mirror / Atom feed
* Upgrading libnetfilter_queue to use nftables
@ 2019-11-13 17:41 Alessandro Vesely
  2019-11-14  3:12 ` Florian Westphal
  0 siblings, 1 reply; 4+ messages in thread
From: Alessandro Vesely @ 2019-11-13 17:41 UTC (permalink / raw)
  To: netfilter

Hi all,

I'm using Debian 9 (stretch) and saw that the current version (Debian 10, buster) transparently installs nftables instead of iptables, offering to switch back by setting alternatives.

I'm worried how smoothly an upgrade would go.  I have calls similar to these:


iptables -A INPUT -j NFQUEUE

or

iptables -t raw -A OUTPUT -p tcp ! --syn -j NFQUEUE --queue-num 2
iptables -A OUTPUT -p tcp ! --syn -m mark --mark 4 -j REJECT --reject-with tcp-reset


There is a user space filter reading queued packets and issuing verdicts.  It is linked to libnetfilter_queue, libnfnetlink and libmnl.

Does automatic translation work fine in this case?

Do I have (better) to relink, recompile, and/or rewrite the user space packet filter in order to use nftable?  How simple is that?


TIA
Ale
-- 




















^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-18  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-13 17:41 Upgrading libnetfilter_queue to use nftables Alessandro Vesely
2019-11-14  3:12 ` Florian Westphal
2019-11-14  9:03   ` Alessandro Vesely
2019-11-18  0:53     ` Trent W. Buck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox